The Drift Log · Software inventory you can trust
Live Validation of Registry Entries via On‑Demand Execution
17 November 2026 · 3 min read · 655 words · opinion

Runtime validation turns a static component registry into a live, graded inventory, exposing hidden stubs before they break builds.
The hidden cost of counting stubs
Most organisations treat a component registry as a spreadsheet. A row appears, the count goes up, and the inventory looks healthy. The failure mode is that many rows are placeholders – scripts that never run, packages that never build, or documentation that never matches the code. The count is a claim, not an inventory. When a downstream build pulls a “component” that is only a stub, the build fails, the incident escalates, and the team spends hours chasing a phantom. The symptom is noise in the metrics, not a reliable picture of component health.
Why runtime validation matters
An executable inventory replaces the spreadsheet with a set of artefacts that can be exercised. Runtime validation runs each entry in isolation, checks that it starts, performs its contract, and exits with the expected result. If the entry returns the correct exit code and produces the declared output, the row graduates from a stub to a verified component. This turns metadata into proof. The inventory becomes a health‑check dashboard rather than a static list. The term “component health” therefore means “has been executed and graded by a harness”, not “has a name in a table”.
A practical pattern: isolate, execute, grade
- Isolation – Use the same gate that the library provides for all agents. The Build Intent step registers the proposal, resolves licences and invariants, and returns a terminal state before any code touches the host. This guarantees that the execution environment is clean and reproducible.
- Execution – Call the entry through the plain HTTP API or the typed TypeScript client (
@shpbl/sdk). Both routes reach the same underlying harness. The harness runs the artefact, records stdout, exit status and any side‑effects defined in the contract. Because the harness is model‑independent, the result is computed rather than generated – there is no hidden AI inference that could alter the outcome.
- Grading – The harness returns one of four verdicts: CERTIFIED, PROVISIONAL, INCONCLUSIVE, or FAILED. A CERTIFIED verdict means the artefact executed and met its contract; PROVISIONAL means the artefact reproduced but correctness is not yet asserted; INCONCLUSIVE signals a harness limitation, not a defect; FAILED indicates a real execution problem. Storing the verdict alongside the registry row turns the row into a live test result.
When a row is added or updated, the pipeline automatically triggers this three‑step flow. The result is stored back in the catalog, and the count of “executable inventory” components reflects only rows that have passed at least PROVISIONAL. The rest remain flagged for remediation. This approach removes the illusion of completeness and replaces it with observable component health.
SHPBL’s built‑in live validation
SHPBL supplies the full stack for this pattern. The same harness that powers the /harness endpoint executes artefacts and records the four‑state verdict. Access is unified: an MCP agent, the plain HTTP API, the typed SDK, and the offline file‑based edition all invoke the same gate and meter. A free repository evaluation (/evaluation) lets you import an existing registry and see how many rows survive runtime validation without any cost. If you need the complete set of certified artefacts, the Complete Master Library (/complete-master-library) provides the sealed, repeatable archives with published checksums (/root-of-trust). All of this is described in the pillar post From Static Registry to Executable Inventory.
What you can do on Monday
Open your CI pipeline and add a step that calls the SHPBL API to run each registry entry through the harness. Record the verdict in a column called validation_status. Treat rows that return CERTIFIED or PROVISIONAL as the trusted inventory; flag the rest for investigation. If you do not yet have SHPBL integrated, start with the free evaluation endpoint to see the current health of your registry. The effort of a single additional job is far cheaper than debugging a broken downstream build later in the week.
This post supports the longer argument in From Static Registry to Executable Inventory: Ensuring Real Component Availability.
Keep reading
Next in the log
- From Static Registry to Executable Inventory: Ensuring Real Component Availability
Turn static registry rows into executable tests so you know exactly which components truly work.
- Locking Internal Utility Versions to Stop Silent Drift
Copy-pasting utility functions across microservices creates drifting failure modes. Pinning versioned artifacts restores verified behavior.
- Runtime Smoke Tests for Registry Components
Static analysis only verifies syntax trees; runtime smoke testing catches missing peer dependencies, unhandled top-level crashes, and dead stubs.
The Strategic Master Library · written and reviewed under the house's own epistemic rules: nothing claimed that we cannot show.