reelier_diff
Detect drift between two runs of a skill by comparing step outcomes, structure, and health. Reports SAME or DRIFTED with reasons for each drifted step.
Instructions
Compare two runs of the same skill and report SAME or DRIFTED — the drift-detector for a recorded baseline replayed on a schedule. Compares per-step outcomes, structure, and heal-level from .reelier/runs/.jsonl (defaults to the last two runs); data values that legitimately change run-to-run are NOT drift. Drifted steps carry why (the failing assertion). To check a MODEL upgrade: re-record the workflow with the new model, then diff against your frozen baseline — replaying a pinned skill can't reveal model changes (replay never calls a model). Honest when there aren't two runs yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory where .reelier/ lives (default: process cwd). | |
| skill | Yes | Skill name (the .reelier/runs/<skill>.jsonl stem) whose runs to compare. | |
| baselineIndex | No | 0-based index of the baseline run (default: second-to-last). | |
| candidateIndex | No | 0-based index of the candidate run (default: the last run). |