Repository navigation
feat(chat-swarm): deterministic worker continuation epoch transfer (#51-A) #120
Description
Activity
James3014 commented
on Sep 13, 2026 OwnerAuthorMore actions2026-09-13 #120 source Candidate ready
Focused implementation PR #122 is now
Ready for reviewat exact head503c900c1d3413207e1db7a9b0a98981c94b0281, basemain@c6e09967cb745407de3a7d09808c472d38f6e612.Controller disposition:
DETERMINISTIC_WORKER_CONTINUATION_SOURCE_CANDIDATE_READY.Exact-head macOS evidence from CI run #201 (
34744259965):- Smoke macOS: typecheck/test/build/Doctor PASS
- continuation coordinator PASS
- durable-store PASS
- restart-fence PASS
- retired-carrier PASS
- terminal-replay PASS
- corruption-fence PASS
- aggregate/domain PASS
- Local agent sessions macOS PASS
- Ubuntu Smoke PASS
Windows Smoke remains the same pre-existing Test failure reproduced on current main
c6e09967...; current delivery scope is macOS-only and no branch/check bypass is claimed.Source contract now includes authenticated target identity, exact owner/swarm approval, atomic epoch transfer, checkpoint/source-carrier CAS, unresolved-effect second-replacement fence, concurrent-target
SUPERSEDEDlosers, retired old-carrier fence, terminal exact replay, TTL/attempt/hash binding, corrupt-ledger fail-closed behavior, restart reconciliation and lifecycle drain/reconcile-only gating.No second ledger/table/migration, browser carrier, public continuation MCP tool, provider catalog, routing authority or #117 implementation was introduced.
Remaining #120 gate: independent exact-head review, then normal governed merge. Do not close #120 yet. Parent #51 remains open after #120 because real zero-touch carrier replacement / Auto Compact requires #117/#105 native evidence.
James3014 commented
on Sep 13, 2026 OwnerAuthorMore actions2026-09-13 exact-head source candidate update — supersedes prior #120 candidate note
Current source candidate:
- PR: feat(chat-swarm): deterministic worker continuation epoch transfer (#120) #122
- base:
main@c6e09967cb745407de3a7d09808c472d38f6e612 - head:
a168bb39ea55a868f40c15e85f91fb1a59c0d8ce - disposition:
DETERMINISTIC_WORKER_CONTINUATION_SOURCE_CANDIDATE_READY
The earlier
503c900c...candidate evidence is superseded by additional controller review and repairs covering durable terminal metadata, absolute expiry/hash binding, unresolved-continuation no-duplicate fencing, retired-carrier fencing, state-independent terminal replay, cross-swarm reconciliation binding, and corrupt-state fail-close behavior.Exact-head verification on GitHub CI run #206 /
34745371083:- PR
git diff --check: PASS; - all seven focused Chat Swarm continuation macOS jobs: PASS;
- Local Agent Sessions macOS: PASS;
- macOS Smoke: Typecheck/Test/Build/Doctor PASS;
- Ubuntu Smoke: Typecheck/Test/Build/Doctor PASS;
- Windows Smoke: Typecheck PASS, Test FAIL only on the pre-existing carrier-binding baseline.
Windows baseline was compared against current
main@c6e09967...push run #150 /34735356613: both main and PR fail the same first sevencarrier-binding.test.tscases with the sameAUTHORITY_REQUIRED: Cutover approval exceeds exact local resource or validityerror. Therefore that failure is not attributed to #120. Branch-protection/required-check policy could not be read through the GitHub App, so no merge bypass is claimed.Persistence/reopen is exercised by startup-recovery tests using the same stateDir from a second lifecycle instance. This slice introduces no schema/table/migration, so schema upgrade is N/A.
Remaining gate is governance-only: independent exact-head review of
a168bb39...before merge. Owner/controller review is complete but is not independent approval. #120 remains OPEN; parent #51 remains OPEN. Real zero-touch ChatGPT conversation creation/replacement stays under #117/#105.James3014 commented
on Sep 13, 2026 OwnerAuthorMore actionsOwner amendment — independent reviewer waived (2026-09-13)
Owner explicitly removes the independent exact-head reviewer requirement from #120. This supersedes the earlier review-gate wording for this child issue only.
Acceptance for #120 is now:
- exact subject remains
main@c6e09967cb745407de3a7d09808c472d38f6e612<-PR #122 head a168bb39ea55a868f40c15e85f91fb1a59c0d8ce; - controller/source review already completed and found no remaining feat(chat-swarm): add durable worker continuity and conversation rollover #51-A source correctness blocker;
- exact-head macOS smoke, all focused continuation jobs, Local Agent Sessions, Ubuntu smoke and PR diff-check are PASS;
- Windows failure is evidence-bound to the identical current-main carrier-binding baseline and is not attributed to feat(chat-swarm): deterministic worker continuation epoch transfer (#51-A) #120;
- no independent reviewer or external approval is required by feat(chat-swarm): deterministic worker continuation epoch transfer (#51-A) #120 after this Owner amendment;
- repository-enforced required checks / branch rules still apply if GitHub enforces them; no bypass is authorized or claimed.
After a normal GitHub merge of the exact head, #120 may be closed as source accepted with claim ceiling
DETERMINISTIC_WORKER_CONTINUATION_SOURCE_ACCEPTED. Parent #51 remains OPEN; real zero-touch carrier replacement / Auto Compact still depends on #117/#105 native work.- exact subject remains
- added a commit that references this issue
on Sep 13, 2026 James3014 commented
on Sep 13, 2026 OwnerAuthorMore actions#120 source acceptance — merged
Owner reviewer waiver is active for this child issue. PR #122 merged normally at exact head
a168bb39ea55a868f40c15e85f91fb1a59c0d8ceintomainas merge commit5256c40f56bbfd5a7eff7737ecf54da4b0359c4d.Fresh post-merge ref readback confirms
main=5256c40f56bbfd5a7eff7737ecf54da4b0359c4d.Accepted claim ceiling for this issue only:
DETERMINISTIC_WORKER_CONTINUATION_SOURCE_ACCEPTED.This does not establish real ChatGPT conversation rollover, zero-touch replacement, Auto Compact, #51 overall completion, #117/#105 completion, deployment, or production runtime acceptance. Those remain separate downstream/native gates.
Parent / purpose
Child implementation slice of #51. This issue owns #51-A deterministic worker continuation/rebind semantics only. It is intentionally transport-neutral and may proceed in parallel with #117.
Current source fence at creation:
James3014/devspacemain:ab22dc9d0360bd02d00892734a5c51cdd0873f39workerId,carrierConversationFingerprint,checkpoint,continuationEpoch, task/attempt identity and fail-closed reconciliation.Authority boundary
Preserve:
Do not add browser/session-launch logic here. Do not create a second queue, worker registry, task authority or retry authority.
Required deterministic contract
At a safe continuation boundary:
Minimum V1 may allow transfer only when the worker is
AVAILABLE, has no current task, and has a bounded checkpoint. Active/unknown effects must fail closed; they must not be cleared, requeued or duplicated by rollover.Required invariants / hostile controls
targetEpoch == sourceEpoch + 1;REPLAY_CONFLICT;next/submitafter commit is rejected by existing worker identity checks;Source shape
Prefer the smallest additive slice over current Swarm SQLite:
chat-swarm-continuationtests;Verification
Required source acceptance:
npm teston macOS policy where practical;git diff --check;Claim ceiling
Source/CI completion of this issue may establish:
DETERMINISTIC_WORKER_CONTINUATION_SOURCE_ACCEPTEDIt does not establish real ChatGPT conversation rollover, Auto Compact, zero-touch carrier creation, #117 completion, #51 overall completion or #104 Ultra parity.
Live #51 acceptance must later use #117/#105 to create the replacement carrier automatically with
manual replacement-worker creation = 0andmanual continuation-ticket transfer = 0.