Skip to main content

VERIFICATION — preface enrichment P0

Created: 24-07-2026 · Last updated: 24-07-2026

Index: PLAN_csl-guides_preface_enrichment_P0_2026-07.md

Acceptance criteria

DeliverableProof
Legend emitpwg_legend.json + pw_legend.json exist; schema-valid; key count ≥ crosscheck non-short keys (or documented subset)
Parity gatepython scripts/pref_legend_parity.py --check exit 0
Fold tablepref_fold_table.json non-empty; at least 10 PWG/PW examples with body_n
Abbreviations UInpm run build green; component imports pref-legends.json; PWG or PW section shows expansion from feed
Residual appendixPage linked in sidebar; contains dated table with PWG/PW pref_only before/after
FenceDiff does not touch csl-orig, quiz banks, payment code

Commands

python scripts/pref_abbr_crosscheck.py --dict PWG --out-dir scripts/out --json-summary
python scripts/pref_abbr_crosscheck.py --dict PW --out-dir scripts/out --json-summary
python scripts/pref_legend_emit.py --dict PWG --dict PW # or --emit-legend flag
python scripts/pref_legend_parity.py --check
npm run build

Risks

RiskMitigation
Abbreviations.json vs pref legend conflictPref-legends win for PWG/PW only; fallback elsewhere
Large JSON bloatPilot two dicts only
Provisional work_id noisereview_required filter in UI
CI timeParity script stdlib-only, seconds

Dr. Mārcis Gasūns