mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 02:03:55 -05:00
Three gap-fixes a corpus audit on 2026-05-04 surfaced: 1. 55 cloud YAMLs were missing the status field entirely; Pydantic silently defaulted them to 'draft', so audit_corpus_batched skipped them. fix_missing_metadata.py adds explicit status: draft + provenance: imported. 2. 59 deleted YAMLs lacked the deletion_reason that the soft-delete pairing rule requires. Added placeholder text noting the original reason was not preserved on import. 3. The 55 newly-explicit drafts went through a focused vault audit (gates: format/level_fit/coherence/math/title). 41 passed all five gates and were promoted to status: published. The remaining 14 had real issues (13 level_fit / 2 coherence / 1 math) and stay drafts for authoring follow-up. audit_corpus_batched.py now accepts non-published YAMLs when --qids is explicit (the operator opted in). Default behavior (full-corpus audit) is unchanged: published-only. On-disk corpus now: 9,487 published (was 9,446, +41) · 423 drafts · 386 flagged · 390 deleted · 25 archived · 0 missing-status. vault check --strict and pytest both clean.
3.1 KiB
3.1 KiB