Technology

V2 Architecture

V2 is an architecture specification. This page walks through what each part of it does, in plain language, and shows the relationships it states outright.

This page describes a design. It is not a claim that the design has been built.

Diagrams

Architecture diagrams

Each diagram shows one relationship the architecture states and nothing beyond it. Every figure also says what it leaves out.

Fig. 1Module Communication
Module CommunicationThree modules each pass what they produce into a single Request Context, which the Kernel manages. No module connects to another module.ModulesShared spaceModule AModule BModule CRequest Contextone per requestKernel manages it

The rule: modules never speak to each other directly. What they share passes through the Request Context, a space the Kernel controls.

Does not claim: a complete system topology, module count or types, transport details, timing, or any direct module-to-module path.

Fig. 2Pipeline
PipelineA request enters, runs through steps handled by modules, and a result comes out. Every step reads and adds to one Request Context, drawn as a band beneath the line.One requestRequestStep in a moduleStep in a moduleResultRequest Contextevery step reads it and adds to it · nothing already written is changed

Does not claim: a universal pipeline sequence, specific step counts, or specific branch conditions for every request.

How steps can run
Fig. 3One request, three ways to run it
One request, three ways to run itThree diagrams of the same pipeline: steps one after another, steps side by side, and a path that depends on a condition.StepStepStepEach step waits for the one before itRequestStepStepStepResultSteps that do not depend on each other run at the same timeRequestIf the condition holdsIf it does notconditionotherwise

Sequential: a step waits for the one before it when it needs that result.

Parallel: steps that do not depend on each other run at the same time.

Conditional: the path a request takes can depend on what has happened so far.

Fig. 4Sandbox

Note: the grouping below shows what each layer is for. No physical or logical layout is specified for them.

Around the module

  • L1

    Outer module sandbox keeps the module away from the rest of the system.

  • L2

    Inner execution sandbox keeps the module’s own code away from the environment it runs in.

Around the Kernel

  • L3

    Outer kernel sandbox keeps the Kernel away from the operating system beneath it.

  • L4

    Inner kernel sandbox keeps the Kernel’s internal services apart from one another.

Does not claim: nesting, containment, or a specific spatial/logical order beyond the layer numbers, purposes and grouping shown here.

Fig. 5Specification Hierarchy
  1. L1

    Core Specification is fixed. It covers what the Kernel is responsible for, the security model, the module contract, the Request Context, the communication model and the core philosophy.

  2. L2

    Component Specifications go into detail on each of the sixteen pillars.

  3. L3

    Extension Specifications set the standards a module follows: how it describes itself, how capabilities are named, how errors are reported and how resource use is managed.

  4. L4

    Profile Specifications adapt the requirements to a particular setting, such as a medical system or a mobile deployment.

Does not claim: inheritance or override rules, or relationships beyond those shown here.

Pillars

Sixteen pillars

The numbers are an index for reading, not a sequence. They say nothing about how the parts are arranged or which one runs first.

01

Kernel

The core of the system. It starts and stops modules, runs pipelines, enforces the rules and decides what runs when. The work inside a module stays in the module.

02

Module Lifecycle

Every module passes through the same stages: created, registered, loaded, running, paused, removed. Because the stages never change, a capability can be added or taken out without rebuilding anything around it.

03

Module Communication

Modules never call one another. They leave what they produce in the Request Context, a shared space the Kernel owns, and read whatever earlier steps put there.

04

Sandbox System

Access is restricted in four layers, two around the modules and two around the Kernel. Each part gets the access its job requires and no more. An attempt to reach past that limit is stopped and recorded.

05

Pipeline & Execution Engine

A request travels through a series of steps, each one handled by a module. Steps can run in order, side by side, or only when a condition is met. All of them work on the same Request Context, which keeps the whole history.

06

Module Registry & Discovery

The Registry lists which modules are available. The Kernel checks a module before accepting it, and when two modules can do the same job it can pick between them using their track record and how far each is trusted.

07

Data & Request Context

Each request carries one shared context. Every step can read it and add to it, but nothing already written is altered, so the record of how the request was handled stays complete.

08

Scheduling & Resource Management

The system decides what runs first, keeps low-priority work from waiting forever, assigns resources and takes them back, and moves a task to stronger hardware when that hardware is available.

09

AI-Native Intelligence Layer

AI advises: it suggests faster ways to run a pipeline, flags behaviour that does not look normal, anticipates what resources will be needed and helps choose a module. Every suggestion is checked before anything acts on it, and the core functions still work with AI switched off entirely.

10

Personal Multi-Device Ecosystem

Devices join only when their owner connects them, and they speak to each other rather than to anyone else. Sharing is opt-in, encrypted while it travels, and limited to that person’s own devices.

11

Developer Experience & MDK

The Module Development Kit gives a developer a template to start from, a local copy of the system to test against, automated tests, a security check, a profiler, documentation generated from the code, and one command that packages the result for submission.

12

Security & Trust

A part is not trusted because of where it sits. Every request, module and recommendation is verified, each part holds the least access it can work with, data is protected, and security events are written down.

13

Observability & Diagnostics

Metrics, logs and traces show what the system is doing. The Request Context already holds the timing, output, errors and security events of each request, so the record exists without anyone adding instrumentation later.

14

Fault Tolerance & Recovery

Parts will fail, and the design assumes it. Recovery happens at four levels: the module, the pipeline, a single Kernel service, or safe mode. What went wrong is kept and studied so the next occurrence is caught earlier.

15

Governance & Evolution

The core changes rarely, and everything built around it can change often. Decisions are written down with their reasoning, a version number says what kind of change to expect, and an old capability is retired in stages rather than overnight.

16

Specification & Compliance

The specification states what each part must do and how it must behave. Compliance tests check that it does, and they keep running after release as well as before it.

Engineering detail

How this architecture is built, verified and changed is described on the Engineering page.