---
name: "Dev process README documents wrong pipeline stages"
---

# Bug 164: Dev process README documents wrong pipeline stages

## Description

The `.story_kit/README.md` still documents a 5-stage pipeline ending at `5_archived`, but the actual code uses a 6-stage pipeline: `5_done` → `6_archived` (with a 4-hour auto-sweep). Additionally, `server/src/http/agents.rs` references `5_archived` which doesn't exist on disk.

## How to Reproduce

1. Read `.story_kit/README.md` — it references `5_archived` throughout
2. Run `ls .story_kit/work/` — actual directories are `5_done/` and `6_archived/`
3. Grep for `5_archived` in `server/src/http/agents.rs` — stale references exist

## Actual Result

README documents 5 stages ending at `5_archived`. Code in `agents.rs` references `5_archived`. Neither matches the real directories (`5_done/`, `6_archived/`).

## Expected Result

README documents the actual 6-stage pipeline (`1_upcoming` → `2_current` → `3_qa` → `4_merge` → `5_done` → `6_archived`) including the 4-hour auto-sweep behavior. Code references match real directory names.

## Acceptance Criteria

- [ ] README.md pipeline diagram and all references updated from `5_archived` to `5_done` + `6_archived`
- [ ] README documents the auto-sweep from `5_done` to `6_archived` after 4 hours
- [ ] Stale `5_archived` references in `server/src/http/agents.rs` fixed to use correct directory names
- [ ] All tests pass after changes
