storkit: done 422_story_unblock_command_to_reset_blocked_stories

This commit is contained in:
dave
2026-03-28 09:08:02 +00:00
parent bc3c852509
commit 05db012aaf
2 changed files with 22 additions and 22 deletions
@@ -1,22 +0,0 @@
---
name: "Auto-schedule timer on rate limit to resume after reset"
---
# Story 423: Auto-schedule timer on rate limit to resume after reset
## User Story
As a ..., I want ..., so that ...
## Acceptance Criteria
- [ ] When a rate_limit_event with a hard block (not just allowed_warning) is received from the PTY stream, parse the reset time from rate_limit_info
- [ ] Automatically create a timer (via TimerStore from story 421) for the blocked story at the parsed reset time
- [ ] If a timer already exists for that story, update it to the later reset time rather than creating a duplicate
- [ ] Log the auto-scheduled timer with story ID, agent name, and scheduled resume time
- [ ] Notify chat transports that the story was rate-limited and will auto-resume at the scheduled time
- [ ] When the timer fires and restarts the agent, the existing worktree and committed work are preserved
## Out of Scope
- TBD
@@ -0,0 +1,22 @@
---
name: "Unblock command to reset blocked stories"
---
# Story 422: Unblock command to reset blocked stories
## User Story
As a ..., I want ..., so that ...
## Acceptance Criteria
- [ ] Bot command `unblock <story_id>` clears blocked flag and resets retry_count to 0 on the story front matter
- [ ] Replies with confirmation including story ID and name
- [ ] Returns clear error if story is not found or not blocked
- [ ] Works from all transports (Matrix, WhatsApp, Slack)
- [ ] Exposed as an MCP tool so agents can unblock stories programmatically
- [ ] Works as a slash command in the web UI
## Out of Scope
- TBD