Repository navigation
Conversation
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.
Recover interrupted orchestration runs and edit budgets
Summary
Continue unfinished queued loops after interruption without discarding existing work. Store run plans and execution snapshots in per-user SQLite shared by linked worktrees, and let users raise token or time limits before continuing.
What changed
PRD
docs/epics/role-based-orchestration/prd-role-foundations.mddocs/epics/role-based-orchestration/prd-agent-handoff.mddocs/epics/role-based-orchestration/prd-parallel-scheduling.mddocs/epics/execution-foundations/operational-recovery.mdThis change builds on the merged role foundations and handoff work. The parallel-scheduling PRD status update is bookkeeping for its separate implementation in PR #113; this PR does not introduce that scheduler.
Decisions and limits
Test plan
Verified after integrating the handoff implementation from merged PR #112:
cargo test --lib -- --test-threads=1— 768 passed, 9 ignored.cargo fmt --check.cargo clippy -- -D warnings.npm run build.npm run test:frontend— 36 passed.Live-provider tests were not run. Rust test compilation reports existing unused-result warnings in
agents.rs; production Clippy passes.