Commit d657b93
committed
fix: pause goals during context compaction
Pause active goals without aborting automatic compaction, then resume only after compaction succeeds. Cover cancellation, restart, budget, replay, and duplicate-continuation paths in both engines.
Task: goal-pause-compaction1 parent f80ed9c commit d657b93
14 files changed
Lines changed: 1130 additions & 20 deletions
File tree
- .changeset
- apps/pythinker-code/test/tui/components/messages
- packages
- agent-core-v2
- src/features/goal
- test
- agent/fullCompaction
- features/goal
- agent-core
- src/agent
- compaction
- goal
- injection
- turn
- test
- agent
- compaction
- injection
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
52 | 69 | | |
53 | 70 | | |
54 | 71 | | |
| |||
0 commit comments