Help Center

Schema Contract v2.0

A formal specification for the v2 forensic engine: invariants, layers, and integration requirements.
Help CenterSchema Contract

Schema Contract v2.0
Sovereign Intelligence SPEC

Defining the formal data structure for the v2.0 forensic engine. Powered by Claude Sonnet and SHA-256 hash integrity.

System Metadata

digest.meta

Version, brand detection, and trend velocity.

Strategic DNA

digest.classification

Trigger mechanics and weighted persuasion stacks.

Forensic Evidence

digest.extraction

Coordinates-aware Receipts and Scan Path.

Tactical Operations

digest.strategy

Test Plan Builder and Competitive Intelligence.

Actionable Levers

digest.diagnostics

Friction analysis, platform fitness, and risk assessment.

Non-Negotiable Invariants

Asset Hash Integrity

All assets are fingerprinted via SHA-256 hashing. The engine will automatically bypass processing if a matching hash is detected in the vault.

Risk Granularity

Every RiskFlag MUST contain severity, strategic rationale (why), and linked receipt references.

Development Integration

CI/CD Validation

Integrate the `zod` schema from this contract into your ingestion worker's pull request workflow to prevent breaking downstream analytical models.

API Synchronization

Ensure all frontend diagnostic components (`ResultsView`, `PlatformFitness`) are scoped to the `v2.0` namespace for Sovereign Intelligence compatibility.