Skip to content

The Drift Log · Certifying that code does something

Designing a Multi‑Tier Certification Matrix for Internal Components

9 November 2026 · 3 min read · 650 words · opinion

A crystal artifact under orange probe beams inside a test rig

A certification matrix turns a vague “certified” badge into an enforceable, repeatable verification gate for your components.

The hidden risk of a single label

Your team pushes a component because the build succeeds and the dashboard shows a CERTIFIED badge. In reality the badge only tells you the artifact passed the last harness run. It does not say whether the component was exercised fully, whether the input contract was satisfied, or whether the behaviour matches the specification. When compilation is taken as proof of correctness, bugs slip into downstream services, regressions appear in production, and the “certified” badge loses credibility.

What a certification matrix actually captures

A certification matrix makes the gap between “it compiles” and “it is correct” explicit. Each row is a verdict tier, each column is a piece of evidence that must be present for the tier to be granted.

  • COMPILED – source passes the language parser and type‑checker. Evidence: successful tsc run or equivalent.
  • PROVISIONAL – the component can be executed in a controlled environment and produces repeatable output, but the harness could not verify the full contract. Evidence: a reproducible run recorded by the harness, no contract failures.
  • INCONCLUSIVE – the harness started but could not exercise the input contract; the failure is a harness limitation, not a defect. Evidence: a harness log showing missing contract coverage.
  • CERTIFIED – the harness exercised the declared contract, all checks passed, and the verdict is recorded as CERTIFIED. Evidence: a full contract‑coverage report and a passing harness verdict.

By mapping each tier to concrete artefacts, you stop treating the badge as a monolith and start treating it as a ladder you can climb deliberately.

Building the matrix into your pipeline

  1. Register the intent – before any code is written, the team creates a Build Intent that records the component’s licence, invariants and the target verdict tier. The intent gate returns a terminal state that tells you whether the proposal is admissible.
  1. Run the harness – the component is fed to the certification harness. The harness executes the artefact, records a verdict, and stores the evidence required for the matrix row. Because the harness is model‑independent, the result is repeatable and can be verified later with the published checksum from the root of trust.
  1. Enforce the matrix – after the harness finishes, a CI step queries the verdict via the plain HTTP API or the typed TypeScript client (@shpbl/sdk). If the returned verdict does not meet the tier promised in the Build Intent, the pipeline fails. This makes the matrix a gate rather than a post‑mortem report.
  1. Iterate – when a component lands in the INCONCLUSIVE row, you can follow the guidance in the “Turning INCONCLUSIVE Harness Verdicts into Contract‑Coverage Tests” post to add missing contract tests, then re‑run the harness until the component reaches PROVISIONAL or CERTIFIED.

The result is a repeatable, component‑verification workflow that treats each verdict as a first‑class artifact rather than a hidden footnote.

SHPBL’s built‑in support

SHPBL supplies the exact pieces needed for the matrix. The certification harness records the four verdicts described in the four‑verdict pillar. Its API and the TypeScript SDK expose the verdict and the associated evidence, so you can enforce the matrix directly from your CI pipeline. The same gate that checks Build Intent also resolves licensing and invariants, guaranteeing that every write is authorised before the harness runs. For teams that need a quick start, the free repository evaluation at /evaluation shows how your existing components map onto the matrix without any cost.

Monday’s concrete step

Add a CI job that calls the SHPBL API (/api-access) after the build finishes, fetches the harness verdict, and aborts the pipeline unless the verdict is at least PROVISIONAL for components that will be released to production. Record the verdict artefact in your build artefacts so future audits can trace the exact evidence that justified the release. This single change turns a vague “certified” badge into an enforceable certification matrix.

Keep reading

Next in the log

The Strategic Master Library · written and reviewed under the house's own epistemic rules: nothing claimed that we cannot show.