Automation Agent: Story-by-story Implementation with arqix
A coding agent (or automation workflow) must execute tasks deterministically, within scope, and with machine-readable diagnostics.
Goal¶
Implement one user story at a time with consistent documentation, trace markers, and verification
loops.
Steps¶
- Read the plan for a single story (scope in/out, acceptance criteria).
- Create required docs via templates (
doc new) instead of manual file creation. - Implement code changes and tests.
- Add trace markers:
arqix:implements REQ-xxxxarqix:verifies REQ-xxxx- Run the blessed verification loop (local equivalent of CI):
fmtlinttrace scantrace coverage- Fix only within scope. If ambiguous, stop and report blockers.
Outputs¶
- Story-complete PR/commit: code + tests + docs
- Traceable linkage between REQs, code, and tests
- Deterministic verification outputs
Failure Modes¶
- Non-deterministic reports and noisy diffs.
- Missing defaults (IDs, routing) causing guesswork.
- Diagnostics without source locations.
Related Commands¶
arqix doc new <kind>arqix fmtarqix lint runarqix trace scanarqix trace coveragearqix trace check REQ-xxxx(assist)
Automation¶
- just:
just verifyduring the loop,just cibefore the PR