Skip to main content

View on GitHub

examples/01_api_walkthrough/
Every API method demonstrated in sequence: assert, query, get, validate. Runs in a temporary directory with no external dependencies. Trust reads off the derived axes graph.proposition_status(prop) returns: status per content_id (the answer) and question_status per frame_id (the question). Steps 5 and 6 below exercise the stored support_level ladder, the legacy per-claim axis whose REPLICATED / ESTABLISHED public labels are deprecated for v0.4.0; the walkthrough keeps them because they are still functional this release.

What it covers

  1. Open: zero setup, no init required
  2. Assert: INFERRED, ANALYTICAL, DERIVED classifications
  3. Query: text filter, min_support, classification, limit
  4. Idempotency: retry-safe writes
  5. REPLICATED: automatic when two claims under distinct signing keys share upstream evidence
  6. ESTABLISHED: human validation only, requires REPLICATED first
  7. Operational surfaces: health(), classify_supports()
  8. Anti-patterns: what silently corrupts the epistemic model

Run

No external dependencies. Uses a temporary directory, safe to run anywhere.

Key snippet