Skip to content

Schema Missing Fields

Required v0.3 §3 fields per type: q-g-entry: status, locked_date, q_g_number, axis, superseded_by, supersedes, source, last_verified, deck_impact, audience_visibility. Optional but recommended: cross_refs, trigger_event, mirror_source, mirror_date.

This view returns rows when a Q-G file is missing any required field for its declared type. Silent corruption fix per S96 §8 trap #2.


Current violations (S120 snapshot)

Q-GMissing fields
(empty — no violations)

Phase 0 ship state: zero rows. All 7 pilot Q-Gs carry the full v0.3 §3 required-field schema including audience_visibility (Phase 0 schema commitment per Sitemap v0.2 §14).

How this view works

For each per-Q-G file in _Master_Canon/Q-G/:

  1. Read type field from frontmatter.
  2. Look up the required-field map for that type per _Master_Canon/README.md schema declaration.
  3. For each required field: if missing OR null OR empty array: emit a row.

The superseded_by field is special: it MUST be present, but its value MAY be null for non-superseded entries. The view treats “field present with value null” as compliant; “field missing entirely” as a violation.

Phase 0 build note

Hand-authored from manual frontmatter review at S120. Phase V replaces with build-time aggregation script.