Story Implementer With Tests
Inputs
- •Active backlog story with acceptance criteria and dependencies.
- •Refined requirements context.
- •Current project snapshot.
- •Verification command set.
Outputs
- •Safe file operations for the active story.
- •Updated tests and code.
- •Story result (
completedorfailed) with attempt history. - •Journal and sprint-log records.
Procedure
- •Select dependency-satisfied pending stories only.
- •Build story-specific prompts with template id/version and prior failure feedback.
- •Generate strict JSON file operations and apply them with workspace path safeguards.
- •Run story verification commands (and generated lightweight checks when needed).
- •If checks fail, capture failing signals and retry with bounded attempts.
- •Mark story completed only when checks pass and acceptance criteria are satisfied.
- •Persist backlog, progress, sprint log, and prompt journal artifacts.
Success Criteria
- •Each completed story passes verification commands and acceptance checks.
- •Failures produce bounded retries with focused fixes.
- •Journaling is append-only and redacted.
- •No dependency violations in sprint selection.
Safety Notes
- •Never execute unsafe commands.
- •Never store secrets in logs, journals, or generated artifacts.
- •Never perform unrelated refactors during a fix loop.