Repository navigation
Proof-or-Stop v0.3.428 - Benchmark Control RED/GREEN Lab
Proof-or-Stop v0.3.428 - Benchmark Control RED/GREEN Lab
Overview
This release integrates a bounded Lab experiment for controlling redundant benchmark wakeups, duplicate execution, context growth, and usage budgets. It is deliberately isolated from live desktop scheduling and production Story policy: the release supplies a reproducible control model and evidence, not an automatic production rollout.
Problem
The experimental baseline had four related cost and correctness gaps:
- Progress and observation-time changes could wake evaluation even when the verified external blocker, candidate, policy, and execution identity had not changed.
- Equivalent requests could launch the same adapter repeatedly because no in-process execution identity was shared across concurrent or completed calls.
- Calls and token usage were not reserved before dispatch at both aggregate and product/repair partition levels.
- Growing history could be carried into later work, while incomplete or duplicated provider usage could be mistaken for reusable capacity.
These gaps made it possible for a blocked benchmark workflow to consume repeated evaluation and execution work without a meaningful state transition.
Before and after
| Area | Before | After |
|---|---|---|
| Unchanged blocked progress | 1,000 progress-only observations produced 1,000 wake decisions in the explicit baseline | The same 1,000 observations produce 0 wake decisions after initialization |
| Equivalent execution | Ten identical baseline requests launched ten executions | Fifty concurrent identical repaired requests share one real local subprocess and one completion |
| Budget admission | Execution began without aggregate and partition reservation | Calls, cached input, uncached input, output, and wall time are checked and reserved synchronously before adapter launch |
| Failed or completed duplicates | Repeated work could relaunch | In-flight, completed, and failed outcomes are reused for the same complete execution identity |
| Unknown or duplicate usage | No fail-closed accounting boundary | Unknown usage, duplicate response identity, or provider overrun remains visible and blocks additional dispatch |
| Context growth | The baseline serializes current state together with supplied history | The repaired contract carries only current task, phase, blocker, decision, and log references; oversized facts are rejected instead of silently truncated |
What changed
- Added a semantic observation fingerprint over task, phase, candidate, policy, blocker dependencies/binding, and execution identity/status. Timestamps and progress do not trigger a new decision by themselves.
- Added a single in-process execution registry keyed by task, candidate, policy, working directory, exact command arguments, witness, and provider.
- Added synchronous aggregate and product/repair budget reservation before dispatch, including independent ceilings for calls, cached input, uncached input, output, and elapsed wall time.
- Added conservative usage reconciliation: cached input is a subset of input, reasoning output is a subset of output, and duplicate response identities are not counted twice.
- Added a bounded current-context contract that rejects invalid or oversized facts and does not absorb unbounded historical logs.
- Added an executable baseline arm and dedicated entry-contract verification so the regression suite cannot pass merely because no checks ran or a negative test disappeared.
- Updated repository versions to
0.3.428and refreshed the reviewed static-edge bindings affected by the integration.
Evidence
The pinned release command completed successfully:
node scripts/lab/benchmark-controls/verify-entry-contract.mjs
ENTRY_PASS .../verify.mjs tests=21
ENTRY_PASS --input-type=module tests=21
ENTRY_CONTRACT_PASS removed negative check is rejected
Additional release checks:
npm run build- passed for core, utilities, graph, and full-suite build binding.node scripts/verify-validation-static-edges.mjs- passed withneedsReview=0,nested=0, andunexpandedCommands=0.- Commit range
v0.3.427..v0.3.428- all commits use the Harmonynet identity and contain no co-author or sign-off trailers. - Remote ancestry - the published
v0.3.427main commit is an ancestor of this release; no remote commit is omitted.
Scope and limitations
- This is a local Lab control prototype. It does not modify live desktop scheduling, production Story policy, approval rules, or reviewer infrastructure.
- It makes no real model calls; usage values in the deterministic fixtures are synthetic.
- Reservations are process-local. Production adoption would require durable cross-process reservations, dispatch acknowledgements, complete upstream witness fingerprints, and provider-enforced output limits.
- Historical comparison is counterfactual and does not claim that all previously observed usage would have been avoided.
- Three pre-existing managed-asset drift notices remain outside this release: the managed runtime ignore block and two generated pre-tool hook assets. No local-edit or incompatible-asset drift was reported.
Included commits
The release contains the complete net change from v0.3.427 through commit db43a2611c25bb8153d1a32db67c6d39be1b4e3e, including the baseline reproduction, repaired controller, entrypoint hardening, negative-coverage mutation proof, documentation, version metadata, and static-edge binding refresh.