System design
Platform architecture
KERNARY separates reasoning, deterministic execution, physical control and production authority while linking every output through a shared evidence graph.
System boundaries
| Boundary | Owns | Must not own |
|---|---|---|
| Engineer | Planning, diagnosis, tool selection | Signing keys or unrestricted hardware |
| Build plane | Source execution, compilation, artefacts | Cross-tenant writable state |
| Board plane | Reservation, flash, power, serial, instruments | Release approval |
| Fleet plane | Deployment cohorts, health and rollback | Agent-defined global policy |
| Control plane | Identity, policy, workflow and audit | Customer build execution |
Workflow state machine
SPECIFIED → PLANNED → BUILDING → SIMULATED
↓ ↓
BLOCKED BOARD_VALIDATING
↓
EVIDENCE_READY
↓
AWAITING_APPROVAL
↓
SIGNED → DEPLOYING → LEARNINGEvery transition records its actor, policy decision, inputs, outputs and evidence references. A retry produces a new build or test run instead of silently mutating history.
Detailed engineering loop
The product-level system view stays simple, while execution advances through explicit stages. Each stage has its own acceptance criteria and can stop without silently advancing the release.
- 01Specify
Capture the board, BSP, product constraints and required outcomes.
- 02Design
Resolve the boot, kernel, driver, security and update strategy.
- 03Build
Produce a reproducible image and versioned build manifest.
- 04Simulate
Run static validation and QEMU or equivalent software-level tests.
- 05Validate
Exercise the release candidate on the version-matched physical target.
- 06Release
Pause at the policy-controlled human approval and signing boundary.
- 07Learn
Return measured outcomes and retained failures to the system history.
Suggested service boundaries
Projects, identity, policy, workflows and approvals.
Orchestrator, model adapters and specialist-agent runtime.
Cells, snapshots, jobs, caches and artefacts.
Inventory, reservations, gateway protocol and instruments.
System entities, provenance, compatibility and failure history.
Devices, cohorts, telemetry, update health and rollback.
Trust principles
- Reasoning may be probabilistic; builds, tests, measurements and signatures remain deterministic.
- Agent cells receive short-lived scoped credentials through policy-enforcing tool proxies.
- Signing occurs outside the agent sandbox with separation of duties.
- Customer source, vendor material and schematics remain inside explicit tenant and provenance boundaries.
- A successful build is weaker evidence than a successful version-matched physical test.
These docs are part of the product design. Interfaces remain proposals until an implementation is published.
