storkit: create 421_story_timer_command_for_deferred_agent_start

This commit is contained in:
dave
2026-03-28 08:35:41 +00:00
parent c1e4c40f31
commit bc1c1cd2c9
@@ -15,7 +15,7 @@ As a ..., I want ..., so that ...
- [ ] Bot command `timer cancel <story_id>` removes the pending timer for that story - [ ] Bot command `timer cancel <story_id>` removes the pending timer for that story
- [ ] Timers are persisted to .storkit/timers.json so they survive server restarts - [ ] Timers are persisted to .storkit/timers.json so they survive server restarts
- [ ] A 30s tick loop (tokio task, same pattern as watchdog) checks for due timers and calls start_agent when triggered - [ ] A 30s tick loop (tokio task, same pattern as watchdog) checks for due timers and calls start_agent when triggered
- [ ] When a timer fires, the story is moved from backlog to current if not already there - [ ] When a timer fires, the story must already be in current — timer does not move stories between stages
- [ ] Fired timers are removed after execution (one-shot, not recurring) - [ ] Fired timers are removed after execution (one-shot, not recurring)
- [ ] Multiple timers for the same time are supported and respect agent slot contention via auto-assign - [ ] Multiple timers for the same time are supported and respect agent slot contention via auto-assign