Skip to content

feat(playbooks): execute development steps and gated publication - #158

Open
BastiHu wants to merge 1 commit into
codex/playbooks-02-enginefrom
codex/playbooks-03-adapters
Open

BastiHu wants to merge 1 commit into
codex/playbooks-02-enginefrom
codex/playbooks-03-adapters

Conversation

@BastiHu

@BastiHu BastiHu commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Durable Playbook actions need adapters for agent turns, workspace operations, validation, and human-approved publication.

Add the development adapters and publication flow. Agent results use the exact run's final reply, optionally unwrap one JSON fence, and keep schema and artifact-hash validation strict; progress messages no longer invalidate otherwise valid evidence.

Stack 3/9. Depends on #157. 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.

Model: GPT-5 · Harness: Codex

@github-actions github-actions Bot added the size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). label Sep 16, 2026
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Sep 16, 2026
@Jacksondr5

Copy link
Copy Markdown
Owner

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 11 changed lines in apps/server/src/j5/playbook/AgentAdapter.ts and the fh/development definition and tests.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants