Repository navigation
Description
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
MethodologyRecipenext toPlaybookNodehas to work out whether they are the same layer, related, or unrelated. They are the same layer. - ADR-075 already reserves
PlaybookNodefor 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.mdis read by external agents. It should speak the same language asnodespace 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.mdrenamed, with its generated-region id andsource_noteupdated -
SKILL.md's pointer follows the rename;bun run skill:checkpasses - 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.mdgains a section distinguishing a Playbook (bundle) from a Play (rule-set) - ADRs left as written
-
bun run test:allandbun run quality:fixclean
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
mstomar125 commentedon Sep 23, 2026
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.