/verify
Test L0 abstract fidelity -- do compressed summaries match actual content?
Usage
/verify [--sample <n>]
What It Does
Samples context files, reads their L0 abstract (compressed ~100 token summary) and their full content, then evaluates whether the abstract accurately represents the content. Reports fidelity scores and flags abstracts that have drifted from their source.
Implementation
Runs: cd engine && mix optimal.verify [--sample <n>]
Process:
- Sample N context files (default: 10).
- Load L0 abstract for each.
- Load full content for each.
- Compare: does the abstract capture the key facts?
- Score fidelity (0-1) per file.
- Flag any below threshold (< 0.7).
- Suggest re-generation for drifted abstracts.
Examples
# Test 10 random contexts
/verify
# Test a larger sample
/verify --sample 20