---
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
