Expand description
Fact states (C0 1.9, section 3).
A fact is current until an engine finds a reason to doubt it: one of its
anchors no longer matches the code (anchor_changed), the symbol moved
to another path (anchor_moved), the anchored path or symbol is gone
(anchor_missing), or another fact contradicts it (contradiction).
The engine reports states with
POST /v1/vaults/{vault_id}/facts/states (FactStateReportV1,
right knowledge.read); Cloud answers FactStateAckV1 and lists the
non-current states with the revision (KnowledgeRevisionV1::fact_states).
A report replaces the reporting engine’s earlier states for that
revision; a fact is current again when no engine reports it.
A state never changes the document. Fixing a fact is a proposal; a
contradiction with no proposal after 24 hours becomes a task (origin
contradiction).
Structs§
- Fact
State AckV1 - Fact
State Report V1 POST /v1/vaults/{vault_id}/facts/states.- Fact
State V1 - The state of one fact, as an engine reports it.
Enums§
Constants§
- FACT_
STATE_ ACK_ SCHEMA - FACT_
STATE_ REPORT_ SCHEMA - MAX_
CONTRADICTED_ BY - MAX_
FACT_ STATES - Facts per report (a document holds at most
MAX_FACTS). - MAX_
STATE_ REASONS