Pipeline Stages

Work items move through six stages from idea to archive. Huskies keeps each project's work items and their stages in its pipeline store; you move them from the board, in chat, or by asking Claude.

1
Backlog
New work items awaiting prioritisation. Stories sit here until you decide to start them.
2
Current
Work in progress. Run start <number> to assign a coder agent. Multiple stories can be in current simultaneously (up to max_coders).
3
QA
Quality review. The server automatically moves stories here when the coder agent passes all quality gates. A QA agent (or a human) verifies each acceptance criterion.
4
Merge
Ready to merge. Stories reach here after QA approval. Run start <number> to trigger the mergemaster agent, which squash-merges to your base branch.
5
Done
Merged and complete. The mergemaster moves stories here after a successful merge. Auto-swept to archive after 4 hours.
6
Archived
Long-term storage. Stories land here automatically from done. Use overview <number> to see the implementation summary for any archived story.

Work item types

All work item types move through the same pipeline. They differ in what they ask for:

TypeWhen to use
storyNew functionality. Requires acceptance criteria and tests.
bugDefect in existing functionality. Write a failing test first.
spikeTime-boxed research to reduce uncertainty. No production code.
refactorCode quality improvement. Behaviour must not change.

What a work item holds

Every work item has a short name, a description of what is wanted and why, and a list of acceptance criteria — the checks that say it is done. Use show <number> in chat to read one. For example:

Add login endpoint

As a user, I want to log in with email and password so that I can access my account.

Acceptance criteria
- [ ] POST /auth/login accepts email and password
- [ ] Returns a JWT token on success
- [ ] Returns 401 on invalid credentials
- [ ] Rate-limited to 5 attempts per minute per IP

Acceptance criteria tracking

The coder checks off each criterion as it completes it, with evidence: a changed file the criterion names, or a passing test. The QA step reviews each criterion against the code diff; criteria that fail are noted in the QA report.

Golden rule: No code is written until acceptance criteria are captured in the story. The agent reads the story to understand what to build and what to test.

Live updates

Every stage move is recorded in the project's pipeline store and pushed to the board straight away, so the board updates in real time without a manual refresh, and chat rooms hear about the moves that matter.

Blocked stories

A story is marked blocked when it fails the same pipeline stage more than max_retries times (default: 3). Blocked stories require manual intervention:

  1. Run status <number> to see the failure log.
  2. Fix the underlying issue (update the story, fix a build problem, etc.).
  3. Run unblock <number> to reset the retry counter.
  4. Run start <number> to try again.

Dependencies

Stories can declare dependencies using the depends command. A story with unresolved dependencies waits in Current until all its dependencies are Done.

depends 45 42 43   # story 45 waits for 42 and 43 to finish
depends 45          # clear all dependencies