Repository navigation
fix(grid): cross-grid command dispatch actually works — attach seam, scope isolation, replies ride the request channel, honest smoke battery - #2527
Merged
Conversation
…s a decode tax, not a speedup Live main-lane measurement (SWE solve, 134k window): draft acceptance 0.021 (1/48) — drafts cost more decode than they save on every act. The depth-decode-tax A/B said try ngram first; done — evidence says off. Revisit only with measured acceptance >=30% on our real workload mix. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Joel: 'Default release unless trying to debug.' The core that hosts citizens and takes benchmarks runs optimized; CONTINUUM_DEBUG=1 opts into the debug profile (fast compiles, live debug_asserts, overflow panics) for active debugging sessions. CONTINUUM_RELEASE stays honored for explicitness. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…s, ever Joel: 'serving lane is flaky... this has no excuses. People need to replicate our work.' While Working rounds exist, the resume task records a standing 40448-token window demand (the PROVEN solve window from the 2026-08-26 4-way resolves) into the same measured-demand registry personas report through — so the very first post-boot plan sizes the lane for solve work instead of a cold-start guess (measured today: 27k at boot vs the proven 134k, purely from unmeasured demand at plan time). Fixed synthetic id: demand listings show it honestly as the benchmark regime. Together with the cap-1 lease this makes a benchmark boot's serving shape DECLARED and reproducible: 1 lane, >=40448 window, release, spec-off — the regime line anyone can replicate. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…commodates, both trees, one seam Joel: 'fix env misses, don't ignore.' Proven end-to-end on Apple silicon before wiring (sklearn 0.21.dev0 imports clean): the vendored cloudpickle's pre-3.8 CodeType call was the last wall, and the canonical upstream fix is now injected at clone_at — the ONE seam both solve staging and grade clones share, so the tree she works and the tree that scores her are identically accommodated (the same class of change as the official harness's environment-setup commits; vendored plumbing, no task asserts on it). Build deps get platform-reality pins (numpy 1.21.6 / cython 0.29.24 / scipy 1.7.3 — the exact proven trio; era 1.16 has no arm64 wheel, modern 2.x breaks the build). Runbook's 'structural absence' note retired as false. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Joel: 'Benchmark must prove its environment.' One representative per (repo, era-year) class runs the SAME checkout + env-build seams every real solve and grade use, producing the coverage map: N/dataset instances in proven-green classes, every red class carrying its named wall. Run before a published round; cite in the regime. Surprised-ourselves-first, as policy. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ims are per machine class Joel: proof must at least name the machine class. The fingerprint is the BITTEN-BY list, not the whole system: machine class (m-series-macos / x86_64-linux / windows), clang, libomp, freetype, uv + its interpreter shelf — each field earned by a wall this week. Grows only when a new wall names a new dependency. An alloy consumer matches machine_class before trusting a map. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…w — the coverage map's biggest seam The first benchmark/validate map named it: every 2020-21 red class (sphinx x36, sympy x24, requests) died identically in pytest's assertion rewriter with 'required field lineno missing' — era pytest 5.4/6.0-6.1 predates py3.10's AST strictness (3.10 support landed in pytest 6.2.5, Oct 2021), and the rung gave the whole 2020-2022 band py3.10. 2020 -> 3.8, 2021 -> 3.9; every green class pins the rest of the ladder unchanged. ~60 instances expected to flip green; the next validate run is the receipt. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…heal, sklearn reality-pins era-scoped Map receipt 387->448 after the rung fix; this round targets the remainder: - Ancient era-pins (~23 instances: requests 13-14, sklearn 18, sympy 18): the pytest downgrade was the ONE era-resolve not routed through the healing installer — pre-2018 cutoffs exclude every usable setuptools and uv's hint names the per-package override, which era_pinned_uv_install already parses. Reproduced by hand before the change (setuptools<=0.6rc11 vs >=40.8). - sklearn-2023 (5 instances) was SELF-INFLICTED: the 2019 platform pins (numpy 1.21.6) applied era-blind poisoned a py3.11 env. era_sdist_build_deps is now era-scoped: modern sklearn resolves its own graph. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… numpy macro shim, xarray's proven row Coverage-map round 4. pandas 0.25 (under xarray-era installs) exposed two truths: modern clang raises these diagnostics as DEFAULT errors, which -Wno-error= cannot downgrade (only -Wno- disables); and numpy 1.20 deleted NUMPY_IMPORT_ARRAY_RETVAL (NULL on py3) which pandas<1.0's ujson still uses — shimmed like fdopen. xarray<=2021 gets the proven row (numpy==1.21.6 + cython<3: old macros AND an arm64 wheel). Proof before encode: xarray 0.14 + pandas 0.25.3 import clean on this box. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…site the flag-form fix missed scikit-14894's SOLVE worked (884-byte patch — the heal chain end-to-end) but the grade-side env build failed: the CC-embedded flags still carried -Wno-error= forms, which cannot downgrade modern clang's default errors. Same correction as ERA_CFLAGS, same session, one missed site. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…l must not eat her solves sphinx-10614: two complete ~30-minute attempts against a gate that cannot pass (f2p passes on pristine — nothing measurable). The env-absent close now inserts the instance into the per-boot defer set the dispatch gate already consults, so the driver moves to workable cards; the next boot re-tests honestly. Her time is the scarcest resource on this box. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…s count
sympy-12481, 2026-08-27: 27 acts, then 'no candidate patch' — because she had
COMMITTED her fix ('Fix Permutation constructor to compose non-disjoint cycles
left-to-right', the exact task) and the collector read only the dirty tree
(git diff HEAD). The harness was punishing her best engineering habit. The
grade site now diffs from the instance's base_commit (committed + staged +
unstaged), with a dirty-tree fallback for odd stagings.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… — a published measurement condition, not a window guess
…l — grid-smoke goes from silent 30s deadlines to live dispatch The 'just fix it' cross-grid arc, three seams deep (each proven live): 1. ctm used Airc::open — owner-mode, NO daemon: peer-addressed frames sat in its own in-process node with no admissible route, every dispatch died at the 30s command deadline. New continuum-client attach seam (attach.rs): discover the daemon socket via `airc ipc-endpoint` (AIRC_DAEMON_SOCKET override honored), attach_as with an own agent identity, resolve the local substrate peer from the daemon's typed Status RPC — --peer now optional, an override for REMOTE peers. 2. ctm shared the operator's ~/.airc scope, inheriting HIS current room (#academy) while the substrate lives in #general — and steering the shared scope would mutate the operator's own state. ctm now gets its own home (~/.continuum/ctm/airc); a fresh scope lands in #general by airc's default. 3. Replies rode the RESPONDER's current room (citizens land in #academy), so answers left through a channel the requester never subscribed to. command_handler now replies via Airc::reply_in (airc PR #1364, pin bumped to e78772d) into the channel the request arrived on — ParsedEnvelope carries request_channel + stamped name. Diagnosis receipts: requests into #general reach persona pumps in <2s (acl.refused probes fire instantly at Provisional for Privileged paths — correct tier gating, loud not silent); before the fixes the same frames arrived only on 30s catch-up sweeps or never. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…xpectations + real Ornith inference receipt Battery redesigned around what a Provisional airc caller may actually do (the trust bridge, task #38, is unwired — flat Provisional ceiling): - ping + gpu/stats (AiSafe → admitted): 5-6 ms round-trips - runtime/metrics/all + ai/providers/list (Privileged): pass = FAST typed refusal; a deadline is a transport regression and an unexpected ADMIT fails loudly ('trust bridge landed? flip the row') - ai/generate with the designed provider=local sentinel (an explicit specifier, so the registry's no-fallbacks guard admits it) + 120s transport deadline for contended lanes Live receipt on the M5: 5/5 — ping 6ms, refusals 6ms, ai/generate answered by Ornith-1.5-35B-A3B over the airc path. airc pin bumped to d37bc7f (reply_in + CI clippy-1.98 lint fixes). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 27, 2026 20:33
This was referenced Aug 27, 2026
joelteply
added a commit
that referenced
this pull request
Aug 27, 2026
… squash-merge (#2529) #2527 landed the airc pin at d37bc7f, a commit on the reply_in PR branch (#1364). Cargo fetches refs/heads + tags only, so once that squashed branch is deleted the rev becomes unfetchable and a fresh clone cannot build. 140bb01 is the durable canary rev of the same content. cargo check green on continuum-client (resolves + builds against the canary rev). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 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.
The "we put in a ton of time for cross grid work — just fix it" arc.
ctm grid-smokewent from 0/3 silent 30-second deadlines to 5/5 green with a real Ornith-35B generation over the airc path. Three root causes, each fixed at its seam:1.
Airc::openis owner-mode — clients must ATTACHctm opened its airc home owner-mode: no daemon, no routes, every peer-addressed frame sat unrouted until the command deadline. New
continuum_client::attach_local_substrateseam (attach.rs): socket viaairc ipc-endpoint(the anti-drift lesson from airc#1095;AIRC_DAEMON_SOCKEToverride honored), own agent identity viaattach_as, local substrate peer discovered from the daemon's typed Status RPC.--peeris now an override for REMOTE grid targets — the zero-config path just works.2. Scope isolation — ctm gets its own home
Sharing the operator's
~/.aircinherited his CURRENT ROOM (#academy) while the substrate lives in #general — command frames are room-channel-scoped, so they talked past each other; steering the shared scope would have mutated the operator's own state. ctm now lives at~/.continuum/ctm/aircand lands in #general by airc's own fresh-scope default.3. Replies must ride the REQUEST's channel (airc PR #1364)
Airc::replysent via the RESPONDER's current room — citizens land in #academy, so even correctly-delivered requests got answers sent where the asker never listened. airc growsRoom::at_channel+Airc::reply_in;command_handler::send_replyreplies intoParsedEnvelope.request_channel(the envelope'sroom_id, adopted verbatim). Pin bumped to d37bc7f.Honest battery
A Provisional airc caller (the trust bridge, task #38, is unwired — flat ceiling) may run AiSafe commands +
ai/generate. The battery now encodesGateExpectationper row: AiSafe rows must pass; Privileged rows pass on a FAST typed refusal (deadline = transport regression; unexpected ADMIT = loud 'trust bridge landed, flip the row').ai/generateuses the designedprovider=localsentinel — an explicit specifier, so the no-fallbacks guard admits it.Live receipt (M5, build 6a06405)
(Before: every row = 30001 ms
await_reply failed: command deadline elapsed.)Depends on airc #1364 (pin currently at its branch head d37bc7f; follow-up bumps to the canary rev once it merges).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo