Skip to content

Preserve original task across native resume - #60

Merged
areshand merged 1 commit into
mainfrom
codex/preserve-original-task-on-resume
Aug 28, 2026
Merged

Preserve original task across native resume#60
areshand merged 1 commit into
mainfrom
codex/preserve-original-task-on-resume

Conversation

@areshand

Copy link
Copy Markdown
Owner

Summary

  • restate the authenticated original task on every native resume
  • treat the latest authenticated follow-up as additive unless it explicitly replaces scope
  • keep bounded automatic recovery aligned with unfinished lifecycle requirements
  • document the resume semantic boundary in the architecture decision

Validation

  • cargo test --locked -q (63 passed)
  • npm test in control-server (40 passed)
  • cargo fmt --all --check
  • git diff --check

Production finding

The post-#59 end-to-end test confirmed same-session supervisor-resume transport, but an immediate follow-up became the only resume prompt. The orchestrator then forgot the unfinished original task and never created the requested subagent. This change preserves both requirements during recovery.

@areshand
areshand merged commit a67700d into main Aug 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant