# nolane-x/nolane-world architecture

> Architecture diagram of the GitHub repository nolane-x/nolane-world, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nolane-x/nolane-world
- Repository: https://github.com/nolane-x/nolane-world

## Overview

Nolane World is a learning-to-learn cognitive OS: a host submits a goal, the runtime plans and executes bounded cognitive work, and governed evidence and verification determine whether results or learned policies can be accepted. The repository also contains the QX task-level action runtime, an advisory cognitive-ecology plane, architecture evolution, and the historical multi-process substrate. The sampled runtime and README support the main workflow; several documented subsystems are represented at directory level because their implementation was not sampled.

Main entry points: [`src/nolane_world/v5/runtime.py`](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/runtime.py) (V5 cognitive runtime), [`src/nolane_world/runtime/orchestrator.py`](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/runtime/orchestrator.py) (World orchestrator), [`src/nolane_world/v5/meta_learning_service_080.py`](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/meta_learning_service_080.py) (Meta-learning service), [`src/nolane_world/v5/evidence.py`](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/evidence.py) (Evidence and claims)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Host interface"]
  node_rpc["Plugin RPC<br/>[protocol.py]"]
end

subgraph group_runtime["Cognitive runtime"]
  node_world["World engine<br/>[engine.py]"]
  node_orchestrator["World orchestrator<br/>[orchestrator.py]"]
  node_scheduler["Cognitive scheduler<br/>[scheduler.py]"]
  node_operators["Operator registry<br/>[registry.py]"]
  node_program["Program compiler<br/>[program.py]"]
  node_v5runtime["V5 cognitive runtime<br/>[runtime.py]"]
  node_qx["QX action runtime<br/>[qx_runtime.py]"]
end

subgraph group_governance["Evidence governance"]
  node_evidence["Evidence and claims<br/>[evidence.py]"]
  node_proof["Proof and verification<br/>[proof.py]"]
  node_trust["Trust kernel<br/>[trust.py]"]
  node_promotion["Promotion court"]
end

subgraph group_learning["Learning systems"]
  node_meta["Meta-learning service"]
  node_architecture["Architecture service"]
  node_ecology["Cognitive ecology"]
  node_research["Research and experiments"]
end

subgraph group_substrate["State and cluster"]
  node_store[("Persistent runtime state<br/>[store.py]")]
  node_cluster["Process cluster"]
end

node_host(("Host or user"))

node_host -->|"submits requests"| node_rpc
node_rpc -->|"routes world calls"| node_orchestrator
node_world -->|"delegates V1"| node_orchestrator
node_orchestrator -->|"selects work"| node_scheduler
node_orchestrator -->|"loads operators"| node_operators
node_program -.->|"defines task plan"| node_v5runtime
node_v5runtime -->|"persists state"| node_store
node_v5runtime -->|"checks authority"| node_trust
node_v5runtime -.->|"records evidence"| node_evidence
node_v5runtime -.->|"requests proof"| node_proof
node_v5runtime -->|"uses governed learning"| node_meta
node_meta -->|"submits candidates"| node_promotion
node_meta -->|"reads receipts"| node_evidence
node_architecture -.->|"feeds outcome model"| node_meta
node_qx -.->|"supports epistemic actions"| node_evidence
node_ecology -.->|"advises cognition"| node_orchestrator
node_research -.->|"informs experiments"| node_architecture
node_cluster -.->|"replicates protected state"| node_store

click node_rpc "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/plugin_runtime/protocol.py"
click node_world "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/engine.py"
click node_orchestrator "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/runtime/orchestrator.py"
click node_scheduler "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/runtime/scheduler.py"
click node_operators "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/cognition/registry.py"
click node_program "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/program.py"
click node_v5runtime "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/runtime.py"
click node_qx "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/cognitive_ecology/qx_runtime.py"
click node_evidence "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/evidence.py"
click node_proof "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/proof.py"
click node_trust "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/trust.py"
click node_promotion "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/promotion_court_080.py"
click node_meta "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/meta_learning_service_080.py"
click node_architecture "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/architecture_service.py"
click node_ecology "https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/cognitive_ecology"
click node_research "https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/research"
click node_store "https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/store.py"
click node_cluster "https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/v5"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_rpc,node_host toneBlue
class node_world,node_orchestrator,node_scheduler,node_operators,node_program,node_v5runtime,node_qx toneAmber
class node_evidence,node_proof,node_trust,node_promotion toneMint
class node_meta,node_architecture,node_ecology,node_research toneRose
class node_store,node_cluster toneIndigo
```

## Components

### Host interface

- [Plugin RPC](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/plugin_runtime/protocol.py): `src/nolane_world/plugin_runtime/protocol.py`

### Cognitive runtime

- [World engine](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/engine.py): `src/nolane_world/engine.py`
- [World orchestrator](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/runtime/orchestrator.py): `src/nolane_world/runtime/orchestrator.py`
- [Cognitive scheduler](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/runtime/scheduler.py): `src/nolane_world/runtime/scheduler.py`
- [Operator registry](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/cognition/registry.py): `src/nolane_world/cognition/registry.py`
- [Program compiler](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/program.py): `src/nolane_world/v5/program.py`
- [V5 cognitive runtime](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/runtime.py): `src/nolane_world/v5/runtime.py`
- [QX action runtime](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/cognitive_ecology/qx_runtime.py): `src/nolane_world/cognitive_ecology/qx_runtime.py`

### Evidence governance

- [Evidence and claims](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/evidence.py): `src/nolane_world/v5/evidence.py`
- [Proof and verification](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/proof.py): `src/nolane_world/v5/proof.py`
- [Trust kernel](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/trust.py): `src/nolane_world/v5/trust.py`
- [Promotion court](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/promotion_court_080.py): `src/nolane_world/v5/promotion_court_080.py`

### Learning systems

- [Meta-learning service](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/meta_learning_service_080.py): `src/nolane_world/v5/meta_learning_service_080.py`
- [Architecture service](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/architecture_service.py): `src/nolane_world/v5/architecture_service.py`
- [Cognitive ecology](https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/cognitive_ecology): `src/nolane_world/cognitive_ecology`
- [Research and experiments](https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/research): `src/nolane_world/research`

### State and cluster

- [Persistent runtime state](https://github.com/nolane-x/nolane-world/blob/main/src/nolane_world/v5/store.py): `src/nolane_world/v5/store.py`
- [Process cluster](https://github.com/nolane-x/nolane-world/tree/main/src/nolane_world/v5): `src/nolane_world/v5`

### Other components

- **Host or user**

## Connections

- Host or user → Plugin RPC: submits requests (evidence: `src/nolane_world/plugin_runtime/protocol.py`)
- Plugin RPC → World orchestrator: routes world calls (evidence: `src/nolane_world/plugin_runtime/protocol.py`)
- World engine → World orchestrator: delegates V1 (evidence: `src/nolane_world/engine.py`)
- World orchestrator → Cognitive scheduler: selects work (evidence: `src/nolane_world/runtime/orchestrator.py`)
- World orchestrator → Operator registry: loads operators (evidence: `src/nolane_world/runtime/orchestrator.py`)
- Program compiler → V5 cognitive runtime: defines task plan (evidence: `src/nolane_world/v5/runtime.py`)
- V5 cognitive runtime → Persistent runtime state: persists state (evidence: `src/nolane_world/v5/runtime.py`)
- V5 cognitive runtime → Trust kernel: checks authority (evidence: `src/nolane_world/v5/runtime.py`)
- V5 cognitive runtime → Evidence and claims: records evidence (evidence: `src/nolane_world/v5/runtime.py`)
- V5 cognitive runtime → Proof and verification: requests proof (evidence: `src/nolane_world/v5/runtime.py`)
- V5 cognitive runtime → Meta-learning service: uses governed learning (evidence: `src/nolane_world/v5/runtime.py`)
- Meta-learning service → Promotion court: submits candidates (evidence: `src/nolane_world/v5/meta_learning_service_080.py`)
- Meta-learning service → Evidence and claims: reads receipts (evidence: `src/nolane_world/v5/meta_learning_service_080.py`)
- Architecture service → Meta-learning service: feeds outcome model
- QX action runtime → Evidence and claims: supports epistemic actions
- Cognitive ecology → World orchestrator: advises cognition (evidence: `README.md`)
- Research and experiments → Architecture service: informs experiments
- Process cluster → Persistent runtime state: replicates protected state (evidence: `README.md`)
