Dependency-driven harness implementation

The starting unified repository revision is 4da7591f6e408cf8833b4184f120b53a28a97520, with SDK subtree e45ff5ed12f7eb4b9d723280240dd86256d5aa17. Design and primary-source research · Current testing guide

Cold-cache failure and correction

The previous hosted control (source unavailable) failed all eight lanes before measurement: the seed lacked rustc-demangle required by the rebuilt Rust standard library. Fetching only the selected Wasm target then exposed another omission: native cpufeatures was unavailable to the canonical descriptor build. The builder now owns both preparation commands: fetch the full locked package closure, then its target/build-std closure.

A fresh local seed prepared the initial 20 registered roots. The corrected offline canonical compression build completed with source unchanged during build and Wasm SHA-256 66babc60ece49b232277e7356d64f936a0f3171af39ef650fb855672abdebd67. This was an edited local tree at the starting HEAD, not a clean-commit or performance qualification. Registering the previously omitted Wire fixture increased preparation to 21 roots; that complete preparation also passed.

Review findings incorporated

The implementation uses Cargo metadata and existing proof input inventories, with both base/current inputs and reverse prerequisite propagation. Review found and corrected missing shared builder/environment edges, external compatibility source inputs, cross-benchmark host helpers, benchmark unit-test inputs and static checks incorrectly masking unknown functional ownership. New maintained Cargo source areas must be registered or have a reasoned historical/vendor exclusion. Root/shared prose can bypass compiler preparation; declared functional text cannot.

Benchmark history uses registered task IDs, exact source/context admission and the executing measurement adapter plus locked host dependencies. Uncovered crypto changes block rather than inherit unrelated four-case timings. Missing shards, duplicate ownership, wrong revisions, changing source and malformed measurements fail admission. PR refreshes after main advances validate the current base, head and tested merge; refresh results reach the PR through the trusted summary comment and run link.

Raw logs, generated receipts and measurements remain in ignored run directories or Actions artifacts. Source admission for 72 proof areas is not solver proof. The four IC comparison adapters are integrated; 13 other benchmark comparison adapters remain explicitly optional and blocked, while their native workspaces are registered. Hosted validation is separate from the local controls above.

Integrated controls and corrections

At unified revision d416cf9f2161eae18a8761aae8e7d6d5be872cdd (SDK subtree edf228b3ae95965a6534baa20b1cc09c949a0073), the clean local default run completed 395 of 401 tasks successfully. Its six failures exposed three independent issues: unavailable local Clang and inherited library paths; equivalent compiler remap flags ordered differently by temporary checkout layout; and Heavy16's receipt recorder archiving ambient generated Wire files instead of the runtime actually selected from its artifact. The qualified runtime's process completed the full Heavy16 workload before that final source audit refused admission.

The corrections retain ordinary compiler option order and effective remap precedence, record the loader's exact selected runtime/codec pair, and isolate the PocketIC child's loader from a development shell's library overrides. The shared runtime/receipt definitions establish fresh screen baselines when no SDK/runtime source changed; no delta is invented against an incompatible older recorder.

The first hosted run (source unavailable) also exposed verification unit fixtures depending on ignored scratch directories and installed solver tools. A private clean source snapshot with none of those installations passed all 135 modules / 1,463 unit tests after test-only fixture corrections. Real installation, hash, source-admission and proof-runner guards remain in production code and their independent negative controls. These unit results are not solver executions.

Enabling actual RRT lifecycle checks also exposed old inspector assumptions. Compact traces retain event/visit identities rather than historical step projections, and pending peer work prevents KEEP. Test assertions now use exact retained trace counts and keys, active inspection views, explicit undrained KEEP rejection, and valid KEEP after drain. Exact replies, retries, saved request bytes, block order and ledger effects remain checked. SDK runtime code did not change for these corrections.

The subsequent clean affected run at f4e9341cd754caf7ae51f050cd6020f12c2be43e passed 341 of 345 tasks, including all 14 RRT lifecycle cases. Four benchmark admission failures remained: unrelated benchmark edits were classified too strictly, and Heavy16's output audit assumed its selected Wire pair was stored inside the artifact bundle. The final fixes use the declared runtime paths and retain their exact record/byte/hash checks. Qualified screens also select their explicit executable rather than an ambient viewer endpoint.

A read-only diagnostic audit of the original f4 Heavy16 data, using the corrected auditor, verified 44,272 trace rows, 594,000 steps and zero errors. Original receipts were not modified, and this diagnostic is not a fresh build or a measurement of the final harness revision. Fresh execution remains distinct.

At 05e413ee2a4b805fcc5a79ee51cfdda85eebce85, all 24 selected local tasks passed on clean source. The hosted control (source unavailable) passed all four performance screens and 13 RRT lifecycle cases; its four-subnet case reached the 240-second test deadline on a cold two-core worker. That case's deadline is now 600 seconds. Work, virtual time and assertions are unchanged.

The verification-only hosted run (source unavailable) passed all 135 verification unit-test modules on clean source at the same 05e413ee2a4b805fcc5a79ee51cfdda85eebce85 commit. This executes unit tests, not solver proofs. A real Actions history lookup also rejected the failed main-push aggregate at that commit, despite its successful benchmark tasks.

The next hosted run at 0837798b72560295419de9f0d61afc858f41900a built Heavy16 successfully but its child exited during early setup/runtime. Its private child log was absent from the published task log, so the saved evidence does not establish the cause. Failed Heavy16 runs now print a bounded child-log tail and the actual child exit code into the retained harness log. That run passed the complete RRT lifecycle suite, including the four-subnet case with the larger wall-clock deadline; its aggregate remained failed because of Heavy16.

The first demo PR (source unavailable) passed 126 selected checks for one new Graph boundary test, leaving the Heavy16, crypto and compression screens unselected. The collection comparison matched instructions, capacity and Wasm size. Its reporter rejected GitHub's actual API name, Checks 1/merge, which contains the dynamic run title. Reporter identity now uses the exact repository and workflow path; current base, PR head, tested merge and qualified-artifact checks remain required. Regression fixtures cover both real PR and refresh names, plus wrong repository/path rejection. The PR API also retained an old, internally consistent base/merge snapshot after the target branch advanced. Refresh now requires the main-push SHA and matching merge parents, failing after bounded retries. Publication rereads the actual target-branch ref before association and again before writing; cached PR metadata alone cannot establish freshness. The completed dispatch refresh also did not launch the separate workflow_run reporter in this hosted control. Refresh publication now runs after aggregation in its own default-branch reporting job; only that same-run final job may publish while its containing workflow is still in progress. Ordinary PR runs retain the separate reporter. Missing execution evidence now describes requested source, instead of claiming that a dirty checkout was tested.

The second regression demo (source unavailable) changes only Takt interpreter code. Automatic selection included Heavy16, whose first candidate run reached the 120-second host deadline while polling an already accepted tick. No duplicate tick or numeric regression comparison was admitted. At the user's request, the shared operation allowance is now 300 seconds, with RRT correctness deadlines of 600 seconds (ordinary) and 900 seconds (cross-subnet). A simulated-clock control accepts completion after 150 seconds; an expiry control still fails without reposting. Workload, replica budgets and single-submission behavior are unchanged. New host source requires a fresh matching base/head measurement before claiming a slowdown percentage.

With the larger deadline, the candidate completed and passed the full Heavy16 audit in run 43030512251, but its private frozen baseline failed. A separate main control passed; direct diagnostic comparison admitted matching work/context and found +27.86% instructions. This diagnostic did not make the failed PR run green. A local control with the same pinned binary passed instance creation, empty-Wasm install and tick using a 38-character state root; a 153-character root timed out during instance creation. The existing collection harness already documents PocketIC's temporary Unix-socket length limit. RRT now uses the same short scratch-root setting for both base and candidate, retaining unique owned children and explicit state-directory override precedence. Baseline failures also surface their bounded child-log tail in the task log; previously it was stranded in an unuploaded private file.

The next refresh and a native retry failed before SDK execution because the Ubuntu package mirror did not resolve on multiple workers. Native setup now checks for the compiler drivers, make, archive tool, Clang, pkg-config and OpenSSL metadata before using apt. Complete preinstalled tool sets need no package-mirror access; incomplete sets still require successful installation, with bounded download retries. Shell controls cover the preinstalled, missing compiler, missing metadata and failed-installation paths. Actual canonical build probes and base/head compiler identity matching remain authoritative.