Repository navigation
Build(deps-dev): Bump @types/node from 22.14.0 to 24.0.10 - #87
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.0.10 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The |
Contributor
Author
|
Superseded by #91. |
8 tasks done
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…ask #120) ## Doctrine (Joel, 2026-06-01) > "We don't get away with singular AI's. We are just clever with > resources." Multi-persona is the floor, not a luxury. Even the lowest tier (Intel Mac discrete-Metal, CPU-only) runs Helper + Coder, sharing a base model and paging per-persona LoRAs. The substrate's `defaults_for_tier(tier)` function ALWAYS returns >= 2 templates; "singular AI" is structurally impossible. ## What ships `persona/role_template.rs`: - `RoleId` — Helper, Coder, Sentinel, Custom - `SpawnPriority` — Required (Helper), HighlyRecommended (Coder), OnRequest (Sentinel and explicit-need roles) - `ModelChoice` — model_id + gguf_file + size + quant + optional base_model_id (the lever for shared-base LoRA paging) - `ModelChoicePerTier` with a safety-floor `choose(tier)` fallback so any unmapped tier still gets the lowest known runnable choice - `IdentityDefaults` (name_pool + bio_template) — feeds the deterministic identity projection from `persona-identity-derives-from-source-id` - `CognitionDefaults` (depth_preference, voice, max_response_chars, asks_before_guessing) — Helper sits clippy-shaped (depth=20, voice="clippy", 400 chars, asks); Coder sits engineer-shaped (depth=70, voice="engineer", 4000 chars, doesn't ask) - `RoleTemplate` bundles all of the above - `helper_template()` + `coder_template()` populated concretely across the HwCapabilityTier ladder, from CpuOnly (Qwen2.5-0.5B-Instruct for Helper, DeepSeek-Coder-1.3B for Coder) up through Sm120 / M5UmaProMax (14B classes) - `defaults_for_tier(tier)` ALWAYS returns >= Helper + Coder ## Tier-shaped expectations | Tier | Helper | Coder | |----------------------------|------------------------------|------------------------------------| | CpuOnly / MacIntelMetalDsc | Qwen2.5-0.5B Q4_K_M (380 MiB)| DeepSeek-Coder-1.3B Q4_K_M (870) | | M1Uma8Gb | Qwen2.5-1.5B (1.1 GiB) | Qwen2.5-Coder-1.5B (1.1 GiB) | | M1Uma16Gb | Qwen2.5-3B (2 GiB) | Qwen2.5-Coder-3B (2 GiB) | | M3UmaProMax / Sm60 | Qwen2.5-7B (4.4 GiB) | Qwen2.5-Coder-7B (4.4 GiB) | | M5UmaProMax / Sm120 | Qwen2.5-14B (8.5 GiB) | Qwen2.5-Coder-14B (8.5 GiB) | Same role identity + cognition shape; just bigger models at higher tiers. At low tiers Helper and Coder may share a base model family (both qwen2.5-1.5b family at M1Uma8Gb, for example) — the base_model_id field is the lever a future LoRA-paging module uses to share weights. ## Tests (9 / 9 green) - `defaults_for_tier_returns_at_least_helper_and_coder_for_every_tier` — the load-bearing invariant. Every variant of HwCapabilityTier yields at least Helper + Coder. If a future refactor narrows the floor at any tier, the test screams. "No singular AI" is structural. - `helper_priority_is_required` — Helper's SpawnPriority pins the always-on contract. - `coder_priority_is_highly_recommended` — Coder shows up by default but is disable-able. - `helper_model_choice_resolves_for_every_tier` — including tiers the template doesn't cover, via the safety floor. - `coder_low_tier_targets_swiss_army_code_family` — names the acceptable model families (Qwen-Coder / DeepSeek-Coder / StarCoder), catches accidental swaps to non-code-capable models. - `helper_cognition_defaults_are_brief_and_friendly` — pins clippy DNA (depth <= 30, max_chars <= 600, asks_before_guessing, voice=clippy). - `coder_cognition_defaults_allow_depth` — pins the contrasting engineer profile (depth >= 50, max_chars >= 2000). - `model_choice_per_tier_falls_back_to_first_entry` — the safety floor stays operative. - `role_id_stable_strings` — header / kanban metadata strings pinned. ## What this enables (follow-ups, separate cards) 1. **PersonaSpawnerModule** — ever-present substrate ServiceModule that reconciles `defaults_for_tier(current_tier)` against currently-running personas. Required → always-spawned. HighlyRecommended → spawn unless explicitly opted out. 2. **Shared-base + LoRA paging** — when Helper + Coder pick the same `base_model_id` at the current tier, the substrate hosts ONE model in memory and pages LoRAs. `[[host-the-seemingly-impossible]]` in concrete form on a laptop. 3. **Hardware-probe wiring** — `HostCapabilityProbe` (already exists, task #115) reports tier; substrate spawns Helper + Coder by default; the user never sees a model selector. 4. **Bootstrap experience** — `airc init` (or continuum equivalent) on first run probes hardware, picks templates from this layer, downloads the GGUFs, spawns the personas, posts a greeting in the default room. Naive users get a working substrate on day 1. ## References - `[[host-the-seemingly-impossible]]` — shared base, page LoRAs - `[[individuality-is-the-substrate-strength]]` — diversity via LoRA - `[[personas-have-names-not-function-labels]]` — role in bio, identity from deterministic projection - `[[substrate-is-communities-of-specialization]]` — even N=2 is a community - Built on: #87 PersonaInstanceManagerModule, #115 HwCapabilityTier, #116 FilesystemPersonaResolver, #109/#110/#111 InferenceCoordinator Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 6, 2026
…se dead Unsloth :8888 (task #87) (#1841) VERIFIED LIVE: `cu ai/inference/status` / `models` were routing through `inference/unsloth_control` (hardcoded DEFAULT_HOST http://127.0.0.1:8888 — the retired Unsloth gateway), so they returned "inference gateway unreachable" while the real engine (llama-server :58057, qwen2.5-coder-14b + Asha's coder-reflex LoRA) was serving fine. The hot `ai/generate` path already routed correctly; only these management verbs were stranded on the corpse. Architecturally correct, not a URL swap — these commands are PROJECTIONS of the one authority, never a private transport: - status/models read `llama_server::current_serving()` (the ServingSnapshot the serving daemon publishes on its global watch) + `model_registry::catalog::models()` for the loadable catalog (the registry OWNS on-disk discovery). InferenceStatusView replaces the Unsloth-typed InferenceStatus; ModelsResult.available is now the id list from the registry. - load/unload delegate to the serving daemon's `serving/pin`/`serving/unpin` — the ONE single-resident model-swap authority (fit-gated respawn), fail-loud naming it instead of mutating a private gateway. - catalog.rs's llama-server ProviderSpec base_url now uses llama_server::DEFAULT_BASE_URL (owned here), not unsloth_control::DEFAULT_HOST. Proof after `cu reboot`: status → activeModel qwen2.5-coder-14b, baseUrl :58057/v1, ready true, Asha LoRA in adapters, ctx 11264; models → real active + catalog, no :8888 error. 9 unit tests green (incl. a no-network projection test + a delegates-to-serving/pin test). Unsloth is not part of this system — we own the models + genome. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 4.8 <[email protected]>
This was referenced Nov 1, 2026
joelteply
added a commit
that referenced
this pull request
Nov 9, 2026
…(card 4114a2c6) GET /learn/grants, POST /learn/grants and POST /learn/grants/revoke (fork #87, wired by Codex at 7051ffd95; memory receipt 427415a7c) as one client on LlamaServerProcess: the ledger's identity and clock, live grants (a previous core's id stays a string), refusals by the engine's own names, and the measured optimizer and compute buffers. An engine without the routes is NoLedger; a malformed answer is an error, never an empty ledger. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Nov 9, 2026
…batch over a retained graph decodes at once, split by sequence (#5882) * learn ledger: the engine's learning grants, typed on the core's side (card 4114a2c6) GET /learn/grants, POST /learn/grants and POST /learn/grants/revoke (fork #87, wired by Codex at 7051ffd95; memory receipt 427415a7c) as one client on LlamaServerProcess: the ledger's identity and clock, live grants (a previous core's id stays a string), refusals by the engine's own names, and the measured optimizer and compute buffers. An engine without the routes is NoLedger; a malformed answer is an error, never an empty ledger. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn residency: the core's leases mirrored in the engine before learning allocates (card 4114a2c6) Learning is in place in the serving engine, so its memory (the shadow's weights, its optimizer state, the per-engine training workspace) is a claim on the same budget, leased from the core's one resource authority BEFORE the engine allocates it. Typed client for the engine's measuring and mirroring routes (fork, Codex at 7885c2932 / 08bc3ccb3): dry_run of /lora-adapters/fresh and /load (weights, nothing written), /learn/preflight (optimizer + workspace on a disposable scheduler; refusals typed), /learn/residency register and release (exact measured rows named by kind, the covering core leases, every fresh field explicit). The ledger reply is now generic over each route family's refusal names, and reports residencies beside grants. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn ledger: a LearningEngine handle owns the learning routes, apart from the engine's lifecycle owner The ledger, residency, dry-run and preflight calls lived on LlamaServerProcess (pub(super)), which owns an engine's launch and retirement; the genome's learner could not reach them and should not need the lifecycle owner to. LearningEngine::at(root) is the one handle for an engine's learning routes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: a mind's shadow is seated by measure, lease, mirror, load (card 4114a2c6) genome::learner::seat: the engine dry-runs the shadow's weights (nothing written or allocated); the core leases exactly those bytes per class (device VRAM, host RAM) through training_admission under the serving lifecycle gate; the engine mirrors the leases as a residency checked against its own incarnation (a relaunch in between is stale_engine, the leases drop); then the engine writes and loads the shadow inside the residency. The Seat holds the leases; unseating is unload, release the residency, then the leases go. Every refusal is typed (SeatRefusal) and leaves nothing leased. Client additions: LearningEngine::seat_fresh (fresh inside a residency) and unseat (unload); GrantOwner::id for the owner a residency names. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner seat: authorities injected, and tested against a fake engine and the real resource authority seat() takes its Authority (the resource daemon and the serving lifecycle gate; Authority::installed() reads this core's globals) instead of reaching for globals inside, so its dependencies are visible and testable. Tests: a shadow is seated on exactly the engine's measured lease, the residency names that lease and the shadow is written inside it; a refused residency is typed and leaves nothing leased or written. Mutation: leasing twice the measured bytes fails the first test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn step: one learning step on her slot, typed, with the residencies it is admitted inside LearningEngine::learn posts a lived example (the core's wire framing of the served conversation, her slot, shadow, grant, optimizer and workspace residencies) to /learn and reads the engine's outcome typed (a refusal or deferral is an outcome; transport failure is the error). ResidencySubject::Loaded names a loaded shadow's optimizer residency; seat_fresh/unseat return the LoadedAdapter (id and path) the seat now carries. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner memory: her optimizer residency and the engine's one workspace, leased from the preflight genome::learner::memory::prepare: the engine measures learning on her seated shadow (disposable scheduler, serving untouched); her optimizer rows are leased and registered as a residency on the loaded shadow; the engine's ONE training workspace is leased and registered once and reused by every mind while it covers the preflight (shared_compute_held is evidence, never a lease row; the first learn replaces the serving scheduler, so the workspace is leased in full). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner grant: uncontended-only before anything is measured, replaced (never mutated) by a measured share GrantShare::UncontendedOnly | Measured{share_ppm, period} replaces a bare share number: the bootstrap is share 0 (Codex, 2026-11-09), so learning runs only while no other slot serves until measured, and no number stands in for 'none'. genome::learner::grant issues, replaces (new id registered first, then the old revoked) and revokes; its expiry backstop is the engine's own reported maximum, passed by the caller. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner mind: one mind learning in place, started and stopped in the order the budget needs genome::learner::mind::MindLearner: start = seat (measure, lease, mirror, load), her learning memory (preflight, lease, mirror), then her uncontended-only grant; learn = one lived example on her slot, admitted by that grant inside those residencies; stop = revoke the grant, unload the shadow, release her optimizer residency, then the weight residency, each part's leases dropping as it is released. Seat's teardown is split into unload and release so every step's refusal is handled; MindLearning gains release. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn ledger: the engine's grant limits and its uncontended-only refusal, read from the ledger The core sizes a grant inside max_period_ms / max_expiry_ms as the engine reports them, never against a copy of the engine's constant; uncontended_only is the typed refusal of a contended step under the zero (measure-first) grant. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: release the engine's workspace residency after its last mind, and an end-to-end example EngineWorkspace::release shares one residency-release owner with MindLearning::release. The learn_in_place example drives the whole path against a live engine: dry-run lease and seat a fresh shadow, preflight-lease the optimizer and the one workspace, an uncontended-only grant, learning steps on the served slot, stop with every residency released. Measured 2026-11-09 04:34Z, IntelMac CPU, qwen2.5-0.5b q4_k_m, fork integration 6a79abfdb plus a local dedupe of per-buft compute rows (sent to Codex): leases weights 90,112 B, optimizer 270,400 B, workspace 734,281,856 B (each exactly the engine's measured rows); loss 3.7987 -> 3.7820 over two steps, 641/567 ms, restoration 99/75 ms; after stop 0 residencies, optimizer buffers []. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn ledger: a measured grant carries its chunk latency bound GrantShare::Measured { share_ppm, period, max_chunk }: a share without the bound a neighbour may wait behind one learning chunk cannot be built (the engine refuses it pending_calibration, fork 0d2c94a9d). max_chunk_us goes on the wire and reads back on RegisteredGrant; the new refusals PendingCalibration and ChunkExceedsLatency are typed. The wire assertion is mutation-checked (sending 0 fails it). Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn step: the receipt's committed optimizer steps and uncertain effects are required fields LearnOutcome carries committed_steps (the engine's exact count of updates this step committed to her shadow) and effects_uncertain (a mid-step failure quarantined the shadow; it is never trusted or snapshotted again), as fork 075a28cb0 reports them. Measured 2026-11-09 05:22Z on 2bff5d764, IntelMac CPU, qwen2.5-0.5b: two steps, committed_steps 1 each, effects_uncertain false, loss 3.7987 -> 3.7820, after stop 0 residencies. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn_in_place: print each residency's measured rows, so the run shows what was leased Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: price each example as it is learned; hold every lease until the engine confirms its release - learning_preflight sends the example itself ({messages, tools}); the engine renders and counts the reply with /learn's renderer (fork f745120d4) and reports reply_rows and served_window. No caller geometry, no full-window default. - memory::cover runs per example: her optimizer residency on the first, the engine's workspace replaced when it no longer covers. A replaced workspace is kept (leases held) until the engine confirms its release, which it accepts only after a learn has claimed the new one. - One confirmed-release owner (seat::confirm_release) for weights, optimizer and workspace. - A lost load reply is fenced by the engine's release answer: accepted, nothing is live and the lease drops (Unloaded); otherwise the lease stays in Retained until settle confirms it (Unfenced). - MindLearner::stop hands the mind back with whatever is still held when a step is refused; a start whose grant is refused returns the seated mind to stop (StartFailure::Ungranted). Fault tests for the three, the fence mutation-checked (dropping it fails the lost-load test). Addresses Codex's source audit of fed5f3f. Measured 2026-11-09 06:04Z, IntelMac CPU, qwen2.5-0.5b, n_ctx_slot 32768, fork f745120d4: workspace 369,636,672 B (45e05f176's full-window preflight: 44,499,413,120 B); two steps, committed 1 each, loss 3.7987 -> 3.7820, max chunk 93/97 ms, restoration 77/78 ms; after stop 0 residencies. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: one custody owns every learning lease, so a cancelled future never drops one A residency's leases enter custody synchronously the moment they are granted, before the engine is told anything; a seat, optimizer or workspace holds only a Claim. Dropping a claim for any reason (an error, a cancelled or timed-out future, an unwind) marks its entry orphaned and keeps the leases; an entry leaves custody only when the engine confirms the residency released, through the claim or through Custody::settle_orphans (unload whatever adapter the ledger shows bound, then release), which the owning task runs on its tick. A refused registration, or a residency the engine does not know, is its word that it holds nothing and drops at once. Replaces Retained / SeatRefusal::Unfenced; one register owner (seat::register) for weights, optimizer and workspace (memory's copy deleted). Authority carries the custody beside the resource authority and the serving gate. New fixture: a seat future cancelled mid-load leaves its lease in custody until settle unloads the bound shadow and the engine confirms the release. Mutation: a claim that drops its entry instead of orphaning it fails three tests. Addresses Codex's lifecycle audit of d6242e6. Measured 2026-11-09 06:13Z, IntelMac CPU, qwen2.5-0.5b, n_ctx_slot 32768, fork f745120d4: two steps, committed 1 each, loss 3.7987 -> 3.7820, max chunk 90/91 ms; after stop custody holds nothing and the engine 0 residencies. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: custody confirms a release only from the incarnation it registered with, or the old process's verified death LearningEngine is bound to its physical process (EngineIncarnation: pid, OS start time, port), never an endpoint alone. Each custody entry records the ledger incarnation its residency was registered with; one fenced settle (unload a bound adapter, then release) counts a receipt only from that incarnation. Any other answer at the address (a relaunch) proves nothing about the old process's memory, so the entry stays until engine_residency's liveness says Dead (an unreadable process is never dead). Custody is one per process (Custody::global), outliving any task that drives it; tests use Custody::isolated. seat's confirm_release is gone (custody is its one owner). Fixture: a same-address relaunch answering unknown_residency keeps the lease while the admitted process lives; mutation (dropping both incarnation comparisons) fails it. Unload is still addressed by lora id read from the admitted incarnation; binding unload to the incarnation server-side is asked of Codex. Addresses Codex's audit of 7912e8f. Measured 2026-11-09 06:25Z, IntelMac CPU, qwen2.5-0.5b, n_ctx_slot 32768, fork f745120d4, the example bound to the engine's pid: two steps, committed 1 each, loss 3.7987 -> 3.7820; after stop custody (0, 0) and 0 engine residencies. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: unload and residency release carry the admitted engine incarnation Fork 3dee07ad0 checks the engine incarnation inside the task queue before any lookup or mutation and refuses stale_engine unchanged. The core sends the admitted LedgerEngine on unseat and release_residency (Seat::unload with the seat's ledger, custody's settle with the entry's), so a relaunch between the ledger read and a mutation can no longer unload another mind's reused lora id; a release refused stale_engine is unproven and keeps the lease. Fixtures: the unload names the admitted incarnation; a stale release keeps the lease. Measured 2026-11-09 06:36Z, IntelMac CPU, qwen2.5-0.5b, n_ctx_slot 32768, fork 3dee07ad0: two steps, committed 1 each, loss 3.7987 -> 3.7820; after stop custody (0, 0), 0 engine residencies; an unload without the incarnation is refused 400 "engine incarnation is required". Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * slots: learn_slot, the custody one learning step runs under (C2) Background work of her mind that yields and never evicts, taken the way grant_handoff::prepare takes custody: her act gate without waiting (mid-act defers the step), the endpoint's admission bound to the engine incarnation she was seated on (another one refuses Replaced), then her warm page's slot pinned with its permit (the engine serves her cached prefix and restores her tail), else the scratch slot (one prefill, nobody's page touched), else deferred (NoScratch): taking a citizen slot would evict another mind's page. Held through the step, released on drop. Tests: warm page used and held; her act comes first; cold takes scratch or defers; another incarnation at the address refused (mutation: dropping the check fails it). Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: one owner frames an example for the engine (learn_messages) The lived-call framing (the served conversation via wire_messages, earlier assistant turns as context, her reply with reasoning and tool calls, the tools she was offered) moves from the batch fine-tuner's engine_example into learner::example::learn_messages, which in-place learning sends to /learn; a prompt/completion pair frames as user + assistant, as the engine frames a pair. engine_example delegates its lived branch until the batch path is deleted. Existing framing tests (lived, self-tick, plain) pass through the delegate: 47/47 engine_lora_adapter. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learner: one owner of what a bucket learns with (learn_policy) and of the GGUF target names learn_policy reads a bucket's pinned lora/schedule, else the training defaults' one owner (fine_tuning::native_jobs, exposed as native_jobs_defaults), so in-place learning and the trainer it replaces never disagree on a number; top_layers None is the engine's 0 (every block). The HF-to-GGUF target mapping moves from the batch path into learner::policy::gguf_targets (unknown names refused); the batch path's copy delegates until it is deleted. Test pins the defaults (rank 8, alpha 16, attn_q/attn_v, every block, lr 1e-4) and the mapping; 56/56 learner + engine_lora_adapter. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn_slot drops its pin before its permit; the journal keeps a per-submission learned cursor - LearnSlot: field order is drop order, so the pin goes before the permit whose drop wakes waiting citizens, letting a woken waiter evict the page (TurnAdmission's order; Codex on 1992145). - Submission.learned (serde default 0): how many of its examples were learned in place, each counted only on a committed update with certain effects; DurableStore::arrivals pages pending rows oldest first (rows commit out of sequence order, so pending rows are scanned, never a watermark) and record_learned advances the cursor, never backwards, leaving pending when all are learned. The consumer that reads them is the next commit. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place consumer (C1, first cut) and the checkpoint save client - training_trigger::in_place: learns pending accepted submissions on the engine serving their base, one bucket at a time through the trigger's owned operations (run_owned), each step under learn_slot custody on her warm page or scratch; one MindLearner per bucket kept seated on its engine incarnation; verdict: committed with certain effects learned, nothing committed again, uncertain quarantines and stops. A lost /learn answer holds the slot until her shadow's incarnation-bound stop is confirmed or the engine is verifiably dead (Codex: /slots idle is not quiescence; the stop fences a late step on the never-reused id). Not yet called by the tick. - LearningEngine::save_checkpoint / MindLearner::checkpoint: one immutable generation (<name>.checkpoint: adapter.gguf, optimizer.gguf, manifest) per fork a65bbea5c/d968eddde; NoOptimizerState typed. - Tests: verdict, file-name part, the store's learned cursor (3/3). Known, next commit (Codex on 608651e): the durable cursor must advance with a confirmed checkpoint generation, not a committed response; record_learned is wrong to persist before one. Measured 2026-11-09 07:56Z, IntelMac (macOS, CPU), qwen2.5-0.5b, n_ctx_slot 32768, fork d968eddde (macOS F_FULLFSYNC): two committed steps, loss 3.7987 -> 3.7820, then a checkpoint generation of adapter.gguf 90,560 B + optimizer.gguf 278,368 B + manifest {version 1, binding e2e, steps 2, provenance}; after stop custody (0, 0), 0 engine residencies. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place consumer: the cursor moves with a confirmed checkpoint; per-engine learning; renewal Addresses Codex on 608651e and d177df1: - Durable cursor: one LearnCheckpoint row per bucket (training_trigger_learn_checkpoints) names the newest generation the engine confirmed and the journal positions it holds; written only after save_checkpoint answers Saved, then projected onto the submissions (monotonic, re-applied when a bucket reseats, repairing a crash between the two). Progress since the newest generation is volatile per seated learner; a reseat restores the fresh shadow from the generation (/learn restore_checkpoint, MindLearner::restore sharing learn's covered example) before its first step, so committed-but-unsaved learning is learned again, never skipped. - Paging: eligible_buckets pages the whole pending journal; rows for other bases never hide an eligible one (fixture: 257 foreign rows, then the eligible one). - Ownership: per-engine locks (one context learns one step at a time), taken with try_lock so a busy or wedged engine defers its bucket and never holds another engine's (fixture); a lost answer's fence runs as an owned operation holding that engine's lock and the slot, not on the tick. - Grant renewal: an unknown_grant refusal renews her grant at that quiescent boundary through grant::replace (MindLearner::renew_grant), keeping the shadow and its progress, then retries once. Tests 5/5 (verdict, file-name part, cursor, late page, busy engine). Still not called by the tick: wiring it and removing the batch dispatch are one change. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place consumer: a step starts past its learner's newest generation, not just the journal row The pass reads its rows before seating projects the bucket's generation; after a crash between a checkpoint's commit and its projection a row's journal count is stale, and a restored learner would teach examples its generation already holds (Codex on 76f829e). Each seated learner now keeps the positions its newest generation holds (from the bucket's checkpoint at seat, raised by every commit), and start(journal, checkpointed, progress) takes the furthest of the three. Test pins the stale-row case. 6/6 consumer tests. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * competence: the signature mint and the join/await/reuse/fork/mint decision move out of job-create training_trigger::competence::{mint_signature, decide} own what a competence trains, against her surprise, her signature store, her trials and the hub (GENE-REUSE-FORK-MINT.md), taking the work of hers already learning nearby as an input (job-create passes the board's pending jobs; in-place seating will pass its seated learner). Pure move of the logic and its comments; job-create calls it until the batch path is deleted (780 -> 653 lines). 110/110 job_create + training_trigger tests. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * test: reopen checkpoint across interrupted cursor projection * job-create: drop the TrialState import the competence move left unused Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place seating decides through the one competence rule; reuse moves out of job-create - competence::reuse (pull a hub gene, adopt for trial, no training) moves out of job-create, which calls it; job-create keeps only its error kinds. - in_place::seat mints the competence's signature from the bucket's pending examples and decides (competence::decide, nothing of hers in flight: no learner is seated for it). Mint seats a fresh shadow; Fork seats a fresh shadow with the parent on its signature (the trainer it replaces did the same: lineage recorded, no warm start yet); Reuse adopts the gene for trial and defers; Await and Nothing defer (examples stay pending); an undecidable competence defers, never learns blind. A failed mint learns as a mint, as job-create did. The signature rides on the seated learner for the gene its generation becomes. Arrival carries persona_name. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * job-create tests import GeneRef, which the competence move left to them 57709d9 pushed with the test target broken (my chained commit ran after the failed build); this restores it: 111/111 job_create + training_trigger. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place seating: her other learners on this base are her competences in flight competence::decide was handed nothing in flight, so two of her buckets on one base with near-identical signatures could each mint a gene (Codex on e473f72; job-create passed every pending job of hers). Each seated learner now has an id and its signature, and seating passes her other seated learners on this base; a near one is a Join, which defers to the learner already learning it. 111/111. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place: the in-flight competences a seat decides against are one pure function, tested in_flight(key, seats) takes her other learners on this base with a signature, never this bucket, another persona's or another base's (Codex asked for two-bucket coverage on 54caa1d). The test pins a sibling bucket included and the four exclusions. 91/91 training_trigger. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * in-place checkpoints record what they consumed in their manifest ONE-RESIDENT 9.2: a snapshot's manifest records the arrivals it consumed. The provenance sent with each generation is now every submission and how many of its examples the generation holds (merged with the generations before it), plus the competence signature's corpus hash, instead of a count. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * learn receipt: the blocking phases (entry, longest graph, longest restore, cleanup) Fork 249c97bc2 separates what a neighbour can wait behind from restoration_ms, the custody's aggregate debit; LearnOutcome carries all four as required fields, the input to measured grants' max_chunk. 91/91 training_trigger. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * C5: a confirmed generation becomes a candidate gene (snapshot -> provenance -> adopt for trial) ONE-RESIDENT 9.2's Snapshot for learning in place, the completion sentinel's chain ported (not duplicated; the sentinel goes with the batch path): after a confirmed checkpoint, once a competence's worth (competence::MIN_EXAMPLES) is learned since the learner's last candidate and that candidate's trial is no longer settling, the generation's adapter.gguf (an immutable gguf-lora at an optimizer boundary) becomes a candidate: every loss since the last candidate must be finite; its signature is stamped before it is live; its provenance is written where the examiner reads it (a job directory whose request.json names exactly the examples the generation consumed, read back from the journal), so the examiner is unchanged; then Adoption::adopt opens its trial and wakes the examiner. Seated learners carry her name, their losses since the last candidate and that candidate's trial. Test pins the cadence. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * C5: candidate state lives on the durable checkpoint row; a non-finite loss quarantines Codex on 5f26871: (1) The candidate is now its bucket's durable work, not a learner's: the checkpoint row carries the generation's path, the competence signature, her name, and the last candidate's trial and position. Every pass sweeps the rows (whether or not the bucket has anything pending) and takes a due candidate; a candidate interrupted after its generation (provenance write, refused adoption, a stopped process) is taken by the next sweep. Each step is idempotent: the provenance directory is named by the generation (uuid v5 of its name), and adopting a gene already on trial returns that trial; record_candidate moves candidate_at only after the trial opened. (2) A non-finite loss is a poisoned update: verdict quarantines the learner (stop, volatile progress dropped, restore from the last generation), so no generation ever holds one and a restart has nothing to lose. The in-memory loss list and candidate fields are gone. Fixtures: a due candidate survives a store reopen until recorded, then the next is due only after a competence's worth more; NaN and infinite losses quarantine. Codex's reopen proof updated to the Generation signature. 114/114 training_trigger + job_create. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * C5: a candidate's receipt writes only its two fields, and the sweep runs under the bucket's gate record_candidate wrote a stale clone of the row after adoption awaited, so a generation committed meanwhile was overwritten back (Codex on bdebe70). It now updates only candidateTrial/candidateAt on the row as it is (update_fields), and the snapshot sweep runs each bucket through run_owned, ordered with that bucket's learning, re-reading its row there. Fixture: g1 read, g2 committed, g1's receipt keeps g2's name and positions. 115/115. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * C4 (part 1): the training trigger learns in place only; its batch dispatch and in-memory buckets are gone The trigger's pass is in-place learning on the live engine (recover_pass ensures storage, then learn_in_place); submit only accepts into the journal; the journal is the one owner of pending work. Deleted: the flush, return, resolve and policy-recover verbs; dispatch_job_create, dispatch_pending*, finish_*, recover_tick, recovery_heads, resolve_*, retry decisions; orphan resume, refused-job and parked-remainder returns (attempt_evidence.rs, remainders.rs); budget_split; the DispatchPhase type and its export; the in-memory bucket cache and its hydration; MAX_HELD_EXAMPLES and the DEFAULT_MIN_EXAMPLES threshold (and minExamples / threshold / job-dispatch fields from SubmitParams, PendingBatch and SubmitOutcome; producers stop sending minExamples); the batch-only tests. Kept and moved: accept, submit, status and retire read the journal (policy pinned by the oldest pending row; replay by id; counts of unlearned examples); policy corrections already on disk still read back. Migration: an active dispatch intent at start returns its submissions to pending (paged on the active index) and is closed, so no accepted example is lost. Typed inputs: the Authority is built at boot and handed to TrainingTriggerModule::new (no Authority::installed lookup); the teach action's trait kind is a non-blank TraitKind by type. Paged: the candidate sweep and the migration read a page at a time. Test files are marked #![cfg(test)]. 170/170 continuum-dreaming; continuum-core checks. Not pushed: the genome side (job-*, adapters, board, sentinel) is next; ratchets go green with it. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * C4 (part 2): the batch training path is deleted; a persona learns only in place The genome job-*/lease verbs, the fine-tuning coordinator and registry, every batch adapter (engine /train lanes, CUDA, MLX, OpenAI, the Candle chain), the job board and actor, the training hold store and rate, and the completion sentinel are gone, with their boot wiring and generated TS. GenomeModule keeps genome/teach and genome/recall. The grid beacon no longer advertises training leases (its only reader was the deleted grid-peer trainer). fine_tuning keeps the curriculum types, job_dir, the forge's mlx_train, training_demand, and lora_defaults (the one owner of the default shape). Migration: batch_wind_down runs once at boot. A /train run that a previous core bound to a live engine is cancelled; its residency record is released once the engine reports the run ended, or at once if the engine is verifiably dead. An unknown engine stays held. Its examples were already returned to pending by reclaim_dispatched. Card 4114a2c6. Dreaming 98/98, genome 198/198; continuum-core checks; ratchets green. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The trigger's own route is proven on a live engine; a bucket's failure no longer stops the pass, and shutdown leaves no learner seated - learn_each runs each bucket under its owned gate. A bucket's own Err is probed and its durable work kept, and the pass and the candidate sweep go on (Codex on 086d601). Fixture: the first bucket fails, the second still runs. - drain_operations quiesces in place after the owned operations drain: each learner's progress is checkpointed, the learner stopped, and each engine's workspace released. - A step deferred for want of a slot probes its refusal (it was silent). - live-engine-tests (a feature, like stress-tests) drives the trigger on a named engine: submit -> pass -> confirmed generation -> shutdown (custody empty, engine residencies back to baseline) -> restart over the same journal -> restore -> the next arrival learned on top. The slot directory registration is reached through a test-fixtures-only engine fn. Measured 2026-11-09 ~12:41Z, IntelMac CPU, fork b2b573ed1, qwen2.5-0.5b-instruct q4_k_m, -np 3: the fixture PASSES in 20.5s. Steps on scratch slot 2: loss 3.7987, 2.5604, then 2.9315 in the second life; quiesced stopped=1 unpublished=0 unconfirmed=0 both times; two generations published. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * A candidate gene is a copy in the genome store; each bucket's old generations and unheld shadows leave the train dir; the live fixture runs by the module's tick - snapshot::place_gene publishes the generation's adapter.gguf into the candidate's job dir beside its provenance (publish-once), and the trial adopts that copy. A gene on trial no longer lives in the engine's evictable train dir. - in_place::evict, on each candidate sweep and under the bucket's gate: deletes the bucket's generations older than its committed one, and the shadows (with their .pending dirs) no engine holds. Exact <persona>-<trait>-<uuid32> names only; with any engine busy, no shadow goes. A seat's id is now its shadow's: a separately minted id made the sweep delete her live shadow (caught by a fixture assertion, proven by mutation). - The live fixture pins its home, registers the engine as the live lane the way serving does, and runs each pass by the module's tick -> serving wake -> recover_pass -> live_lane, with shutdown through the module (Codex on a8f687b). It asserts the engine's committed steps: g1 = 2, g2 = 3 (restored 2 + exactly 1). It also asserts the seated shadow survives the sweep and g1 leaves once g2 is committed. Measured 2026-11-09 13:21-13:22Z, IntelMac CPU, fork b2b573ed1, qwen2.5-0.5b q4_k_m, -np 3: PASS in 43.2s. Losses 3.7987, 2.5366, then 2.9267 after restore. First-life sweep deleted 0; second-life sweep deleted 2 (g1 and the first life's shadow). Mutant (seat id != shadow id): FAIL "her seated shadow survives the sweep: []". Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * Eviction owns only its own bucket's generations: files are named for a digest of the whole bucket key, and shadows wait for custody's fence Codex on f13a6ab, two source blockers: - A bucket's train-dir files were named <persona>-<sanitized trait>, but a bucket is (persona, trait, base). The same persona and trait on two bases sharing a train dir, or traits that sanitize alike, could delete each other's newest generation. bucket_stem now names every file <persona>-<sha256 of persona/trait/base>, 146-byte names inside the engine's 200-byte confinement. - A shadow absent from the trigger's seated minds can still be held in custody, and loaded, after an unconfirmed stop. The sweep now deletes superseded generations only (immutable, read only by a restore under the same bucket gate); shadows and their .pending dirs are owed behind custody's fence (named in the engine-train eviction decision). Fixtures: two bases with one persona and trait in one dir, where the sweep deletes only its own superseded generation and keeps the other base's newest, the shadow, its pending dir and a staged gene; sanitize-alike traits get distinct stems. Live, by the module's tick, IntelMac CPU at fork b2b573ed1, 13:56Z: PASS in 21.65s; the second life evicted 1 (g1) and kept both shadows. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The fork pin moves to the learning integration head, so C4 never lands on an engine that cannot learn in place core/vendor/llama.cpp 54939d690 -> 23fd54952 (codex/s4-per-mind-integration, 86 commits). The old pin has no /learn routes: with the batch path deleted (C4), every node's learning would answer NoLedger. The ledger, grants, residency mirror, learn, restore and checkpoint routes, and the staged-preparation cancel fix 23fd54952 come with it. Not to merge until it moves to Codex's reviewed hybrid retained-range guard head: the live models are hybrid, and without the guard a neighbor's recurrent state can be damaged. Checked: cargo check -p continuum-engine --features llama/mac-cpu-only, EXIT 0 (2026-11-09 ~15:20Z, IntelMac, -j 2). Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The fork pin moves to the hybrid retained-range guard (564cbdffb) core/vendor/llama.cpp 23fd54952 -> 564cbdffb: the recurrent memory owner refuses a neighbor ubatch whose cell range overlaps, or copies from, a retained learning graph's cells, and restores n and rs_z after its simulation. Reviewed PASS by Cormac and Fable (2026-11-09). Without it, a neighbor's state on the live hybrid models can be damaged while a resident learns (Codex: CUDA RED -> GREEN). Checked: cargo check -p continuum-engine --features llama/mac-cpu-only, EXIT 0 (IntelMac, -j 2, ~15:50Z). The per-sequence fallback for the retry ladder lands next on the fork; the pin follows it. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The fork pin moves to the per-sequence retry (12ca698c8): a neighbor batch over a retained graph decodes at once, split by sequence core/vendor/llama.cpp 564cbdffb -> 12ca698c8. When prepare() refuses a ubatch over a retained learning graph's cells, the recurrent and hybrid memory owners retry once with one sequence set per ubatch, so a bracketing neighbor batch decodes in the same call instead of halving down a ret=1 ladder (Codex: 3,360 retries, 8 s vs 2 s, before). Reviewed PASS by Cormac. Checked: cargo check -p continuum-engine --features llama/mac-cpu-only, EXIT 0 (IntelMac, -j 2, ~15:55Z). This head is the landing candidate for C4 + the engine. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * Fable's review of #5882: the deleted batch path leaves no CI step, recipe or comment pointing at it - .github/workflows/continuum-rust-tests.yml: drop the unittest step for the deleted cuda_train_test.py (an empty discover exits 5 on Python 3.12+ and fails continuum-genome). - benchmarks/design-gym: the recipe and generator docstrings name the new path (genome/training-trigger/submit, learned in place; the examiner gates adoption) instead of genome/job-create and the completion sentinel. - training_trigger handle_command: the dead 'flush' arm is now 'retire', the verb that exists. - The boot wind-down probes when no continuum home resolves, instead of skipping silently. - Stale batch-path comments corrected (training_plan, settle_card_credit_bound, consolidate, custodian_supervisor). Deferred, with Cormac as owner: job_dir.rs and engine_residency.rs, whose comment edits pull their pre-existing raw writes and process probes into the touched-file ratchets. Checked: ratchets EXIT 0; continuum-core checks; dreaming 100/100. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The fork pin moves to 316ad8b92: the one-line algorithm include Linux GCC needs core/vendor/llama.cpp and core/vendor/LLAMA_CPP_PIN 12ca698c8 -> 316ad8b92. #5882 CI failed on Linux at llama-context.cpp:3414 (std::find with no <algorithm>); macOS clang includes it transitively. The pin file was not updated with the submodule before (vendor_pin ratchet). Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The capability wire test names exactly what this build advertises: the training lease capabilities are gone capacity::gossip advertised_names_serialize_as_stable_snake_case_and_never_unknown still listed training_lease and training_lease_return, which C4 removed with the grid-peer trainer (#5882 CI, engine job, gossip.rs:889). capacity:: 234/234 locally. Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * HeldWork.ts regenerated: its doc comment follows serving_hold.rs (JobHandle is gone) Generated by the export_bindings_heldwork ts-rs test; #5882 CI binding drift (job 129356248929). Card 4114a2c6. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)