diff --git a/.story_kit/work/1_upcoming/165_bug_pipeline_log_message_says_archived_instead_of_done.md b/.story_kit/work/1_upcoming/165_bug_pipeline_log_message_says_archived_instead_of_done.md new file mode 100644 index 0000000..ca80bcc --- /dev/null +++ b/.story_kit/work/1_upcoming/165_bug_pipeline_log_message_says_archived_instead_of_done.md @@ -0,0 +1,27 @@ +--- +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