Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 17, 2026
This was referenced Nov 17, 2026
# Conflicts: # apps/server/src/j5/playbooks/PlaybookStore.ts
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
Fixed Crew seat-to-step ownership prevents a run owner from choosing the right worker at runtime or recovering a handoff to an unavailable worker. Closes #788.
Stack 3 of 3; depends on #1087 and the #1086 snapshot foundation. Base:
feat/playbooks-787-integrated-331968a7. Merge the stack in order.What changed
Start, next, back, and changed-step revisions accept an optional assignee.
j5_playbook_assignreassigns or takes back the current step. The Store validates an eligible local owner-spawned Peer or member of an owned Crew and records holder, owner attribution, pointer, and landing in one transaction. Omitting an assignee gives the step to the owner; same-step revision preserves the holder and rejects reassignment.Delivery uses recorded identities and stable dispatch IDs. Failures remain visibly pending; explicit reassignment can supersede a stuck landing, and old retries cannot revive it. A shared per-run lock covers initial/replayed start and mutation dispatch. Migration 061 backfills recorded identities without changing delivery outcomes or selecting replacement workers; unresolved identities expose explicit recovery with run/step IDs.
Crew proposal/launch/replacement no longer reads YAML or derives, validates, writes, or transfers fixed step ownership. Legacy fields remain readable as compatibility data. Fleet shows the active run, holder, and pending state on its owner agent, including owners without a Crew.
UI changes
Fleet run information moves to the owner agent's row. Fixed Crew/seat ownership badges and proposal fields are removed. Before/after screenshots and a real handoff video remain outstanding; browser regressions are included in the automated suite.
Live testing
Automated pass at this head,
3d9d3079c74c14d4d52dbd21ec8662ed0a2d3486:vp run check:changedexited 0, with 439 tests across 31 files, all 36 affected/dependent package typechecks, format, lint, both Knip stages, GraphQL, and 12 React compiler cases. The unchanged result was rechecked before pushing.Tests include real-orchestrator retry delivery, holder eligibility, invalid-assignment rollback, pending supersession, revision/assignee integration, Fleet projection, legacy Crew approval/addition/replacement after YAML deletion, identity-preserving migration, and deterministic start/assign/cancel barriers. The race and migration recovery cases failed before their fixes.
Live smoke pass, full live acceptance pending: the primary agent used the repository's isolated live-test setup at this head. Free Replay streaming/approval rendered; restart/reconnection, Fleet with live facts, playbook discovery/step preview, and Prepare chat worked. The disposable server was stopped afterward. Temporary Vite test files caused dev-server restarts when tests ran concurrently; the stable client checks ran after automated validation finished.
Real Codex/Claude Playbook turns, assigned-run Fleet/history, active-run restart recovery, and a live base-to-head upgrade were not exercised. Bounded Haiku/Luna authorization is pending; paid evals were not run. Native mobile, packaged Electron, remote/tunnel clients, full CI suites, release builds, and release smoke remain unverified locally.
Upstream impact
The measured
apps/server/src/provider/agentContextBudget.jsonis updated under the existingFORK.mdcase 110; its tool registration seam is documented in case 2 by the preceding layer. Runtime and UI changes are J5-owned. Upstream product behavior is unchanged.Checklist
FORK.mdrecordImplemented with GPT-6 Astra through the Codex harness.