Problem
Task documents cannot yet be associated with native threads or initialized before substantive work starts. A lost launch reply or failed context read must not silently start the user's queued work.
Closes #4.
Change
Persist optional task membership and frozen initialization provenance through native contracts, commands, projections and replay. Launch a reference-only context starter through the existing receipt path, and gate work on an explicit ready report plus successful bootstrap completion.
launch -> persist membership + pending attempt -> context starter
ready + completed -> release queued work
failed / unreported / stopped -> keep work gated; explicit retry
Recovery, fork, detach and conditional RPC/MCP permissions follow native lifecycle and destination-environment authorization. Antigravity task launch is rejected where its current external-file route cannot support it; selected permission modes remain intact. Absent membership serializes as null in MCP details and native shells, keeping ordinary thread reads and network snapshots valid.
Scope and approval
Fork-only implementation of the owner's accepted task-mode plan and explicit full-send instruction for #4. Shared editor/new-thread UI remains #5; the broader surface/provider audit remains #8. No upstream submission, live installation/vault writes or billing changes.
Independent Codex GPT-6.1 Sol reviews (high/default) APPROVED the complete frozen feature diff and the grouped three-line CI repair. No blocker or should-level finding remains. The rare overlapping-retry nit is tracked in #10; reviewed source hashes remain unchanged.
Verification
- Before: create-to-starter work reached starting instead of queued; frozen replay exceeded the caller's mode limit; readiness cleared five Stop holds.
After: all 51 launch tests pass, covering admission modes, replay/retry, Stop holds, projects/scratch, lifecycle and failed-worktree detach.
- CI repair: first CI exposed invalid undefined MCP JSON fields (Server 2/4) and a shell/network equality timeout (Server 8). Normalizing three absent task IDs to null fixes those paths: 64 focused MCP tests and the transfer test pass. Two toolkit integration cases plus transfer pass in a diagnostic copy with a Windows fixture-path adaptation kept outside this PR. Repaired-head Linux CI now passes both paths without diagnostic test changes.
- Runtime: fresh isolated server state and synthetic files, Codex Luna subscription, two samples each of ready, unreadable task and workspace mismatch. Recorded outputs show task, parent, update-discipline and repository reads before ready; failures leave work queued and replay creates one starter. The post-repair raw grade was 5/6 because the grader discarded successful read outputs from a batch whose optional missing-file probes failed. A separately preserved, independently reviewed correction grades those actual returned contents before readiness: 6/6, with all behavioral checks retained, missing-file verification strengthened and no model rerun.
- The owner explicitly authorized fresh graded native runs as an exception to the unavailable API-replay eval route. Native proof covers Windows/full-access/default Codex; broader provider/mode compatibility remains unproven on this final diff.
vp run check:changed: format, lint, knip, GraphQL and 32 package typechecks pass; 645/648 tests pass. The three failures reproduce identically on merged base acc3a7ece73474dc8c0b9124a9006e5030018439 in a separate archive/install and isolated home: Windows question-upload path escaping, fleet SESSION_NOT_FOUND and OWN-01 DEVICE_IN_USE.
- The owner explicitly approved the intentional +1,145-byte MCP tool-list increase; the repository's agent-context-increase label is applied. Both gates passed on reviewed head
81ec12d9cb6981b5cfefc83d7fa373ebbe0ef190: CI 41091876402, including the Linux changed-file check and all three repaired shards; the context-budget acceptance check also passed.
Merge Danger
Door: Two-way; additive optional event fields, no migration or canonical task-file rewrite.
Blast Radius: Orchestration. Ordinary launch and queue behavior share these paths; focused checks and current-head CI cover regressions.
Implemented with Claude Opus 5.5 / Claude Code and GPT-6.1 Sol / Codex. Independently reviewed with GPT-6.1 Sol / Codex (high/default).