Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Overview
The delivery half of the workflow NodeSpace feeds to a coding agent: implementing a task, and reviewing it. This issue adapts the community skills for both into NodeSpace skills, and adds one rule the sources state only in prose: a review finding is not dropped silently.
Problem Statement
- The community implement skills have each agent decide for itself which ticket is unblocked and unclaimed. In NodeSpace those are enforced: a blocked task cannot start, and a task is claimed by starting it with the version that was read.
- Their review reports are text in a conversation. Nothing records what was found, what was decided about each finding, or whether a finding was skipped.
- NodeSpace's own implementing and reviewing skills have not been used on real work.
Proposed Solution
Ship the adapted skills, queues, status value and rule in the built-in playbook: seeded skills in packages/agent/src/seeds/skills/ attached to their queues per ADR-094, seeded queries, and seeded Plays. They replace the seeded implementing and reviewing skills. This repository's own development process is not changed here; it moves when the repository moves onto NodeSpace (#3712).
- The user chooses the work. An agent does not take a task on its own. When the user names a task, the agent takes that one. When the user asks what to work on, the agent runs Ready tasks for the checkout's project, says what is ready in priority order with a recommendation, and waits for the user's choice. Carrying on with a task the session already holds (addressing its review findings) is not a new choice.
- Implementing a task from
implementandimplement-spec: once the user has chosen, claim the task by version, read what governs it, work test-first, tick each checklist item with evidence, run the full suite once, record commit and pull request links, move to review. Where several tasks of one spec are worked in parallel, the frontier is the Ready tasks query and the claim is the write; the skill carries no bookkeeping of its own. - Test-first, as the default way to implement from
tdd: for each checklist item, write one failing test at a boundary the spec agreed, see it fail, then write only enough code to pass it, and repeat. Writing all the tests first and the code afterwards is not this and the skill says so. The evidence written under a ticked item shows the test failing and then passing. - Review is done by a different session. The session that implemented a task does not review it. Moving a task to review puts it in the "Awaiting review" queue, and whichever other session takes it from there reviews it with nothing but the task, what governs it and the change. The queue is asynchronous: the implementing session does not wait on it.
- The implementing session addresses the findings. It is kept, not discarded, because it holds the context. Review has its own return state,
changes_requested: the reviewer moves the task there when there are findings to fix. The implementing session waits for the task to leave review (A CLI command that waits until a node or a queue changes, so a session can wait for its review #3723), addresses the findings from the "Changes requested" queue, and moves the task back toin_reviewfor the reviewer to confirm. - An issue that passes review is ready to merge, not done. With no finding left to fix, the reviewer moves the issue to
ready_to_merge. "Review passed" and "the change landed" are different events:doneis set when the change lands, and a change that is refused on the way in goes back tochanges_requestedwith the reason. A "Ready to merge" queue lists what is waiting to land. What does the landing is the team's own (a merge button, a merge queue, a script) and is not part of the shipped playbook. A plain task has neither status: when it is reviewed at all, it goes fromin_reviewtodone. - The flow is
in_progress→in_review⇄changes_requested, thenready_to_merge→done. - The review flow is the
issuetype's.changes_requestedandready_to_mergeare statuses ofissue, the built-in subtype oftaskfor development work (ADR-098, Add the issue and software-project core subtypes; move the development fields off task and project #3735), not values ontask. The rules and queues here are written againstissue, because a rule againsttaskcannot see those statuses or the pull request. They are seeded data a team edits; the type is not. - Every finding to fix is fixed before the task goes back to review or on to merge. A rule refuses moving a task from
changes_requestedtoin_review, and fromin_reviewtoready_to_merge, while a finding with a decision of "fix" is still open. - Reviewing a task from
code-review: two separate passes that are never merged. One reads the change against the spec and reports what is missing, unrequested or wrong, quoting the spec. The other reads it against the project's standards (the skills attached to the project). - The pass against the spec uses
gstack's plan-completion audit: each item of the spec is marked done, partial, not done, changed or unverifiable, with the evidence cited, and any change in behaviour the spec did not ask for is listed. - A weakened check always goes to the user. A change that removes or loosens a test, a threshold or a lint rule is never decided by the reviewer or the implementer: it is put to the user as restore or keep, and the answer is recorded.
- A decision per finding from the review triage rules: each finding is recorded with its source, a confidence, a decision (fix, defer, reject) and the reason, before any fix is made. A finding raised independently by two reviewers counts for more; duplicates of one root cause are one finding. A task does not leave review with a finding that has no decision.
- Failing checks: a real failure gets a bounded number of fix attempts, a flaky one a single rerun, an environment or pre-existing failure stops and is reported.
Documentation
- ADR-098 - development work is an
issuein asoftware-project; a plain task and project carry no development state - ADR-092 §5 to §8 - task status, the Plays (blockers, criteria), Ready tasks and the seeded implementing and reviewing skills
- ADR-094 §3 to §6 and "The shipped workflow" - procedures attached to queues, standards attached to a project, claiming by version
- ADR-093 §2 and §3 - what a skill is and what a task read returns
- playbook-system.md - writing a Play
- Updates, written and pushed before the code: ADR-092 §6 (the new rules), §7 and §8 (queues and skills),
architecture/playbook-system.md(the Plays table) andcomponents/seeded-nodes.md. The statuses themselves are documented with the type (Add the issue and software-project core subtypes; move the development fields off task and project #3735).
Acceptance Criteria
- The seeded implementing and reviewing skills ship with the product, attached to their queues, and the 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
- Asked what to work on, the agent lists ready tasks for the project by priority with a recommendation and starts nothing until the user chooses
- The implementing skill has the agent write a failing test before the code for each checklist item, and the evidence under each ticked item shows the failing run and the passing run
- A task is reviewed by a session other than the one that implemented it; how a reviewer tells which session implemented a task is written down
- A reviewer moves a task with findings to fix to
changes_requested; it appears in a "Changes requested" queue with the address-review procedure attached, and not in "In progress" or "Awaiting review" - A reviewer moves an issue with nothing left to fix to
ready_to_merge, notdone; it appears in a "Ready to merge" queue; a plain task that is reviewed goes todone - The review rules and the "Awaiting review", "Changes requested" and "Ready to merge" queues are written against
issue; a plain task is touched by none of the new rules - Moving a task from
changes_requestedtoin_review, or fromin_reviewtoready_to_merge, is refused while a finding marked "fix" is open, and allowed once they are fixed - What existing behaviour does with a status it does not name is written down for both values: whether the task counts as started, what the parent roll-up does, what the lineage, blocker and criteria rules do on a move into or out of it, and where the value sorts on a board
- The pass against the spec accounts for every item of the spec with a status and evidence, and lists behaviour changes the spec did not ask for
- A change that weakens a test, a threshold or a lint rule is raised to the user as restore or keep, and is not resolved without the user's answer
- 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
- A review produces two separate sets of findings, one against the spec and one against the project's standards
- Every finding is recorded in the graph with a decision and a reason, and moving the task out of review with an undecided finding is refused
- The way findings are recorded is written down, with the alternative that was not chosen and why
- 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=1and review the diff), and the agent evals on the scenarios the change touches. Each new rule test is shown to fail with the rule's condition reverted.
Technical Specifications
Reference Files
- Source, MIT licensed:
mattpocock/skills,skills/engineering/implement/SKILL.md,skills/engineering/implement-spec/SKILL.md,skills/engineering/code-review/SKILL.md,skills/engineering/tdd/SKILL.md - Source, MIT licensed:
OneRedOak/claude-code-workflows,guides/orchestration-layer/templates/review-triage.md,guides/orchestration-layer/templates/review-skill-example.md - Source, MIT licensed:
garrytan/gstack,review/sections/plan-completion.md,review/checklist.md(the gate-edit scan),plan-eng-review/sections/review-sections.md.tmpl(the per-finding record) packages/agent/src/seeds/skills/implementing-a-task.md,reviewing-a-task.md,completing-a-task.md,play-authoring.mdpackages/core/src/playbook/core_plays.rs- the task criteria rule
Implementation Details
- Try the cheapest record of a finding first: a checkbox child of the task whose text carries the decision and reason. The task criteria rule already refuses
donewith an unchecked checkbox child, so this may need no new rule. Check what it does to "criteria" meaning the acceptance checklist, and whether the refusal should fall on leavingin_reviewinstead of ondone. If checkbox children do not fit, a seeded Play is the next step; a new node type is out of scope here. - Keep attribution with each adapted skill.
- No rule can prove a test was written before the code. The record under each item is what makes skipping it visible; do not try to enforce the order.
- The statuses and the
pull_requestandcommitsfields come from Add the issue and software-project core subtypes; move the development fields off task and project #3735; this issue adds no field or status. Deriving the state from open findings, sending the issue back toin_progress, and putting the statuses ontask(as core values or as values every database gets) were considered and not chosen: the first ties two queues and the wait to how findings are recorded, the second mixes rework with fresh work and delivers the wrong procedure, the third gives every team's tasks the development statuses. - The implementing session learns its review is back by waiting for the task to leave
in_review(A CLI command that waits until a node or a queue changes, so a session can wait for its review #3723). Until that command exists, the user returns to the session and it re-reads its task. - The source review skill pins a fixed point in history and finds the spec by searching the repository. In NodeSpace the spec is what the task links; say what the skill does for a task with no spec.
- Record anything that cannot be expressed as data, as its own issue.
Dependencies
- Add the issue and software-project core subtypes; move the development fields off task and project #3735 (the
issuetype, its statuses and its fields)
Related Issues
- Run this repository's work through NodeSpace's built-in playbook and the adopted community workflow skills #3712 (this repository's move onto NodeSpace, which uses these once sync is workable)
- Adapt the community spec, plan-review and ticket-splitting workflows into NodeSpace planning skills #3719 (the planning half)
Non-Goals
- Changing this repository's own review commands, hooks or agent guide: the development process here changes when the repository moves onto NodeSpace (Run this repository's work through NodeSpace's built-in playbook and the adopted community workflow skills #3712)
- Calling one harness from another for an adversarial review
- Ship, release and deploy steps: this repository's merge queue is the release path
- Browser QA and anything that needs a bundled program
- A node type for review findings
- Prompting or waking a session from NodeSpace when a review comes back
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
[-]Adapt the community implement and review workflows into NodeSpace delivery skills, with a recorded decision per review finding[/-][+]Adapt the community implement and review workflows into NodeSpace delivery skills: test-first, review by a separate session, a decision per finding[/+]malibio commentedon Oct 11, 2026
How the implementing session learns its review is back: it waits for it, the way a session waits on the merge queue. #3723 adds the blocking CLI command; until it exists, the user returns to the session and it re-reads its task. This replaces the open point in the body about waking an idle session.
malibio commentedon Oct 11, 2026
Note from #3723 (PR #3737): the wait step is now in the seeded implementing and reviewing skills, written against today's statuses. When this issue rewrites those skills, carry it over with the new ones.
task-implement-waitandtask-review-wait(packages/agent/src/seeds/rules/{agent,skill-md}/), included from STEP 8 ofimplementing-a-task.mdand STEP 5 ofreviewing-a-task.md.--untilstatus is notin_reviewand--unlessstatus iscancelled, and readsin_progressas sent back anddoneas passed. With this issue's flow the outcomes arechanges_requestedandready_to_merge, so the wording after exit 0 changes; the condition itself (leftin_review) still holds.--untilstatus isin_review,--unlessstatus indone,cancelled.nodespace wait query "Awaiting review" --until not-empty.malibio commentedon Oct 12, 2026
Frontend: 5897 passed (325 files)
malibio commentedon Oct 12, 2026
Adapted skills (PR 3767). Implementing a Task: from implement and implement-spec plus tdd, mattpocock/skills, MIT, copyright 2026 Matt Pocock; changed to speak NodeSpace only (user chooses the work, claim by version, test-first evidence of the failing and passing run, one full-suite run with bounded attempts, no tracker or label); replaces the earlier seeded Implementing a Task in place. Reviewing a Task: from code-review (mattpocock/skills, MIT), review-triage and review-skill-example (OneRedOak/claude-code-workflows, MIT), plan-completion and the review checklist gate-edit scan (garrytan/gstack, MIT); changed to two separate passes, a recorded decision per finding, weakened checks put to the user, no pinned history point; replaces the earlier seeded Reviewing a Task in place. Addressing Review Findings: from the address step of review-triage (OneRedOak/claude-code-workflows, MIT) and the per-finding record of plan-eng-review (garrytan/gstack, MIT); new, attached to Changes requested. Not yet done: the mutation check of the new rules, agent evals, and the In progress queue criterion (changes_requested reads as in_progress at task scope).
Adapt the community implement, test-first and review workflows into d…
Adapt the community implement, test-first and review workflows into d…
Adapt the community implement, test-first and review workflows into d…