Skip to main content

Agent Run

Flagship chimera: full autonomous issue cycle in one command.

Usage

tri agent run <issue-number>

8-Step Sequence

StepCommandDescription
1issue viewFetch issue title and body
2experience recallCheck for related past episodes
3spec createCreate .tri spec from issue
4genGenerate Zig code from spec
5verifyRun tests
6verdictToxic verdict check
7experience saveRecord episode with results
8git commitCommit with issue reference

Behavior

  • Each step calls existing handler functions directly (no subprocess)
  • Failures at steps 3-6 save episode with verdict=FAIL
  • Success saves with verdict=PASS and learnings
  • Non-fatal steps (experience recall) continue on failure
  • Summary shows step-by-step results with OK/FAIL

Example

tri agent run 42
# 🤖 AGENT RUN — Issue #42
# [1/8] Issue view... OK
# [2/8] Experience recall... OK
# [3/8] Spec create... OK
# ...
# Result: PASS