From 90cf19e9b3955a30f039348b6f6f7bb6bde09917 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 24 Feb 2026 18:30:27 +0000 Subject: [PATCH] story-kit: create 165_bug_pipeline_log_message_says_archived_instead_of_done --- ...g_message_says_archived_instead_of_done.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .story_kit/work/1_upcoming/165_bug_pipeline_log_message_says_archived_instead_of_done.md 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