Repository navigation
Conversation
|
Here's a visual recap of what changed: Open the full interactive recap |
|
Fixed in 0ffc9d8: completion hooks run after the projection attempt, and projection failure still propagates so the run retains its retry marker. Added a regression test; core typecheck and 17 focused tests pass. |
|
Disposition of the two review-body findings: both are fixed at this head. A failed checkpoint status lookup suppresses completion callbacks and continuation publication, while finalization still persists the run as This was sent from a bot |
|
Review recap for f4aac7d:
This was sent from a bot |
|
The remaining review-body findings from 5603548581 are addressed in b841979:
The focused run-manager and continuation suites passed 333/333; core typecheck and all 93 guards passed. This was sent from a bot |
There was a problem hiding this comment.
Builder reviewed your changes and has a few items to flag 🟡
Review Details
Code Review Summary
This incremental update makes a persisted checkpoint terminal authoritative over late driver terminal events: it records the staged checkpoint event and ignores later terminal sends. It also strengthens continuation handoff cleanup by checking abort results and avoiding dispatch after the turn is aborted. The changes preserve the PR’s transactional run-status/event approach. Risk: high, because the PR changes durable run and turn lifecycle state.
The previously open checkpoint-overwrite finding is fixed in the current head and its thread has been resolved. The added regression test covers a late done during driver unwind. Targeted lifecycle, store, and continuation tests passed (369 tests across 3 files). One low-severity issue remains: the new abort helper assumes reason user; if a turn was aborted with a different valid reason, an already-aborted run can return false from markRunAborted, producing a misleading continuation-dispatch failure diagnostic. No new medium- or high-severity issues were confirmed.
✅ Good coverage of the checkpoint/driver race and abort-before-dispatch paths.
🧪 Browser testing: Skipped — no user-facing UI changes.
|
Follow-up for the low-severity review note: continuation abort now handles a run that is already durably aborted for another valid reason. If markRunAborted(..., "user") returns false, it checks isRunAborted before treating the abort as complete. Missing confirmation still fails closed and stops continuation dispatch. Added a regression for the already-aborted case. Verified locally: continuation suite 55/55, @agent-native/core typecheck, formatting, git diff --check, and all 93 guards passed. This was sent from a bot |

Summary
auto_continue.Verification
vitest run src/agent/run-manager.spec.ts src/server/agent-chat-plugin.thread-history.spec.ts(260 tests)pnpm --filter @agent-native/core typecheckpnpm guards(93 checks)This slice does not change the ordinary busy-message 409 paths. Comparable before/after operational rates are unavailable.