Skip to content

The Drift Log · Certifying that code does something

When PROVISIONAL Verdicts Mask Logical Gaps

10 November 2026 · 3 min read · 630 words · established

A crystal artifact under orange probe beams inside a test rig

A PROVISIONAL verdict ensures reproducibility but can hide logical gaps, so augment the harness with edge‑case tests before release.

A reproducible run that still hides bugs

A recent code review flagged a library as PROVISIONAL. The harness ran, the checksum matched, and the build intent gate opened. The team took the verdict as a green light. Two weeks later a subtle race condition surfaced in production. The failure was not a missing dependency or a corrupted archive – it was a logical gap that the provisional certification never exercised.

Reproducibility does not equal functional completeness

A PROVISIONAL verdict guarantees that the artifact can be built and executed in the same way every time. The certification harness records the outcome as reproducible. It does not claim that every behaviour required by the component’s contract has been observed. The harness is a single entry point that runs a default test suite. If that suite does not contain an edge‑case, the harness will never see the defect.

In practice the gap looks like this: the component accepts a JSON payload, validates required fields, and returns a transformed object. The default harness supplies a payload with all fields present. The component passes, the harness returns PROVISIONAL, and the team assumes the component is safe. When a client sends a payload missing an optional field, the component throws an uncaught exception. The harness never exercised that path, so the provisional label masked the logical gap.

Targeted edge‑case tests expose the hidden defect

The fix is to treat the harness as a scaffold, not a final test. Add tests that deliberately violate the contract’s boundaries. For the JSON example, write a test that omits each optional field in turn, supplies malformed types, and exceeds size limits. Run the harness with these inputs and observe the verdict. If any test causes the harness to return FAILED or INCONCLUSIVE, the component’s correctness level drops below PROVISIONAL and the defect is surfaced before release.

A minimal test harness extension can be expressed in a few lines of TypeScript using the official client:

import { runHarness } from '@shpbl/sdk';

const edgeCases = [
  { name: 'missing optional', payload: { required: 1 } },
  { name: 'wrong type', payload: { required: 'string' } },
  { name: 'oversized', payload: { required: 1, extra: 'x'.repeat(10_000) } },
];

for (const tc of edgeCases) {
  const result = await runHarness('my-component', tc.payload);
  console.log(`${tc.name}: ${result.verdict}`);
}

Running this loop against the same artifact that earned the provisional label will quickly reveal whether the component tolerates the edge conditions. If the verdict stays PROVISIONAL for all cases, the component is reproducible but still unproven for those paths. The next step is to either tighten the implementation or enrich the contract with explicit error handling.

How SHPBL helps you close the gap

SHPBL’s certification harness is deliberately model‑independent and repeatable. It records a PROVISIONAL verdict when an artifact runs reproducibly, but it does not hide the fact that the test set may be incomplete. The platform encourages you to augment the harness with custom edge‑case suites, as described in the pillar post /blog/the-four-verdicts-between-green-tests-and-correct-code. You can upload additional test vectors through the same API used for the default run, keeping the same meter and gate. The harness will report FAILED, INCONCLUSIVE, or retain PROVISIONAL based on the new inputs, giving you a transparent view of functional gaps.

For teams that need guidance, the free repository evaluation at /evaluation shows which contracts are currently covered and where test gaps exist.

Monday’s concrete step

  1. Identify a component that currently holds a PROVISIONAL verdict.
  2. Write three edge‑case inputs that each violate a different part of the component’s contract.
  3. Run the harness with those inputs via the TypeScript client or the HTTP API.
  4. Record any verdict changes.

If any input triggers FAILED or INCONCLUSIVE, treat the component as not ready for production. Add the missing handling to the code, then repeat the harness run until the verdict remains PROVISIONAL only for the original reproducibility test and CERTIFIED for the new edge cases. This disciplined approach turns a provisional label from a false sense of safety into a useful checkpoint on the ladder toward true correctness.

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.