Skip to content

Adapt the community spec, plan-review and ticket-splitting workflows into NodeSpace planning skills #3719

Closed

Description

@malibio

Overview

NodeSpace hands a coding agent its procedures from the graph, whatever harness it runs in. The procedures it ships for planning (writing a spec, writing a plan, breaking a plan into tasks) were written here and have not been used on real work. Widely used community skills cover the same ground with more field use behind them. This issue adapts the planning half of that workflow into NodeSpace skills, so the graph, not a harness plugin, is what feeds the agent.

Problem Statement

  • The community skills assume the harness's own skill mechanism: they chain with "call the Skill tool", link sibling files by relative path, and many run only from a slash command. None of that resolves when a skill is fetched from the graph.
  • They store state in an issue tracker described by a prose file. In NodeSpace the state is spec and task nodes, relationships and checkbox children, and the rules are Plays.
  • They have no approval step: a spec is marked ready by the agent that wrote it. NodeSpace's rule is that a spec is a draft until the user approves it.

Proposed Solution

Ship the adapted skills in the built-in playbook: they are seeded skills in packages/agent/src/seeds/skills/, attached where ADR-094 says a procedure attaches, and they replace the seeded skills that cover the same job, so an agent sees one procedure per job. Each one speaks NodeSpace directly. This repository's own development process is not changed here; it moves when the repository moves onto NodeSpace (#3712).

  • Writing a spec from to-spec: explore the code first, settle the test seams with the user, write the fixed sections (problem, solution, user stories, implementation decisions, testing decisions, out of scope) with no file paths. Lands as a spec node in draft with its criteria as checkbox children; the user approves.
  • Splitting into issues from to-tickets: a spec for development work is split into issue nodes (ADR-098, Add the issue and software-project core subtypes; move the development fields off task and project #3735), vertical slices each sized to one fresh context, each with its own checklist, linked to the spec, with blocks edges, created in dependency order after the user agrees the granularity and edges. Includes the expand, migrate, contract pattern for wide refactors: an expand issue, migrate batches each blocked by it, a contract issue blocked by every batch. A spec for work that is not a code change is split into plain tasks the same way.
  • The brief a task carries from triage/AGENT-BRIEF.md: durable, behavioural, no file paths, explicit out of scope.
  • Asking the user (grilling) from grilling: used when a request is ambiguous, when the user says they are not sure what they want or asks to think something through, and before a spec is written. It arrives with the work: the spec-writing and task-shaping skills name it, so it comes back with them, and matching it by description is the fallback for a conversation with no task. It works the open decisions in rounds, asks only what can be decided now, and looks facts up itself instead of asking for them. Adapted with the question format of gstack: one question at a time, each a short decision brief with a plain-language explanation (what it changes for the user, no document or section numbers), what is at stake if the choice is wrong, at most four options, and always a recommendation with its reason, worded so that "yes" accepts it. A recommendation is never an approval: the agent waits for the answer. The spec and triage skills name it.
  • Explaining is a separate skill, found when the user says they do not understand something. Grilling interviews the user; it is the wrong answer to "I don't follow".
  • Reviewing the plan before tasks are split from gstack's plan-eng-review: this is what the plan step is for. Between an approved spec and its tasks, the plan is reviewed for architecture, tests and performance. The review lists every failure mode and marks one that has no test and no handling and would fail silently as a gap to close, states what is not in scope, and trips a complexity check on a plan that touches many files or adds services. Each point it raises is put to the user as a decision and recorded. The user approves the plan; the plan approval rule already requires an approved spec.
  • Readiness is the Ready tasks query, never a label the agent applies.
  • Decide, per adapted skill, which seeded skill it replaces, so an agent sees one procedure per job.

Documentation

  • ADR-098 - development work is an issue in a software-project; a plain task and project carry no development state
  • ADR-092 §1 to §8 - the spec, plan, task and decision types, the Plays and the seeded skills these replace
  • ADR-094 §3, §4 and "The shipped workflow" - where a procedure skill attaches and how a task gets its skills
  • ADR-093 §2 - what a skill is, tool names from the registry, a form per reader
  • ADR-097 §5 - approval is the user's
  • Updates, written and pushed before the code: ADR-092 §8 (the seeded skills, with what each adapts and from where), ADR-094 "The shipped workflow" if a queue or attachment changes, and components/seeded-nodes.md.

Acceptance Criteria

  • The seeded skills for writing a spec, reviewing a plan, splitting into tasks, grilling and explaining ship with the product, each attached per ADR-094, and the seeded skills they replace are deleted
  • No adapted skill refers to a harness skill tool, a slash command, a relative file link, an issue tracker or a label
  • A spec written with the skill is a draft spec node with checkbox criteria; the skill asks the user to approve and does not approve it
  • Tasks produced by the splitting skill link the spec, carry their own checklist and blocks edges, and a wide refactor comes out as expand, migrate and contract tasks
  • Every skill shipped here reaches an agent with the work: it is attached to a queue or a project, or is named by a skill that is. None depends on the agent searching for it
  • Each adapted skill is also found by the skill list and match from a plain description of the situation
  • The grilling skill is matched from "this is unclear", "I'm not sure what I want" and "help me think this through", and is not matched from "I don't understand", which matches the explaining skill
  • Grilling asks one question at a time, each with a plain-language explanation, the stakes, at most four options and a recommendation with its reason; it never acts on its own recommendation
  • A plan is reviewed before its tasks are split: the review produces a failure-mode list with untested, unhandled, silent failures marked, and a not-in-scope list, and each point raised has a recorded decision
  • The spec skill settles where the tests go (the public boundaries under test) with the user and records them in the spec, before tasks are split
  • A comment on this issue lists each adapted skill, its source file and licence, what was changed and why, and which seeded skill it would replace
  • Tested the way the other seeded skills are: the workflow seed tests, the prompt snapshot (regenerate with UPDATE_GOLDEN=1 and review the diff), and the agent evals on the scenarios the change touches.

Technical Specifications

Reference Files

  • Source, MIT licensed: mattpocock/skills, skills/engineering/to-spec/SKILL.md, skills/engineering/to-tickets/SKILL.md, skills/engineering/triage/AGENT-BRIEF.md, skills/productivity/grilling/SKILL.md, skills/productivity/teach/, skills/productivity/wait-what/
  • Source, MIT licensed: garrytan/gstack, plan-eng-review/SKILL.md.tmpl, plan-eng-review/sections/review-sections.md.tmpl, and the question format in the shared preamble (office-hours/SKILL.md, the "decision brief" section)
  • packages/agent/src/seeds/skills/writing-a-spec.md, writing-a-plan.md, breaking-a-plan-into-tasks.md, skill-authoring.md - the seeded skills and the authoring conventions
  • packages/core/src/playbook/core_plays.rs - the rules the skills must agree with

Implementation Details

  • Keep attribution with each adapted skill (source repository, licence, author) so it travels when the skill is later shipped.
  • The first source has no plan step; the second has the plan review above. The adapted path keeps NodeSpace's plan between spec and tasks for work big enough to have a spec, and a standalone task has neither (Shape a standalone task when it is created, and let a task wait on a person (waiting status and waiting_on) #3722). Say in the comment where the line fell in practice; the lineage rule only applies to a task that has a plan.
  • From gstack take the procedure and the rubric only. Its skills depend on their own helper programs, a state folder and a generated preamble, none of which is carried over; where a helper kept a record, the record is a node.
  • The source's test for a slice is "one fresh context window"; keep it.
  • Record anything the source does that NodeSpace cannot express as data, as its own issue.

Dependencies

Related Issues

Non-Goals

Activity

  1. added
    enhancement
    on Oct 11, 2026
  2. changed the title [-]Adapt the community spec and ticket-splitting workflows into NodeSpace planning skills[/-] [+]Adapt the community spec, plan-review and ticket-splitting workflows into NodeSpace planning skills[/+] on Oct 11, 2026
  3. malibio commented on Oct 12, 2026

    @malibio
    CollaboratorAuthor

    Frontend: 5895 passed (324 files)

  4. self-assigned this
    on Oct 12, 2026
  5. malibio commented on Oct 12, 2026

    @malibio
    CollaboratorAuthor

    Adapted planning skills: sources, licences, changes, replacements

    All five are seeded procedure skills in packages/agent/src/seeds/skills/. Each ends with an ADAPTED FROM line (repository, licence, copyright holder) so the attribution travels with the skill.

    Skill Source Licence What changed and why Replaces
    Writing a Spec mattpocock/skills skills/engineering/to-spec/SKILL.md MIT, copyright 2026 Matt Pocock The source publishes to a tracker and applies a label; here the spec is a draft spec node and approval is the user's. Fixed sections kept (problem, solution, user stories in objective; implementation decisions, testing decisions, out of scope in boundaries), no file paths. The source's "do not interview" is dropped: an unclear request goes to Asking the User first. The test boundaries are settled with the user and recorded in the spec before any task is split. Criteria are checkbox children. Writing a Spec (same row, same id)
    Reviewing a Plan garrytan/gstack plan-eng-review/SKILL.md.tmpl and sections/review-sections.md.tmpl MIT, copyright 2026 Garry Tan Procedure and rubric only: scope challenge with a complexity gate (8 files or 2 new services/modules), four passes (architecture, code quality, tests, performance), a failure-mode list with an untested, unhandled, silent one marked a GAP and closed before approval, and a not-in-scope list. Each point raised is put to the user through Asking the User and recorded with Recording a Decision, linked to the spec. Not carried over: the helper programs, state folder, generated preamble, review log and readiness dashboard, review chaining, outside-voice step, TODOS file. Writing a Plan
    Splitting a Plan into Tasks mattpocock/skills skills/engineering/to-tickets/SKILL.md and skills/engineering/triage/AGENT-BRIEF.md MIT, copyright 2026 Matt Pocock The source publishes one tracker issue (or one local file) per ticket and applies a label; here each slice is an issue (a plain task for work that is not a code change), linked to its spec and plan, with its own checklist, a brief as text children, and blocks edges, written in dependency order after the user agrees the breakdown. Vertical slices sized to one fresh context window, prefactoring first, and expand, migrate, contract for a wide refactor are kept. The brief keeps the source's durable, behavioural, no-file-path rule and its out of scope. Readiness is the Ready tasks queue, never a label. Breaking a Plan into Tasks
    Asking the User mattpocock/skills skills/productivity/grilling/SKILL.md, plus the decision brief of garrytan/gstack (office-hours/SKILL.md) MIT, copyright 2026 Matt Pocock; MIT, copyright 2026 Garry Tan Rounds over a frontier of decisions are kept, but one question at a time (gstack's format) rather than the whole frontier at once: a short title, what it changes in plain words, what is at stake, at most four options, a recommendation worded so "yes" accepts it. A recommendation is never an approval. Facts are looked up, not asked. gstack's completeness scores, numbering and tuning are not carried over. none (new)
    Explaining mattpocock/skills skills/productivity/wait-what/SKILL.md and skills/productivity/teach/SKILL.md MIT, copyright 2026 Matt Pocock wait-what is a one-line re-pitch; kept as plain short sentences in the user's own words (it relied on a glossary file and a controlled-English standard, neither of which exists here). From teach, only: ground it in why the user cares, one thing at a time, check it landed. The teaching workspace (mission, lessons, learning records, assets) is not carried over. It writes nothing. none (new)

    Where each arrives with the work (ADR-094)

    • Writing a Spec is attached to "Specs by status"; Reviewing a Plan and Splitting a Plan into Tasks are attached to "Plans by status". A spec or a plan read with context carries its procedure.
    • Asking the User is named by all three; Explaining is named by Asking the User. Both are also found from a plain description (live matrix: "this is unclear", "I'm not sure what I want" and "help me think this through" lead to Asking the User; "I don't understand" and "I don't follow what you mean" lead to Explaining and not to Asking the User).

    Where the line fell between spec, plan and standalone task

    • Spec -> plan (reviewed) -> tasks is the path for work big enough to have a spec; the review is the plan step.
    • A standalone task has neither a plan nor a review. Splitting a Plan into Tasks still covers it (a single task or issue with a checklist and no spec), and the lineage rule applies only to a task that has a plan.
    • The line between issue and task is what the work is: a change to code is an issue; a document, a decision to reach or a discussion is a plain task. Slicing is the same for both.

    Verification

    • workflow_seeds (14 tests, 2 new: the planning skills reach an agent with the work; a plan is split into linked issues with briefs and checklists and only the unblocked one is ready) and the no-harness/tracker/label scan.
    • Prompt snapshots regenerated (UPDATE_GOLDEN=1); the diff is only the capability names.
    • Live skill matrix and all 41 live retrieval guards on the locked embedding model: pass; current.tsv and current.sha256 re-recorded. Two use_for rewordings were needed along the way: the first Reviewing a Plan wording took "point rebuild task at the decision it has to respect" from Recording a Decision, and the title of the splitting skill had to carry "plan" and "tasks" for "turn the approved plan into tasks" to find it.
  6. added a commit that references this issue on Oct 12, 2026
    bd3019f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions