Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7 of 8 tasks
7 of 8 tasks
…chive-layer into fixed-1089 # Conflicts: # apps/server/src/j5/a2a/Migrations.test.ts # apps/server/src/j5/a2a/Migrations.ts
# Conflicts: # apps/server/src/j5/playbooks/PlaybookStore.ts
7 of 8 tasks
Owner
|
Direction for the whole stack, before the full review, is in this comment on #1086. We'll review once the stack is rebased onto |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Cancelling a playbook left its current worker running, while archiving a Crew incorrectly ended the Captain's run. Closes #789.
What changed
Cancellation now commits the ended run before stopping its recorded non-owner holder through the existing upstream Stop path. The durable result distinguishes idle, stopped, unavailable, and refused holders; retries never issue another Stop, including cancellations recorded before this upgrade. Owner archive/delete events and startup recovery cancel the owner's run. Crew archive preserves it for reassignment or takeback.
This is stacked on #1088. Migration 062 precedes checkpoint migration 063 in #1090; progress follows in #1091.
Live testing
Automated real-orchestrator coverage captures the active holder run, cancels the playbook, verifies that exact run becomes interrupted, and verifies retry adds no turn items. The owner-archive checkpoint closure is covered in the following integration layer.
Combined validation at
bc432f7c64040976df0400625870a4b235a8e81b:check:changedpassed: 568 tests across 43 files, all 36 affected package typechecks, 17 React compiler cases across 12 selected files, format, lint, Knip, and GraphQL. Captain browser smoke verified the approval-required library preview, Inbox loading, a completed free Replay turn, and restoration of that transcript after an at-rest server restart. Replay exercises provider rendering; it does not verify the Playbook approval flow. Detailed report:artifacts/test-reports/feat-playbooks-next-integrated-331968a7/bc432f7c6.md. Real-model Stop/Continue, held-turn restart, and migration rehearsal on copied real data remain unrun; the earlier request to authorize paid test models is still pending. No live deployment was performed.Upstream impact
Only the measured agent context budget changes outside J5-owned code; recorded in FORK.md cases 2 and 110. Stop uses the existing provider-neutral implementation and Captain exception.
Checklist
Implemented with GPT-6 Astra in the Codex harness and a J5 Crew.