Repository navigation
Build(deps-dev): Bump eslint from 9.24.0 to 9.26.0 - #51
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
Bumps [eslint](https://github.com/eslint/eslint) from 9.24.0 to 9.26.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.24.0...v9.26.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The |
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Contributor
Author
|
Superseded by #59. |
joelteply
added a commit
that referenced
this pull request
May 30, 2026
…ayers=0
Closes the runtime end of the Mac Intel chain. Prior commits shipped
the classifier (60d440029), the install-time tier policy (7b3b8e086),
and the hyper-efficiency pass (334f699c1) — but LlamaCppAdapter::load
still hardcoded n_gpu_layers=-1, so even with mac_intel_discrete set
in the env the runtime would route the load into the broken Metal-AMD
shader path.
This commit reads CONTINUUM_TIER and forces n_gpu_layers=0 when the
tier is mac_intel_discrete. install.sh's hardware probe sets the
env at install time; the runtime trusts that contract and avoids
the broken Metal path.
The 2026-05-30 evidence on MacBookPro15,1 / AMD Radeon Pro 560X:
Metal-AMD path (n_gpu_layers=-1) → 0.8 tok/s + multilingual
garbage + hundreds of nil tensor buffer errors per generation.
CPU path (n_gpu_layers=0) → 1.1 tok/s + COHERENT English.
Net: CPU is FASTER and CORRECT than the broken Metal-AMD path
on this hardware. With qwen3.5-0.8b on the same CPU we'd
expect ~5-6 tok/s = usable interactive chat.
Follow-up: native Rust probe at adapter construction so the
runtime doesn't depend on the install-time env-var trust chain
(currently CONTINUUM_TIER is the cross-boundary signal between
install.sh and the Rust runtime). Tracked as task #51 in the
session task list; ties into resolving the parallel
governor::classify_silicon bug (task #52) where the same
"has_metal=true → Apple Silicon" misclassification still lives.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
May 30, 2026
* fix(registry): qwen3.5-4b-code-forged GGUF filename case (Q4_K_M) The published HF GGUF sibling uses the canonical-uppercase suffix Q4_K_M; the registry was carrying lowercase q4_k_m which 404s on HuggingFace's case-sensitive resolve path. Caught during a model download on 2026-05-30 — every host that pulled this entry was silently failing the pre-pull and falling back to a missing-model runtime error. Co-Authored-By: Claude Opus 4.7 <[email protected]> * feat(cognition): MacIntelMetalDiscrete tier — Mac Intel + Metal classifier branch Adds HwCapabilityTier::MacIntelMetalDiscrete for hosts whose Metal device is a discrete AMD or integrated Intel UHD card on a Mac Intel CPU — physically distinct from Apple Silicon (separate VRAM, Metal 2 only, no neural engine, llama.cpp Metal shaders unreliable on this path). Splits the metal branch of host_capability_probe::detect_host_capability into metal_tier(cpu_brand, device_name, total_mem_mb, platform) which: - routes Apple-Silicon-brand CPUs to the existing UMA buckets with TargetSilicon::UnifiedMemory (unchanged), - routes Intel-brand CPUs to MacIntelMetalDiscrete with TargetSilicon::Gpu (separate VRAM, not unified), - loud-fails with ProbeError::UnknownGpuDevice on any other CPU brand so the operator adds a tier rather than getting silent M1Uma16Gb routing. Background: 2026-05-30 inference experiment on MacBookPro15,1 (Intel i7-8850H + AMD Radeon Pro 560X 4GB + 32GB RAM) showed the previous classifier silently buckets this host as M1Uma16Gb purely because total_mem_mb >= 14000 — the cpu_brand check only branched on M2 vs the M3/M4/M5 family. That mis-tier led the resolver to pick the 4B forged model which then ran on the Metal-AMD shader path and emitted multilingual gibberish at 0.8 tok/s with hundreds of nil tensor buffer errors per generation. The classifier patch is the precondition for fixing the resolver: the resolver now has a tier name to refuse 4B routing on, and a downstream registry/tier-policy change can map MacIntelMetalDiscrete to a smaller GGUF (or CPU-only inference, or grid-share to a peer). Test override knob (QWEN35_4B_GPU_LAYERS in the throughput test) lets operators isolate Metal-AMD breakage from CPU-baseline behavior without editing source — n_gpu_layers=0 forces llama.cpp's CPU path for parity comparison. Adds 4 unit tests pinning the new classifier behavior: - metal_tier_routes_apple_silicon_to_uma_branch - metal_tier_routes_mac_intel_amd_to_new_tier_not_silent_m1 - metal_tier_routes_mac_intel_uhd_to_same_tier - metal_tier_loud_fails_on_unknown_cpu_brand ts-rs regenerated HwCapabilityTier.ts with the new "mac_intel_metal_discrete" variant. Adding the variant is purely additive — no exhaustive match sites need updating. Co-Authored-By: Claude Opus 4.7 <[email protected]> * feat(registry): mac_intel_discrete tier — runtime + install-time policy Wires the Rust HwCapabilityTier::MacIntelMetalDiscrete classifier (shipped in 60d440029) through to the model-selection path that actually picks a default chat model. src/shared/ModelRegistry.ts: - Widens Tier from 'mba'|'mid'|'full' to also include 'mac_intel_discrete'. - Adds tierFromHost(ramGB, hwTier?) which overrides RAM-based bucketing when hwTier === 'mac_intel_metal_discrete'. tierFromRamGB stays as a pure-RAM fallback (existing CandleAdapter + seed callers unchanged). src/shared/models.json: - Adds tiers.mac_intel_discrete with default_chat=qwen3.5-0.8b-general. - Adds auto_download.by_tier.mac_intel_discrete=[qwen3.5-0.8b-general] so model-init pulls the right GGUF. install.sh: - After the RAM-based tier block, probes machdep.cpu.brand_string via sysctl. Intel brand → CONTINUUM_TIER=mac_intel_discrete + smaller NATIVE_RESERVE_MIB (5GB instead of 12GB primary). - Adds the matching case branch in PERSONA_MODEL selection so docker model pull / model-init fetch the 0.8b forged GGUF. The 0.8b forged GGUF at continuum-ai/qwen3.5-0.8b-general-forged is already the destination for MBA tier — same registry entry, no new HF artifact required. (Note: 2026-05-30 the actual HF GGUF siblings for the 0.8b/2b forge repos were missing — that's task #49 in the broader thread, not blocking this tier-policy commit.) Co-Authored-By: Claude Opus 4.7 <[email protected]> * perf(persona): single-pass service_cycle hot path The per-persona service_cycle runs every 3-10s and is called once per active persona. Three small wins, no semantic change, 9/9 existing tests pass. 1. ChannelRegistry::service_cycle — collapsed get + get_mut to single get_mut in both the urgent and non-urgent loops. NLL handles the borrow reuse without the old double-lookup workaround. Saves one HashMap probe per checked domain per tick (8 lookups → 4 in the urgent loop, 6 → 3 in non-urgent). 2. ChannelRegistry::status — folded the per-channel Vec build and the total_size / has_urgent_work / has_work rollups into a single walk over DOMAIN_PRIORITY_ORDER. Previously: 1 unsized-collect Vec walk to build the channel list + 3 more iter().sum() / iter().any() passes over the result. Now: 1 walk with pre-sized Vec::with_capacity(DOMAIN_PRIORITY_ORDER.len()), no Vec growth, no extra passes. status() is called every tick (urgent and non-urgent branches alike), so the per-tick savings compound across the active persona fleet. 3. host_capability_probe::metal_tier — dropped cpu_brand.to_lowercase() alloc on the Intel-detection branch. Intel CPU brand strings reliably ship with capital "Intel" (e.g. "Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz"); literal substring match avoids the String allocation on every boot probe. Boot path, not hot — done for code hygiene + worked example of the discipline. The discipline this lands: per Joel 2026-05-30, Rust is the work; Node is the shell; the LCD machine (Mac Intel today, phones eventually) is the forcing function that prevents the codebase from quietly consuming the M-series headroom. Same code runs on both; cycles you don't burn on the slow path become perceived snappiness on the fast one. Co-Authored-By: Claude Opus 4.7 <[email protected]> * feat(inference): honor CONTINUUM_TIER=mac_intel_discrete with n_gpu_layers=0 Closes the runtime end of the Mac Intel chain. Prior commits shipped the classifier (60d440029), the install-time tier policy (7b3b8e086), and the hyper-efficiency pass (334f699c1) — but LlamaCppAdapter::load still hardcoded n_gpu_layers=-1, so even with mac_intel_discrete set in the env the runtime would route the load into the broken Metal-AMD shader path. This commit reads CONTINUUM_TIER and forces n_gpu_layers=0 when the tier is mac_intel_discrete. install.sh's hardware probe sets the env at install time; the runtime trusts that contract and avoids the broken Metal path. The 2026-05-30 evidence on MacBookPro15,1 / AMD Radeon Pro 560X: Metal-AMD path (n_gpu_layers=-1) → 0.8 tok/s + multilingual garbage + hundreds of nil tensor buffer errors per generation. CPU path (n_gpu_layers=0) → 1.1 tok/s + COHERENT English. Net: CPU is FASTER and CORRECT than the broken Metal-AMD path on this hardware. With qwen3.5-0.8b on the same CPU we'd expect ~5-6 tok/s = usable interactive chat. Follow-up: native Rust probe at adapter construction so the runtime doesn't depend on the install-time env-var trust chain (currently CONTINUUM_TIER is the cross-boundary signal between install.sh and the Rust runtime). Tracked as task #51 in the session task list; ties into resolving the parallel governor::classify_silicon bug (task #52) where the same "has_metal=true → Apple Silicon" misclassification still lives. Co-Authored-By: Claude Opus 4.7 <[email protected]> * perf(persona): O(N) heapify in drain_frame instead of O(N log N) extend PersonaInbox::drain_frame drains the heap into messages + retained, then re-loads retained into the heap so out-of-window items survive the drain. The previous heap.extend(retained) pushed N items at O(log N) each = O(N log N) total. Since the heap is empty at that point (the while loop drained it), BinaryHeap::from(Vec) does in-place heapify in O(N) (sift-down construction per std docs). Real cost on a busy persona: anchor matches few cross-room messages, retained = nearly the full N. The old path paid log N per item to rebuild; the new path pays one O(N) heapify pass. 23/23 existing inbox + admission tests pass — pure perf change, no semantic shift (heap-from-Vec produces a valid max-heap regardless of input Vec order, identical to repeated push). Discipline: same code runs on Mac Intel and M5 per Joel 2026-05-30 "optimizing for a low quality computer is HOW you get a fast machine on m5." A 500-message inbox drains in O(500) instead of O(500*9) = ~9× less heap work per drain. The savings on Mac Intel are invisible to the user; on M5 they compound into the perceived snappiness ceiling. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…ookPro15,1 Joel (2026-05-31): %22We want to know if we can get something workable for this Intel Mac.%22 This doc answers it with honest measured constraints + the three concrete things we ship. Measured baseline (from 2026-05-30 evidence in the tree): - Metal-AMD: 0.8 tok/s + garbled output (broken) - CPU-only: 1.1 tok/s + coherent (works) What that means for personas: - Single-persona slow-chat: workable (30s-2min response times for thoughtful reflective conversation) - Background reflection: workable (any model, no latency budget) - Heuristic adapter through full substrate stack: works at zero cost, gives substrate observability + lane lifecycle + capture sinks for FREE on any host (this Mac included) - Real-time voice/video: NOT workable locally (1.1 tok/s × ~3 sec budget = 3 tokens per turn, useless) - 16 concurrent personas with real model: NOT workable (CPU bandwidth bottleneck) The three things we ship to make this Mac workable as a substrate citizen: 1. CI proves heuristic adapter end-to-end (the %22working persona%22 demonstration Joel asked for) — PersonaResolver impl + headless chat-flow harness. Validates: every substrate layer wired correctly, no GGUF needed. 2. Smallest viable GGUF for thoughtful slow personas — Gemma-2-2B Q4_K_M default; Qwen-2.5-1.5B Q4_K_M fallback for <8GB hosts. LlamaCppAdapter already CPU-forces on this tier (per #51). 3. AircRemoteInferenceAdapter (#108) — THE unlock. Intel Mac runs reflective lanes locally; 5090 in another room runs latency- sensitive work; airc transports between. The Intel Mac becomes a first-class substrate citizen via grid offload, not by tiering down model quality (per [[host-the-seemingly-impossible]]). Honest non-promises: - Not pretending Metal-AMD works. - Not running 16 concurrent personas on this Mac. - Not tiering down model quality to %22make voice work%22 locally — voice gets handled by offload, not by degraded model. The substrate has shown its defining boast IS achievable on Joel%27s actual 2018-vintage hardware. The realistic floor is %22substrate works everywhere + cleverness offloads compute%22 — this Mac is included.
joelteply
added a commit
that referenced
this pull request
Oct 11, 2026
…s /train/measure ships with the core that calls it e2c769012..af1a3c933: fork #51 (POST /train/measure, and /train reporting kept / truncated / skipped indices) and #50 (tests only). In one release with the partition (Fable on #4937): with the core change alone, every dispatch would fail at /train/measure until the engine caught up. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Oct 11, 2026
…arks the rest instead of consuming it (#4937) * fix(training): a dispatch sends only what its window can train, and parks the rest instead of consuming it The 5090, 2026-10-11: at a 16,896-token window the engine kept 54 of Kimi's 311 lived turns and skipped 257 (her system and tool head plus her last exchange overflowed it), reported only as counts, and the run counted all 311 as consumed. A core-side token estimate said 62, so the core cannot decide what fits: only the engine's rule can. - create_job measures every example at the calculated window with fork #51's /train/measure (the engine's own fit rule), in batches of 16 so no one request outlasts its wait, and sends only the kept and truncated ones. The rate's character count covers only what was sent. - The rest are PARKED in the job's own directory (partition.json: window, sent, parked, every measured row). A parked example is neither trained nor pending: put back in her bucket it would refill it and be skipped again every tick, training nothing. - A job whose examples cannot be measured, or none of which fits, ends at once without a run and records nothing returnable (a create_job error would be retried by the dispatch). - At finish, the run's own skipped_indices (fork #51; normally none, same rule, same window) map back through `sent` and are parked too: the run is the authority on what trained. - `return` never hands back a parked example, and refuses a job whose examples are all parked as `Parked` (Astra). - Nothing evicts a persona job directory, pinned by a test, so parked examples cannot be deleted by a cleanup (Fable). The partitioned probe says the bias out loud: a small window trains her SHORTEST turns only. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * chore(engine): pin the fork at #51's merge, so the engine that answers /train/measure ships with the core that calls it e2c769012..af1a3c933: fork #51 (POST /train/measure, and /train reporting kept / truncated / skipped indices) and #50 (tests only). In one release with the partition (Fable on #4937): with the core change alone, every dispatch would fail at /train/measure until the engine caught up. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * chore(engine): record the fork pin af1a3c933 beside the submodule bump The vendor_pin hygiene test reads core/vendor/LLAMA_CPP_PIN against the submodule (Astra on #4937). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Oct 11, 2026
… it, and lease the run's context too The 5090, 2026-10-11: her lived turns need a ~20k-token window (p50 20,433, p90 28,045 tokens of system and tool head plus her last exchange), but the window that fit beside serving at chunk 256 was 16,896, so 257 of 311 were skipped. The explicit attention scores are window x chunk x heads (no flash backward), so a smaller chunk buys window (Fable). - The chunk floor is 64 (fork #52: 64, 128, or a multiple of 256); the core mirrors the engine's train_chunk_for, unchanged at 256 and up, so existing footprint keys hold. - The window is planned for the DATA: create_job measures every example at the served window (fork #51), takes the largest tokens_min (window_for_need, rounded up to 256, capped at served), shrinks it only if even the smallest chunk cannot hold it (choose_window), then picks the largest chunk that fits (choose_chunk). The partition re-measures only if the window moved. - A footprint is the run's graph AND its context (fork #52's context_mib): the training context's K/V for the whole window was allocated outside the graph's budget, so it sat outside the governed lease. - The graph model gains a chunk-independent per-position term (the K/V), fitted by least squares once the rows span two chunks and two windows; until then the two-term fit stands and the engine's preflight refusal files the true size. - A refusal at the smallest chunk still has a rung while the window can shrink: the refusal filed its graph, so the next plan calculates a smaller window instead of stranding the job. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Oct 11, 2026
… it, and lease the run's context too The 5090, 2026-10-11: her lived turns need a ~20k-token window (p50 20,433, p90 28,045 tokens of system and tool head plus her last exchange), but the window that fit beside serving at chunk 256 was 16,896, so 257 of 311 were skipped. The explicit attention scores are window x chunk x heads (no flash backward), so a smaller chunk buys window (Fable). - The chunk floor is 64 (fork #52: 64, 128, or a multiple of 256); the core mirrors the engine's train_chunk_for, unchanged at 256 and up, so existing footprint keys hold. - The window is planned for the DATA: create_job measures every example at the served window (fork #51), takes the largest tokens_min (window_for_need, rounded up to 256, capped at served), shrinks it only if even the smallest chunk cannot hold it (choose_window), then picks the largest chunk that fits (choose_chunk). The partition re-measures only if the window moved. - A footprint is the run's graph AND its context (fork #52's context_mib): the training context's K/V for the whole window was allocated outside the graph's budget, so it sat outside the governed lease. - The graph model gains a chunk-independent per-position term (the K/V), fitted by least squares once the rows span two chunks and two windows; until then the two-term fit stands and the engine's preflight refusal files the true size. - A refusal at the smallest chunk still has a rung while the window can shrink: the refusal filed its graph, so the next plan calculates a smaller window instead of stranding the job. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
added a commit
that referenced
this pull request
Oct 11, 2026
… it, and lease the run's context too (#4939) * fix(training): plan the window her examples need, the chunk that fits it, and lease the run's context too The 5090, 2026-10-11: her lived turns need a ~20k-token window (p50 20,433, p90 28,045 tokens of system and tool head plus her last exchange), but the window that fit beside serving at chunk 256 was 16,896, so 257 of 311 were skipped. The explicit attention scores are window x chunk x heads (no flash backward), so a smaller chunk buys window (Fable). - The chunk floor is 64 (fork #52: 64, 128, or a multiple of 256); the core mirrors the engine's train_chunk_for, unchanged at 256 and up, so existing footprint keys hold. - The window is planned for the DATA: create_job measures every example at the served window (fork #51), takes the largest tokens_min (window_for_need, rounded up to 256, capped at served), shrinks it only if even the smallest chunk cannot hold it (choose_window), then picks the largest chunk that fits (choose_chunk). The partition re-measures only if the window moved. - A footprint is the run's graph AND its context (fork #52's context_mib): the training context's K/V for the whole window was allocated outside the graph's budget, so it sat outside the governed lease. - The graph model gains a chunk-independent per-position term (the K/V), fitted by least squares once the rows span two chunks and two windows; until then the two-term fit stands and the engine's preflight refusal files the true size. - A refusal at the smallest chunk still has a rung while the window can shrink: the refusal filed its graph, so the next plan calculates a smaller window instead of stranding the job. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * refactor(training): solve3's elimination iterates the pivot row; the tests' 1 * gib is gib (clippy) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * fix(training): a floor-chunk refusal caps the next window, and graph-only footprints are never read (Cormac on #4939) - choose_window: a row measured at the smallest chunk that does not fit what is free caps the next window below it, whatever the fit predicts (and with no fit), so the refusal ladder's return always moves down and ends at the smallest window instead of looping. - FootprintRow.includes_context: a row from before fork #52 is the graph alone; it is kept but never read (get, rows_like), so its shape calibrates; a whole-run row always replaces it. Production callers record whether the engine reported a context. - Rates are kept per (base, chunk) and the trigger budgets at the slowest the base has run, since it sizes a run before the chunk is chosen (Fable on #4939). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * fix(training): plan the window that trains her examples whole, and partition it by arithmetic, with one measure - window_for_need plans for the largest tokens_FULL (every example whole, as serving saw it), not the largest tokens_min; memory shrinks it, and only then does the partition truncate (to an example's tokens_min) or park. - The partition at a smaller window is refit_middle: arithmetic on the two measured lengths under the engine's middle rule, not a second ~5 s render per example (Cormac on #4940). The run's skipped_indices stay the authority. - The fake lane's measure is window-independent: each example as long as its window, and trainable in any once its history is dropped. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * fix(training): a graph-only row never replaces a whole-run one, a legacy rate is superseded, and the rate is filed at the chunk that ran (Cormac's nits on #4939) - record_with keeps a whole-run row against any graph-only one (an engine rolled back before #52), and otherwise the larger measurement. - TrainingRates::record removes the bare pre-chunk key, so an old unkeyed rate cannot cap every budget forever. - finish_run files the rate under ran_chunk (the engine's reported chunk), as the footprint is. - Two comments still described tokens_min; the window is planned on tokens_full. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc * fix(training): pin the fork at its master (#52, #54), carry the render time through the one measure, and test a lost POST end to end - The engine pin moves to fork master 48427419f (#52: chunks of 64 and 128, the budget covers the context; #54: a restored page keeps its adapters). An earlier `git add -A` here had recorded the submodule at a stale af1a3c933 checkout, which would have rolled canary's f002015a4 back. - Card 3cef97ef (Cormac on #4946): the render time is taken around the ONE measure at the served window (the second measure is arithmetic now), so the POST's wait is sized by what was rendered; and a_run_whose_post_is_lost_is_watched_to_its_end_and_completes drives the whole path against the fake lane, whose answer outlasts the wait after it has taken the run. The tuner's post_wait_floor is a field (POST_WAIT_FLOOR in production, 1 s in tests) for that. - window_for_need works in u64 and clamps to the served window before narrowing: no unwrap (the unjustified-unwrap ratchet). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Oct 28, 2026
…an train one of them, by receipt, never by an operator and never twice (card 565b3b64, gate 3) (#5563) * Wake durable training recovery on actual serving changes * A job whose examples all parked is returned once her adopted window can train one of them, by receipt, never by an operator and never twice (card 565b3b64, gate 3) Kimi's reviewed correction (2de02f40, 11 lived turns, 51,670-64,041 tokens) parked whole in a job that therefore never ran and ended FAILED. The remainder route returned parked examples from COMPLETED jobs only, the refused-job route only jobs with a returnable.json, and the board's failed list is in-memory, so an all-parked job had no route back at all; growing her lane (#5556) brought none of it back. - job_board: CompletedJob -> EndedJob { .., trained }. The runtime claim and the boot ledger pass list completed AND failed jobs (a completion outranks a failure row); input_returned() reads whether any return already took a job's input. - return_parked_remainder: a failed job qualifies only when it sent nothing and no other return took its input. Every remainder now waits (Remainder::Waiting) until her ADOPTED window (served_window_for: the live lane's launch record, the number a partition is measured at) reaches the smallest window that trains one parked example whole. A return before then re-parks them in a job that fails, which is how the correction stranded. A partition with no measured rows (before fork #51) returns as before. - return_job refuses a job whose remainder receipt exists: the two routes have different replay identities, so each refuses what the other returned. - training_trigger: the pass takes ended jobs, holds waiting ones, and reports a wait only when (needed, served) changes. Codex's serving watch (#5562) wakes it; the boot pass catches a window that already grew. Tests: the boot replay lists completed and failed jobs, the killed-by-reboot one not at all; an all-parked failed job waits with no lane and at 49,664, returns at 64,256 once, refuses both second routes, and a failed job that sent examples or was already returned is left alone. Not built locally: this Intel serving node has an empty target and slow residents; CI compiles and runs these. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The serving wake and the tick run one recovery pass list, so the wake no longer skips the remainder pass a grown window unblocks (Cormac, pairing on #5562) recover_pass() = resume_orphans_once, return_refused_jobs, return_parked_remainders, recover_tick: tick() and the serving follower both call it. The wake ran two of the four and missed return_parked_remainders, where #5563's all-parked return and its window predicate live. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The remainder pass moves to its own file, so training_trigger.rs stays under the size gate beside #5562's recover_pass (card 565b3b64) Pure move of return_parked_remainders into training_trigger/remainders.rs: 989 -> 912 lines. #5562 adds recover_pass to the same file; together they stay under 1,000. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * Coalesce recovery ticks into the serving wake owner * An all-parked failed job's remainder goes back under the whole-job identity, so the two routes, a race and a crash before the receipt are one return (Codex on #5563, card 565b3b64) The cross-route guards ran before the async return: both routes could pass them and append under different identities, and a crash after the bucket took a remainder but before its receipt left the same hole. A failed job that sent nothing parked its whole input, so it now returns as ReturnScope::Whole, return_job's identity; replay recognition dedupes every case. The receipt check in return_job and board.input_returned (now unused) are deleted. Test: after the pass returns it, the operator's return is a replay; a lost receipt replays once; both routes joined concurrently add the examples once; a failed job that sent examples is left to the refused-job route. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * The remainder pass's window lookup is Sync, so the pass stays Send across its awaits (Codex on #5563) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * Return recovery ownership to ticks when serving follower exits --------- 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.
Bumps eslint from 9.24.0 to 9.26.0.
Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
8bbabc49.26.016f5ff7Build: changelog update for 9.26.05b247c8chore: upgrade to@eslint/[email protected](#19681)d6fa4acchore: package.json update for@eslint/jsreleasee9754e7feat: add reportGlobalThis to no-shadow-restricted-names (#19670)0fa2b7afeat: add suggestions foreqeqeqrule (#19640)dd98d63docs: Update README96e84defix: check cache file existence before deletion (#19648)c25e858docs: Update README0958690chore: disambiguate internal typesLanguageOptionsandRule(#19669)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)