$ detrix run --pipeline xrd-analysis --input scan_117.xy
✓ step/load-data executed (0.2s)
✓ step/preprocess executed (0.9s)
✓ gate/metrology ACCEPT · peak_count: 14, snr: 42.3
✓ step/retrieve executed (1.8s)
✓ step/score executed (0.4s)
✓ gate/confidence ACCEPT · confidence: 0.94, ece: 0.02
✓ step/refine executed (12.1s)
✓ gate/refinement ACCEPT · R_wp: 4.2%, GoF: 1.3
✓ step/report executed (0.6s)
Run complete · 5 steps, 3 gates passed · Verdict: ACCEPT
Phase: α-Al₂O₃ (94.2%) + SiO₂ (5.8%) · R_wp: 4.2%
Trace admitted → replay queue · .detrix/traces/r-117.jsonl