Workstream guide
How substantial work is structured, tracked and closed. A workstream (the
records also say "track") is what the Station WORK standard calls a job; this
guide adds the lifecycle and the definition of done this repository holds it
to. Supersedes workstream.txt (archived 2026-08-13).
Applies to anything that spans more than one session or more than one PR. A one-line fix does not need a workstream; it needs a PR and a ROADMAP tick.
Location and naming
.station/jobs/NNN-slug/
NNN is zero-padded and sequential from 001. slug is lowercase kebab-case
and names the outcome, not the activity — 001-renaissance, not
001-cleanup-work. The number is never reused; a superseded workstream is
deleted, with the replacement named in the commit (ADR-0178).
Directory shape
.station/jobs/NNN-slug/
├── README.md Charter — problem, objectives, phases, deliverables
├── SESSION.md Working state in the eight WORK headings, with a Status line
├── ROUTINE.md The prompt @work receives for this job (tightens routines/job.md)
├── plans/ One file per phase or stream
├── decisions/ Decisions made here; consequential ones graduate to docs/decisions/
├── reports/ Findings, assessments, CLOSE.md
└── evidence/ Logs, measurements, verification runs, screenshots
README.md and SESSION.md are required from the moment the
workstream exists; station check fails a job directory without a
SESSION.md in the eight headings. The rest appear when they have content — an empty
directory is noise.
Lifecycle
DEFINE → PLAN → INVESTIGATE → IMPLEMENT → VERIFY → REPORT → CLOSE
| Phase | Produces | Done when |
|---|---|---|
| DEFINE | plans/DEFINE*.md | The problem is stated with evidence, and the outcome is stated so someone else could check it |
| PLAN | plans/*.md | Phases are ordered, each independently shippable and revertible |
| INVESTIGATE | reports/, evidence/ | Claims are verified against the repository, not inherited from documents |
| IMPLEMENT | code, in its normal location | Each phase merged with all CI gates green |
| VERIFY | evidence/verification-runs.md | The outcome is demonstrated, not asserted |
| REPORT | reports/ | What was found and what changed is written down |
| CLOSE | reports/CLOSE.md | See below |
Phases may loop. They may not be skipped silently — if INVESTIGATE is unnecessary, say so in SESSION.md.
SESSION.md
The only file that changes constantly. Keep these headings, in this order
(WORK §3; the template is
.station/modules/work-agent/templates/SESSION.md):
# Job NNN: slug
Status: ACTIVE
Owner: @work, the routine
## Objective
## Completed
## Active
## Blockers
## Decisions
## Files changed
## Verification
## Next actions
Update it at every meaningful milestone, and always before stopping. A session that ends without an updated SESSION.md has lost the thread.
Status vocabulary
One word, always from this list, in SESSION.md and in workstream
tables. Defined in documentation.md and used
identically everywhere:
| Status | Meaning |
|---|---|
PLANNED | Scoped, not started |
ACTIVE | Being worked now |
BLOCKED | Cannot proceed — the blocker is named |
DONE | Verified complete, evidence recorded |
ARCHIVED | Superseded; deleted from the tree, kept in git history |
Never "in progress", "wip", "mostly done", "complete-ish". If it is not one of the five, it is not a status.
Definition of done
A workstream closes when all of these hold. Any "yes, but" is a no.
- The outcome stated in
README.mdis demonstrably true. - Verification evidence exists in
evidence/, including any new CI gate observed failing once on a deliberately broken input. - Live E2E covers every new user-facing surface.
/ROADMAP.mdreflects what shipped — moved to DONE, ticked.- Consequential decisions are ADRs in
docs/decisions/, not comments..station/decisions/stays empty; one place per decision. reports/CLOSE.mdexists andSESSION.mdis current.- Nothing user-visible was left wired to nothing. If a control ships, it
works. Three shipped-but-dead subsystems are on record
(
AUDITS-081226.md, in git history before cfd8115); there will not be a fourth.
Verification bar
Inherited from CI and from the closed workstreams. Non-negotiable:
npm run verifyandgo vet ./... && go test ./...before every commit.- All six CI jobs green on the pull request before merge: Go, Frontend,
E2E, migration lint, OpenAPI coverage, Studio (the policy is stated once,
in
/ROADMAP.md→ Standing policy). - A live E2E spec per new surface, in
apps/web/tests/e2e-live/. - Drawer and floating-panel specs assert viewport geometry — Playwright fills and clicks clipped elements without complaining.
- Live specs assert a database read, not just rendered text.
Unattended runs
A routine run follows routine.md .station/modules/work-agent/routines/job.md — the same lifecycle,
compressed to one loop per item, with budgets and a claim protocol the
workstream's ROUTINE.md fixes.
Rules of engagement
Delete or wire, never leave. Anything found built and unconsumed is either connected or deleted.
No new hardcoded catalogue. Lists of types, categories or capabilities go
in a registry with a parity gate — following packages/link-model — not in a
const array.
One canonical place per concept. Creating a second place to define something that already has one is a defect in the new place.
Ship in revertible slices. A phase that can only merge together with the next one is two phases with a missing boundary.
Source: docs/guides/workstream.md