Research / architecture

Current research

CA-A1 — failure and deny paths

Type: architecture Updated: 2026-10-05 Scale: cross-jurisdictional Path: ../architecture/FAILURE-PATHS.md

architecturefailurefail-closed

Failure and deny paths

CA-A1 architecture record. Updated: 2026-10-05. Conceptual fail-closed behaviour — no runtime exception code. Principle: when authority, provenance or integrity can’t be established, the record is refused or flagged; the institution is never left with silently-corrupted state.

#FailureFail-closed behaviour
F-01Selection spec lacks authorityrun cannot start — engine seam refuses spec not in authorised/locked; attempted run logged as divergence event
F-02Spec modified after authorisationimpossible by construction — writes to authorised spec rejected; change requires new version + re-authorisation; any bypass attempt is an audit-visible event
F-03Duplicate respondentdedupe policy applies at custody; unresolved duplicate → record quarantined from pool, event logged; selection proceeds only on deduped pool or fails
F-04Input-pool digest mismatchrun refuses — digest bound into spec/ceremony; mismatch means wrong pool or tampering; ceremony fails closed
F-05Seed/entropy mismatchoutput invalid — the bundle’s declared seed must reproduce the run; mismatch voids the run record pending investigation, reserves never drawn
F-06Wrong engine/versionrun refused or flagged — executed algorithmVersion outside algorithm_policy produces divergence event, not a result
F-07Reproducibility verification failsrun marked verification-failed — published bundle carries failure status; output cannot become membership transitions until resolved
F-08Selected person later found ineligibletransition selected→ineligible (or ineligible-found) with evidence + authority; replacement protocol opens under the same spec
F-09Reserve list exhausteddeclared outcome, not hidden failure — spec’s replacement_policy defines next step (re-run under spec, or vacancy stands); recorded as event
F-10Unauthorised membership transitionwrite refused + divergence event — selected→seated without authority is structurally impossible
F-11Unauthorised agenda alterationwrite refused; version history preserves prior text; attempted alteration logged with actor for adjudication
F-12Evidence conflict undiscloseditem flagged contested; presentation blocked until disclosure resolved; late-discovered conflict → new event + review path, record never silently edited
F-13Wrong electorate/quorum for decisiondecision event invalid — electorate snapshot is bound at open; mismatched quorum result cannot close; flagged for re-decision under correct snapshot
F-14Edit attempted on closed recommendationwrite refused — text frozen at closure; only new versioned recommendation objects possible
F-15Receiving authority edits recommendationwrite refused — authority scope doesn’t cover recommendation text; attempt logged as authority-divergence
F-16Response deadline missedoverdue computed state; institution may declare no-response record — obligation stays visible, nothing auto-closes
F-17Implementation claimed without evidencecommitment stays self_reported/unverified — verified requires evidence_refs; claims without them are visible as unverified
F-18Permission exists but authority doesn’tthe dual-attribution test fails → flagged divergence; technical success is recorded as an authority gap, never as an authorised act
F-19External integration unavailableseam degrades to OFF-001 manual path — canonical events still recorded; institution remains operable
F-20Stale external datacached/imported artefacts carry fetched_at + digest; staleness threshold exceeded → flagged, never silently refreshed into canonical records
F-21Privacy retention deadline breacheddeletion-overdue flagged as compliance event; affected records quarantined to minimum access pending deletion event
F-22AI-derived material submitted as authoritativerefused — ai_artefact records cannot satisfy authority/authoritative fields; submission logged
F-23Offline record conflicts with digital recordconflict record created; digital does not auto-win — adjudication event required; offline acts carry equal canonical weight by design

Invariants