Skip to content

Rename methodology "recipe" to "Playbook" across code and docs #2851

Closed

Description

@malibio

Overview

The methodology feature shipped in #2777 calls its central concept a recipe — MethodologyRecipe, install_recipe, packages/core/src/methodology/, references/linear-recipe.md. That is a second word for something the codebase already names.

NodeSpace's domain language is Play (one automation rule-set: the play node type, PlaybookEngine, nodespace playbook) and Playbook (an installable bundle: ADR-075's PlaybookNode, "installable bundle record"). A methodology is exactly the second thing — a bundle carrying schemas, vocabulary extensions, several Plays and guidance skills.

So it should be Playbook: Linear Playbook, Jira Playbook, SDD Playbook.

"Recipe" came in via #2596's own title ("methodology recipe mechanism") and was carried through implementation without being checked against the domain vocabulary. It reads fine in isolation and wrongly beside play/playbook/PlaybookEngine, which is the kind of drift that makes a codebase harder to read than either term alone.

Why it matters beyond aesthetics

  • A reader meeting MethodologyRecipe next to PlaybookNode has to work out whether they are the same layer, related, or unrelated. They are the same layer.
  • ADR-075 already reserves PlaybookNode for bundle-install bookkeeping, tracked separately in Implement PlaybookNode as installable bundle record with display identity #2570. When that lands it will sit directly alongside this code, and two names for one concept will be actively confusing.
  • The generated references/linear-recipe.md is read by external agents. It should speak the same language as nodespace playbook, which those agents also use.

Scope

Rust (packages/core/src/methodology/) — the module itself, plus MethodologyRecipe, install_recipe, recipe_by_id, all_recipes, and the doc comments throughout. Note SchemaStep / FieldValueExtension / PlayStep need no change.

Generated artifacts — references/linear-recipe.md → linear-playbook.md, its GeneratedRegion id (linear-recipe), and the source_note in packages/cli/examples/gen_skill_md.rs. SKILL.md's pointer moves with the filename.

gRPC — ListMethodologies / InstallMethodology and the Methodology message keep their names; "methodology" is right for the user-facing concept. Only the comments in packages/proto/proto/node_service.proto say "recipe". No field or message rename, so the wire contract is untouched.

Frontend — methodology-service.ts and the Tauri command module use "recipe" in comments and doc text. No user-visible string is affected: the Settings panel reads "Work Tracking" and the wizard step "How do you track work?".

Tests — methodology_linear_install_test.rs, methodology_linear_execution_test.rs, and assorted test names/doc comments.

Docs (nodespace-docs) — architecture/playbook-system.md should gain a short section naming the Playbook layer and distinguishing it from a Play, since that distinction is currently only implicit in code.

Deliberately NOT changed: the ADRs. #73, #74, #78, #79 use "recipe" as descriptive prose written before this feature existed — e.g. ADR-074's "a hypothetical 'Linear-style' Play recipe". ADRs record decisions as made at the time and are not retro-edited. The GTM research files under strategy/ use the word in an unrelated sense.

Acceptance Criteria

  • packages/core/src/methodology/ types and functions use Playbook terminology
  • references/linear-recipe.md renamed, with its generated-region id and source_note updated
  • SKILL.md's pointer follows the rename; bun run skill:check passes
  • Proto/service/message names unchanged — comments only, so no wire-contract change
  • No user-visible UI string changes (there are none to make)
  • architecture/playbook-system.md gains a section distinguishing a Playbook (bundle) from a Play (rule-set)
  • ADRs left as written
  • bun run test:all and bun run quality:fix clean

Notes

Mechanical but wide — ~20 files across four packages plus a docs commit. Worth doing soon rather than later: it gets more expensive as #2570 (PlaybookNode) and further playbooks (Jira, SDD) land on top of the current naming.

Per this repo's rename convention, the sweep must cover nodespace-docs as well, since the pre-push gate cannot see stale references there.

Activity

  1. self-assigned this
    on Sep 23, 2026
  2. mstomar125 commented on Sep 23, 2026

    @mstomar125
    Contributor

    Baseline: Frontend 5263 passed, 1 failed (pre-existing perf flake: bulk structural operations 100 indent/outdent, unrelated to this issue), 261/262 test files passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions