Work items¶
A work item is a GitHub issue: the unit the process plans, claims, builds and closes. This page says:
- which kinds there are, and how they nest;
- how a kind travels from title prefix to label to commit type;
- which states an issue passes through, and the status that shows where it stands.
It describes the process as it runs today, then the changes of epic #676 and question #677. A point the owner has not decided yet is marked proposed and links its question on the decision page of #677. The open points are listed at the end.
The diagrams follow the convention of this section: green exists, blue is planned or proposed.
Kinds¶
Personal repositories have no GitHub issue types, so an issue's kind is written twice: as the
title prefix and as a type label. Other labels (priority:*, needs:*, agent:*) come on
top of the type label, never instead of it.
| Prefix | Label | For | Status |
|---|---|---|---|
[Epic] |
epic |
a group of issues that together deliver one outcome; split into sub-issues when its plan needs more than one pull request | exists |
[Feature] |
feature |
a new capability, or a slice of one | exists |
[Bug] |
bug |
something that exists and does not behave as specified | exists |
[Task] |
task |
everything else: an ADR, a test flow, tooling, a guide, hardening, a follow-up | exists |
[Question] |
question |
an investigation that ends in the owner's decisions, not in code (work-on (plugins/workflow/skills/work-on/SKILL.md)) |
exists in workflow:intake and workflow:work-on; proposed for the type table and the label script (w3) |
[Epic] Goal: … |
goal + epic |
a product goal across milestones; used in aise-feecheck-poc only | proposed as an optional kind a repository may use (w5) |
- No
[Enabler]. SAFe separates enablers (architecture, infrastructure, tooling) from features. Here[Task]stays the catch-all: no tool or board filters on such a kind, and one more type is one more choice per issue. Proposed (w2). - Where the table lives. Today aise-feecheck-poc's
docs/guides/agent-collaboration.mdcalls itself the single copy.scripts/tools/create-github-labels.shcreatesepic,feature,bugandtask, but notquestion. Proposed: a reference in theworkflowplugin,plugins/workflow/reference/work-items.md, becomes the one table. A repository overrides rows through anIssue typeskey of its workflow table (#682) (w6).
Hierarchy¶
flowchart TB
goal["Goal epic<br/>[Epic] Goal: …, optional"]
stream["Work stream<br/>marker line in the epic"]
ms["Milestone<br/>due date"]
anchor["Anchor epic<br/>links the outcome spec"]
spec["Outcome spec<br/>parts, MAC-n, close review"]
epic["Epic<br/>[Epic]"]
feat["[Feature]"]
bug["[Bug]"]
task["[Task]"]
part["Part issue<br/>one per needed part"]
q["[Question]<br/>stands alone"]
goal -. "lists by reference" .-> anchor
stream --> epic
ms --> anchor
ms --> epic
anchor -. "links" .-> spec
anchor --> part
epic --> feat
epic --> bug
epic --> task
q -. "follow-ups after the owner answers" .-> task
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
class stream,ms,epic,feat,bug,task,q built
class goal,anchor,spec,part planned
| Colour | Meaning |
|---|---|
| green | exists |
| blue, dashed | planned or proposed (#676, #677) |
| solid arrow | contains: a GitHub sub-issue, or an issue in the milestone or the stream |
| dotted arrow | a link by reference, not a GitHub sub-issue |
Today. Three things place an epic, each in one home
(work-streams.md): the stream marker in its body, the
milestone, and the repository's Board. A milestone may hold several epics. An epic's sub-issues are
[Feature], [Bug] or [Task], linked as GitHub sub-issues
(issue-relationships.md). A sub-issue is never [Epic]. A [Question]
stands alone; its follow-ups are filed after the owner answers.
Changes (#676). Superseded on 2026-11-23 by the milestone model: one
[Spec] issue per milestone instead of an anchor epic. The skills still find the anchor epic as
described below until the model's build order replaces it.
- Anchor epic—decided in #676, superseded on 2026-11-23 (see the note above). Every milestone has one anchor epic: an
[Epic]in the milestone whose body links the milestone's outcome spec and summarises it. The milestone description carries aSpec: <path>line. The owner chose this during the intake of #676. - Finding the anchor—exists in the preflight (#617), and is the working default of #678 and
#681. The anchor is the milestone's
epicissue whose body links<spec dir>/<own number>-<slug>.md, else the milestone's onlyepicissue. Two candidates are reported, never picked. - Part issues—planned (#678, #679). The anchor epic is the parent of one issue per part that the outcome spec marks "needed" (milestones.md).
- Other epics of the milestone—proposed: they stay siblings of the anchor epic in the
milestone, and the outcome spec lists them; the "never
[Epic]as a sub-issue" rule stays (w1-other-epics). - Goal epic above the anchor—proposed: a goal epic lists anchor epics by reference, not as sub-issues, so the rule needs no exception (w1-goal-anchor).
- A milestone of one issue—proposed: no anchor epic; the single issue links a short
spec with the parts checklist,
MAC-nand the close review, and the lookup rule gains "else the milestone's only issue" (w8).
Prefix, label and commit type¶
The commit that closes an issue names it in its scope, type(#n): …, after
Conventional Commits. Today no rule ties the
commit type to the issue's kind, and nothing checks that the prefix and the label agree.
The result page of #677 (2026-11-10) counted 119 commits of this repository that name an issue. On
[Task] issues, 13 were feat and 10 fix; on [Bug] issues, 14 were chore or refactor.
The count depends on the window, but the pattern holds: one issue takes several commits, and each
says what its change does.
| Kind | Label | Suggested commit type (proposed) |
|---|---|---|
[Epic] |
epic |
none: a split epic is closed through its sub-issues; an unsplit one takes the type of its change |
[Feature] |
feature |
feat |
[Bug] |
bug |
fix |
[Task] |
task |
none |
[Question] |
question |
none: a question task makes no commits |
- Proposed: the commit type and the issue kind stay independent axes.
git-flow:commitsuggests the default above, and neither warns nor refuses (w4). #682 as filed has a different working default, and follows whatever w4 decides: afeat/fixmismatch warns,[Task]allows any type, and[Question]maps todocs. - Planned (#682):
gh-issues checkrefuses a plan entry whose title prefix and type label disagree, or whose prefix is unknown; the issue tree carries the commit types per node.
Life cycle of an issue¶
The state of an issue is read from GitHub—its status, its labels, its claim comment, its pull request—never from a file, so a coordinator on another machine reads the same state (parallel-work.md).
stateDiagram-v2
state "Filed" as filed
state "Needs intent" as needs_intent
state "Ready" as ready
state "Pre-approved<br/>owner:approved" as preapproved
state "Reserved<br/>agent:reserved" as reserved
state "On hold<br/>agent:hold" as hold
state "Claimed<br/>agent:claimed" as claimed
state "Waits for the owner<br/>needs:human, human:*" as owner
state "Parked<br/>agent:parked" as parked
state "Pull request open" as pr
state "Green" as green
state "Merged and closed" as merged
state "Answered<br/>question:answered" as answered
[*] --> filed: intake, owner's yes
filed --> needs_intent: body misses intent sections
filed --> ready: body passes intake_check
needs_intent --> ready: intake completes the body
needs_intent --> claimed: started anyway
ready --> hold: owner holds it
hold --> ready: hold lifted
ready --> reserved: owner orders it for later
reserved --> claimed
ready --> preapproved: owner pre-approves
preapproved --> claimed
ready --> claimed: coordinator starts a worker
claimed --> owner: worker asks a decision page question
owner --> claimed: answers read back
owner --> claimed: working assumption
owner --> parked: no answer for 50 minutes, no assumption
claimed --> parked: broken, cannot be fixed now
parked --> claimed: resumed
claimed --> pr: pr_open
pr --> green: CI green, AI review judged
green --> pr: fix round
green --> merged: merge by the merge label
owner --> answered: question task, answers applied
answered --> [*]
merged --> [*]
classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
class filed,needs_intent,ready,reserved,hold,claimed,owner,parked,pr,green,merged,answered built
class preapproved planned
| Colour | Meaning |
|---|---|
| green | exists |
| blue, dashed | planned: owner:approved (#619) |
-
Ready is the readiness that
coordinator candidatesreports (#641):readywhen the body passesintake_check.py;needs_intent, with the missing sections;not_buildablefor a review follow-up with nothing to build.
Readiness ranks and informs; it never makes an issue ineligible. A coordinator may start a
needs_intentissue. -
Pre-approved is planned (#619). The owner labels an issue
owner:approved, and the coordinator may then merge itsneeds:owner-approvalpull request without waiting for an Approve review.- The label counts only while its most recent
labeledevent was made by the repository owner's login. That is checked again at every merge check. - It never covers a path CODEOWNERS still lists, a breaking change, a
needs:owner-mergepull request, a pull request from a fork, or an issue labelled after its pull request was opened by someone else's login. - Until it lands, the consent rule of decisions.md holds unchanged.
- The label counts only while its most recent
- Waits for the owner carries
needs:humanand one kind:human:decide,human:review,human:approveorhuman:do. The question sits in the issue's Open questions section, with a recommendation, and is asked in a session; never only in a comment. - Working assumption: a question of an allowed kind has had no answer for 50 minutes. The
coordinator then records a working assumption instead of parking:
needs:humancomes off,assumption:opengoes on, and the worker goes on. The owner reviews the assumption later (plugins/workflow/skills/coordinator/autonomy.md). Without one, the task is parked. - Green → merged goes by the pull request's merge label: the coordinator merges
merge:agent, mergesneeds:owner-approvalafter the owner's Approve, and leavesneeds:owner-mergeto the owner (quality-gate.md).
Status of an issue¶
Where a task stands is GitHub's own issue status (#1072), shown on the issue and searchable:
status:Todo, status:"In review". The owner filters a milestone by status to see what is ready
and what waits for them. Labels stay for who must act (needs:human with its kind,
needs:owner-approval, needs:owner-merge), how a pull request merges (merge:agent) and
no-docs.
| Status | Means | Set by |
|---|---|---|
| Backlog | not in an approved milestone, or a question is open | the agent that files it; a worker that asks the owner a question |
| Todo | in an approved milestone, every question answered | the agent, once the last question is answered |
| In progress | an agent works on it | the agent, when it starts |
| In review | its pull request is ready and waits | the worker, when the pull request is ready |
| Done | merged | GitHub, by itself, when a pull request that closes the issue merges |
| Not planned, Duplicate | closed for that reason | whoever closes it |
- How an agent sets it:
coordinator issue-status <n> <Backlog|Todo|In progress|In review>, one REST call (PATCH /repos/{owner}/{repo}/issues/{n}with the status name).coordinator startsetsIn progressitself after its claim settles. A refusal is a warning: the work goes on, because the labels still say who holds the issue. - State labels.
agent:claimed,agent:reserved,agent:parked,agent:holdandassumption:openare whatcoordinatorreads; they stay until it reads the status instead. The milestoneStatus:line belongs to the superseded milestone model: a milestone of the simple workflow (milestone 24) has no status of its own, and its issues carry the status.
Open decisions¶
The owner's questions of #677, all on its decision page. This page writes the recommended answer as proposed.
| Id | Question | Recommended |
|---|---|---|
| w1-other-epics | How does the anchor epic relate to the milestone's other epics? | siblings in the milestone; the outcome spec lists them |
| w1-scope-due | Where do the milestone's scope and due date live? | due date on the milestone, scope in the outcome spec, the anchor epic only links |
| w1-goal-anchor | How does a goal epic relate to an anchor epic? | it sits above and lists anchor epics by reference |
| w2 | Keep [Task] as the catch-all, or add [Enabler]? |
keep [Task] |
| w3 | Do the type table and the label script adopt [Question]? |
yes: a fifth row, and the script creates question |
| w4 | Does the commit type follow the issue type? | independent axes; git-flow:commit only suggests |
| w5 | Does the reference adopt the goal epic? | as an optional kind |
| w6 | Where is the single copy of the type table? | plugins/workflow/reference/work-items.md; aise's guide links to it |
| w7 | In which form is the decision recorded? | an entry in decisions.md |
| w8 | What does a milestone of a single issue need? | no anchor epic; the issue links a short spec |