Commit 8aa2b03
authored
feat(tui): add /handoff to fold context and start the next turn (#1153)
* feat(tui): add /handoff to fold context and start the next turn
Compact stops after the fold; handoff pivots, so the optional trailing instructions arm the shared operator fold and the same submit delivers the pivot as the next inbound turn.
* fix(compaction): cancel failed handoff without biasing later folds
* fix(compaction): restore idle arming and prior fold guidance on cancel
* fix(compaction): no-op cancelManual once the handoff fold is spent
Restoring snapshots after the fold (or after a noop arm) wiped sticky
extras and re-armed a second idle compact.
* fix(compaction): spend operator arming on overflow recovery
Overflow compact left /handoff armed, so the pivot folded a
second time. Keepers pin empty-trailing cancel, noop-after-idle
cancel, and TUI uncertain noop.
* test(compaction): name overflow keeper by handoff sequence1 parent 25aa6c5 commit 8aa2b03
10 files changed
Lines changed: 816 additions & 9 deletions
File tree
- docs
- src
- agent
- session
- tui
- commands
- runner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments