story-kit: queue 165_bug_pipeline_log_message_says_archived_instead_of_done for merge

This commit is contained in:
Dave
2026-02-24 18:36:25 +00:00
parent 5458530488
commit 41fee76429

View File

@@ -1,27 +0,0 @@
---
type: bug
title: Pipeline log message says "archived" instead of "done"
---
# Bug 165: Pipeline log message says "archived" instead of "done"
## Description
When a story completes the merge stage and moves to `5_done/`, the server log message says:
```
[pipeline] Story 'xxx' archived. Worktree preserved for inspection.
```
It should say "done" instead of "archived" since story 151 renamed the stage from `5_archived` to `5_done` (with `6_archived` as the time-based auto-promotion target).
Grep for log messages referencing "archived" in the pipeline/agent code and update them to say "done" where they refer to the `5_done` stage.
## Key files
- `server/src/agents.rs` — likely `move_story_to_archived` or the pipeline advance logic where the log message is emitted
## Acceptance Criteria
- [ ] Log message says "done" instead of "archived" when a story moves to `5_done/`
- [ ] All tests pass