Repository navigation
v1.17.0 — audit.py --index: read the registry by offset
python3 scripts/audit.py <dir> --index prints every top-level key and every entry of _facts.yml with its line span and enum labels (kind, role, basis, status). A round reads the entries it touches by offset instead of the whole registry.
Measured: a 142KB registry indexes in 6KB, a 307KB one in 11KB (0.4 s). Spans come from the YAML parser's marks and stop at the entry — the comment above and the blank after belong to neither.