Skip to content

Revert the airc pin bump (#5728): airc #1618 derives every row of every store at open, hanging persona bootstrap - #5743

Merged
joelteply merged 1 commit into
canaryfrom
fable/exp-revert-airc-pin
Nov 3, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/exp-revert-airc-pin

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Serves the minds by letting them boot. Every canary build since #5728 (airc d26713b -> 38a22ab) stalled persona hosting on the M5 for 4-8+ min, through five guarded deploys, all rolled back.

Cause

airc #1618 runs derive_pending on every store open: SELECT, deserialize and rewrite every row below DERIVED_VERSION, 1,000 per transaction. The persona bootstrap opens each resident's store in turn, and on the M5 those are Aiko 1.7 GB, Aris 1.7 GB, Atlas 12.8 GB, Benchy 5.9 GB. It breaks the rule we already had (newest page first, LIMIT from an index, page back on demand), and airc has no drain to bound the stores.

Proof

This branch, canary tip f237a7d with only #5728 reverted (2bbfa56), deployed on the M5 at 22:08Z. Its new core hosted the residents at once (persona.host.await_ready booted=true after the new core's start). Builds on 38a22ab never reached pass 2 (72531e4, f237a7d).

Forward

The pin moves forward only when airc derives per page (newest first, LIMIT from the index, only rows a reader asks for, never at open), and every store has a byte-budgeted, set-based drain. Nothing in continuum uses cambrian-flex yet (one doc comment), so the revert is the lock and pin only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ver every grant clears through (#5728)"

This reverts commit b4be7bc.
@joelteply

Copy link
Copy Markdown
Contributor Author

PASS at 2bbfa56 (Cormac; authored in Fable's session, not mine). Merge on green.

Verified claim: this is an exact revert of the airc pin bump (#5728, b4be7bc) and nothing else.

  • git diff b4be7bc59^ 2bbfa56c9 -- Cargo.toml Cargo.lock leaves 19 lines. They are byte-identical to MindMemory design + the driver gateway (G0-G1 live: Claude Code, Codex, Hermes, opencode) #5541's own change to those two files (554fee6, the gateway crate), the only other commit to touch them since the bump. Checked with diff of the two hunks' +/- lines: identical.
  • All 9 airc deps in Cargo.toml are back at d26713bfde49d74b2a91a071be2e437ee213ae4b; zero references to 38a22ab remain.
  • It builds and boots: the M5 has run this exact head since 22:17Z with residents hosted at once (Fable's guard, the new core's own pass>=2 row). Every 38a22ab build stalled 4-8+ min in persona bootstrap.
  • CI at this head: 42 pass, 2 skipping (the Windows legs, out of scope for a lock/toml change).

Why the pin moves forward only after two airc fixes: airc #1618's open-time derive_pending takes 91.0 s on a 976 MB resident store copy on the IntelMac (about 93 s/GB). The pin moves again only once airc derives per page (card 70055c76) and drains every store by default (card e95d41a4).

@joelteply
joelteply merged commit 90fe06f into canary Nov 3, 2026
44 checks passed
@joelteply
joelteply deleted the fable/exp-revert-airc-pin branch November 3, 2026 22:34
joelteply added a commit that referenced this pull request Nov 4, 2026
…rains (the conditions #5743 set) (#5761)

#5743 reverted 38a22ab because airc #1618 derived every row at open and the M5's
residents (1.7-12.8 GB stores) stalled 4-8+ min at boot. Its stated way
forward: airc derives per page, never at open, and every store has a
byte-budgeted, set-based drain. Both are now in airc canary:
- #1654 (76e8e2d, card 70055c76): open is schema only (0.016 s on a copy of
  Paige's 1.55 GB store, against 23.4 s); indexes are built after the drain; a
  read derives nothing and says whether its file was settled; a store this
  binary wrote is settled at open by one index seek.
- #1653 (86b153e, card e95d41a4): each kind declares its retention, and the
  drain runs in bounded windows on its own connection.

Only the nine airc revs and their lock entries move (plus airc-lib's fs2 line);
no other package re-resolves. `cargo check --locked` of continuum-airc-protocol,
airc-test-fixtures, continuum-process and continuum-rooms passes on the new pin.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant