{
  "name": "adam-financial-operating-system",
  "version": "next-vNext",
  "architecture": {
    "topology": "Multi-Plane Topology",
    "runtimes": {
      "reasoning": "python",
      "orchestration": "python",
      "deterministic_execution": "rust",
      "governance": "python",
      "provenance": "python",
      "event_transport": "nats"
    }
  },
  "execution_domains": [
    "System 1 (Neural Swarm)",
    "System 2 (Neuro-Symbolic Graph)",
    "System 3 (Simulation)"
  ],
  "invariants": {
    "policy_before_mutation": {
      "title": "Governance Boundary",
      "description": "No side effects bypass the policy engine. Actions are vetted through SMT solvers or jsonLogic prior to taking place."
    },
    "afos_uwr_01_constraint": {
      "title": "Obligor Credit Neutrality (AFOS-UWR-01)",
      "description": "Obligor PD must be computed via dual Model Alpha/Beta arbitration. Facility-level PD is structurally implied via rating maps and LGD adjustments."
    },
    "afos_cmp_01_constraint": {
      "title": "Regulatory Capital Audit (AFOS-CMP-01)",
      "description": "Evaluates bidirectional divergence against threshold theta and verifies downside risk spread prior to capital buffer allocation."
    },
    "provenance_before_commit": {
      "title": "Deterministic Replayability",
      "description": "Every step in the DAG creates W3C PROV-O provenance linked data representing the Entity, the Activity, and the Agent. Human overrides are treated solely as Candidate Evidence."
    },
    "frozen_context": {
      "title": "Context Freezing",
      "description": "Analytical parameters are frozen into an immutable Context Object upon creation. The state is hashed and injected as W3C PROV metadata."
    },
    "deterministic_numeric_execution": {
      "title": "Rust Compute Kernels",
      "description": "Native math occurs only inside compiled Rust kernels using isolated deterministic routines bounded by the abi3-py310 standard, releasing the GIL using py.allow_threads()."
    },
    "decoupled_architecture": {
      "title": "Separation of Concerns",
      "description": "LLMs propose, Policy authorizes, Rust executes."
    },
    "fail_closed_security": {
      "title": "Default Deny",
      "description": "Unknown intent defaults to denied. LLMs request actions, which default to fail-closed postures if untracked."
    },
    "mcp_isolation": {
      "title": "Model Context Protocol",
      "description": "Agents interact with the world strictly through MCP, guarded by Intent Gates. This secures boundaries against agent goal hijacking."
    },
    "stateless_swarm": {
      "title": "Ephemeral System 1",
      "description": "System 1 is ephemeral and non-blocking, parsing chaos to typed schema."
    },
    "agent_consensus": {
      "title": "Conflict Resolution",
      "description": "Orchestrator resolves conflict via logic rules over a DAG for deterministic paths."
    }
  },
  "core_paradigms": {
    "probabilistic_cognition": "LLMs operate solely as orchestrators proposing intent, scenario construction, and anomaly detection.",
    "deterministic_governance": "All actions are intercepted by a policy engine before state mutation.",
    "stochastic_simulation": "Adversarial perturbation against bounded financial inputs.",
    "verifiable_execution": "Native math occurs only inside compiled Rust kernels (e.g., VaR, stress tests, Monte Carlo models)."
  },
  "surfaces": {
    "human": ["README.md", "docs/"],
    "agent": ["AGENTS.md", "adam.manifest.json"],
    "web": ["llms.txt", "llms-full.txt"],
    "protocol": ["mcp/"]
  }
}