Skip to content

The Drift Log · Software inventory you can trust

Executable Registry Audits Turn Stubs into Trusted Assets

2 October 2026 · 3 min read · 721 words · established

Shelves of empty glass shells with two lit solid crystals among them

Executable verification turns registry stubs into graded assets, letting teams trust their component inventory.

Stubs masquerade as components

A typical internal registry stores rows that look like this:

{
  "name": "@myorg/utils",
  "version": "2.3.1",
  "checksum": "a1b2c3…"
}

There is no source, no build script, no test suite. The row is a metadata‑only stub. If the artifact never existed, or if it was removed from the source tree, the entry still counts toward your component total. The count is a claim, not an inventory. When you later try to pull the package, the build fails, the CI pipeline breaks, and you spend hours chasing a phantom.

The failure mode is unexecutable registry entries. The registry tells you “we have 1 200 components”, but you cannot verify any of them without manual inspection.

Executable verification as a registry audit

The certification harness is a small, deterministic runner that takes a registry entry, resolves its build intent, and attempts to execute the artifact in an isolated environment. The harness returns one of four verdicts:

  • CERTIFIED – the artifact runs and meets the contract.
  • PROVISIONAL – the artifact runs, but correctness has not been asserted.
  • INCONCLUSIVE – the harness could not exercise the entry (e.g., missing build script).
  • FAILED – the artifact crashed or refused to start.

Running the harness on every row turns a static list into a living inventory. Each row now carries an execution grade that can be queried via the same HTTP API that serves the catalog, or via the typed TypeScript client (@shpbl/sdk). The audit is repeatable because the harness does not depend on any AI model; it is a computed, repeatable process.

Worked example

Suppose the registry contains an entry for @myorg/db‑client. The harness invocation looks like:

shpbl-harness run @myorg/db-client@2.3.1

The harness:

  1. Checks out the source referenced by the checksum.
  2. Resolves the Build Intent gate – licensing, invariants, and entitlements are verified.
  3. Executes the package’s declared entry point in a sandbox.

The output is:

VERDICT: CERTIFIED
SHA256: 9f8e… (matches published checksum)

Now the row in the registry can be displayed as:

| Name | Version | Verdict | |---------------------|---------|------------| | @myorg/db‑client | 2.3.1 | CERTIFIED |

Contrast this with a stale stub that points to a removed git tag. The harness cannot locate the source, so it returns INCONCLUSIVE. The row is flagged for cleanup, and downstream teams know not to depend on it.

Limits of the approach

Executable verification does not magically make every component perfect.

  • Build intent complexity – Some packages require external services (databases, cloud credentials) that the harness cannot provide in a sandbox. Those entries will fall into the INCONCLUSIVE bucket.
  • Performance cost – Running the harness on a large catalog consumes compute. A weekly audit is a practical cadence for most organisations.
  • Non‑code assets – Registry rows that represent data files, documentation, or binary blobs are outside the harness’s scope. They remain metadata‑only and must be managed separately.

Accepting these limits is part of a realistic code‑health programme. The goal is not to certify every line of code, but to ensure that every executable entry can be run and graded.

How SHPBL makes the audit practical

SHPBL provides a single method for harvesting executable verification from any repository. The same harness runs on the MCP server, via the plain HTTP API, through the typed TypeScript client, or offline from files. Counts are reported separately for the engineered catalog, the discovery‑engine vault, and the Crown Jewels, so you never conflate metadata‑only rows with verified assets.

Start with a free repository evaluation to see how many of your rows are already executable. The evaluation runs the harness against a sample of your registry and returns a concise report. From there, upgrade to the Practitioner tier if you need the full gauntlet, or purchase the Complete Master Library for complete ownership.

Free evaluation | Certification harness | Root of trust

Next steps for Monday

  1. Clone your registry export (CSV or JSON).
  2. Install the shpbl-harness CLI (available from the /sdk page).
  3. Run a one‑off audit on a representative subset:
   shpbl-harness batch --input registry-snapshot.json --limit 50
  1. Review the generated verdict report. Flag any INCONCLUSIVE or FAILED rows for investigation.

By turning each stub into a graded asset, you move from a claim‑based count to a trustworthy inventory. The same principle underpins the pillar post A component count is not an inventory – only executable verification can give you confidence that the rows you count are real, usable code.

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.