Sprint 2 Kickoff: Automations Foundation (R1, R2, R6) - #9
Draft
jacobprall wants to merge 3 commits into
Draft
Conversation
…ding, builder UI - Mark R1, R2, R6 as [IN SPRINT] in requirements backlog - Update sprint-context.md with Sprint 2 phase and goals - Create .marathon/sprints/002/ directory - Produce spec.md via speckit-specify: user stories, functional requirements, success criteria, edge cases, and clarifications for the automation foundation Co-authored-by: Jacob Prall <prall.jacob@gmail.com>
…natives - Produce clarifications.md: 10 ambiguities resolved, 3 gaps identified, 1 contradiction found, 5 alternative implementations evaluated - Remove backward compatibility constraint per user direction - Refactor InboundRouter to multi-match (evaluate-all) architecture - Revise FR-007/008/009 to reflect unified routing approach - Add automation timeout, cooldown, and error state fields - Decide: single-page form (not wizard), cron-parser lib, polling scheduler Co-authored-by: Jacob Prall <prall.jacob@gmail.com>
- Timer fires at exact nextRunAt moment (ms precision vs 30s polling lag) - Redis pub/sub coordinates across gateway instances on automation CRUD - Atomic DB CAS (compare-and-swap on next_run_at) for at-most-once - 5-minute safety-net fallback for missed pub/sub events - SC-001 tightened: fires within 1s (was 60s) Co-authored-by: Jacob Prall <prall.jacob@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sprint 2 Kickoff + Specification + Clarification
Initializes Sprint 2 of the Marathon-driven development cycle, targeting Milestone 2 (Automations).
Selected Requirements
Artifacts Produced
.marathon/sprints/002/spec.md.marathon/sprints/002/clarifications.mdKey Architecture Decisions
cron-parserlibrary for cron expression validation + next-run calculationactive/paused/error(auto-error after 3 consecutive failures)Sprint Goals
Sprint 2 delivers the automation foundation: a persistent automation entity with cron/schedule triggers that fire unattended agent sessions, GitHub/GitLab event bindings via a refactored InboundRouter with multi-match dispatch, and a web UI scaffold (list + create flow) for managing automations.
Next Steps (Sprint DAG)
specify✅clarify✅