Repository navigation
feat(persona): roster hold — the reconciler-respecting quiesce - #2395
Merged
Merged
Conversation
Measured 2026-08-23 (the showcase battery's root flakiness cause): the spawn supervisor stays resident as the hosting reconciler and re-fires on every serving edge, so persona/instances/despawn was undone within minutes — every quiesce of the night silently dissolved (KV thrash, throughput collapse, a permit-starved exam). Despawn records 'not now'; nothing recorded 'not until I say'. The reconciler is right by its own law (reap-or-ADOPT) — so this gives it the other half of the contract instead of weakening it: a persisted, EXPIRING operator intent (persona::roster_hold, ~/.continuum/ roster-hold.json) consulted in spawn_all. Held-out citizens are skipped with a probe (persona.host.held_out), never silently. Survives reboots by construction; self-cleans on lapse; corrupt file fails OPEN (fleet hosts — a broken hold must never become a standing outage); expiry mandatory and capped at 24h; empty allow-list refused. Explicit persona/spawn stays sovereign — the hold gates the RECONCILER, never a human's direct command. Verb: persona/instances/hold (set: --only + --minutes + --reason; --clear; bare call reads state). The measurement runbook becomes: set the hold, despawn the extras once, run; the reconciler stops undoing you. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 23, 2026 11:09
joelteply
added a commit
that referenced
this pull request
Aug 23, 2026
… the boot bypass that adopted 4 citizens through a valid hold (#2408) The 2026-08-23 boot bypass, explained and closed. The operator-intent gate (#2395) filtered plans only inside spawn_all. But bootstrap_planned REGISTERS citizens before that filter runs, and the hosting reconciler fires host_unattended on every serving-plan edge (ipc/mod.rs #429 path) — which hosted every registered-but-unattended citizen with no hold check. Result observed live: a valid hold, four adoptions, zero held_out probes. Same-bug-at-two-sites: the constraint lived at one call-site instead of the shared seam. Fix: filter_by_hold is now a supervisor helper both reconciler entrances pass through (spawn_all at boot, host_unattended on each serving edge), split over a pure filter_by_hold_with(Option<RosterHold>) half so the regression test drives it without touching the operator's real hold file — a live hold is standing for the MirrorCode baseline right now. Explicit persona/spawn stays sovereign at BIRTH; under a hold the newborn stays unhosted LOUDLY (held_out probe) until the hold lapses or the operator adds them to it. Validated: persona::host + roster_hold + unwrap ratchet + test-mod singularity all green (9 tests). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5 <[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 despawn≠quiesce fix from last night's root-cause: a persisted, expiring allow-list (
persona/instances/hold) the hosting reconciler consults in spawn_all. Held-out citizens skip with a probe; survives reboots; self-cleans; fails open on corruption; explicit spawn stays sovereign. Memory: despawn-is-not-quiesce-a-reconciler-resurrects-citizens-continuously.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo