Skip to content

Remove the plan type, and make issue the only work item a spec or a decision relates to #4398

Not planned

Description

@malibio

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--> task and task --decisions--> decision target the base type, so non-code work and code work share the same links. Development work is what issue is 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.tasks holds 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 plan type: 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--> task becomes spec --issues--> issue. A spec's work is issues only.
  • task --decisions--> decision moves to issue. A decision is carried out by issues and governed through specs. Its reverse name on a decision becomes issues.
  • A plain task keeps 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 plan type 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 issues targeting issue, and linking a plain task to a spec is refused with a message that says a spec's work is an issue
  • issue declares decisions, 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 and shape-record/current.json are regenerated, with a change-log entry for each area
  • Every query, context path and frontend lookup that named spec.tasks, task.spec, task.plan or task.decisions is updated

Related

Non-Goals

  • Changing project, software-project or the assignee relationship.
  • Linking a spec or a decision to a project.
  • A way to approve the approach separately from the spec.

Activity

  1. mstomar125 commented on Nov 27, 2026

    @mstomar125
    Contributor

    Copied into the NodeSpace workspace as an issue (with its acceptance criteria). Work on it is tracked there, so this public copy is closed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions