---
name: "Make watcher sweep interval configurable via project.toml"
---

# Story 201: Make watcher sweep interval configurable via project.toml

## User Story

As a developer, I want to configure the watcher sweep interval and done-retention period in project.toml, so that I can tune how quickly stories are promoted to archived based on my team's workflow.

## Acceptance Criteria

- [ ] project.toml supports optional sweep_interval_secs and done_retention_secs fields (with sensible defaults matching current hardcoded values: 60s and 4h)
- [ ] The watcher reads these values at startup and uses them for SWEEP_INTERVAL and DONE_RETENTION
- [ ] Changing project.toml hot-reloads the sweep config without restarting the server
- [ ] Existing tests pass and new unit tests cover default and custom config values

## Out of Scope

- TBD
