You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(playbooks): expose run commands and observable runtime state - #160
Clients need authenticated access to Playbook definitions, run commands, and durable progress.
Wire the runtime service and HTTP routes into the environment, expose observations and sidebar reads, and retain revision checks and receipt-based command behavior.
Stack 5/9. Depends on #159. Merge in order, retargeting to j5/main as predecessors land. Full-stack testing branch: codex/playbooks-09-aurora-loops.
Validation at the integrated stack tip: 179 server/shared tests and 104 web tests passed; server and web typechecks passed. Each regenerated runtime manifest was checked. The adapter slice independently passed 92 tests, including the parser regressions.
Heads-up: this PR touches Squadron code that is being removed.
What changed on j5/main (2026-10-08). J5 is retiring Squadrons and folding their behavior into projects (#412, decided 2026-10-05). The client half has merged (#454, #455, #456):
The Squadron picker, draft chip, sidebar Squadron filter, first-run gate and the Create, Rename and Delete Squadron dialogs are gone. Most of apps/web/src/j5/squadron/ is deleted.
New threads, drafts, the sidebar filter and Add Project use upstream's project flow again.
The Fleet page, Inbox and thread cards read the thread's project.
Still to come. The server migration re-keys the ledger from Squadrons to projects, removes list_squadrons and join_squadron, and renames squadron_id / squadronId to project fields across the server, the shared contracts and the peer protocol. After that, a rename pass removes the word from the remaining code.
For this PR. It uses Squadron ids in about 39 changed lines in apps/server/src/j5/playbook/ (SidebarRead.ts, Observations.ts, Http.ts) and apps/server/src/j5/playbook-definitions/Service.ts.
When you next rebase: use the thread's or workspace's projectId where this uses a Squadron, in stored rows, contracts and queries alike. No Squadron needs to be chosen or sent when a thread is launched; the server derives the home from the project. The smaller PRs in this stack (#163, #159, #143, #164) have one to four such lines each and need the same change.
Posted by an AI agent on Jackson's behalf.
This branch has not been deployed
No deployments
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
size:XXL1,000+ effective changed lines (test files excluded in mixed PRs).vouch:trustedPR author is trusted by repo permissions or the VOUCHED list.
2 participants
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.
Clients need authenticated access to Playbook definitions, run commands, and durable progress.
Wire the runtime service and HTTP routes into the environment, expose observations and sidebar reads, and retain revision checks and receipt-based command behavior.
Stack 5/9. Depends on #159. Merge in order, retargeting to
j5/mainas predecessors land. Full-stack testing branch:codex/playbooks-09-aurora-loops.Validation at the integrated stack tip: 179 server/shared tests and 104 web tests passed; server and web typechecks passed. Each regenerated runtime manifest was checked. The adapter slice independently passed 92 tests, including the parser regressions.
Model: GPT-5 · Harness: Codex