Skill: Debug Tracing
Localize behavioral drift by instrumenting deterministic pipeline boundaries.
Where to trace first
- •Request normalization and hash generation.
- •Candidate retrieval (Gorse adapter).
- •Policy evaluation (GoRules adapter).
- •Final ranking and tie-breaker stage.
- •Replay retrieval and serialization path.
Workflow
- •Add temporary structured logs at stage boundaries.
- •Capture trace IDs and compare expected vs actual ordering.
- •Identify first divergence point.
- •Remove or downgrade temporary logs after root cause is validated.
Output
- •Root-cause note tied to ticket ID.
- •Regression test added when bug is fixed.