Skip to main content

PLAN — csl-guides preface enrichment P0 (2026-07)

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

Source proposal: preface-front-matter-enrichment-use-cases.md
Batch: ASK_BATCH_STAGING_PREFACE_ENRICHMENT_2026-07.md
Status: execution-ready · wave-1 · nothing runs until a handoff is launched

Goal

Ship P0 use cases UC-1, UC-3, UC-8, UC-11, UC-13 so prefaces become a machine-readable legend store that feeds the site Abbreviations UI, a documented fold registry, residual analytics for a methods appendix, and FAIR-facing docs — without inventing body forms or touching csl-orig.

Decisions taken

IDTopicRuling
R1Repo batchFull 7-repo set; wave-1 mass in csl-guides
R2UC scope wave-1P0 only (UC-1,3,8,11,13)
R3Legend store homescripts/out/ TSV+JSON + derive site feed under src/data/ at build
R4Pilot dictsPWG + PW only
R5UC-1 depthFull Abbreviations component rewrite to consume legend store
R6UC-8 foldsscripts/pref_fold_table.json loaded by crosscheck/align
R7UC-13 residualData-paper style appendix under docs/about/ (site-visible)
R8AmbiguityProvisional work_id + review_required flag (do not invent expansions)
R9Acceptancepytest + npm build + legend parity --check
R10FenceNo csl-orig, no money/access, no unrelated quiz banks
R11PWG/PWK wave-1Thin support only (METHODS note + sample spot-check)

Autonomy contract

SituationAgent behavior
Ambiguous work class / dual expansionAssign provisional work_id, set review_required=true, continue
No body form for a keyLeave expansion from pref; do not invent; class stays residual
Unplanned ambiguity outside planLog to change log / quarantine TSV; do not expand scope
Commit authorityHandoff-scoped: commit → PR → merge when green (csl-guides)
Must not touchcsl-orig; payment/access code; quiz JSON banks not named in handoff

Layer docs

LayerPath
RoadmapROADMAP_csl-guides_preface_enrichment_2026-07.md
ArchitectureARCHITECTURE_csl-guides_preface_legend_store.md
ImplementationIMPLEMENTATION_csl-guides_preface_enrichment_P0.md
VerificationVERIFICATION_csl-guides_preface_enrichment_P0.md

Wave-1 deliverables (handoff-shaped)

  1. Legend store emit + schema + parity gate (UC-3)
  2. pref_fold_table.json + tool wire-up (UC-8)
  3. Abbreviations component rewrite (UC-1)
  4. Residual methods appendix page (UC-13)
  5. FAIR docs polish for pilot (UC-11 — METHODS cross-links / index only in csl-guides)

Non-goals (wave-1)

  • UC-2 work-identity graph, UC-4 reading packs, UC-5–7, UC-9–10, UC-12, UC-14
  • Bulk pref key rewrites beyond existing align tools
  • Cologne PHP frontend
  • Non-PWG/PW legend JSON completeness

Dr. Mārcis Gasūns