Change Report Category
Change Report Category
Section titled “Change Report Category”Definition
Section titled “Definition”Closed enumeration capturing the category of a Change Report event. User-facing label is “Change Reports” per CLAUDE.md (internal code still uses “digest”). CORE per §6.2 — platform vocabulary.
Lands as part of the digests → change_reports rename in the combined PR per Q-OQR1-16. Closed enumeration of 4 values, ratified S234 (ONT.15) as CORE-closed; further values may be added later via a CHECK-extending migration.
Synonyms / Acronyms
Section titled “Synonyms / Acronyms”- “Change Reports” (user-facing) = “digest” (internal code) per the CLAUDE.md gotcha. Do NOT “fix” the naming.
Baseline values
Section titled “Baseline values”| key | label | provenance |
|---|---|---|
| content_added | Content Added | core |
| content_edited | Content Edited | core |
| content_promoted | Content Promoted | core |
| content_archived | Content Archived | core |
Relationships
Section titled “Relationships”change_reportstable (renamed fromdigestspost-Q-OQR1-16 combined PR; rename pending).change_reports.category— planned column referencing this CV (the column does not exist ondigeststoday).- Adjacent to
change_type(CV 11) — one-to-many. A Change Report aggregates manycontent_history.change_typeevents; the 4 categories collapse the 11 history-event types as follows:content_added←create/import;content_edited←edit/ai_update/metadata_change/owner_change;content_promoted←publication_state(only when transitioning topublished);content_archived←archive/delete.mergeandrollbackare administrative-recovery events likely excluded from change reports (open question for the ratifier wave). - Layer 2: descriptive metadata on Change Report rows.
Consumers
Section titled “Consumers”lib/mcp/tools/change-report.ts(P1-35) — current MCP tool that categorises by 3 timestamp buckets (additions/updates/removals) computed at query time; will be refactored to readchange_reports.categoryonce the column lands.lib/change-reports/change-reports-export.ts— Change Reports export pipeline.- Change Reports surface (user-facing UI).
- Email and digest delivery pipeline.
- Filter UI on the Change Reports view.
- Provenance: Source
phase-b-prerequisite-1-onthology-pipeline.md§2.1 (the only enumeration in the corpus) lists 4 values plus “etc.” Archaeology (S236 INV-3) found no additional values acrossdocs/,lib/,types/,supabase/migrations/,.planning/.archive/, mempalace, or the live DB. Liam ruling (S236): ratify the 4 + close the list. No further Liam input required unless he wishes to add a 5th category at this stage. - Status updated
needed→planned: consistent with other CVs whose target column does not exist yet (e.g. CV 20chunk-kind, CV 22origin-kind). - Code-side divergence with the live tool. The shipped
get_change_reportMCP tool (lib/mcp/tools/change-report.ts, P1-35) categorises by 3 timestamp buckets (additions/updates/removals) computed at query time, NOT by reading acategorycolumn. Whenchange_reports.categorylands in the combined PR Q-OQR1-16, the tool can be refactored to split “updates” intocontent_editedpluscontent_promoted(publication-state transitions). This is a quality-of-life improvement, not a breaking change — INV-3 §5.3 has the reconciliation path. - Combined PR Q-OQR1-16 includes the
digests→change_reportsrename plus the CV 28 column scaffolding.