{
  "id": "phi-os-brain-architecture",
  "title": "PHI|OS Brain Architecture",
  "purpose": "Bind apx-core, genesis, invariants, symbolic bridges, and LAB dynamics into a layered PHI|OS brain model.",
  "layers": [
    {
      "id": "apx-core-root",
      "role": "Canonical symbolic core for spectra architecture, psychometrics, Kobalt Sigma bindings, and thought-tree overlays.",
      "references": [
        "/rhiz/PHI|OS/LAB/apx-core/spectra/Spectra_Architecture_Overview.md",
        "/rhiz/PHI|OS/LAB/apx-core/psychometrics/psyche-questions.md",
        "/rhiz/PHI|OS/LAB/apx-core/mod/kobalt-sigma-ai.md"
      ],
      "integration": {
        "kobalt_sigma_api": "http://localhost:3000/v1/chat/completions",
        "fallback_engine": "/rhiz/fizzy-ki/packages/shared/engine/kobalt.mjs",
        "persona_branches": ["shadow", "heretic", "dissident", "subversive"]
      }
    },
    {
      "id": "genesis-kernel",
      "role": "Stores quasi invariant topological varieties and module genesis directives.",
      "references": [
        "/rhiz/PHI|OS/genesis/phi-os.genesis-index.json",
        "/rhiz/PHI|OS/thought-experiment/input/005_genesis_index.md"
      ]
    },
    {
      "id": "invariant-cortex",
      "role": "Projects invariant state spaces, nesting class types, and group-set validity.",
      "references": [
        "/rhiz/factory/hypergraph_meta_cluster_bundle/services/shared/phi_os_lab.py"
      ]
    },
    {
      "id": "bridge-hippocampus",
      "role": "Handles domain conversion, souvenir transfer, and sparsity SDQ bridge enforcement.",
      "references": [
        "/rhiz/factory/hypergraph_meta_cluster_bundle/services/shared/apertus_workflow.py",
        "/rhiz/PHI|OS/thought-experiment/input/001_apertus_identity_invariant.json"
      ]
    },
    {
      "id": "overlay-thalamus",
      "role": "Distributes rendering overlays and attention summaries across operator and immersive surfaces.",
      "references": [
        "/rhiz/PHI|OS/LAB/apx-core/arkiv/thoughtTree.js",
        "/rhiz/PHI|OS/LAB/dynamics/graph-sync/main.fixed.js"
      ]
    },
    {
      "id": "swarm-cerebellum",
      "role": "Maintains swarm drift, adaptive motion, and genetic behavioral variation.",
      "references": [
        "/rhiz/PHI|OS/LAB/delta/agents/sigmaAlgeaSwarm.js",
        "/rhiz/PHI|OS/LAB/delta/agents/geneticAgentSystem.js"
      ]
    },
    {
      "id": "hypervision-occipital",
      "role": "Projects superposed scenes, graph synchrony, and quasi hypervision overlays.",
      "references": [
        "/rhiz/PHI|OS/LAB/delta/infra/3D_LAB_ARCHITECTURE.md",
        "/rhiz/PHI|OS/LAB/dynamics/time-crytal/main.js",
        "/rhiz/PHI|OS/LAB/dynamics/uniphi5/uniphi-infinite-universe-starfield-fields-radar.html"
      ]
    },
    {
      "id": "orchestration-stem",
      "role": "Connects composer, monitoring, release orchestration, and public workflow routing.",
      "references": [
        "/rhiz/akatsuki/singularity/public/composer.html",
        "/rhiz/factory/hypergraph_meta_cluster_bundle/services/api-gateway/src/routers/workflow.py"
      ]
    }
  ],
  "signals": [
    "bridge_density",
    "functor_balance",
    "commutative_consistency",
    "motionEnergy",
    "stationaryScore",
    "decoherence",
    "noise"
  ]
}
