Repository navigation
Description
Overview
A Playbook is a bundle a user starts from in the app, behind the Labs "Playbooks" toggle. To an agent, what a Playbook installs is just schemas, Plays and skills like any other. Today the agent is taught the Playbook concept directly, and taught to install one by hand, which gets around the Labs toggle.
Observed: asked what a cycle is, an external agent said SKILL.md "mention[s] a Linear-style work-tracking playbook", and it described the installed setup as "the Linear-style playbook". Nothing in the user's request mentioned playbooks.
Problem Statement
The agent learns about Playbooks from four places:
packages/skill/SKILL.md, the work-tracking line: "first runnodespace skill guidance \"workspace workflow\"; a<Playbook> Workspacehit means one is installed — use it, never reinstall. Else, if asked:references/linear-playbook.md,references/spec-driven-playbook.md,references/jira-playbook.md."- Three generated reference files (
packages/skill/references/{linear,jira,spec-driven}-playbook.md). They are the CLI-verb form of each Playbook, so an agent can rebuild one call by call, with no Labs gate. They are rendered bypackages/cli/examples/gen_skill_md.rs(render_playbook_block) and embedded for PTY agents bypackages/agent/src/agent_catalog/context_assembly.rs(SKILL_*_PLAYBOOK). - A "Workspace" skill seeded by every Playbook ("Linear-style Workspace", "Jira-style Workspace", "Spec-driven Workspace" in
packages/core/src/methodology/{linear,jira,spec_driven}.rs). It exists to tell the agent which Playbook is installed; its description reads "the Linear-style Playbook installed here". - The CLI noun:
nodespace playbook list|enable|disable|get-workflow-statemanages Plays, not Playbooks, so even Play management teaches the agent the word.
Decisions
- Plays are the workflows; a Playbook is only the bundle a user installs from. Agent-facing text names Plays, schemas and skills, never Playbooks.
- Playbooks install only from the app, from the starter list in the Plays section (Add a 'Plays' navigation section: list plays with their state and open them (Labs Playbooks-gated) #3270), behind the Labs "Playbooks" toggle. No agent path installs one.
- The Labs toggle only hides UI. Installed Plays keep running whatever it says, as AI Chats' toggle only hides chats.
- The agent works an installed setup from what is in the graph: the task skills (for example "Creating an Issue", "Sprints and Cycles") and the schemas (
issue,cycle). It does not need to know which Playbook they came from.
Proposed Solution
- Remove the work-tracking Playbook line from
SKILL.md. - Delete the three
*-playbook.mdreferences, theirgen_skill_md.rsregions andrender_playbook_block, and their embedding and writing incontext_assembly.rs. Update the skill install record and any test that lists the shipped references (for examplescripts/publish-skill-repo.test.ts). - Drop the "Workspace" skill from each Playbook's seeded skills, together with its entry in the bundle's
skill_ids. - Reword any remaining seeded skill text that names a Playbook so it describes the types and the workflow instead.
- Rename the CLI command
nodespace playbooktonodespace play, with no alias, and updatereferences/cli.md,SKILL.mdand the in-app agent's tool and skill guidance that cites it.
Architecture Impact
This changes ADR-075 (../nodespace-docs/decisions/075-playbooknode-installable-bundle-record.md). It says a bundle may be installed "via a future onboarding flow, a settings action, or direct CLI/agent authoring", and keeps Play/schema authoring "CLI/agent-driven rather than UI-driven". The amendment: installing a Playbook is an app action behind the Labs toggle only. Agents still author individual schemas and Plays.
Companion nodespace-docs changes, required in the same change:
- amend ADR-075 as above;
- update
architecture/playbook-system.mdandarchitecture/prompt-skill-system.mdwherever they describe agent-side Playbook install or the Workspace skill; - update the CLI command name wherever the docs cite
nodespace playbook.
Acceptance Criteria
-
SKILL.md,references/cli.mdand every shipped reference contain no Playbook guidance; a test fails if a*-playbook.mdreference is shipped again -
nodespace skill installno longer installs*-playbook.mdfiles, and removes ones an earlier install put there - PTY agents no longer receive the Playbook references
- Installing any Playbook seeds no "Workspace" skill, and its
skill_idslists none - No seeded skill's title, description or guidance names a Playbook
-
nodespace play list|enable|disable|get-workflow-statereplacesnodespace playbook …, and the old noun is gone - Every agent-facing reference to the old command is updated (CLI reference,
SKILL.md, in-app agent tool and skill guidance), and the prompt golden snapshot is regenerated and reviewed - ADR-075 and the architecture docs are updated as listed under Architecture Impact
- Code passes
bun run quality:fix - Tests pass (
bun run test:changed)
Technical Specifications
Reference Files
packages/skill/SKILL.md— the work-tracking linepackages/skill/references/*-playbook.md— generated references to deletepackages/cli/examples/gen_skill_md.rs— reference regions andrender_playbook_blockpackages/agent/src/agent_catalog/context_assembly.rs—SKILL_LINEAR_PLAYBOOK,SKILL_SPEC_DRIVEN_PLAYBOOK,SKILL_JIRA_PLAYBOOKand where they are writtenpackages/core/src/methodology/{linear,jira,spec_driven}.rs— the "Workspace" skill templates and their testspackages/core/src/methodology/skills.rs— seeded Playbook skill templatespackages/cli/src/lib.rs,packages/cli/src/commands/playbook.rs— thePlaybookcommandpackages/skill/src/installer.ts— install record cleanup of removed references
Implementation Details
SKILL.mdis checked for drift againstgen_skill_md.rs; regenerate it rather than hand-editing.- Changing model-facing text in
packages/agentfailsprompt_assembly_snapshot; regenerate withUPDATE_GOLDEN=1and review the diff. - The
nodespaceCLI input changes, so the skill guidance inSKILL.mdandreferences/cli.mdchanges in the same PR.
Related Issues
- Add a 'Plays' navigation section: list plays with their state and open them (Labs Playbooks-gated) #3270 (Plays nav section; hosts the starter Playbook list)
Non-Goals
- The Plays nav section and the starter Playbook UI (Add a 'Plays' navigation section: list plays with their state and open them (Labs Playbooks-gated) #3270)
- Renaming the Playbook engine or
PlaybookNodeinternally - Changing what the Labs toggle does: it stays UI-only
Activity
malibio commentedon Oct 4, 2026
Closing as overtaken by ADR-092 (https://github.com/NodeSpaceAI/nodespace-docs/blob/main/decisions/092-spec-plan-and-decision-are-core-types.md). The installable methodologies are removed, so there is no Playbook for an agent to learn about or install: the bundle reference files, the work-tracking line in SKILL.md and the per-bundle Workspace skills all go in #3542. Nothing here remains to do separately.