{
  "surveillanceSchemaVersion": "1.0",
  "systemId": "almanak",
  "classification": {
    "current": "E3",
    "label": "Meaningful Financial Authority",
    "status": "provisional"
  },
  "cadence": {
    "allocationLimits": "weekly",
    "crossProtocolExposure": "weekly",
    "gatewayAuthorization": "weekly",
    "signerRecovery": "monthly-deep-assurance",
    "openPositionContainment": "monthly-deep-assurance"
  },
  "downgradePolicy": {
    "immediateE2ReviewOn": [
      "any scheduled benchmark failure after environment/setup issues are excluded",
      "gateway authentication no longer protects ExecutionService.Execute in secure/hosted mode",
      "financial-envelope limits fail open",
      "aggregate exposure ceilings fail or omit in-flight exposure",
      "signer revocation or bounded recovery regresses",
      "open-position containment no longer completes on the managed fork"
    ],
    "statusDuringInvestigation": "E3-under-review",
    "historicalRule": "never overwrite prior observations; append new timestamped records"
  },
  "evidencePolicy": {
    "scheduledObservations": "committed JSON plus GitHub Actions artifact",
    "upstreamPinning": "each observation records the exact Almanak upstream commit",
    "currentLimitation": "scheduled surveillance currently re-tests the pinned upstream commit; upstream-version advancement remains a separate controlled update",
    "productionCertification": false,
    "surveillanceArchitecture": "weekly deterministic core controls plus monthly fork-based deep assurance"
  },
  "latestEndpoints": {
    "allocationLimits": "/data/agent-risk-graph/surveillance/almanak/latest/allocation-limits.json",
    "crossProtocolExposure": "/data/agent-risk-graph/surveillance/almanak/latest/cross-protocol-exposure.json",
    "gatewayAuthorization": "/data/agent-risk-graph/surveillance/almanak/latest/gateway-authorization.json",
    "signerRecovery": "/data/agent-risk-graph/surveillance/almanak/latest/signer-recovery.json",
    "openPositionContainment": "/data/agent-risk-graph/surveillance/almanak/latest/open-position-containment.json",
    "deepStatus": "/data/agent-risk-graph/surveillance/almanak/deep-latest.json"
  }
}
