Quantum-Canny Architecture TM‍

QCA is an architectural intelligence. A patterned, templated system architecture that continuously observes, analyzes, and optimizes the deepest layers of software and infrastructure.

Request More Information

Quantum-Canny ArchitectureTM

QCA is an architectural intelligence. A patterned, templated system architecture that continuously observes, analyzes, and optimizes the deepest layers of software and infrastructure.

Request More Information
QCA

Components that carry their own design.

A runtime for systems built from loadable components — with deterministic replay, kernel-level instrumentation, a digital twin, and an engineering agent that holds the model from first commit to production.

Mark Graybill · October 2026
The problem

Integration systems are hand-wired, opaque at runtime, and slow to fix.

Hand-wired

Every link between a protocol handler, a translator, and a consumer is bespoke code. Moving a component means rewriting its neighbors.

Opaque

Logs say what the author expected to matter. What actually happened on the wire and in the kernel is invisible until someone attaches a debugger.

Slow to fix

A reported fault cannot be reproduced on demand, so diagnosis is archaeology. "AIOps" promised to watch and repair; with no model of the system and no way to replay a failure, it rarely could.

The claim

Give the runtime a formal component model and deterministic replay, and the agent that engineered the system can watch it, reproduce what goes wrong, and prove a fix in a twin — with a human deciding what ships.

How it is built

Three contracts do most of the work.

The AO interface

An architecture object is a dynamic library behind a stable C ABI. Its manifest declares a family, provided and required ports, state, and a watch list. Composition only — no inheritance across the boundary.

The envelope

Every message carries destination node, AO, and port; a correlation key; a sequence and virtual timestamp; and a test flag. Proxies, state nodes, self-test, and monitoring all read the same header.

The QcaNode resource

A node, its AOs, bindings, placement, and framework policy as one declarative resource. On Kubernetes it is a custom resource; on an edge box it is the same schema as a file. One reconcile loop, two backends.

Families are manifest metadata, not code: JREAP-A, -B, -C share a port contract and a conformance suite, so they are substitutable and the UML can draw the generalization.
Location transparency

An AO sends on a port. It never knows whether the peer is next door or on another machine.

QCA node A TCP AO JREAP-C AOcompanion direct QCA node B Track correlator AOstate keyed by envelope P S serialized envelope proxy stub All ports are asynchronous and fallible by contract; local binding is the fast, reliable special case.
The Workbench can move an AO between nodes or split a node in two with zero code changes. The runtime inserts proxies where the wiring crosses a boundary.
Where it runs

One image. Bare metal, cloud, or a board with a serial port.

Owned metal

Talos Linux with Cilium and Hubble. Immutable, API-only, about 80 MB. BTF kernel, so eBPF programs load without host headers.

Managed Kubernetes

EKS, GKE, AKS. Same images, same resource. Capabilities are declared in the pod spec; node pools must permit them. A deployment choice, not a code fork.

Edge

An SBC running containerd with no orchestrator. Same node binary. Discovery by static list or UDP broadcast. This is where the microcontroller, CAN, and MIDS host interfaces live.

QCA's kprobes attach through perf_event_open rather than debugfs, so the host needs nothing beyond a BTF-enabled kernel.
Observability

Instrumentation ships inside the product. Hubble is for the cluster; this is for the system.

  • Kernel. eBPF kprobes on the TCP path — bytes, connections, teardown — with zero changes to application code.
  • Application. Each AO publishes a watch list: named values exposed as USDT probe points. Zero cost until traced; attached by the Monitor through uprobes.
  • Links. Every envelope hop is recorded. The 3D view animates traffic between nodes from real data, not simulation.

Tiered by cost

Raw probes can produce millions of events a second. In-kernel aggregation reduces them to histograms and sampled traces. Model-free statistical detection runs always-on. The engineering agent sits above that as the escalation tier and queries raw data only when it needs to.

The agent never watches the firehose. It reasons over summaries with the design in hand.

QCA Workbench

One model, three modes. The 3D view for awareness; the 2D view for precision.

Design

Nodes as glass spheres with their AOs inside; connections between them. Click a node for its properties and a UML view of its companions — composition lines, proxies for cross-node links. Family-aware substitution and validation.

Develop

Declare a manifest, generate a compiling scaffold, hand the spec package to an agent or a developer, review the pull request. The build runs in CI, never inside the Workbench.

Operate

The same graph, live: self-test propagation on startup, flows between nodes, twin alongside production, the evidence package for any pending fix.

First boot forces a change of the factory superuser credential. Roles: superuser, admin, developer, maintainer, operator — with C2 as a scope. Files in Git are the source of truth; the Workbench is a view over them.
Authoring with an agent

The agent fills a hole in a scaffold that already compiles, against tests that already exist.

Manifest: family, ports, state, watch list
Generated scaffold: ABI, envelope, clock, probes, self-test stub — compiling, tests failing
Spec: command catalog, preconditions, effects, worked examples as fixtures
Agent runs headless in CI, edits only marked regions, iterates to green
Pull request with a diff a human can read

Tests are written before the agent is invoked. Conformance from the family, fixtures from the spec, property tests from the port contract. The agent makes them pass; it does not define pass.

The ABI layer is read-only. Vtable, marshaling, lifecycle are generated. If an AO needs something the scaffold lacks, that is a human, versioned scaffold change — never an agent working around it.

Chained self-test

Before anyone types a command, data has already moved through the entire system.

Every AO implements a self-test. Ingress AOs emulate receiving data; each AO's output feeds the next AO's test; the Health service runs them in topological order of the graph. When the chain completes, synthetic data has traversed every node and every link — and the Operate view shows it happening on the same 3D graph used for design.

  • A built-in integration test that proves the wiring, not just the parts.
  • Safe by contract. Synthetic data carries the test flag; egress AOs must sink it. No test ever produces a real transmit.
  • The same mechanism as replay. Recorded captures injected at ingress with the flag set are the regression suite and the training mode.
Digital twin

A second copy of the system, reading the same input, forbidden from touching the world.

All external input enters an append-only, sequenced log. Production and the twin consume the same stream from the same sequence number, seeded from the same state snapshot. The runtime injects a virtual clock and seeded RNG, so neither copy can observe real time or true randomness.

In twin mode the runtime refuses to bind any egress port to a real transport. Outputs are recorded and compared.

Why determinism is non-negotiable

A twin that merely approximates production diverges on its own — reordering, timing, randomness — and every divergence looks like an anomaly. With identical inputs, clock, and seed, a difference between twin and production is a signal, and any defect can be reproduced on demand by replaying from the log.

This is in the runtime from the first AO. It cannot be retrofitted cheaply.

The remediation loop

The agent does everything up to the evidence. A person decides what ships.

Detect: statistical anomaly, or a human report
Diagnose with the design model and targeted telemetry queries
Reproduce in the twin by replaying the triggering window
Propose a fix; state expected behavior before running it
Validate against the stated expectation and full-contract regression
Assemble the evidence package into the tracking ticket
Human approves
Operator promotes as a canary; widen on clean telemetry
Pre-registration is the discipline: the expected pattern is written into the ticket before the fixed twin runs, so the agent checks a prediction rather than confirming a result. "Regression" means the whole contract surface, not the one ticket.
Why this works where AIOps fell short

Four things earlier attempts lacked.

  • A formal model — port contracts, manifests, a declarative graph. The agent reasons about structure, not log lines.
  • Deterministic replay — a sequenced log, a virtual clock, a seeded RNG. A finding can be reproduced, which means it can be tested.
  • Design-time continuity — the agent that watches production is the agent that wrote the scaffolds and read the specs.
  • A hard approval gate — which is what makes the loop accreditable, and what protects against the author being the only reviewer of its own fix.
Reference implementation

GAMIND — Ground Air Marine Integrated Deterrence.

Tactical data arriving on several links at once — Link-16 via JREAP-C, VMF, Cursor on Target, AFAPD, SADL, MTS — fused into one common tactical picture and shown on a geographic display: tracks, installations, boundaries, information.

Radios and protocols live in a JECL Communicator Node. Correlation, the central store, and outbound track building are each their own node. The map is a node and a browser surface.

Built on JECL

Stauder Technologies' JECL layer owns the radios and the message standards: auto-discovers and programs AN/PRC-117G, PRC-152, EPLRS and airborne terminals; speaks VMF (MIL-STD-6017, 188-220, 2045-47001), Link-16 through a JRE Gateway, CoT, AFAPD, SADL, MTS; runs on Linux and embedded targets. JITC validated, USMC ATO, NAVAIR flight clearance.

GAMIND does not reimplement any of that. It composes it.

Source: JECL datasheet v2.2301, Stauder Technologies.
GAMIND inside QCA

One node per concern. One transmit path.

JECL Communicator Node JECL host AOradios, GPS,peripherals Link-16 J-series VMF K-series CoT AFAPD · SADL · MTS companions, one port family GAMIND Fusion Node Correlation AOmany links → one track Input logevery envelope, sequencedthe twin reads the same log GAMIND Store Node CTP store AOtracks · installationsboundaries · informationstate AO, snapshot /restore GAMIND Tracking Node Build Track the only transmit path GAMIND Map Node Picture hub AOserver-sent events Tiles and overlaysoffline basemap, 2525 Tactical geographic displaytracks with history · installationsboundaries · information · link healthprovenance on clickWorkbench Operate surface, C2 scope
Edge: the communicator node on the vehicle computer beside the radios; fusion and map on the same box or the next one. Command post: several communicator nodes feed one fusion node on a Talos cluster. Same images; placement is a resource decision.
GAMIND: inherited, added, open

Why it is the right first system.

From JECL

Message-standard compliance, radio and peripheral support, JITC validation, the USMC ATO, NAVAIR flight clearance of the communications layer.

From QCA

Deterministic replay of every decoded envelope. A twin that cannot transmit. Self-test that paints synthetic tracks on the map before the first real one. Watch lists on link rates, correlation latency, and store writes. A change-control loop that ends at a person.

Program scope

Integration against the JECL SDK. Licensing and export-control handling for JECL and its message tables. MIL-STD-2525 symbology. Offline basemaps for disconnected operation. Accreditation of GAMIND as a system, with JECL's certifications covering the communications layer beneath it.

Six protocol companions on one port family, a state AO that must snapshot cleanly, an egress path where the test flag is a safety requirement, and a correlator whose determinism is testable by replay. If the architecture holds for GAMIND, it holds.
Where it stands

Proof points and roadmap.

Running now

  • Rust nodes with Aya eBPF kprobes on the TCP path; strategy plugin loaded through a C ABI vtable at runtime
  • UDP peer discovery; server-side hub with server-sent events to any number of browser clients
  • Three.js dashboard: 3D topology, live flow animation, per-node inspection
  • Six-node Boids swarm with 3D obstacle avoidance driven from the browser

Roadmap

Envelope and port model
QcaNode schema
Node runtime with clock, RNG, self-test chain
2D editor and 3D view over one model
Operator on Kubernetes and local containerd
Watch lists, Monitor tiers, live view
Spec-package templating; agent CI job on one command AO
Input log, twin, remediation loop with the gate
Steps one through three prove the architecture. Everything after is interface and operations on a model that already works.
QCA

Build the model first. The rest follows.

Mark Graybill · info@graybilltechnology.com

Companion document: QCA System Architecture, including the GAMIND reference implementation.
1 / 18← →