Skip to content

Work streams and the three flows

The procedure is the workflow:workstream (plugins/workflow/skills/workstream/SKILL.md) skill. This page is the model behind it.

Streams, epics, sub-issues

  • A work stream is a group of epics that together deliver one part of the product. A repository may list its streams on the page that its workflow table names under Process page.
    • This repository has none (Process page: none) and defines no work streams. None of its epics carries a marker; they are grouped by milestone.
    • The plugin still expects that page in Notion, outside the repository. Reading it from the repository instead is a proposed change of the workflow plugin, because this process is written only in git.
  • An epic is a GitHub issue titled [Epic] … and labelled epic. In a repository with work streams, its body starts with **Work stream <X> — <name>**, epic <n> of <m>. Its spec lives in the repository as docs/specs/<issue>-<short-name>.md, its plan as docs/plans/<issue>-<short-name>.md.
  • A sub-issue is one pull request's worth of an epic: [Feature] for a slice of the capability, [Task] for an ADR or a test flow. It is linked to the epic as a GitHub sub-issue, and is never an [Epic]. All kinds and how they nest: work-items.md.
  • An epic stays one issue unless its plan needs more than one pull request. Then it is split along what can be merged on its own. The ADR is always alone, since its pull request is the owner's.

Three things place an epic, and each fact has one home that no other mirrors:

  • the marker, the stream line at the top of the epic's body, says which stream it belongs to;
  • a milestone carries a dated goal across epics of one repository.
    • It gets one [Spec] issue that links its milestone spec, under the milestone model of 2026-11-23. The anchor epic of #676 is superseded; the skills still use it until the model's build order replaces it.
    • A sub-issue does not inherit its epic's milestone. So coordinator candidates --milestone <title> takes the milestone's issues and the sub-issues of its epics.
  • the Board, the repository's GitHub project, owns Status and order. The owner sets them. The tools only read the Board, which needs read:project on the token (plugins/workflow/reference/workflow-section.md).

Without a readable Board, order and status are read from the artifacts: is there an issue, a spec, a mockup, a review, a plan, a merged pull request, a hand-over comment? The skill places each epic at the first piece of evidence that is missing, and takes that step.

The three flows

Flow Ends with Human gate
Requirements—brainstorm, issue, spec with testable AC-n, mockups where there is UI, review loop, blockers an epic that can be built the owner approves the spec (Status = Ready, or the owner's merge of the spec)
Implementation—plan, split if needed, build test first, gate, pull request, follow-up issue for what was assumed a green, merged pull request per sub-issue the owner consents to each merge
Test—test cases per AC-n, automated tests named after the criterion, evidence, hand-over a comment on the epic: criterion → test case → test → evidence the owner tests by hand

The test flow does not wait. Its test cases can be written as soon as the acceptance criteria exist, and the implementation uses them as its TDD targets. It may run in a session of its own.

Reviews in the requirements flow come from a subagent with a fresh context. It checks the spec against the repository's spec inputs and design reference. The findings go into one issue comment, the owner decides, the spec changes, and the review runs again until nothing is open.

Mockups are clickable HTML for a screen and example input/output tables for a backend epic, with synthetic data only.

What each step uses

The flows are built on the superpowers skills:

  • brainstorming for R1 and the design;
  • writing-plans for the plan;
  • test-driven and subagent-driven development for the build;
  • the code-review pair for review loops;
  • verification-before-completion for every "done".

Where superpowers and a repository disagree, the repository's CLAUDE.md and the workflow skills win: plan location, branch name, commit format, who merges.

Stop and report

A step stops when it needs something that is not there: a token scope, a subscription, a secret, a hosting setting. The run says exactly what is missing and who can provide it. It leaves its claim with a comment, so the next session can continue.