{
  "platform": "H11I",
  "schema": "h11i-recursive-self-code-model-v2",
  "state": "active-world-evolution-production-execution-locked",
  "purpose": "Continuously model H11I's software architecture, evolve intelligence policies and candidate designs inside a persistent governed world, and produce cryptographically verifiable source-improvement proposals without applying production code or deployments automatically.",
  "source_graph": {
    "orchestration_and_live_runtime": [
      "deploy/cloudflare/generate_worker.py",
      "deploy/cloudflare/h11-ai-worker.mjs"
    ],
    "agent_registry_and_cognitive_contracts": [
      "src/platform/ecosystem_manifest.json",
      "src/platform/agent_cognitive_contracts.json",
      "src/platform/expansion_intelligence.json"
    ],
    "operational_self_model_and_learning": [
      "src/platform/self_model.json",
      "src/engine/cognitive_planner.py",
      "src/engine/h11_ai.py",
      "src/platform/local_runtime.js"
    ],
    "owned_model_and_skills": [
      "models/h11i-lm/manifest.json",
      "src/platform/h11_skills.json"
    ],
    "interface_and_human_control": [
      "src/ui/index.html",
      "src/ui/console.js",
      "src/ui/console.css"
    ],
    "verification": [
      "tests/test_cloudflare_conversation_contract.py",
      "tests/test_h11_ai_mind.py"
    ]
  },
  "intelligence_growth_targets": [
    "reasoning quality and cross-domain transfer",
    "metacognitive control and council composition",
    "continual learning without regression",
    "causal, counterfactual, simulation, and discovery depth",
    "knowledge integrity, uncertainty calibration, and adversarial robustness",
    "memory relevance and long-horizon continuity",
    "multimodal understanding and creation",
    "model routing, resilience, latency, and cost",
    "verification coverage and rollback reliability"
  ],
  "recursive_modeling_loop": [
    "inventory source modules, schemas, runtime policies, tests, and dependencies",
    "connect observed capability gaps to responsible code surfaces",
    "generate multiple competing improvement architectures",
    "predict downstream effects, invariants, failure modes, and migration needs",
    "produce proposal-only patch blueprints without writing files",
    "define unit, integration, adversarial, regression, latency, and rollback tests",
    "simulate expected capability gain and score uncertainty",
    "rank candidates by measured intelligence gain, risk, reversibility, and evidence",
    "commit the candidate and evaluation to a tamper-evident world lineage",
    "retain the verified proposal for explicit human authorization or rejection"
  ],
  "evolution_world": {
    "schema": "h11i-governed-evolution-world-v1",
    "state": "active-persistent-sandbox",
    "durable_store": "Cloudflare KV",
    "automatic_cycle": "Every completed interaction advances one observation epoch; aggregate evaluation windows may promote only allowlisted, reversible intelligence-runtime policies.",
    "world_artifacts": [
      "source-integrity manifest",
      "capability-gap observations",
      "candidate architectures",
      "simulated policy variants",
      "aggregate benchmarks",
      "adversarial findings",
      "rollback predecessors",
      "hash-chained verification receipts"
    ],
    "may_evolve_automatically": [
      "learning strategy",
      "memory priority",
      "reasoning depth",
      "problem-solving strategy",
      "decision evidence policy",
      "agent-routing breadth",
      "model routing",
      "response strategy",
      "evidence thresholds"
    ],
    "production_boundary": "World evolution may simulate and evaluate source-code candidates, but cannot write production files, execute generated code, change model weights or safety invariants, grant authority, or deploy.",
    "lineage": "Each epoch links to the previous world-state hash and receives a new SHA-256 state hash verified by H11I-VERITAS."
  },
  "proposal_artifact": {
    "required_fields": [
      "proposal_id",
      "goal",
      "observed_gap",
      "target_files",
      "dependency_impact",
      "candidate_designs",
      "predicted_gain",
      "risks",
      "invariants",
      "test_plan",
      "rollback_plan",
      "source_manifest_hash",
      "proposal_hash",
      "verification_receipt",
      "confidence",
      "status"
    ],
    "status": "hash-verified-proposal-only",
    "may_include_patch_blueprint": true,
    "may_write_source_files": false,
    "may_run_commands": false,
    "may_deploy": false
  },
  "execution_gate": {
    "state": "locked",
    "explicit_authorized_command_required": true,
    "automatic_execution": false,
    "locked_actions": [
      "write or replace source files",
      "execute generated code",
      "run migration commands",
      "change model weights",
      "change safety invariants",
      "deploy a release",
      "grant external authority"
    ],
    "unlock_scope": "A future explicit authorized instruction must name one proposal hash, the expected source-manifest hash, and its test scope. Authorization applies only to that immutable proposal and never transfers to future changes.",
    "default_after_proposal": "stop-and-wait"
  },
  "source_integrity_manifest": {
    "schema": "h11i-source-integrity-manifest-v1",
    "algorithm": "SHA-256",
    "files": {
      "deploy/cloudflare/generate_worker.py": "2fe5eb2e4fb7b9203a3d85e7595ed7272f351ab609692477e29caafd49a8a985",
      "models/h11i-lm/manifest.json": "873e3bf65abc30e79fc4894f4eb259df02e81fd30a3ae633a776d578dc8b489c",
      "src/engine/cognitive_planner.py": "99343c2fd4a97ea0696e65bc0dfb2daf51879b7cb22445bc61211335f6d1f4a5",
      "src/engine/h11_ai.py": "0c75e139edec3b0925c12b55074028e2eaaa27e5a3a8915951101009bb206f20",
      "src/platform/agent_cognitive_contracts.json": "3c22eb863f820979944f8076c8b07a7afa2ac154b5c55dc25e65ce1e39982337",
      "src/platform/canonical_theorem_bindings.json": "c20d7b3f8a5560bb1056750b9c0100811a19a4f99375a238b509a4ef1ea41a07",
      "src/platform/ecosystem_manifest.json": "930b3e6377ab552475cfea5aa511b7da1999fdcc424a9e5b5998d87320c39173",
      "src/platform/expansion_intelligence.json": "d0ec1fece42b21c2c91f3018f0e7eed96987f75cb107dd1f25cf9da8c0b0c5e9",
      "src/platform/h11_legal_evidence.json": "c7aa4486023af03022bd5da20e1563028ca90844e79129ae5a068de543024f70",
      "src/platform/h11_skills.json": "eef36becc59b06eedd435da2fe2aad3753da37305ce9164f9eb2d3f4f2a6cfdf",
      "src/platform/h11_systems_profile.json": "e285c9175dfb37bd8dc343e2acef207af2b437d122937ae57d447aae173c2566",
      "src/platform/local_runtime.js": "2a07282821055aa4866efafb560391f17878193727dd02da3f0f57c5c9fc5841",
      "src/platform/self_model.json": "71e0d6351498e3062e822ab2f96e457b6354c5c491730cf0ffab648e45840d24",
      "src/ui/console.css": "2ad3f0c1c61164b696842e6ba336919c8805d21c844ab25161114da7a17f57c2",
      "src/ui/console.js": "b3824bd4897b77a6a18c3494d2d6c26486eec314abe57510a650693a33e519bc",
      "src/ui/index.html": "6e96e793b81eadbdcea78e1f9ad6ae2a5e33f3b1e366fcecafab0c5b159f0c63",
      "tests/test_cloudflare_conversation_contract.py": "200ff1529f04ae7857e897fcc66014854469c2b544775a8ddb026ab811171943",
      "tests/test_h11_ai_mind.py": "0942ec163437bdcc46cafd3d91e2eb01320ceb40c5d41db3e5ca5a5aa0af6402"
    },
    "manifest_hash": "537885c1b26949541871b10b2fea0cf9ffe4317dd9bfe3963e9dc2039f6b238a"
  },
  "execution_endpoint_exposed": false
}