You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Structured ontology certification: atomic promotion and answer-time use #268
Status: Open — staged certification/atomic-promotion enhancement.
Impact: Failed/partial compilation needs an explicitly retained active version; affects governed publication and availability of consistent meaning.
Evidence
#299 sequences and serializes reset/cancellation. semantic_compilation_history stores start, finish and coarse status. Compilation writes Terms before subsequent relationship/attribute stages.
Actions
Compile into a staged version. Persist per-table attempted, processed, skipped, failed and residual outcomes, snapshot diffs and validation evidence. Promote fully reconciled versions atomically and retain the active certified snapshot through failed/aborted runs.
Acceptance
Induce skipped/failed tables, unresolved FKs and an aborted run. Retrieve a complete typed report with residual reasons. Verify the previous certified snapshot remains queryable and successful promotion changes the active revision consistently across relational, vector and export surfaces.
Certification is a review flag today. The ReAct agent doesn't see it: retrieve never renders a hit's certified field. The SQL checks don't use it either, so an uncertified term or SQL attribute is used exactly like a certified one. Once a certified snapshot is active, answers should use it:
Show it to the agent: mark each term and SQL attribute in retrieve results as certified or not, and rank certified definitions first when they compete.
Report it in answers: list which definitions the SQL used and whether each is certified, so a reader can tell a governed answer from a best effort.
Optional strict mode: for governed deployments, refuse or flag answers that rely on uncertified definitions.
Related: #535 (certified rules in a scoped context read for agents) and #522 (agent parity).
changed the title [-][P1] Structured ontology certification and atomic promotion[/-][+]Structured ontology certification and atomic promotion[/+]on Oct 4, 2026
changed the title [-]Structured ontology certification and atomic promotion[/-][+]Structured ontology certification: atomic promotion and answer-time use[/+]on Nov 16, 2026
Activity
[-][P1] Structured ontology certification and atomic promotion[/-][+]Structured ontology certification and atomic promotion[/+][-]Structured ontology certification and atomic promotion[/-][+]Structured ontology certification: atomic promotion and answer-time use[/+]README: Validate describes the checks generated queries get