story-kit: done 235_story_show_agent_logs_for_a_story_in_expanded_work_item

This commit is contained in:
Dave
2026-02-28 09:33:42 +00:00
parent 10d163304f
commit c434aa3016

View File

@@ -1,40 +0,0 @@
---
name: "Show agent logs for a story in expanded work item"
merge_failure: "Merge workspace `.story_kit/merge_workspace` is still occupied by story 236's merge branch (merge-queue/236_story_show_test_results_for_a_story_in_expanded_work_item). The merge pipeline cannot create a new worktree while the existing one is present. To unblock: either wait for story 236's merge to complete, or manually clean up with `git worktree remove .story_kit/merge_workspace` and `git branch -D merge-queue/236_story_show_test_results_for_a_story_in_expanded_work_item`, then re-trigger the merge for story 235."
---
# Story 235: Show agent logs for a story in expanded work item
## User Story
As a user, I want to see agent logs for a story inside its expanded view, so that I can monitor agent progress without switching context.
## Acceptance Criteria
- [ ] Expanded work item shows recent agent log output when an agent is assigned
- [ ] Logs update as the agent produces new output
- [ ] Shows agent status (running, completed, failed)
## Out of Scope
- TBD
## Test Results
<!-- story-kit-test-results: {"unit":[{"name":"shows placeholder when no agent is assigned to the story","status":"pass","details":null},{"name":"shows agent name and running status when agent is running","status":"pass","details":null},{"name":"shows log output when agent emits output events","status":"pass","details":null},{"name":"appends multiple output events to the log","status":"pass","details":null},{"name":"updates status to completed after done event","status":"pass","details":null},{"name":"shows failed status after error event","status":"pass","details":null},{"name":"shows completed agent status without subscribing to stream","status":"pass","details":null},{"name":"shows failed agent status for a failed agent without subscribing to stream","status":"pass","details":null},{"name":"shows agent logs section (not placeholder) when agent is assigned","status":"pass","details":null}],"integration":[]} -->
### Unit Tests (9 passed, 0 failed)
- ✅ shows placeholder when no agent is assigned to the story
- ✅ shows agent name and running status when agent is running
- ✅ shows log output when agent emits output events
- ✅ appends multiple output events to the log
- ✅ updates status to completed after done event
- ✅ shows failed status after error event
- ✅ shows completed agent status without subscribing to stream
- ✅ shows failed agent status for a failed agent without subscribing to stream
- ✅ shows agent logs section (not placeholder) when agent is assigned
### Integration Tests (0 passed, 0 failed)
*No integration tests recorded.*