Skip to content

Shape a standalone task when it is created, and let a task wait on a person (waiting status and waiting_on) #3722

Closed

Description

@malibio

Overview

Work that does not come out of a spec still has to be shaped before an agent can take it: a bug, a chore, something found in the middle of other work, a review finding that was deferred. The community workflow shapes these in a later triage stage, because its requests are filed by outside reporters. Here almost every task is created by an agent using a skill, so the shaping belongs in that skill, at creation. This issue adapts the triage procedure into a skill for creating a standalone task, keeps a small queue as the fallback for tasks made by hand, and adds the one pattern the playbook lacks: a question to a person, as a task that blocks the task it stopped (ADR-099).

A task created this way is the equivalent of an issue in this repository's tracker today: one unit of work with a brief and acceptance criteria, worked on one branch and delivered by one pull request.

Problem Statement

  • Tasks split from a spec arrive with a checklist and blocking links. A standalone task has no procedure: nothing checks whether it is already built, whether it was declined before, whether a bug reproduces, or whether it is big enough to need a spec.
  • "Does this need a spec?" used to be a field on every task. It is now a judgement made when the task is created, and no skill makes it.
  • Nothing says that a task is stopped on an answer: information someone owes, or a decision only the user can make. Such a task looks ready, and the user has no list of what is waiting on them.
  • A declined request leaves no record, so the same idea is argued again.

Proposed Solution

Ship the skill and the two queues in the built-in playbook as seeds, and add the current-person anchor to the query model. The task type does not change: no new status and no new relationship. This repository's own development process is not changed here; it moves when the repository moves onto NodeSpace (#3712).

  • A skill for creating a standalone task, from triage, found whenever an agent is about to record work that did not come from a spec:
    1. Check two things in the graph and the code: is it already built, and was it declined before (search decisions). Say where it looked.
    2. For a bug, reproduce it from the steps before shaping anything, and say what happened.
    3. If the request is unclear, use the grilling skill (Adapt the community spec, plan-review and ticket-splitting workflows into NodeSpace planning skills #3719).
    4. Decide what it is and its size with the user. A change to code is an issue in its software project (ADR-098, Add the issue and software-project core subtypes; move the development fields off task and project #3735); anything else is a plain task. Small and clear goes straight to a brief and a checklist with no spec; big or risky gets a spec first (Adapt the community spec, plan-review and ticket-splitting workflows into NodeSpace planning skills #3719), and the issues or tasks come from splitting it.
    5. Write the brief (durable, behavioural, no file paths, explicit out of scope) and the checklist, so the task is ready when it is created. Link its project.
  • A "Needs shaping" queue as the fallback: open tasks with no checklist. These are tasks typed into the app by hand, with no agent involved. The same skill is attached to the queue, and the implementing skill uses it first when the user hands it a task with no checklist.
  • A question is a task (ADR-099): when work cannot go on without a person's answer, the skill creates a task holding the question, assigned to the person who owes the answer (the creator of the stopped task when nobody is named), in the same project, and links the stopped task blocked_by it. The stopped task keeps its status and assignee. Ready tasks already leaves out a task with an unfinished blocker.
  • Answering: the answer is recorded on the question task as the answering person's, and the question task is completed. The stopped task is ready again by the existing blocker rule; nothing is restored and no Play is needed.
  • A "Waiting on you" queue: open tasks assigned to the reader that block another task. The reader is named by the current-person anchor, a relationship filter with anchor: "current_person" in place of node_id, resolved to the local person each time the query runs (components/query-node.md, "The current person"). The seed is the same in every database.
  • The case this serves: you assign a task to a teammate, they need more information, they create a question task for you and the task is blocked on it, it stays theirs, you answer from your queue, and it is ready again for them.
  • No marker for "an agent's" or "a person's" task. Who does the work is not fixed: a person may do a task themselves or have an agent do it with them. An agent does not help itself to work. The user starts a session on something, and the agent can run Ready tasks to say what is ready and what has the highest priority, then waits for the user to choose (Adapt the community implement and review workflows into NodeSpace delivery skills: test-first, review by a separate session, a decision per finding #3720). So a task such as "discuss the pricing plan" needs nothing on it to keep an agent away.
  • The agent still puts the question to the user. When an agent reaches a question task assigned to a person, or reaches a point in any procedure where the user must answer (approving a spec, confirming granularity, choosing between options), the skill has it present the question to the user in the grilling form and wait, then record the answer on the question task as the user's. An agent acting on the user's behalf does not answer for them. This is by convention, like spec approval: core has no access control, so nothing prevents it.
  • A declined request is a decision: the task is cancelled and a decision node records what will not be done and why, so the check in step 1 finds it next time. A request that turns out to be already built is not created; the agent says where it lives.

Documentation

  • ADR-098 - development work is an issue in a software-project; a plain task and project carry no development state
  • ADR-092 §4 to §8 - the project and its repository, task status, the decision type and its statuses, Ready tasks, the seeded queues and skills
  • ADR-094 "The shipped workflow" - a stage is a status value and a queue; a procedure is a skill attached to the queue
  • ADR-093 §4 - a checkout belongs to a project, and queues are narrowed to it
  • ADR-099 - the decision: a question is a task assigned to the person who owes the answer and blocks the stopped task; the queue; an agent asks but does not answer
  • Query node - the current-person anchor
  • ADR-097 §5 and §6 - what is the user's by convention; a task with no spec is an ordinary to-do
  • Updates: ADR-099 and the anchor section of components/query-node.md are on nodespace-docs main. With the code: ADR-092 §7 and §8 (the queues and the skill) and components/seeded-nodes.md.

Acceptance Criteria

  • An agent asked to record a bug, a chore or a deferred finding is given the creation skill by the skill match, and the task it creates has a brief, a checklist and its project, and appears in Ready 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
  • The skill reports whether the request is already built and whether a decision already declined it, saying where it looked
  • A bug is reproduced, or reported as not reproducible, before it is shaped
  • The skill asks the user whether the work needs a spec when it is not small and clear, and follows the spec path when it does
  • A task made by hand with no checklist appears in "Needs shaping", and the implementing skill shapes it first when handed one
  • A question task assigned to a person, with the stopped task linked blocked_by it, leaves the stopped task's status and assignee unchanged, and the stopped task does not appear in Ready tasks until the question task is finished
  • A filter with anchor: "current_person" resolves to the local person at run time in the query service, works on assignee and inside a related filter's nested filter, is refused with a node_id beside it, is refused in a Play's selector, and is stored as written; components/query-node.md describes it and a test covers each case
  • "Waiting on you" is the same seed in every database and lists the open tasks assigned to the reader that block another task
  • Completing the question task with the answer recorded as the answering person's makes the stopped task ready again with no other change; what a cancelled question does is what the existing blocker rule says, and a test pins it
  • task is unchanged: no new status, no new relationship, no new Play
  • An agent that reaches a question task, or a point where the user must answer, asks the user and records the answer as the user's; it does not answer itself
  • A declined enhancement leaves a decision node that the next similar request finds
  • What makes a task the unit of work is written down: how a parent task with sub-tasks and a task with no project show in Ready tasks today, and what the queue should do with each
  • 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/triage/SKILL.md, triage/AGENT-BRIEF.md, triage/OUT-OF-SCOPE.md
  • packages/core/src/services/query_service/core_queries.rs - the seeded queues and ready_tasks_filters()
  • packages/core/src/models/core_schemas.rs - task status and its values
  • packages/agent/src/seeds/skills/node-creation.md, implementing-a-task.md, recording-a-decision.md, skill-authoring.md

Implementation Details

  • Ready tasks today is: status open, at least one checkbox child, no unfinished blocker, no plan that is not approved, and the start would be permitted. It does not look at the assignee, and it does not tell a parent task from a leaf. A plugin narrows queues to the checkout's project. Check each of these against "one task, one branch, one pull request" before changing the query.
  • The anchor is a query-model change: the filter type, its resolution in the query service's SQL compilation (beside relative_date), the wire type, bun run gen:types output committed, and the Play selector's refusal. The ready-task and blocker rules are not changed.
  • A decision's statuses are proposed, accepted and superseded. A declined request is an accepted decision whose content says what will not be done; no new status is needed.
  • The source keeps a five-label state machine and a category label. Do not carry labels over: readiness is the Ready tasks query, and category is whatever the brief says.
  • Keep attribution with the adapted skill.

Dependencies

Related Issues

Non-Goals

  • Changing this repository's own issue skill, 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)
  • Access control over who may answer or approve
  • A task type or a marker that says a task is for an agent, and agents taking work unattended: if unattended runs are wanted later, what may be taken without the user is decided then
  • Requests filed by outside reporters, and external pull requests
  • Notifying a person outside NodeSpace that something is waiting on them

Activity

  1. added
    enhancement
    on Oct 11, 2026
  2. changed the title [-]Adapt the community triage workflow: an intake queue, and tasks that wait on a person[/-] [+]Shape a standalone task when it is created, and let a task wait on a person[/+] on Oct 11, 2026
  3. changed the title [-]Shape a standalone task when it is created, and let a task wait on a person[/-] [+]Shape a standalone task when it is created, and let a task wait on an answer[/+] on Oct 11, 2026
  4. changed the title [-]Shape a standalone task when it is created, and let a task wait on an answer[/-] [+]Shape a standalone task when it is created, and let a task wait on a person (waiting status and waiting_on)[/+] on Oct 11, 2026
  5. self-assigned this
    on Oct 12, 2026
  6. malibio commented on Oct 12, 2026

    @malibio
    CollaboratorAuthor

    Frontend: 324 files, 5895 tests passed

  7. added 2 commits that reference this issue on Oct 12, 2026
    2927726
    c32f834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backendenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions