Commit 4b68302
committed
feat(execution): add SessionOrchestrator for autonomous session management
Implements fork/park/resume/complete lifecycle for topic-based sessions:
- SessionState: Active, Parked(reason), Completed(summary)
- SessionOrchestrator: register, park, resume, complete, fork, list, next_resumable
- SessionBudget: max_children, max_total_tokens, max_depth
- State transition history tracking
- Persists via session extension_data (no schema changes)
- 9 tests covering full lifecycle
Part of goose4-vu0h: Autonomous session management1 parent bb54ee2 commit 4b68302
2 files changed
Lines changed: 681 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments