Repository navigation
Description
Overview
A Playbook bundle installs three things: structure (schemas), automation (Plays), and knowledge (skills). The third is not a nice-to-have alongside the first two — it is what makes them usable without the user having to reconstruct intent from field descriptions.
Today only the first two-and-a-bit work that way. The Linear Playbook seeds three usage skills into the graph, but everything about the bundle as a whole — what it is, what it installed, the constraints that come with it — lives in a static file, packages/skill/references/linear-recipe.md, shipped to every install whether or not any Playbook is present.
That file should shrink to genuinely install-only, and everything an agent needs after installation should come from the instance.
Why the graph is the right source once installed
The static file structurally cannot know things the graph does:
- Re-keyed ids. If
cyclecollided on install and becamecycle__2, the seeded guidance already carriesrename_note's section naming the real ids. A file written before any install cannot. - User edits. A user may edit a Play or a schema afterwards. Seeded skills already have
skill resetand the_seed.guidance_modifieddurability guard (ADR-072) for exactly this divergence. The file has nothing. - Which Playbook is even installed. Jira and SDD Playbooks are planned. A static per-Playbook file multiplies; a graph query does not.
The layering this completes
| Layer | Answers | Mechanism |
|---|---|---|
| Schema field descriptions | What is cycle.end_date? |
#2653 |
| Seeded skills | How does an Issue relate to a Cycle? Why was my write rejected? | this issue |
| Bundle record | What Playbook is this workspace running, and what did it install? | #2570 / ADR-075 |
Per-field descriptions cannot carry the middle row: the knowledge is cross-schema by nature. That is the gap the skill library exists to close — not just general NodeSpace operations, but instructions specific to what this user's workspace is actually set up to do.
Scope
1. Seed a Playbook-level skill. Alongside the three task-scoped ones, seed a skill describing the bundle itself: what it installed, that a workspace holds one methodology, that the validation gates reject by design, and — where they were re-keyed — the real schema ids. This is the graph-resident answer to "what workflow is this workspace using?", which nothing answers today.
Keep it narrow like the others rather than a monolith; ADR-038's <0.8 similarity threshold rewards precise matches.
2. Shrink the static file to install-only. linear-recipe.md keeps the step sequence and the two guardrails that must be read before installing ("only when asked", "stop if issue or cycle exists"). Everything describing how to work with an installed Playbook moves to the seeded skill.
3. Fix SKILL.md's routing. The pointer today is unconditional:
For Linear-style work tracking, follow references/linear-recipe.md.
An agent in a workspace that already has the Playbook is still routed to the install doc, and only discovers the mismatch after reading a page of install steps. The guardrails are inside the file, so they arrive too late to prevent the wrong path.
It should route on state rather than task type: check whether the Playbook is installed (nodespace skill guidance, or the PlaybookNode record once #2570 lands); if installed, guidance comes from the graph; if not, follow the install doc.
4. Relationship to #2570. ADR-075's PlaybookNode already carries seed_node_ids, meant to track what a bundle seeded. That is the natural owner of bundle identity and provenance. This issue is the content half — what the seeded skills say and where an agent reads them from. The two should land compatibly; whichever goes first should not make the other awkward.
Acceptance Criteria
- Installing a Playbook seeds a bundle-level skill, discoverable through the existing
find_skills/skill guidancemechanism - That skill names the actual installed schema ids, including any re-keyed by collision
-
linear-recipe.md(name pending Rename methodology "recipe" to "Playbook" across code and docs #2851) contains only what is needed before an install - SKILL.md routes on installed state rather than task type, and stays inside its ~5000-token budget
- An agent in a workspace with the Playbook installed reaches usage guidance without first reading install steps
- An agent in a workspace without it still finds the install path
- The design composes with Implement PlaybookNode as installable bundle record with display identity #2570's
PlaybookNoderather than duplicating its role
Notes
- Depends on nothing, but overlaps Implement PlaybookNode as installable bundle record with display identity #2570 (
PlaybookNode) and Rename methodology "recipe" to "Playbook" across code and docs #2851 (the Playbook rename). Sequencing worth a moment's thought — doing Rename methodology "recipe" to "Playbook" across code and docs #2851 first avoids renaming this work twice. - No user-visible UI change; this is agent-facing.
Activity
malibio commentedon Sep 22, 2026
Correction to this issue's text: it cites ADR-038's
<0.8similarity threshold as the reason to keep seeded skills narrow. That figure is stale.skill_ops.rs:22setsSKILL_SEARCH_THRESHOLD = 0.0, and the comment above it is explicit that this is "the cosine noise floor, not a confidence judgment call" — server-side bucketing was deliberately removed so the model judges confidence from the raw score. ADR-038 still describes the 0.8 floor; the code moved past it and the ADR was not updated.The conclusion (keep skills narrow) holds, but the mechanism is different and the failure mode is worse:
find_skillsscopes tonode_type = 'skill'roots only. So title +descriptionis the entire retrieval surface.That makes description phrasing load-bearing rather than cosmetic, which is now tracked separately.
malibio commentedon Sep 27, 2026
Frontend baseline: 281 files / 5444 tests passed
Serve Playbook usage guidance from the graph, not a shipped file (closes