Incident To Regression
Execute this workflow to transform an observed run into repeatable CI checks.
Workflow
- •Resolve source run artifact:
- •use
<run_id>or<runpack_path>
- •use
- •Initialize fixture deterministically:
- •
gait regress init --from <run_id_or_path> --json
- •
- •Parse and report:
- •
ok,run_id,fixture_name,fixture_dir,config_path,next_commands
- •
- •Run regression suite:
- •
gait regress run --json
- •
- •If CI output is requested, add JUnit:
- •
gait regress run --json --junit junit.xml
- •
- •Return concise summary:
- •source run
- •fixture path
- •pass/fail status
- •failed graders count
- •output paths
Safety Rules
- •Keep replay deterministic defaults.
- •For replay workflows, prefer
gait run replay(stub mode default); require explicit unsafe flags for real tool replay. - •Do not pass
--allow-nondeterministicunless explicitly requested. - •Treat non-zero regress run exits as regressions, not soft warnings.
Determinism Rules
- •Always run
regress initbeforeregress runfor new incidents. - •Always consume
--jsonoutput fields for decisions. - •Keep fixture names stable and explicit when user provides naming constraints.