Expand description
Corpus reconciliation and vintage staleness engine (§GAP-11, reconciliation.md).
Models the temporal distance between the internal view (held state stamped with vintage)
and the external view (authoritative upstream or live feed). Replaces silent overwrites
with governed comparison (Converged, Diverged, Deferred, Contested), queryable staleness,
and reCheckable cascades on derived downstream claims. Zero-heap hot path.
Structs§
- Reconciliation
Record - A reconciliation event record measuring vintage distance and state agreement.
Enums§
- Reconciliation
Status - Outcome status of an internal-external view reconciliation.
Constants§
- RECHECKABLE_
FLAG - Bit flag in Quin metadata (bit 15) indicating a downstream claim is re-checkable due to upstream vintage advance.
Functions§
- cascade_
recheck_ flags - Cascades re-check flags onto downstream derived claims when an upstream reconciliation diverged.
Sets
RECHECKABLE_FLAG(bit 15) in the metadata field of each matching quin. Returns the number of updated quins. Zero-heap caller-buffered. - compare_
views - Compare internal view against external view to produce a reconciliation record. Pure function, zero-heap.
- is_
stale_ predicate - Predicate URI for staleness status (
qualia:reconciliation:isStale). - reconciliation_
event_ predicate - Predicate URI for reconciliation event (
qualia:reconciliation:Event).