# wdeldaybytebuster/bytebuster-neurosyncos architecture

> Architecture diagram of the GitHub repository wdeldaybytebuster/bytebuster-neurosyncos, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-06-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wdeldaybytebuster/bytebuster-neurosyncos
- Repository: https://github.com/wdeldaybytebuster/bytebuster-neurosyncos

## Overview

1. **Overall shape**
   NeuroSync Sovereign OS is a local, TypeScript-based control system with three main planes: a **Hono server API**, a **React/Vite UI**, and a set of **core orchestration services** under `src/core`. Runtime state is persisted in a local **SQLite database** in `.data/`, alongside a master key for crypto-backed storage.

2. **Persistence and security boundary: BaseVault**
   `src/core/basevault` is the system’s storage foundation. It owns the **SQLite schema**, **DB access**, **crypto**, **auth**, and a **write queue** to serialize persistence operations. Other subsystems depend on this layer for durable state rather than talking to storage directly.

3. **Execution boundary: CoreExec**
   `src/core/coreexec` is the task/DAG execution engine. It includes **DAG validation**, **scheduler**, **worker pool**, **sandbox**, **dispatch**, **queueing**, **path validation**, and **memory sweep** logic. This is the main “do work” subsystem and is clearly separated from routing/governance concerns.

4. **Model governance and routing: RouteSwitch**
   `src/core/routeswitch` decides which model/provider should handle a request and how much autonomy is allowed. Its internal pieces include **governor**, **council**, **triage**, **interceptor**, **router**, **discovery**, and **engine**. Provider adapters target both **OpenAI-compatible** endpoints and **llama.cpp**, so model access is provider-agnostic.

5. **Task intake and safety: ScopeLogic**
   `src/core/scopelogic` handles structured intake, validation, and risk handling for requests before they are executed. It contains **interview**, **validator**, **schemas**, and **risk** modules. Architecturally, this is the “policy gate” that constrains what gets promoted into execution or routing.

6. **Background daemon and source sync: ScoutDaemon**
   `src/core/scoutdaemon` is the always-on background layer. It provides **SSE streaming**, **idle detection**, **DB sync**, parsing, and a **GitNexus worker** integration. This subsystem bridges filesystem/project activity into the rest of the OS and pushes live updates outward.

7. **Analysis and adaptive routing: ScoutLogic**
   `src/core/scoutlogic` provides higher-level classification and benchmarking via **classifier**, **dynamic router**, and **benchmarker** modules. It appears to support system adaptation: determining how projects/tasks should be interpreted and which path they should follow through the OS.

8. **Long-term memory: Cerebro**
   `src/core/memory/cerebro` is the memory subsystem, with **vector retrieval**, **reflection**, and **habituation**. It is the system’s persistence-backed learning/memory layer and likely feeds both decision-making and user-facing memory views.

9. **API gateway**
   `src/server/index.ts` is the HTTP entrypoint, and `src/server/routes` exposes subsystem-facing endpoints such as **cerebro**, **coreexec-router**, **llm**, **models**, **projects**, **scheduler-list**, **system**, and **todos**. The server is the integration layer that turns internal services into consumable APIs for the UI and external callers.

10. **UI as operational cockpit**
    `src/ui` is not a generic app shell; it is an **operations dashboard** for the OS. There are dedicated views for **BaseVault**, **Cerebro**, **CoreExec**, **RouteSwitch**, **ScopeLogic**, **ScoutDaemon**, and a **UnifiedMasterDashboard**. Components like approval queues, autonomy dials, routing dials, run history, and health widgets indicate the UI is meant for supervising and intervening in system behavior, not just displaying data.

11. **Cross-cutting data flow**
    Typical flow is: **intake in the UI or API → policy/risk gating in ScopeLogic → model routing in RouteSwitch or classification in ScoutLogic → execution in CoreExec → persistence through BaseVault → live status streamed via ScoutDaemon/SSE back to the UI**. Memory updates in Cerebro can influence future routing and responses, while BaseVault provides the durable source of truth.

12. **Tooling and governance layer**
    The `docs/` tree is unusually important: it contains the architecture reference, operating rules, phase plans, schemas, and review templates. This documentation is treated as a living control plane for implementation decisions, while `scripts/`, tests, and the grammar files support validation of DAG behavior, crypto, and end-to-end flows.

Main entry points: [`src/server/routes`](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/tree/main/src/server/routes) (Routes), [`src/core/coreexec/engine.ts`](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/engine.ts) (Engine), [`src/core/basevault/db.ts`](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/db.ts) (DB Access), [`src/core/routeswitch/router.ts`](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/router.ts) (Router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core_foundation["Foundation"]
  node_basevault_schema["Schema<br/>[schema.ts]"]
  node_basevault_db[("DB Access<br/>sqlite access<br/>[db.ts]")]
  node_basevault_crypto{{"Crypto<br/>encryption<br/>[crypto.ts]"}}
  node_basevault_queue["Write Queue<br/>persistence queue<br/>[write-queue.ts]"]
end

subgraph group_core_execution["Execution"]
  node_coreexec_engine["Engine<br/>[engine.ts]"]
  node_coreexec_validate["DAG Validation<br/>dag rules<br/>[validateDAG.ts]"]
  node_coreexec_scheduler["Scheduler<br/>[scheduler.ts]"]
  node_coreexec_workers["Worker Pool<br/>worker runtime<br/>[worker-pool.ts]"]
  node_coreexec_sandbox{{"Sandbox<br/>isolation layer<br/>[sandbox.ts]"}}
end

subgraph group_core_governance["Governance"]
  node_routeswitch_governor{{"Governor<br/>autonomy policy<br/>[governor.ts]"}}
  node_routeswitch_council["Council<br/>decision layer<br/>[council.ts]"]
  node_routeswitch_router["Router<br/>[router.ts]"]
  node_routeswitch_adapters["Adapters"]
  node_scopelogic_validator["Validator<br/>policy gate<br/>[validator.ts]"]
  node_scopelogic_interview["Interview<br/>request intake<br/>[interview.ts]"]
  node_scoutlogic_classifier["Classifier<br/>analysis<br/>[classifier.ts]"]
  node_scoutlogic_router["Dynamic Router<br/>adaptive routing<br/>[dynamic-router.ts]"]
  node_cerebro_vector[("Vector Memory<br/>retrieval memory<br/>[vector.ts]")]
  node_cerebro_reflection["Reflection<br/>memory synthesis<br/>[reflection.ts]"]
end

subgraph group_core_ops["Ops"]
  node_scoutdaemon_sse["SSE Stream<br/>live updates<br/>[sse.ts]"]
  node_scoutdaemon_sync["DB Sync<br/>background sync<br/>[db-sync.ts]"]
  node_scoutdaemon_worker["GitNexus Worker<br/>background worker<br/>[gitnexus-worker.ts]"]
end

subgraph group_api_layer["API"]
  node_server_index["Server<br/>http entrypoint<br/>[index.ts]"]
  node_server_routes["Routes"]
end

subgraph group_ui_layer["UI"]
  node_ui_dashboard["Master Dashboard<br/>ops ui"]
  node_ui_controls["Control Panels<br/>ui controls<br/>[AutonomyDials.tsx]"]
  node_ui_views["Subsystem Views<br/>ui views"]
end

subgraph group_docs_layer["Docs"]
  node_docs_arch["Architecture Docs"]
  node_docs_rules["Operating Rules<br/>governance docs<br/>[architecture.md]"]
end

subgraph group_tooling_layer["Tooling"]
  node_grammar_dag["DAG Grammar<br/>validation grammar<br/>[dag.gbnf]"]
  node_scripts_validation["Validation Scripts<br/>test scripts<br/>[dag-test.ts]"]
end

node_basevault_schema -->|"defines"| node_basevault_db
node_basevault_db -->|"protects"| node_basevault_crypto
node_basevault_queue -->|"serializes"| node_basevault_db
node_coreexec_validate -->|"gates"| node_coreexec_engine
node_coreexec_scheduler -->|"dispatches"| node_coreexec_workers
node_coreexec_engine -->|"orchestrates"| node_coreexec_scheduler
node_coreexec_engine -->|"isolates"| node_coreexec_sandbox
node_routeswitch_governor -->|"sets policy"| node_routeswitch_council
node_routeswitch_council -->|"selects"| node_routeswitch_router
node_routeswitch_router -->|"uses"| node_routeswitch_adapters
node_scopelogic_interview -->|"feeds"| node_scopelogic_validator
node_scopelogic_validator -->|"constrains"| node_routeswitch_governor
node_scoutlogic_classifier -->|"guides"| node_scoutlogic_router
node_scoutlogic_router -->|"influences"| node_routeswitch_router
node_cerebro_reflection -->|"persists"| node_cerebro_vector
node_cerebro_vector -->|"informs"| node_routeswitch_council
node_scoutdaemon_worker -->|"updates"| node_scoutdaemon_sync
node_scoutdaemon_sync -->|"writes"| node_basevault_db
node_scoutdaemon_sse -->|"streams to"| node_server_routes
node_server_index -->|"mounts"| node_server_routes
node_ui_dashboard -->|"contains"| node_ui_controls
node_ui_dashboard -->|"navigates"| node_ui_views
node_ui_views -->|"calls"| node_server_routes
node_docs_arch -.->|"guides"| node_docs_rules
node_grammar_dag -->|"constrains"| node_coreexec_validate
node_scripts_validation -.->|"verifies"| node_basevault_crypto
node_scripts_validation -.->|"exercises"| node_coreexec_engine
node_server_routes -->|"exposes"| node_coreexec_engine
node_server_routes -->|"exposes"| node_cerebro_vector
node_server_routes -->|"exposes"| node_routeswitch_router

click node_basevault_schema "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/schema.ts"
click node_basevault_db "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/db.ts"
click node_basevault_crypto "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/crypto.ts"
click node_basevault_queue "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/write-queue.ts"
click node_coreexec_engine "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/engine.ts"
click node_coreexec_validate "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/validateDAG.ts"
click node_coreexec_scheduler "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/scheduler.ts"
click node_coreexec_workers "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/worker-pool.ts"
click node_coreexec_sandbox "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/sandbox.ts"
click node_routeswitch_governor "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/governor.ts"
click node_routeswitch_council "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/council.ts"
click node_routeswitch_router "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/router.ts"
click node_routeswitch_adapters "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/adapters/openai-compatible.ts"
click node_scopelogic_validator "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scopelogic/validator.ts"
click node_scopelogic_interview "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scopelogic/interview.ts"
click node_scoutlogic_classifier "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutlogic/classifier.ts"
click node_scoutlogic_router "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutlogic/dynamic-router.ts"
click node_cerebro_vector "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/memory/cerebro/vector.ts"
click node_cerebro_reflection "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/memory/cerebro/reflection.ts"
click node_scoutdaemon_sse "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/sse.ts"
click node_scoutdaemon_sync "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/db-sync.ts"
click node_scoutdaemon_worker "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/gitnexus-worker.ts"
click node_server_index "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/server/index.ts"
click node_server_routes "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/tree/main/src/server/routes"
click node_ui_dashboard "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/views/UnifiedMasterDashboard.tsx"
click node_ui_controls "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/components/AutonomyDials.tsx"
click node_ui_views "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/views/BaseVaultDashboard.tsx"
click node_docs_arch "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/docs/02-architecture/architecture-blueprint.md"
click node_docs_rules "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/context/architecture.md"
click node_grammar_dag "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/grammar/dag.gbnf"
click node_scripts_validation "https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/scripts/dag-test.ts"

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_basevault_schema,node_basevault_db,node_basevault_crypto,node_basevault_queue,node_docs_arch,node_docs_rules toneBlue
class node_coreexec_engine,node_coreexec_validate,node_coreexec_scheduler,node_coreexec_workers,node_coreexec_sandbox,node_grammar_dag,node_scripts_validation toneAmber
class node_routeswitch_governor,node_routeswitch_council,node_routeswitch_router,node_routeswitch_adapters,node_scopelogic_validator,node_scopelogic_interview,node_scoutlogic_classifier,node_scoutlogic_router,node_cerebro_vector,node_cerebro_reflection toneMint
class node_scoutdaemon_sse,node_scoutdaemon_sync,node_scoutdaemon_worker toneRose
class node_server_index,node_server_routes toneIndigo
class node_ui_dashboard,node_ui_controls,node_ui_views toneTeal
```

## Components

### Foundation

Persistence, crypto, and durable state boundary

- [Schema](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/schema.ts): sqlite schema · SQLite schema and data model for durable state · `src/core/basevault/schema.ts`
- [DB Access](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/db.ts): sqlite access · Database access layer for local persistence · `src/core/basevault/db.ts`
- [Crypto](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/crypto.ts): encryption · Crypto-backed storage and key handling · `src/core/basevault/crypto.ts`
- [Write Queue](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/basevault/write-queue.ts): persistence queue · Serializes write operations into storage · `src/core/basevault/write-queue.ts`

### Execution

Task DAG execution and worker runtime

- [Engine](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/engine.ts): task engine · Orchestrates execution of task graphs · `src/core/coreexec/engine.ts`
- [DAG Validation](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/validateDAG.ts): dag rules · Validates task graphs before execution · `src/core/coreexec/validateDAG.ts`
- [Scheduler](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/scheduler.ts): task scheduler · Plans and orders runnable work · `src/core/coreexec/scheduler.ts`
- [Worker Pool](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/worker-pool.ts): worker runtime · Executes tasks in managed workers · `src/core/coreexec/worker-pool.ts`
- [Sandbox](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/coreexec/sandbox.ts): isolation layer · Constrains task execution environment · `src/core/coreexec/sandbox.ts`

### Governance

Policy, routing, and adaptive decision layers

- [Governor](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/governor.ts): autonomy policy · Controls allowed autonomy and request posture · `src/core/routeswitch/governor.ts`
- [Council](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/council.ts): decision layer · Aggregates routing and governance signals · `src/core/routeswitch/council.ts`
- [Router](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/router.ts): provider router · Selects provider path for requests · `src/core/routeswitch/router.ts`
- [Adapters](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/routeswitch/adapters/openai-compatible.ts): provider adapters · Provider-specific integrations for model endpoints · `src/core/routeswitch/adapters/openai-compatible.ts`
- [Validator](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scopelogic/validator.ts): policy gate · Validates structured intake before execution · `src/core/scopelogic/validator.ts`
- [Interview](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scopelogic/interview.ts): request intake · Collects and shapes user intent · `src/core/scopelogic/interview.ts`
- [Classifier](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutlogic/classifier.ts): analysis · Classifies project/task intent and context · `src/core/scoutlogic/classifier.ts`
- [Dynamic Router](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutlogic/dynamic-router.ts): adaptive routing · Adapts routing based on analysis signals · `src/core/scoutlogic/dynamic-router.ts`
- [Vector Memory](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/memory/cerebro/vector.ts): retrieval memory · Vector-based retrieval and stored context · `src/core/memory/cerebro/vector.ts`
- [Reflection](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/memory/cerebro/reflection.ts): memory synthesis · Creates reflective memory and higher-level recall · `src/core/memory/cerebro/reflection.ts`

### Ops

Background daemon and system telemetry

- [SSE Stream](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/sse.ts): live updates · Streams daemon status and live events · `src/core/scoutdaemon/sse.ts`
- [DB Sync](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/db-sync.ts): background sync · Synchronizes daemon activity with durable state · `src/core/scoutdaemon/db-sync.ts`
- [GitNexus Worker](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/core/scoutdaemon/gitnexus-worker.ts): background worker · Integration worker for repository/project activity · `src/core/scoutdaemon/gitnexus-worker.ts`

### API

HTTP entrypoints and subsystem routes

- [Server](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/server/index.ts): http entrypoint · Hono HTTP server entrypoint · `src/server/index.ts`
- [Routes](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/tree/main/src/server/routes): api routes · Subsystem-facing HTTP endpoints · `src/server/routes`

### UI

Operational dashboard and control surfaces

- [Master Dashboard](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/views/UnifiedMasterDashboard.tsx): ops ui · Unified operational cockpit for the OS · `src/ui/views/UnifiedMasterDashboard.tsx`
- [Control Panels](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/components/AutonomyDials.tsx): ui controls · Autonomy, routing, approval, and status controls · `src/ui/components/AutonomyDials.tsx`
- [Subsystem Views](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/src/ui/views/BaseVaultDashboard.tsx): ui views · Dedicated dashboards for major core subsystems · `src/ui/views/BaseVaultDashboard.tsx`

### Docs

Architecture, rules, and operating guidance

- [Architecture Docs](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/docs/02-architecture/architecture-blueprint.md): architecture docs · Reference architecture and system boundaries · `docs/docs/02-architecture/architecture-blueprint.md`
- [Operating Rules](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/context/architecture.md): governance docs · Rules, standards, and review guidance · `docs/context/architecture.md`

### Tooling

Scripts, grammar, and validation utilities

- [DAG Grammar](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/docs/grammar/dag.gbnf): validation grammar · Grammar used to constrain DAG structure · `docs/grammar/dag.gbnf`
- [Validation Scripts](https://github.com/wdeldaybytebuster/bytebuster-neurosyncos/blob/main/scripts/dag-test.ts): test scripts · Crypto, DAG, and end-to-end verification scripts · `scripts/dag-test.ts`

## Connections

- Schema → DB Access: defines · Schema is consumed by database access
- DB Access → Crypto: protects · Database layer relies on crypto for secure storage
- Write Queue → DB Access: serializes · Queued writes are flushed through DB access
- DAG Validation → Engine: gates · Validated DAGs enter the execution engine
- Scheduler → Worker Pool: dispatches · Scheduler hands runnable work to workers
- Engine → Scheduler: orchestrates · Engine coordinates scheduling and execution
- Engine → Sandbox: isolates · Task execution is constrained by sandboxing
- Governor → Council: sets policy · Governance posture informs decision making
- Council → Router: selects · Council decisions drive routing
- Router → Adapters: uses · Router invokes provider adapters
- Interview → Validator: feeds · Structured intake is validated before promotion
- Validator → Governor: constrains · Policy gate limits autonomy and execution scope
- Classifier → Dynamic Router: guides · Classification informs adaptive routing
- Dynamic Router → Router: influences · Adaptive analysis steers provider routing
- Reflection → Vector Memory: persists · Reflections are backed by vector retrieval memory
- Vector Memory → Council: informs · Memory can shape future decisions and responses
- GitNexus Worker → DB Sync: updates · Worker activity is synchronized to state
- DB Sync → DB Access: writes · Daemon sync persists into the durable store
- SSE Stream → Routes: streams to · Live events are exposed through the API layer
- Server → Routes: mounts · Server exposes subsystem routes
- Master Dashboard → Control Panels: contains · Dashboard surfaces operational controls
- Master Dashboard → Subsystem Views: navigates · Master dashboard links to subsystem views
- Subsystem Views → Routes: calls · UI views consume API endpoints
- Architecture Docs → Operating Rules: guides · Architecture docs are framed by operating rules
- DAG Grammar → DAG Validation: constrains · Grammar supports DAG validation
- Validation Scripts → Crypto: verifies · Scripts check crypto and persistence behavior
- Validation Scripts → Engine: exercises · Scripts cover execution flows
- Routes → Engine: exposes · API offers execution-facing endpoints
- Routes → Vector Memory: exposes · API serves memory-related endpoints
- Routes → Router: exposes · API serves routing and model endpoints
