Repository navigation
Not planned
Not planned
Copy link
Description
Overview
The work model shipped in two steps: spec, plan and decision became core types related to task (#3618), and issue was added a week later as a subtype of task for development work (#3745). The relationships were never moved, and the plan type has not been used. This removes plan and makes issue the only work item that specs and decisions relate to.
Problem Statement
- A plain task can be the work of a spec or a decision.
spec --tasks--> taskandtask --decisions--> decisiontarget the base type, so non-code work and code work share the same links. Development work is whatissueis for. - The plan type is unused and costs a second route. It holds two text fields (
approach,risks) and a second approval. A work item can reach its spec directly and through its plan, and one shipped rule exists only to check that the two routes agree. Three of the nine shipped Plays are about plans. The team's own workspace holds specs and issues and no plans. - The names say less than they mean. In a software project, what
spec.tasksholds is issues.
Proposed Solution
The target model:
software-project ──tasks──▶ task | issue (unchanged)
person ──tasks──▶ task | issue (unchanged; reverse: assignee)
spec ──issues──▶ issue
spec ──decisions──▶ decision (unchanged)
issue ──decisions──▶ decision
decision ──supersedes──▶ decision (unchanged)
- Remove the
plantype: its schema, wire type, behaviour, typed update, the plan approval rules, the reviewing-a-plan skill and the plan rules in the agent guidance. A spec's approach and risks are written as content under the spec when the work needs them. There is one approval, the spec's. spec --tasks--> taskbecomesspec --issues--> issue. A spec's work is issues only.task --decisions--> decisionmoves toissue. A decision is carried out by issues and governed through specs. Its reverse name on a decision becomesissues.- A plain
taskkeeps what is not about code: its project, its assignee,blocks,duplicates,relates_to, its sub-tasks and its checklist. It has no relationship to a spec or a decision. - Rules move with the relationships: "Require a task's spec to be approved before starting it" is registered for
issue. "Require an approved plan and its spec before advancing a planned task", "Require an approved spec before approving a plan" and the rule that refuses creating an approved plan are removed. "Lock superseded specs, plans and decisions" loses its plan half. - No data is carried across. The schema changes and a database is reset, as for any shape change before release.
Acceptance Criteria
- No
plantype exists: not in the registry, the core schemas, the wire types, the generated TypeScript, the desktop app, the proto or the CLI reference - A spec declares
issuestargetingissue, and linking a plain task to a spec is refused with a message that says a spec's work is an issue -
issuedeclaresdecisions, and linking a plain task to a decision is refused - A plain task has no relationship to a spec or a decision, and still has its project, assignee, blockers, sub-tasks and checklist
- The spec approval gate applies to an issue, and no shipped Play names a plan
- No rule compares two routes from a work item to its spec
- The shipped skills and rules (writing a spec, creating a task, splitting into issues, implementing, reviewing, recording a decision) describe the new model, create issues under a spec, and say nothing of plans
- The agent prompt goldens are regenerated and their diff reviewed
-
node-types.md, the generated types andshape-record/current.jsonare regenerated, with a change-log entry for each area - Every query, context path and frontend lookup that named
spec.tasks,task.spec,task.planortask.decisionsis updated
Related
- Write NodeSpace's live decisions as decision nodes, each stated as it stands today #3729: the decision gates agreed there read a decision's linked work. With this change that is its
issues, and the comment on that issue is updated to match. - An issue cannot start until it or its parent task is linked to a software project, and a session launched for it runs in that project's folder #4394: the software project rule is already written for
issueonly and is unaffected. - The checklist rules count checkboxes under an Acceptance Criteria heading, so a task's criteria can sit in a section of their own #4396: lets a rule walk decision → specs → issues.
Non-Goals
- Changing
project,software-projector the assignee relationship. - Linking a spec or a decision to a project.
- A way to approve the approach separately from the spec.
Metadata
Metadata
Assignees
Labels
No labels
Activity
mstomar125 commentedon Nov 27, 2026
Copied into the NodeSpace workspace as an issue (with its acceptance criteria). Work on it is tracked there, so this public copy is closed.