Skip to content
Closed
Show file tree
Hide file tree
Changes from 108 commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
ee9afd2
fix(tui): close frame coalescing lifecycle gaps
Sep 5, 2026
8e6ea2e
test(tui): use workspace promise helpers
Sep 5, 2026
f8381b5
fix(tui): honor cancelled orphan terminals
Sep 5, 2026
760ded9
fix(tui): preserve silent orphan cancellation
Sep 5, 2026
56c7041
fix(tui): retain orphan output across rebuilds
Sep 6, 2026
773bea9
fix(session): own orphan terminal recovery
Sep 6, 2026
9062368
fix(agent): publish trailing assistant terminals
Sep 6, 2026
1506e70
fix(session): fence terminal recovery ownership
Sep 6, 2026
dabddb5
fix(session): fence retired terminal producers
Sep 6, 2026
7b49024
fix(session): unify terminal recovery admission
Sep 6, 2026
02bccd3
fix(session): close producer admission bypasses
Sep 6, 2026
191f8b1
fix(session): finalize terminal recovery transaction
Sep 6, 2026
e0f025d
fix(session): make recovery producer-terminal
Sep 6, 2026
6db02cd
fix(session): enforce terminal transaction boundaries
Sep 6, 2026
c7c31ae
fix(session): serialize producers with transitions
Sep 6, 2026
52ec0de
fix(session): serialize canonical admission before dispatch
Sep 6, 2026
a0e1a82
fix(session): close residual producer lifecycle gaps
Sep 6, 2026
f65793a
fix(session): close transition diagnostics and rewrites
Sep 6, 2026
a836e38
fix(session): close final producer ownership seams
Sep 6, 2026
6c9a417
fix(session): centralize delayed producer admission
Sep 6, 2026
8050881
fix(session): unify asynchronous producer admission
Sep 7, 2026
042113b
fix(session): bind delayed retries to session identity
Sep 7, 2026
649bc61
fix(session): settle final delayed lifecycle races
Sep 7, 2026
76c765c
fix(session): settle history producers before commit
Sep 7, 2026
363a8af
fix(session): fence auto-compaction by identity
Sep 7, 2026
26d0fd7
fix(session): revalidate compaction before provider work
Sep 7, 2026
c49ea30
fix(session): fence every compaction producer phase
Sep 7, 2026
5d26d4f
fix(session): fence post-append compaction work
Sep 7, 2026
056473f
fix(session): avoid reentrant compaction self-join
Sep 7, 2026
56f2bc6
fix(session): avoid compaction-hook abort self-drain
Sep 7, 2026
4eadbe5
fix(session): bound compaction hook provenance
Sep 7, 2026
5f5b79d
fix(session): scope every compaction hook invocation
Sep 7, 2026
7408e03
fix(session): revalidate delayed continuation identity
Sep 7, 2026
fd01904
fix(session): preserve fresh-root continuation mint
Sep 7, 2026
31d8bba
fix(tui): await final shutdown frame commit
Sep 7, 2026
a5735ae
fix(session): reconcile recovery before selections
Sep 7, 2026
9374567
fix(session): close asynchronous identity escape paths
Sep 7, 2026
b7f3da4
fix(agent): bind Cursor events to active attempt
Sep 7, 2026
40cfd76
fix(agent): drop Cursor events after finalization
Sep 7, 2026
63d226f
fix(session): close hosted lifecycle regressions
Sep 7, 2026
4dfcbd1
fix(session): clear predecessor deferred context
Sep 7, 2026
bce95f9
fix(session): fence deferred workflow state
Sep 8, 2026
03c561f
fix(session): serialize workflow activation merge
Sep 8, 2026
0553703
fix(workflow): ignore stale active snapshots
Sep 8, 2026
ad24f59
fix(workflow): derive state from active entries
Sep 8, 2026
2268167
fix(workflow): serialize active-store handoff
Sep 8, 2026
3f6b95b
fix(workflow): lock exact activation updates
Sep 8, 2026
65901a5
fix(workflow): bind rollback to resolved session
Sep 8, 2026
295d05d
fix(workflow): schedule queued ask prompt rebuild
Sep 8, 2026
d738765
test(session): settle sidecar writes before teardown
Sep 8, 2026
c9bc632
fix(session): close remaining lifecycle races
Sep 8, 2026
583713f
fix(agent): settle pre-dispatch cancellation
Sep 8, 2026
acf18f1
fix(session): fence cancelled tool preflight
Sep 8, 2026
60fa49b
fix(tui): close held terminal output barriers
Sep 8, 2026
2a63d67
fix(session): complete lifecycle settlement
Sep 8, 2026
db4834b
fix(workflow): preserve subskills transactionally
Sep 8, 2026
c1a785e
fix(session): serialize final workflow admission
Sep 8, 2026
9269b79
fix(session): bind cleanup to tool execution
Sep 8, 2026
3857d1d
fix(session): restore repeat state on transitions
Sep 8, 2026
28fa519
fix(session): close transition review gaps
Sep 8, 2026
96e52ef
fix(session): settle terminal repeat checkpoints
Sep 8, 2026
02939f7
fix(session): bind deferred lifecycle ownership
Sep 8, 2026
3ee30fe
fix(session): close terminal ownership races
Sep 8, 2026
77d8c57
fix(workflow): restore identical subskill tools
Sep 8, 2026
04d8b9a
test(workflow): cover full subskill reactivation
Sep 8, 2026
15a51d1
fix(session): preserve queued prompt cancellation
Sep 8, 2026
a0b2495
fix(session): recheck continuation after persistence
Sep 8, 2026
0e540b7
fix(session): preserve migrated continuation epoch
Sep 8, 2026
33bc436
fix(lifecycle): close rebased transition races
Sep 9, 2026
592ce1d
docs(changelog): move the frame-coalescing notes to fragments (#5321)
Sep 18, 2026
ee3a45f
fix: close exact-head review gaps
Sep 19, 2026
b382af5
fix(session): preserve compaction and tracked terminal lifecycles
Sep 23, 2026
0d4bda3
fix(agent): bound abort wait for claimed cleanup
Sep 23, 2026
3827b62
fix(lifecycle): bound cancellation and preserve turn-end hooks
Sep 23, 2026
81c1f89
test(sdk): account for sub-session MCP resync
Sep 23, 2026
0e5a518
fix(lifecycle): cancel raster callbacks on TUI teardown
Sep 23, 2026
460d10f
fix(tui): bound terminal flush lifecycle waits
Sep 23, 2026
ad29e2e
fix(sdk): allow managed enrollment reads on Windows
Sep 23, 2026
1e0e0ad
fix(sdk): avoid creating enrollment storage on reads
Sep 24, 2026
d5ab55f
test(agent-session): stabilize endpoint job ownership case
Sep 24, 2026
af85aa4
test(sdk): align MCP reuse assertion with snapshots
Sep 24, 2026
d3df8b8
fix(state): prevent read locks from creating state parents
Sep 24, 2026
f5d9e5a
test(agent-session): isolate terminal-abort mock queues
Sep 24, 2026
eddc39c
fix: add missing MCP tool and model mutation options after rebase
Sep 25, 2026
94d30a7
fix(selector): retire predecessor streaming component before tree nav…
Oct 7, 2026
2058909
fix(types): add missing agent_end and message_end event properties
Oct 7, 2026
37d9939
fix(session): reconcile lifecycle state after rebase
Oct 8, 2026
b9250a6
fix(coding-agent): preserve FIFO on yield build failure
Oct 8, 2026
d0f1bb9
test(coding-agent): use Bun writes for plugin fixtures
Oct 8, 2026
4ece8b1
test(tui): align held flush fixture contract
Oct 8, 2026
5813a7d
chore(changelog): keep PR notes in fragments
Oct 8, 2026
71481cc
test(coding-agent): align handoff tests with lifecycle boundaries
Oct 8, 2026
2c8c0ee
fix(tui): reject terminal output after disposal
Oct 8, 2026
ae8c74b
fix(session): serialize abort checkpoints and bound idle retries
Oct 8, 2026
fa56c5c
fix(coding-agent): preserve idle retry ownership and timing
Oct 8, 2026
84b15a4
fix(agent): preserve HTTP2 facts through snapshot salvage
Oct 8, 2026
08b7ea1
fix(agent): bound salvaged HTTP2 diagnostic codes
Oct 8, 2026
7cf3575
fix(agent): bound degraded transport fact retention
Oct 8, 2026
77fe502
fix(agent): bound abort race reactions to one read
Oct 8, 2026
fcc3205
test(coding-agent): use Bun.write for skill state fixture
Oct 8, 2026
4fa707c
fix(agent): catch synchronous provider factory aborts
Oct 8, 2026
8fee499
fix(agent): restore prompt-prefix telemetry on Agent path
Oct 8, 2026
a9564aa
refactor(agent): narrow pre-dispatch cancellation result type
Oct 8, 2026
0284ba0
fix(coding-agent): preserve legacy active workflow entries
Oct 8, 2026
1bfe7c1
test(coding-agent): use Bun.file for migrated fixture read
Oct 8, 2026
f180992
docs(ai): document bounded transport fact limits
Oct 8, 2026
bd1fdd8
Merge origin/dev into fix/pr5310-lifecycle-followup
Oct 10, 2026
aa22b58
docs(tui): add performance and lifecycle changelog fragment
Oct 10, 2026
6c4e362
Merge remote-tracking branch 'origin/dev' into wt-pr-5321-merge
Oct 10, 2026
6cc5db9
Merge remote-tracking branch 'origin/dev' into fix/pr5310-lifecycle-f…
Oct 10, 2026
f50f78c
fix(session): remove broken activeStateScopeLockHeld handling from wr…
Oct 10, 2026
b61c187
test: clear lifecycle environment variables in fork-context tests
Oct 10, 2026
b3a744e
test: add retry backoff for temp directory cleanup
Oct 10, 2026
bf563fa
fix: correct registerSessionCleanup return types to match ToolSession
Oct 10, 2026
b47adf9
style(test): drop trailing whitespace in task-cache-key test
Yeachan-Heo Oct 10, 2026
daa16a6
chore(formatting): fix line length in task-cache-key test
Oct 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Fixed

- Successor, terminal-error, and forced-abort handling now wait for an in-flight published `turn_end` checkpoint consumer before admitting later work or publishing `agent_end`, preventing canonical repeat-rule state from lagging behind terminal lifecycle changes. Tool calls cancelled after their pre-dispatch hook now invoke the cleanup hook exactly once with the authoritative cancellation result.
- External lifecycle emitters now pass a session-owned admission fence before mutating Agent state. Run-bound terminals retain their authoritative attempt scope, while Cursor-native lifecycle emitters resolve the current main-attempt scope on every emission so in-loop retries and later tool turns are not mistaken for retired producers.
- Provider iterators that close with a trailing assistant but no explicit `done`/`error` event now publish the canonical `message_end` before `turn_end` and `agent_end`, preventing session persistence from missing the authoritative final response.
- Provider stream cancellation keeps one signal listener, bounds per-read abort-race reactions, and observes synchronous aborts raised inside provider factories.
- Lossless degraded snapshots preserve only validated, size-bounded transport codes, retry headers, and HTTP/2 diagnostics while dropping unreadable, oversized, or non-cloneable values.
- Normal Agent requests now retain provider-visible prompt-prefix telemetry, and `Agent.reset()` starts a fresh cache lineage.
Loading
Loading