Documentation
Docs/Core platform

Evidence model

A KERNARY workflow is only as trustworthy as the immutable relationship between its source, build, target, measurement and approval records.

Project specsha256:1a7…Sourcesha256:2a7…Build #2387sha256:3a7…Test #9183sha256:4a7…Approvalsha256:5a7…append-only · version-linked · provenance-preserving
Each record points to exact versions and immutable artefacts.

Plans, builds, tests and approvals are append-only records. Corrections produce new versions linked to the prior record so an engineer can reconstruct why a release candidate exists.

Evidence object

Evidence object · proposed API
{
  "apiVersion": "kernary.dev/v1alpha1",
  "kind": "TestEvidence",
  "metadata": {
    "id": "evidence://testrun/9183/can-loopback",
    "createdAt": "2026-08-20T12:43:04Z",
    "actor": "tool://kernary-test/hil-runner"
  },
  "subject": {
    "source": "git:abc123",
    "build": "build://orbit-controller/2387",
    "board": "board://imx93-orbit/rev-b/bay-07",
    "fixture": "fixture://can-loopback/v3"
  },
  "result": {
    "verdict": "pass",
    "assertions": { "passed": 18, "failed": 0 }
  },
  "provenance": {
    "serialLog": "sha256:…",
    "measurements": "sha256:…"
  }
}

Evidence strength

LevelExampleConfidence
AssertionAgent or engineer hypothesisUseful for planning, not completion
StaticBinding validation or source analysisProves structural constraints
BuildPinned build completed with manifestProves reproducible compilation
SimulationQEMU or Renode suite passedProves software-level behaviour
PhysicalVersioned board and fixture passedStrongest target-specific evidence
FleetObserved outcome across a deployment cohortStrongest operational evidence

Querying evidence

Terminal · proposed CLI
kernary evidence query \
  --project orbit-controller \
  --subject build://orbit-controller/2387 \
  --type source,build,simulation,physical,approval \
  --format tree

These docs are part of the product design. Interfaces remain proposals until an implementation is published.

View the platform →