JJijibora
Docs & Product Guide
On this page (11 sections)

Claims Processing — Industry-Specific Implementations

Audience: Product, operations, architects, and implementation teams deploying claims processing for specific industries and players. Status: As of 2026-11-09 — documents what exists, what is configured, and what remains to be built. Substrate: Sovereign OS / Community Weave Platform — canonical claim primitive, truth_edge graph, PoCE (s131-s150), scope governance (s142), record federation (s184), APF (s230), NATS KV lookups (SOVEREIGN_LOOKUPS, SOVEREIGN_SCENARIOS, SOVEREIGN_TEMPLATES), Apache Camel (:8181), Kestra (:8180), solver-gateway (:3070).


1. Overview — One Claims Engine, Many Verticals

The Sovereign OS claims processing system is generalised by design: a single claim primitive, one guarded lifecycle state machine (draft → submitted → validating → approved/rejected → disputed → settled/cancelled), declarative guard policies (quorum, separation of duties, evidence, external verdicts, execution proof), and PoCE-signed receipts for every transition. No bespoke tables are created; every claim type is a CNS-typed claim record with truth_edge relationships to subjects, providers, adjusters, garages, and other principals.

This document set provides industry-specific configurations — CNS types, lookup values, guard policies, panel roles, SLA windows, intake maps, and worked examples — for the following verticals:

IndustryClaim TypesPrimary PlayersKey Guard Considerations
Real EstateDefect/snag, service charge dispute, construction warranty, HOA assessment, amenity booking disputeDeveloper, HOA board, property manager, owner, tenant, contractor, inspectorSeparation of duties (inspector ≠ contractor), two-person quorum for high-value defects, evidence (photos + arrival point + sign-off)
HealthcareMedical claim, prior authorization, pharmacy claim, service disputePatient, provider, payer, TPA, reinsurerHIPAA/FHIR boundaries, PHI scrubbing in match facets, two-person quorum, evidence (service codes + clinical reports)
GovernmentBenefit claim, compensation claim, community ticket, permit disputeCitizen, agency, ministry, county, cross-agency panelCross-agency quorum, no provider mesh (agency mesh instead), triage evidence, fail-closed on agency down
CommerceOrder claim, refund claim, warranty claim, vendor disputeBuyer, seller, marketplace, payment provider, logisticsEscrow hold/release, basket split sourcing, delivery evidence, no auto-settlement
ConstructionProject delay claim, milestone payment dispute, defect rectification, insurance claimDeveloper, contractor, subcontractor, inspector, reinsurer, ownerMilestone evidence, expert sign-off gate, escrow until proof, PoCE receipt per handover
InsuranceMotor claim, home claim, liability claim, catastrophe claimPolicyholder, broker, adjuster, garage, reinsurerTwo-person quorum, litigation evidence, provider panel (broker/adjuster/garage/reinsurer), intake + provider maps

Guiding principle across all verticals: Optimizers propose, claim gates authorize, never settle or pay. The solver-gateway (:3070) may recommend crew routing, vendor selection, or basket splits, but a named human approver must confirm via PoCE before any money moves or any claim is settled.


2. Core Claims Primitives (Shared Across All Verticals)

2.1 Lifecycle State Machine (8 States)

StateDescriptionTerminal?
draftClaim created, not yet submittedNo
submittedFirst notice of loss / notice of claim filedNo
validatingEvidence and dependencies under reviewNo
approvedClaim approved for settlementNo
rejectedClaim deniedNo
disputedClaim under dispute reviewNo
settledClaim settled, payment authorizedYes
cancelledClaim withdrawn or cancelledYes

Allowed transitions (hardcoded in fn::claim_processing::_validate_transition, s282):

  • draft → submitted, cancelled
  • submitted → validating, rejected, cancelled
  • validating → approved, rejected, disputed
  • approved → settled, disputed
  • rejected → disputed, cancelled
  • disputed → validating, cancelled
  • settled → (none)
  • cancelled → (none)

2.2 Guard Stages (Evaluated in Order)

Any failing stage refuses the transition with a 4xx validation error; nothing advances silently.

StageWhat It Confirms
GateClaim has entered the guarded path with required PoCE execution-proof session
QuorumMulti-signer quorum has reached threshold for the selected band; too few signers refuses, never invents a signer
Separation of DutiesMover is not barred from approving their own claim; barred pairs do not co-approve
EvidenceRequired evidence references present for the claim type (motor: photos + authority report; medical: service codes + clinical report; government: audit reference; community: triage note)
Execution ProofPoCE proof session satisfies required events and minimum steps
External VerdictExternal verdict required by policy has been recorded; a negative verdict blocks settlement

2.3 Canonical Claim Mapping (All Verticals)

Real-World ConceptCanonical PrimitiveExample CNS Type
Claim recordclaimcns://claim/type/insurance/motor_claim
Claimant / policyholdertruth_nodecns://truth/node/person
Provider / garage / adjustertruth_nodecns://truth/node/person
Vehicle / property / unitresourcecns://resource/vehicle
Policy / coverageresourcecns://resource/policy
External system mirror (PMS, ERPNext, land registry)integration_entity (Stratum 356)system: "erpnext", external_id: "INV-12345"
Cross-entity boundary (developer ↔ HOA, insurer ↔ reinsurer)s184_record_federationfederation binding + policy

3. Industry Implementations

See each industry document for CNS types, lookup values, guard policies, panel roles, SLA windows, and worked examples:

  • Real Estate Claims — defect/snag tracking, service charge disputes, construction warranty, HOA assessments
  • Healthcare Claims — medical claims, prior authorization, pharmacy claims, HIPAA/FHIR boundaries
  • Government Claims — benefit claims, compensation claims, community tickets, cross-agency governance
  • Commerce Claims — order claims, refund claims, warranty claims, escrow-backed settlement
  • Construction Claims — project delay, milestone payment disputes, defect rectification, expert sign-off
  • Insurance Claims — motor, home, liability, catastrophe claims with provider panels

4. Players in Claims Processing

Each vertical involves distinct players with different capabilities, attestations, and permissions:

See each player document for capabilities, attestation requirements, lease TTLs, and panel eligibility rules.


5. Playbooks (Concrete Implementations)

Specific, runnable claim processing patterns:

  • STP Fast-Track Auto Claims — straight-through processing for small auto claims, solver-assisted, minimal human touch
  • Medical Claims — HIPAA/FHIR — HIPAA-compliant medical claims, prior authorization, PHI scrubbing, FHIR/EDI interoperability via Camel
  • Homeowners Claims — multi-party asset governance, catastrophe screening, escrow until proof, expert sign-off

6. Appendices

  • CNS Type Hierarchy — complete CNS URI registry for all claim types across all verticals
  • Gap Analysis — identified gaps between current implementation and target claims processing capability

7. Architectural Honesty Limits (Applied to All Verticals)

Per AGENTS.md — Sovereign OS / Cosmic Circuit mandates and the Honesty Invariants (D-15):

  1. No bespoke tables. All claim entities map to claim, truth_node/truth_edge, resource/resource_edge, integration_entity. No motor_claim, medical_claim, snag_defect, or service_charge_dispute tables.
  2. Declarative-first. Lookups, thresholds, packs, maps live in NATS KV (SOVEREIGN_LOOKUPS, SOVEREIGN_SCENARIOS, SOVEREIGN_TEMPLATES). Runtime never reads disk.
  3. Fail closed. Infrastructure errors → 502/503/422/throw. Never synthetic "OPTIMAL", "APPROVED", or deterministic fallbacks.
  4. No smoke code. No mocks, synthetic fixtures-as-truth, dummy coordinates, or hardcoded card/metric values.
  5. Machines propose, claim gates authorize. Solver recommendations never settle or pay; a named human approver confirms via PoCE.
  6. No hardcoded metrics. Dashboards render live data or honest skeleton/empty states.
  7. PoCE audit. Every critical state transition produces a cryptographically verifiable receipt.

8. How to Use This Set

  • Architects: Start with the CNS Type Hierarchy and the relevant industry document.
  • Product / Ops: Read the industry document for your vertical, then the relevant playbook.
  • Implementation: Deploy strata in order, seed CNS types and lookups via scripts/seed-nats-kv-declarative.mjs, configure panel roles and SLA windows in NATS KV, then test with the claims readiness probe (GET /v1/claims/processing/readiness).
  • Compliance / Audit: Review Honesty Invariants and the Gap Analysis.