story-kit: queue 89_story_persistent_per_session_agent_logs for QA

This commit is contained in:
Dave
2026-02-23 20:40:24 +00:00
parent b46a72730c
commit 1366f64c3d

View File

@@ -1,21 +0,0 @@
---
name: "Persistent per-session agent logs"
---
# Story 89: Persistent per-session agent logs
## User Story
As a user, I want each agent session to write its output to a persistent log file so I can inspect what an agent did after it completes, even across server restarts.
## Acceptance Criteria
- [ ] Each agent session writes output to a log file at .story_kit/logs/{story_id}/{agent_name}-{session_id}.log
- [ ] Log files persist across server restarts and agent completions
- [ ] The get_agent_output MCP tool falls back to reading the log file when the in-memory stream is empty or the agent has completed
- [ ] Log files include timestamps, tool calls, text output, and status events
- [ ] Different sessions for the same agent on the same story produce separate log files (no mixing)
## Out of Scope
- TBD