Commit graph

23 commits

Author SHA1 Message Date
Shay
a68b7060bd feat(demo): add epistemic truth-state authority demo
A model-style proposer submits a claim, evidence bundle, and optional
bounded-inference block; CORE alone assigns the typed epistemic state
drawn from the canonical core.epistemic_state taxonomy (no parallel
enum) and emits a deterministic, replayable evidence artifact.

The proposer cannot set assigned_state, status, trace_hash,
authority_path, evidence_ledger, or normative_clearance: the closed
recursive schema rejects any root-level injection before state
evaluation runs, and proposer-supplied proposed_state/trace_hash are
recorded as ignored and never read.

Adds closed schema, six fixtures, pinned expected artifacts, a
double-run byte-identical runner with hardened output-dir policy, and a
22-test suite. No network, subprocess, eval/exec, model API, or side
effects beyond demo output.
2026-06-11 12:46:17 -07:00
Shay
e7da989565 fix(demo): restore full tool authority runner 2026-06-11 11:42:32 -07:00
Shay
ba097b622b fix(demo): restore full tool authority runner 2026-06-11 11:36:59 -07:00
Shay
260ef33857 fix(demo): restore tool authority runner 2026-06-11 11:32:52 -07:00
Shay
ea96be1684 fix(demo): refuse clearing custom tool authority output dirs 2026-06-11 10:56:55 -07:00
Shay
77a8c79f94 fix(demo): harden tool-authority runner hygiene 2026-06-11 10:14:59 -07:00
Shay
ee658c55d9 Repin ask tool authority artifact 2026-06-11 09:31:02 -07:00
Shay
b216b74943 Repin authorized tool authority artifact 2026-06-11 09:23:22 -07:00
Shay
baf8e43c44 Neutralize invalid tool authority fixture 2026-06-11 09:22:40 -07:00
Shay
7b23295b22 Neutralize refused tool authority fixture 2026-06-11 09:22:24 -07:00
Shay
7ec789455d Neutralize ask tool authority fixture 2026-06-11 09:22:11 -07:00
Shay
239bf0f8bf Neutralize authorized tool authority fixture 2026-06-11 09:21:55 -07:00
Shay
6a2bf9a097 Neutralize tool authority demo schema 2026-06-11 09:21:21 -07:00
Shay
022154ff71 Neutralize tool authority demo package wording 2026-06-11 09:19:19 -07:00
Shay
26a5e9721f Neutralize tool authority demo public wording 2026-06-11 09:18:50 -07:00
Shay
5de774ea63 Harden tool authority demo output clearing 2026-06-11 09:17:55 -07:00
Shay
1f41935f5f fix(demo): refuse normalized note path traversal 2026-06-11 08:18:00 -07:00
Shay
a3d945ed93 chore(demo): drop generated tool-authority outputs 2026-06-11 08:07:50 -07:00
Shay
8fe63c4032 feat(demo): add Claude-to-CORE tool authority demo 2026-06-11 08:07:07 -07:00
Shay
57a0e38f0b feat(demo): add Claude-to-CORE hybrid verification demo
A narrow, auditable proof path for the hybrid-mode boundary: a
Claude/Fable-style System 1 proposer submits an MCP-shaped tool call
(core.semantic_derivation.verify); CORE re-derives via the ADR-0184
derivation lane, keeps sole acceptance authority, refuses or asks when
it cannot honestly answer, and emits a deterministic replay/provenance
trace for every decision.

Boundary properties (each pinned by a failing-if-removed test):
- the proposer has no commit path: additionalProperties:false schema,
  and the demo modules import nothing from generate.* (AST-scanned with
  a planted-bypass self-test) — the lane is consumed only through the
  ADR-0184 S4b audited trace facade;
- 'verified' requires pool commit AND clean commit-law/faithfulness
  audits AND a gold-audited envelope.json entry AND byte-match to the
  pinned derivation trace (measured: 118 of the off-serving pool's 231
  corpus commits disagree with lane gold, so a bare pool commit is
  never served — scenario s4 shows the refusal on a commit that even
  matches gold);
- the ask leg is the real Q1 stack (router -> limitation -> Q1-D
  producer -> carried handle -> gated serving), dark by default,
  tamper-fail-closed on the content hash;
- authority_path names only consulted authorities; responses are
  deterministic (double-run byte-identical) and pinned under expected/.

No serving/runtime change; no CLAIMS/metrics/telemetry/lane-pin
movement; no network or Anthropic API dependency (System 1 payloads are
clearly-labeled static fixtures).
2026-06-10 20:41:50 -07:00
Shay
f0c270fded harden amr demo replay fixture 2026-06-02 10:38:00 -07:00
Shay
f3680aa302 reconcile amr demo wording with claims ledger 2026-06-02 10:38:00 -07:00
Shay
99c94f71f0 add amr decision substrate demo 2026-06-02 10:38:00 -07:00