Skip to content

The Drift Log · Certifying that code does something

Demoting Failing Canaries with Verification Verdicts

22 November 2026 · 3 min read · 417 words · established

A crystal artifact under orange probe beams inside a test rig

Treat PROVISIONAL and INCONCLUSIVE harness verdicts as distinct gates in your canary deployment pipeline to prevent unverified logic from reaching production.

The hidden risk

A green test suite promoted a canary to production last week. The build passed compilation, the CI flag was “success”, and the deployment script treated the artifact as safe. Two days later a client reported a silent data‑corruption bug. The failure was not a compile error; it was a logical gap that the test suite never exercised. The canary ring assumed “passes” meant “correct”, which is false.

Verdicts are not binary

The verification harness produces four distinct outcomes:

  • CERTIFIED – the artifact has been exercised and the harness recorded a correct verdict.
  • PROVISIONAL – the artifact runs reproducibly, but the harness could not assert correctness.
  • INCONCLUSIVE – the harness could not exercise the input contract; the limit is in the harness, not the artifact.
  • FAILED – the harness observed a violation of the contract.

The harness only checks the contract it knows about. It does not guarantee the absence of bugs outside that contract. Treating any non‑FAILED result as a green light collapses the ladder described in the pillar post /blog/certifying-software-invariants-across-the-verification-ladder. A PROVISIONAL verdict is a warning, not a green flag.

Wiring the verdict into canary rings

A typical deployment pipeline looks like this:

- name: Build artifact
  run: ./build.sh
- name: Run harness
  run: ./harness verify artifact.bin
- name: Deploy canary
  if: ${{ steps.harness.outputs.verdict == 'CERTIFIED' }}
  run: ./deploy.sh --ring=canary

The if clause above restricts promotion to CERTIFIED artifacts only. When the verdict is PROVISIONAL, the pipeline can route the artifact to a lower‑risk ring, such as a “shadow” canary that receives traffic from a single user segment. An INCONCLUSIVE result can be sent to a “dry‑run” environment where the harness is extended to cover the missing contract. FAILED artifacts never leave the CI environment.

The key is to make the verdict an explicit gate, not an implicit assumption. The deployment script must read the harness output and map it to a canary tier. This mapping makes the ladder visible to operators and prevents unproven logic from reaching production paths.

SHPBL’s concrete solution

The SHPBL verification harness is model‑independent and available via HTTP API, typed TypeScript client, and offline file‑based edition. It records the four verdicts described above. See the live‑run documentation /harness for a minimal example and the SDK guide /sdk for language‑specific integration.

What to do on Monday

  1. Add a step that invokes the SHPBL harness after the build stage.
  2. Capture the verdict output variable.
  3. Extend your deployment script to branch on CERTIFIED, PROVISIONAL, and INCONCLUSIVE as separate canary rings.
  4. Run a free repository evaluation /evaluation on a recent codebase to see the current distribution of verdicts.

This post supports the longer argument in Certifying Software Invariants Across the Verification Ladder.

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.