Repository navigation
Releases
Proof-or-Stop v0.3.438 - Validation, Review, and Managed Workflow Reconciliation
Proof-or-Stop v0.3.438 - Validation, Review, and Managed Workflow Reconciliation
Overview
v0.3.438 integrates two independently developed repair lines after v0.3.433 and corrects an unpublished local author-identity error before publication. The release combines validation reliability, provider quota enforcement, sticky failure verdicts, bounded review processing, managed implementation and review recovery, finding-repair launch contracts, and precise verifier identity diagnostics.
The release range contains 134 commits and changes 113 files with 5,394 insertions and 1,367 deletions. The final merge preserves both pre-merge histories as direct parents instead of replacing either line.
Author identity correction
Twelve unpublished local commits were recorded with the unintended identity Harmony <165200709+Harmonygo@users.noreply.github.com>. Before merging or publishing them, their author and committer fields were corrected to:
Harmonynet <26995688+Harmonynet@users.noreply.github.com>
The rewrite changed attribution only:
- The old local head was
a89c3e1aa4a64bb7f04992895b8df905cf4a824b. - The corrected local head was
85127742ea01b33bc1534b10fccdd73bddca69d6. - Both heads had the identical tree
1ee8259a517f4fc7995487954149d71823e7bd6cbefore integration. - The local commit count remained 70.
- Commit messages, authored dates, file contents, and merge topology were preserved.
- All 70 unpublished local commits now use the Harmonynet identity for both author and committer.
- Pan Qi's 63 independent commits and attribution were preserved unchanged.
- No co-author or sign-off trailers are present in the release range.
Why this release was needed
The local line and remote line solved complementary failure modes but both had reached version 0.3.437 independently. Publishing one branch as latest would have omitted the other branch's repairs. The two branches also carried different prompt baselines, static-evidence bindings, and manifest-serialization expectations, so a plain one-sided update would have left release verification stale.
v0.3.438 is the ancestry-complete integration point. It resolves those differences, advances every core version surface together, and revalidates the combined behavior.
Before and after
| Area | Before v0.3.438 | After v0.3.438 |
|---|---|---|
| Local commit attribution | Twelve unpublished commits used the wrong local account identity. | All unpublished local commits use Harmonynet; Pan Qi's independent attribution remains unchanged. |
| Shared provider quota | Related launch routes could account for calls independently and exceed the intended cumulative allowance. | One explicit quota covers host runs, managed workers, plans, repairs, standalone reviews, bounded adapters, and custom audits. |
| Failure verdict integrity | A later pass or reused result could obscure a failure recorded for the same material and execution identity. | Failure remains sticky for an unchanged identity; material or build changes are required before a new result can supersede it. |
| Validation identity | Missing, partial, or stale identity data could produce ambiguous reuse and completion behavior. | Full identity is bound before launch, failures carry the same binding as passes, and unreadable or incomplete history fails closed. |
| Review inventory scale | Large Git inventories and dirty-state output could overflow transport or produce imprecise diagnostics. | Inventory reads are incremental and bounded, with explicit source-count, byte, and deadline limits plus fail-closed diagnostics. |
| Cross-wave findings | A repeated observation could be collapsed without a signed canonical relationship to the original finding. | Duplicate classification requires a signed canonical observation in the same frozen review epoch; originals and evidence remain preserved. |
| Audit snapshot transport | Complete local audit input shared the provider-output ceiling, causing valid large evidence snapshots to fail. | Audit input has a separate 64 MiB aggregate bound while provider output remains capped at 8 MiB; per-file, binary, UTF-8, and tamper checks remain enforced. |
| Managed implementer completion | A child implementation session could finish code but fail the owner-lease boundary when completing its exact checklist item. | A narrow, one-shot, item-bound capability admits only the exact done transition and remains protected against replay, wrong-item, metadata, takeover, and failed-result misuse. |
| Managed review recovery | Unsupported review dispatch could return guidance that did not lead to an executable signed review flow. | Recovery now points to the signed candidate route, review-run start, and managed review commands with complete executable choices. |
| Finding repair launch | A controller could wait without proving that a native repair task was actually launched. | The controller must obtain a nonempty task identity; workers remain read-only for blocker state and return committed repair evidence to the owner. |
| Verifier freshness diagnosis | A stale receipt could report a generic mismatch that did not identify whether environment, toolchain, or dependency input changed. | Diagnostics identify the exact changed execution component while keeping strict rerun requirements intact. |
| Prompt and static evidence | The merged prompt body, approval hash, UTF-8 manifest format, dependency digests, and version surfaces disagreed. | All 18 prompt roles, four exact Story references, 318 static review records, command bindings, package versions, and runtime output are reconciled at 0.3.438. |
Detailed changes
Shared provider-call governance
- Enforces one cumulative provider invocation quota across all registered launch routes.
- Preserves the submitted quota when a worker environment loses inherited context.
- Accounts for retry allowances without double charging completed or refused attempts.
- Keeps parent-only quota context out of worker payloads.
- Preserves structured refusal outcomes, transcripts, and final accounting.
- Rejects forged transport state, overreported attempts, conflicting worker budgets, and exhausted repair subquotas.
Sticky validation verdicts and identity-bound reuse
- Treats an executed failure as authoritative for the same command set, committed material, Story files, and compiled artifacts.
- Refuses pass publication and pass reuse when they would flip an unchanged failed identity.
- Distinguishes verdict failures from infrastructure-only and coverage-only outcomes.
- Builds the complete run identity before execution so a later lookup failure cannot erase what ran.
- Keeps failing terminals as fully bound as passing terminals.
- Allows a changed material or build identity to release the sticky-failure condition without an override path.
Bounded review rework
- Reads large review inventories incrementally within the registered transport allowance.
- Refuses incomplete full-roster selection and unreadable dirty-state transport.
- Bounds dependency closure by source count, individual bytes, aggregate bytes, and cooperative deadline.
- Reuses per-call module resolution and emits bounded diagnostic samples.
- Preserves original open findings while linking proven duplicate families across waves.
- Keeps required reviewer lanes and independent-host requirements unchanged.
- Reduces repeated remediation churn by batching applicable findings while maintaining signed final-review evidence.
Audit snapshot input boundary
- Separates complete local audit snapshot input from provider output.
- Accepts bounded aggregate input up to 64 MiB while retaining the existing 8 MiB output limit.
- Rejects oversized aggregate input, oversized individual sources, binary input, invalid UTF-8, and digest tampering.
- Preserves exact snapshot references and compact initial prompts.
Managed implementation capability
- Adds a narrow owner-lease admission for the exact assigned checklist item's done transition.
- Requires the registered implementation worker and the exact live Story/item capability.
- Revalidates the filtered completion payload before persistence.
- Binds the result to the managed run and consumes the one-shot invocation only after checklist and event writes succeed.
- Refuses in-progress changes, metadata mutation, other items, phase changes, takeover, replay, spoofed actors, and failed-result completion.
- Preserves retry after an interrupted event write without duplicating a successful completion.
Managed review and finding repair
- Keeps review lanes on their signed review-specific path and returns executable recovery guidance when an unsupported dispatch route is used.
- Exposes qualified managed-review command choices while retaining the review-run identity as the required prior binding.
- Requires native finding-repair launch and a nonempty task identity before a controller waits.
- Keeps repair workers read-only for blocker state and returns committed repair evidence for owner verification.
- Preserves structured launch contracts through both individual and clustered repair flows.
- Leaves cluster commit markers inert until owner-gated validation consumes them.
Verifier identity diagnostics
- Reports whether freshness drift came from the environment, toolchain, or dependency inputs.
- Keeps behavior-affecting environment and toolchain changes strict: they still require a real rerun.
- Treats a missing dependency manifest as limited reuse authority, not as a false live-identity mismatch.
- Adds focused regression coverage for environment and toolchain drift.
Integration and release reconciliation
- Retains the stronger local topology-critic instructions and refreshes the independent approval hash.
- Regenerates the prompt registry baseline, overlap matrix, and measurement sidecar.
- Uses canonical UTF-8 static-evidence serialization so non-ASCII evidence survives version transactions unchanged.
- Prese...
Proof-or-Stop v0.3.433 - Integrated Validation and Managed Implementation Controls
Proof-or-Stop v0.3.433 - Integrated Validation and Managed Implementation Controls
Overview
This release integrates the complete local v0.3.429 through v0.3.432 repair line with Pan Qi's remote v0.3.429 and v0.3.430 managed-worker line. It preserves both histories, aligns the package and command-line runtime at version 0.3.433, and strengthens validation, evidence reuse, worker authority, and managed implementation delivery.
The release contains 110 commits after v0.3.428 and changes 72 files with 10,333 insertions and 7,555 deletions. Both pre-merge heads are direct parents of the release merge commit, so neither development line was replaced or omitted.
Why this release was needed
The two development lines addressed complementary parts of the same reliability boundary:
- Validation work tightened provider budgets, resource accounting, execution-evidence reuse, prompt references, and production timeout behavior.
- Managed implementation work established canonical worker authority, signed dispatch and completion records, owner-lease enforcement, retry safety, and rollback behavior.
Publishing either line alone would have left the other line absent from the latest release. v0.3.433 is the integration point that carries both sets of fixes and their verification evidence.
Problems fixed
| Area | Before v0.3.433 | After v0.3.433 |
|---|---|---|
| Provider admission | A provider attempt could reach dispatch without every planned-attempt and remaining-time constraint being enforced at the final boundary. | Admission checks enforce planned attempts, remaining time, repair ceilings, and prompt-size limits before dispatch. |
| Usage after transport failure | Usage reported before a transport exception could be lost or replaced by an accounting error. | Proven usage is retained, unavailable usage remains explicit, and the original transport error remains authoritative. |
| Production validation budget | Three production validation paths still used the earlier 180-second ceiling. | All three production paths are verified at exactly 260 seconds. |
| Evidence reuse | Reuse could rely on insufficiently specific intent identity or present unsafe bulk refresh guidance for mixed Stories. | Evidence is bound to execution, intent, aggregate, and item-scoped fingerprints; invalid groups fail closed and refresh guidance is narrowed to the safe target. |
| Prompt reference baseline | Current canonical role content could be rejected by stale approval hashes and obsolete Story-reference allowances. | The 18-role approval baseline is current, obsolete allowances are removed, and four exact references are checked for missing, duplicate, altered, stale, and cross-role use. |
| Implementation authority | Commit authorship or an unmanaged execution path could be mistaken for lifecycle authority. | Only canonical worker identity and signed, target-bound lifecycle records can authorize managed implementation completion. |
| Managed checklist dispatch | Checklist implementation did not have a single end-to-end managed dispatch contract. | Managed dispatch now binds Story, checklist item, provider run, worker identity, receipt, and completion outcome. |
| Retry and transport loss | Retries or a lost transport response could create duplicate work or ambiguous completion. | Idempotent completion and signed receipts preserve the outcome across retry and transport loss while rejecting duplicate execution. |
| Rollback and incomplete completion | Partial or failed managed completion could leave misleading success state. | Atomic receipt handling and rollback rules keep incomplete or failed work fail-closed. |
| Owner lease | Managed workers could continue without a current owner-lease proof. | Lease ownership is checked and stale or mismatched ownership is rejected. |
| Integration metadata | The two lines had separate version, registry, static-edge, and baseline states. | Package metadata, command-line version, validation registry, prompt baselines, and static-edge evidence are reconciled at 0.3.433. |
Detailed changes
Provider budgets and benchmark reliability
- Enforces attempt, wall-time, repair, shared invocation, and prompt-byte budgets before provider dispatch.
- Uses shared accounting across related invocations instead of treating each attempt as an isolated allowance.
- Preserves retries that remain within policy while rejecting exhausted or malformed budget state.
- Records bounded provider-reported usage even when the transport later throws.
- Keeps the original failure visible when secondary usage accounting cannot complete.
- Raises and verifies the production validation ceiling from 180 seconds to 260 seconds on all three registered production paths.
Intent-bound verification evidence
- Derives execution, intent, aggregate, and item-scoped fingerprints from the Story's actual verification intents.
- Requires authenticated receipt admission before executable evidence can be reused.
- Separates pending reuse publication from evidence that is already current.
- Refuses contradictory, incomplete, tampered, or mismatched execution groups.
- Avoids unsafe bulk refresh advice when a Story contains mixed evidence states.
- Preserves documentation attestations and legacy diagnostic metadata without treating them as upgraded executable proof.
Prompt authority baseline
- Refreshes the approved hash for the current implementation role content.
- Regenerates the role matrix and measurement baseline from the current sources.
- Removes nine unused Story-reference allowances and retains four exact references.
- Verifies all 18 registered roles and rejects missing, duplicated, altered, stale, or cross-role authority.
Canonical implementation-worker authority
- Separates audit attribution from lifecycle authority.
- Requires canonical worker identity for implementation actions.
- Validates target bindings and refuses unmanaged or mismatched completion claims.
- Protects completion state when provider output, transport status, or worker identity is incomplete.
Managed implementation dispatch
- Adds an end-to-end managed checklist implementation dispatch path.
- Binds dispatch to the current Story and checklist item.
- Persists signed completion evidence and verifies it before lifecycle completion.
- Handles retries without duplicating implementation work.
- Preserves a valid completed result across a lost transport response.
- Uses atomic receipt and rollback behavior so partial failure cannot appear successful.
- Enforces current owner-lease proof throughout the managed flow.
Release integration
- Merges both repair histories without rewriting either line.
- Reconciles validation commands and the managed implementation command in the effective configuration.
- Regenerates static-edge evidence against the combined command registry.
- Aligns root package, main package, lock files, brand constant, and runtime output at 0.3.433.
- Updates the compact changelog with the integrated release entry and links to the detailed design records.
Verification evidence
The integrated release commit was verified with the following checks:
- Full build: passed for core, utilities, graph components, and final suite binding.
- Managed implementation dispatch suite: all scenarios passed, including retry, transport-loss, atomic receipt, rollback, and unmanaged completion rejection.
- Implementation-worker authority verifier: passed.
- Managed worker owner-lease verifier: passed.
- Runtime version verifier: passed, including negative mismatch and invalid-metadata cases.
- Production validation budget test: passed with all three commands fixed at 260,000 milliseconds.
- Intent fingerprint reuse suite: passed with dynamic intent discovery and item-scoped smoke selection.
- Prompt baseline suite: passed for all 18 roles and all four exact Story references.
- Changelog compaction verifier: passed.
- Validation static-edge verifier: passed with zero unexpanded commands and zero configuration drift.
- Benchmark release verifier: passed its release contract, including build, type checking, registry binding, shared budgets, adversarial behavior, scheduler assertions, host-run checks, process facts, and runtime checks covered by the verifier.
Integration and ancestry proof
- Release commit:
b91dee167856bf36f7360e7335a38f9c25dec230 - Local validation parent:
6b59d0dcd56b902c63322e47b7acd45072b0a3fa - Pan Qi managed implementation parent:
d6e284482bc796a5118ec2f88deb5d50f6949180 - Both parent commits are ancestors of the release commit.
- The release range after v0.3.428 contains contributions from Harmonynet and Pan Qi.
- No co-author or sign-off trailers are present in the release commit range.
Known baseline and maintenance notes
- The runtime-fact verification still identifies the previously recorded validation snapshot-binding baseline. The benchmark release verifier recognizes this as an existing baseline condition and completed successfully; this release does not claim that unrelated baseline as repaired.
- The managed asset drift check reports three safe-to-sync items: one ignore-pattern update and two local hook templates. They are not incompatible edits and were intentionally left outside this integrated release rather than silently expanding its scope.
- This release preserves fail-closed behavior for invalid evidence, stale authority, missing receipts, duplicate execution, unknown usage, incomplete managed completion, and unsafe mixed-Story refresh advice.
Upgrade result
After upgrading to v0.3.433, teams receive both the current validation-performance repairs and the managed implementation workflow in one ancestry-complete release. Existing projects can update from the published tag, rebuild the command-line package, and use the combined controls without choosing between the two development lines.
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.
Proof-or-Stop v0.3.427 — Artifact-Bound Validation and Reviewer Reliability
Overview
Proof-or-Stop v0.3.427 publishes the integrated repair line accumulated after v0.3.418. The release binds validation evidence to the compiled artifacts and launch location that actually executed, adds operating-system write protection for non-build validation commands, restores safe validation queue timing, hardens host activity logging, qualifies managed reviewer launches, resolves incremental review baselines from the Story target, and repairs root WebSocket type installation.
Two parallel development lines temporarily reused internal version labels in the v0.3.419-v0.3.424 range. This publication resolves that history at one release boundary: the v0.3.427 tag contains both ancestries, including the remote reviewer qualification and Story baseline work, the local validation and evidence work, and their reviewed merge.
Problems, evidence, and direct effects
| Area | Before | Evidence | After / direct effect |
|---|---|---|---|
| Validation artifact identity | A command could execute stale compiled output while its receipt described newer source, allowing a false fresh PASS. | The final artifact-binding verifier exercised 598 assertions across routine, dynamic, shared-cache, historical replay, DONE-required, and mutation paths. | Every validation launch observes the compiled artifact tree before and after execution. Receipts and reuse bind to the bytes that ran, including the build-binding manifest. |
| Artifact write protection | Non-build validation commands could run with write access to compiled output or its ancestors. | Real denied-write probes cover macOS sandbox enforcement and Linux namespace construction; unenforceable or descriptor-dependent launches fail closed. | The registered build runs first and alone. Other validation commands receive operating-system-level read-only protection and cannot silently run unprotected. |
| Launch-directory continuity | A command, cache lookup, fallback, or replay could resolve its working directory at different times and therefore refer to different filesystem objects. | Symlink, relocation, recreated-tree, cache, post-wait, pre-spawn, drive-relative, and filesystem-identity controls are included in the 598-check verifier. | One canonical launch binding is frozen, rechecked before cache use and immediately before spawn, and propagated through execution, evidence, replay, and DONE-required publication. |
| Wrapper and environment trust | Wrapper replacement, interpreter startup behavior, or environment transfer could escape the artifact boundary or expose confidential values in argv. | Native-wrapper identity, interpreter-chain refusal, environment-byte transfer, option-boundary, malformed-name, and inherited-descriptor controls all pass. | Only identity-bound native wrappers are trusted. Non-allowlisted environment values are transferred privately inside the sandbox and never added to child argv. |
| Validation capacity timing | Time spent waiting in the machine queue reduced the command's own timeout and could kill a valid command immediately after admission. | Twelve queue cases cover direct and delegated execution, caller deadlines, independent wait bounds, maximum command timeouts, and timer values above the platform timer ceiling. | Queue waiting has its own bounded deadline. An admitted command receives its complete configured execution timeout. |
| Host activity logging | A host hook could append into a worktree during validation, dirtying the tree and invalidating otherwise successful evidence. | Eighty-three checks cover real allocator integration, symlinks, hard links, FIFOs, nested repositories, directory swaps, uncertain Git discovery, Windows roots, and cleanup. | Activity is written only under the workspace's validation capacity ticket; unsafe or uncertain destinations are dropped rather than written. |
| Reviewer model qualification | Formal managed reviewer launches could inherit a model or reasoning selection that was not qualified for that provider and review role. | Direct qualification tests and end-to-end managed INIT dispatch tests pass, including malformed, missing, mismatched, replayed, and provider-owned selection cases. | Formal reviewers receive qualified provider-specific defaults; unqualified caller selections are rejected before provider launch. |
| Incremental review baseline | Ordinary review could assume a local main branch even when the Story froze another integration target or the repository used master. |
The focused baseline regression passes current target resolution, legacy master, explicit historical omission, malformed/unavailable targets, live material drift, and merged-head replay. |
Incremental review derives its base from the Story target. Historical envelopes that explicitly omit the base retain byte-exact compatibility. |
| Review observation cost | Repeated review-state reads could duplicate Git probes and obscure freshness or failure classification. | The review observation verifier reports no repeated hot Git probes and passes freshness and failure cases. | Review evidence observation uses a bounded current snapshot with explicit failure semantics. |
| Benchmark monitor wake decisions | Unchanged observations generated redundant Lab dispatch intent. | A frozen replay processed 100 unchanged observations with zero post-cold-start dispatches and preserved nine meaningful change cases. | The Lab filter suppresses unchanged monitor intents while retaining phase, revision, approval, identity, progress, completion, and failure transitions. Live scheduler behavior is unchanged. |
| Root WebSocket type installation | A root-only clean install could not typecheck WebSocket bridge and proxy sources because the root type dependency was absent. | The isolated root-install regression installed dependencies, typechecked main sources, accepted valid WebSocket use, and rejected invalid types. | Root installations now declare the required WebSocket types and pass clean typechecking. |
| Static evidence after merge | The reviewer qualification merge inserted source lines and changed registry bytes, leaving exact static exception positions and dependency digests stale. | The strict scanner initially exposed the affected records. Each existing record was rebound to current source without adding an exception or changing an allowed invocation. | The final scan reports needsReview=0, nested=0, staleExceptions=0, unexpandedCommands=0, and U18_STATIC_PASS across 1,691 reviewed exception uses. |
Included maintenance line
- v0.3.419: bounded review-read evidence and managed reviewer prompt working-directory isolation.
- v0.3.420: fresh review observation and failure classification.
- v0.3.421: exact static dependency-digest refresh after reviewed upstream changes.
- v0.3.422: validation-safe host activity logging.
- v0.3.423: machine queue wait separated from command execution timeout.
- v0.3.424: validation entrypoint and protected evidence-binding reconciliation.
- v0.3.425: Lab-only unchanged monitor intent filter.
- v0.3.426: root WebSocket type dependency and isolated install regression.
- v0.3.427: compiled-artifact identity, launch continuity, sandbox protection, replay integrity, and the final reviewer/baseline integration.
Verification summary
- Build and full-suite build binding: PASS.
- Validation artifact binding: 598 checks passed.
- Root WebSocket types:
ROOT_WS_TYPES_GREEN. - Monitor change filter: verified; 100 unchanged observations produced zero repeated intents, with nine change cases retained.
- Validation queue timing: 12 checks passed.
- Host activity logging: 83 checks passed.
- Review observation: PASS with no repeated hot Git probe.
- Managed reviewer qualification and managed INIT dispatch: PASS.
- Story baseline resolution:
FIRST-REVIEW-BASE GREEN. - Static validation edges:
U18_STATIC_PASS; zero review, nesting, stale, configuration-drift, or unexpanded-command findings. - Historical v0.3.424 entrypoint bundle: all three registered suites passed two complete rounds; static binding passed.
- Pre-push verification will rebuild the package and typecheck every configured TypeScript project against the exact release commit.
Known verification boundaries
- The historical v0.3.424 aggregate verifier still reports
VALIDATION_SNAPSHOT_BINDING_INVALIDin its runtime-fact sub-suite. The same aggregate run completed static verification and all six entrypoint executions successfully. This failure is retained and disclosed; it is not represented as a PASS for this release. - The full incremental-context smoke contains an older concurrent fixture that attempts to write formal pass/finding evidence without the now-required host-adapter attestation. Those writes are correctly refused, so that legacy fixture fails its former count assertion. The focused Story-baseline regression introduced by the merged repair passes.
- On this macOS filesystem, the raw invalid-byte filename case is skipped because the filesystem rejects the name with
EILSEQ; the Linux-only preload-constructor case is skipped becauseLD_PRELOADis not a macOS loader contract. - The managed-asset diagnostic retains three pre-existing
STALE_SAFEpaths: the runtime ignore block in.gitignoreand two generated pre-tool hook files. They are outside this release merge and were not silently rewritten.
Compatibility and release integrity
- The CLI and package version remain synchronized at
0.3.427. - Existing public commands are retained.
- Conservative fallback and refusal paths remain active when artifact identity, wrapper trust, launch continuity, sandbox enforcement, baseline identity, or reviewer qualification cannot be proven.
- The release history contains no additional-author attribution trailers.
- The release tag points to the merge commit that contains both parents, so the remote reviewer changes and all local v0.3.427 repairs are verifiable ancestors.
Full comparison: `v0.3...
Proof-or-Stop v0.3.418 — Validation Reliability and Inventory Protection
Overview
Proof-or-Stop v0.3.418 consolidates the eleven locally integrated maintenance releases from v0.3.408 through v0.3.418. It improves partial-DONE recovery, hash-verifier portability, low-risk validation selection, diagnostic clarity, validation-fixture compatibility, review guidance, stale-evidence reporting, causal-evidence tests, and protection of the validation inventory.
The release also refreshes the two exact source digests changed by the validation-companion repair. This restores the static-source verifier without adding a new exception, changing an allowed invocation, or weakening any production policy.
Problem, evidence, and result
| Area | Before | Evidence | After |
|---|---|---|---|
| Partial-DONE recovery | Recovery could miss a committed Story record that existed only on an unmerged Story branch, and a same-named tag could make checkout detection ambiguous. | The branch-only recovery fixture reproduced the failure and also covered non-main integration, same-named tags, cleanup, and release-ledger behavior. | Recovery resolves the integration target from the same committed branch snapshot used for discovery and uses explicit local branch references while retaining clean-worktree and merge-feasibility safeguards. |
| Native hash verification | The independent exact-digest oracle could fail while loading production TypeScript that contains non-erasable syntax. | The existing 27 golden digest cases and tamper/invalidation controls exposed the loader failure. | A process-local TypeScript compilation hook is installed for the verifier only; production loading behavior is unchanged. |
| Changelog maintenance | Historical detail made the top-level changelog expensive to review and easy to regenerate incorrectly. | A frozen-history verifier checks the compact baseline against byte-verified Git history. | Older history remains reachable in Git, while new entries are limited to concise delivery bullets and links to detailed evidence. |
| Low-risk validation selection | Selection was observable but did not execute the selected subset in the eligible low-risk path. | A frozen A/B/B/A harness exercised the real selector, executor, signing, and consumer paths. It reduced physical launches from six to two, while mean wall time increased from 3.964 seconds to 5.528 seconds. | validate.dynamic.mode=enforce-low-risk can execute the selected subset for eligible inputs. Missing baselines, shared risk, unmapped material, full-only policy, or invalid evidence still fail closed to the full plan. No latency improvement is claimed. |
| Verification-type diagnostics | Invalid evidence kinds did not reliably show the received value, making configuration mistakes harder to correct. | Six invalid-kind cases, accepted canonical types, compatibility aliases, escaping, length limits, and pre-mutation refusal were exercised through the actual CLI. | Errors now include a JSON-escaped, 64-character-bounded received value and the legal types without creating Story metadata. |
| Validation companion fixtures | Two fixtures asserted superseded capture and display contracts. | The current complete-capture API and bounded-output behavior reproduced both stale expectations. | The fixtures now require one physical capture, preserve the original result, reject fabricated receipts, keep truncation markers within the display cap, and retain reuse and tamper controls. |
| Module initialization | An eager circular dependency could prevent the flow-validation entry from starting. | Fresh-process import-order tests reproduced the initialization failure. | The unchanged dirty-category tuple now lives in an import-free data module; category types and blocking decisions remain unchanged. |
| Review guidance | Pending REVIEW guidance did not explicitly bind the final finding or pass to the run ID returned by review_run_start. |
An isolated REVIEW Story exercised the real session handler and canonical dispatch contract. | The guidance now names the returned run ID while preserving distinct child identities, exact waits, and reviewer ownership. |
| Stale-evidence hint extraction | Variable-length stale-intent rows could truncate an indented remediation hint. | Focused cases with one, three, and fifteen stale intents reproduced the truncation and checked surrounding output. | Extraction retains the complete hint and preserves byte-exact recovery-command assertions across surfaces. |
| Causal-evidence fixtures | Receipt tests had drifted from current output storage, bounded retry, and sealed-input contracts. | Focused tests covered oversized output, an injected index-write failure, topology/pre-review execution, and a missing-source negative case. | Tests use the real receipt store, exhaust the bounded retry path, prove one physical execution and immutable recovery, and keep topology inputs sealed. Production authority is unchanged. |
| Validation inventory protection | The regression fixture did not fully compare the real caller state with local main or cover every protected mutation class. | Real Git mutations exercised command changes, removals, reordering, duplicates, collection shape, package configuration, runner sources, timeout literals, and override shadowing in working and committed states. | The fixture mechanically protects existing commands, argv, order, timeouts, budgets, scripts, and runner sources while allowing bounded additive registration and separately gated scope paths. |
| Static source closure | The v0.3.413 fixture changes left two dependency digests at their prior values. | The strict scanner reported one incomplete exception; recomputation identified only validation-input-contract.mjs and validation-shared-output.mjs as changed dependencies. |
The exact two digests were refreshed. The scanner reports zero needs-review rows, zero nested registered calls, zero unexpanded commands, and no configuration drift or stale exceptions. |
Safety and compatibility
- No public command was removed or renamed.
- Existing validation commands, argv ordering, timeout limits, budget limits, package scripts, and runner sources remain protected.
- Dynamic selection is restricted to eligible low-risk inputs and retains conservative full-plan fallback.
- The causal-evidence and validation-companion work changes tests and diagnostics, not production authority.
- The release contains no co-author attribution trailers.
Verification
The release candidate was built from the exact tagged source and exercised with the version-pinned verification commands for v0.3.408 through v0.3.418. Key current results include:
- Build binding: PASS.
- Artifact release ledger recovery: 14 assertions passed.
- Independent hash oracle: 27/27 cases passed.
- Changelog compaction contract: PASS.
- Dynamic selection cost harness:
DYNAMIC_SELECTION_COST_GREEN, including fault detection and conservative fallback controls. - Verification enum diagnostic: PASS.
- Dirty-category import orders and missing-category refusal: PASS.
- Review run-ID guidance: PASS.
- Stale-hint extraction: PASS.
- Focused causal-evidence cases: 3/3 passed.
- Protected inventory fixture: PASS.
- Static validation edges:
needsReview=0,nested=0,unexpandedCommands=0, withU18_STATIC_PASS.
The repository-wide managed-asset diagnostic still reports three pre-existing STALE_SAFE files (.gitignore and two generated hook files). They are outside this release diff and were not silently rewritten.
Included versions
- v0.3.408 — branch-snapshot recovery for partial DONE.
- v0.3.409 — native exact-digest hash-verifier loader.
- v0.3.410 — compact, history-preserving changelog policy.
- v0.3.411 — enforced low-risk dynamic validation selection with fail-closed fallback.
- v0.3.412 — actionable verification-type diagnostics.
- v0.3.413 — current validation companion contracts.
- v0.3.414 — circular module-initialization repair.
- v0.3.415 — returned review run-ID guidance.
- v0.3.416 — complete variable-length stale-hint extraction.
- v0.3.417 — causal-evidence fixture compatibility.
- v0.3.418 — real-Git protected validation inventory fixture.
Full diff: v0.3.407...v0.3.418
Proof-or-Stop v0.3.407 — Quorum Smoke Temporary Directory Isolation
Overview
This release fixes quorum-smoke startup when the shared temporary parent contains a separately registered sibling worktree. It narrows the overlap decision to the actual writable temporary base while deliberately preserving the protected-mutation guard's fail-closed contract for every repository write.
The release contains 41 commits across 11 files, with 485 insertions and 261 deletions since v0.3.406. The package and repository CLI both report version 0.3.407.
Problem
The quorum smoke had two interacting operational symptoms:
- A host tool-logging hook could append to a gitignored activity log while the smoke was running. The protected-mutation guard treated that write as a mutation, so a measured run with all 73 cases passing was still reported as failed.
- The ambient temporary-parent check refused startup whenever that parent contained any registered worktree. A managed review worktree under the shared temporary directory therefore blocked the smoke even though a fresh
mkdtempchild could not write into that sibling.
The second condition was overly broad. The existence of a protected sibling below a shared parent does not make a separately allocated child overlap that sibling.
Delivered repair
The temporary-parent rule now refuses only when the parent is inside, or equal to, a protected root. A shared parent that merely contains a registered sibling worktree is allowed.
The newly created owned temporary base is still checked against every protected root in both directions. An inherited owned base retains the same two-way check. A base inside a protected worktree is still refused before the quorum case runs.
No source, Story, evidence, configuration, worktree, or activity-log path becomes writable through this repair.
Safety decision: activity-log exemption withdrawn
Several candidate revisions attempted to tolerate append-only writes to known activity logs. Independent reviews repeatedly found that content and metadata snapshots could not provide operation-level attribution under coalesced filesystem notifications. The discovered failure classes included symlink replacement, byte-identical inode replacement, permission or ownership changes, in-place rewrites, truncate-and-restore followed by append, duplicate observations, and suffix removal after the last observation.
Those exemption implementations were removed before release. The final behavior remains intentionally fail-closed:
- Every observed write inside a protected root is a mutation.
- An append to a gitignored activity log is still a mutation.
- Look-alike filenames receive no special treatment.
- No snapshot, prefix, inode, metadata, or growth-based content exemption exists in the released guard.
The original host-logging conflict is addressed at its source by keeping host bookkeeping outside the repository while that worktree is validating. Hosts with an older hook need to run proof-or-stop init --upgrade before expecting that operational conflict to disappear.
Before and after
| Area | Before | After |
|---|---|---|
| Shared temporary parent | Any registered worktree below the parent caused startup refusal. | A protected sibling is allowed when the new owned base is disjoint. |
| Temporary parent inside a worktree | Refused. | Still refused. |
| Allocated temporary base | Could not be reached in the safe sibling scenario because the parent was rejected first. | Allocated under the parent and checked against every protected root in both directions. |
| Repository writes | Every observed protected-root write was a mutation. | Every observed protected-root write remains a mutation. |
| Activity-log appends | Failed the guard. | Still fail the guard; host logging must occur outside the repository. |
| Security posture | Fail-closed, but with an overly broad parent-level overlap check. | Fail-closed with the overlap decision applied to the actual isolated base. |
Verification evidence
The exact tagged commit a8768173bc7488aa8fdc3ef45f1ed295cbd924c8 was rebuilt and rechecked before publication.
npm run buildpassed, including the full-suite build-binding check.node scripts/verify-quorum-smoke-host-activity-temp-overlap.mjspassed all ten final-scope checks.- A parent containing a registered sibling worktree allocated an owned base outside that sibling.
- The sibling-parent fixture produced the same quorum case outcome as the ordinary-temp baseline.
- A temporary parent inside the protected worktree was refused and allocated no base.
- Activity-log appends remained dirty with three unowned paths.
- A tracked source write remained dirty.
- A no-write control remained clean.
- Static edge validation emitted
U18_STATIC_PASSwith zero needs-review rows, zero nested rows, zero unexpanded commands, 17 intentionally skipped rows, and 1,676 reviewed exceptions. - The remote pre-push gate rebuilt the main package and passed
tsc --noEmitfor lab, graph, utils, and main during both branch and tag publication.
A separate machine observation reached 73 of 73 quorum cases before the host activity append caused final guard refusal. That observation demonstrates the original operational symptom; it is not claimed as a passing release run.
Independent review outcome
Repeated independent review prevented a broad activity-log exception from shipping. The accepted final scope contains only the sibling temporary-parent repair, a regression that pins the fail-closed write contract, and comments that describe the released behavior rather than the withdrawn design.
The final regression intentionally compares the sibling-temp result with an ordinary-temp baseline in a fixture repository. Both fixture case outcomes are FAIL for an unrelated missing product context; equality proves the temporary-directory decision, not end-to-end quorum success.
Known limitations
- The filesystem watcher can be delayed or coalesce notifications on a busy host. The final policy does not convert uncertain observed writes into clean results.
- Host hooks that still write activity logs inside the repository can continue to fail the protected-mutation guard and should be upgraded.
- The release does not claim an operation-level append attribution mechanism.
- The full repository test matrix was not run. Passing claims are limited to the exact build, final-scope regression, static scan, and pre-push type checks listed above.
- Three separately reported managed-asset synchronization items remain outside this reviewed release.
- This maintenance release does not assert formal completion of the broader benchmark Story.
Upgrade verification
After updating, run:
proof-or-stop --versionThe expected result is Proof-or-Stop 0.3.407.
Proof-or-Stop v0.3.406 — Validation Reuse, Queue Resilience, and Fixture Retention
Overview
This release consolidates six bounded maintenance repairs from v0.3.401 through v0.3.406. It makes validation re-execution reasons durable, aligns reuse lineage with the material-hash policy, removes non-semantic host-session values from validation identity, keeps queued validation visibly alive, bounds machine-queue ancestor probes, and safely limits retained failed-fixture directories.
The release contains 66 commits across 25 files, with 2,024 insertions and 460 deletions since v0.3.400. The package and repository CLI both report version 0.3.406.
v0.3.401 — Durable validation refusal reasons
Problem
When routine validation could not reuse an earlier PASS, the refusal reasons were printed only to stderr. The durable validation_terminal event recorded that execution occurred but not why. Once session output disappeared, repeated executions could no longer be attributed from the event itself.
Resolution
Executed terminal events now retain the reuse evaluation, lineage classification, sorted refusal reasons, and any reason a reusable result was deliberately declined. The no-validator branch also preserves its evaluation. Reused terminals, reuse decisions, gates, and duplicate-suite grouping keys are unchanged.
Current verification recorded four executed scenarios and made all four attributable from terminal data alone. An unchanged rerun still reused its prior result, while observe mode without opt-in remained executed with the exact observe-reuse-not-opted-in decline reason.
v0.3.402 — Material-policy lineage consistency
Problem
The material hash excluded Story metadata, evidence output locations, and registered runtime artifacts, but the shared lineage classifier trusted only Story metadata. A commit containing only excluded non-material data could therefore force routine validation, DONE-required validation, and admissibility to reject an otherwise byte-identical PASS.
Resolution
The shared lineage classifier now trusts exactly the paths already excluded by the material-hash policy. Every material source or configuration path, non-ancestor head, and diff failure remains rejected. The process-fact contract prevents a return to the narrower Story-metadata-only predicate.
The regression covers four reusable non-material scenarios, five refusal controls, and a mutation that attempts to trust every descendant. All 38 checks passed; every material-path control independently detected the unsafe mutation.
v0.3.403 — Host-session-neutral validation identity
Problem
Per-session host values that validation commands do not read were included in routine and DONE-required identity digests. Starting a new host session or changing the host effort setting could invalidate an unchanged PASS and rerun the complete validation plan.
Resolution
CLAUDE_CODE_HOST_SESSION_ID, CLAUDE_EFFORT, and BAGGAGE now join the extensible host-launcher environment list. Ambient values for these keys are excluded from identity and are not passed to validation children. An explicit command.env overlay remains semantic. Ordinary values such as NODE_OPTIONS, CI, TZ, LANG, and PATH still change identity and refuse reuse.
All 32 checks passed. The frozen digest-pinned list remains unchanged, and identity calculation agrees with the actual spawned environment.
v0.3.404 — Queue-wait heartbeat
Problem
A validation queued behind another same-user process could be healthy but silent. Without a queue wait reporter, the CLI idle watchdog killed it as stuck before capacity became available.
Resolution
The validation executor now supplies queue progress at the configured heartbeat interval. While waiting, the CLI reports the command index, label, elapsed time, and holder context. Queue and command deadlines are unchanged.
The real CLI regression queued for three seconds behind a private fixture holder with a one-second idle budget. It emitted eight wait lines and completed successfully. An uncontended control passed, while a deliberately slower-than-idle heartbeat remained correctly killed. All six checks passed.
v0.3.405 — Bounded asynchronous ancestor probing
Problem
Machine-queue waiting used a synchronous ps probe with a one-second timeout. A busy host could cause spawnSync ps ETIMEDOUT to escape the wait loop and crash a valid queued validation. The first asynchronous candidate could also outlive the caller's deadline or abort signal.
Resolution
The ancestor probe is asynchronous, kills its child on abort, and is bounded by both its own ceiling and the caller's remaining capacity-wait time. The caller's active deadline/abort state is checked again before ancestry is interpreted. A failed or unknown probe never admits the waiter; it remains queued and retries on the next poll. Confirmed ancestor conflicts remain refused.
All 14 checks passed, including slow probes, a genuine descendant conflict, a never-answering probe, a short deadline, and caller abort. Deadline and abort cases left no queue ticket and never ran the protected callback.
v0.3.406 — Safe retained-fixture cleanup
Problem
Failed fixture-machine directories were intentionally retained for diagnosis but never bounded. Local evidence recorded 125 retained directories, some several days old and up to 8.1 MB each. A simple age-only cleanup would risk deleting active, partially inspected, or ambiguously owned diagnostic data.
Resolution
Fixture creation now records an owner PID and performs best-effort sibling pruning without allowing cleanup failure to block fixture creation.
- A confirmed live owner is always retained.
- A confirmed absent owner is retained for a ten-minute diagnostic grace; after grace, the 20 newest dead-owner directories are retained.
- A legacy directory is eligible for age cleanup only when no owner record exists and the newest activity anywhere in its bounded tree is older than six hours.
- A present but unrecognized owner record is retained rather than treated as legacy.
- Owner records are opened nonblocking, without following symlinks, and must be regular files smaller than 64 KiB.
- PID liveness is three-state: only
ESRCHproves absence,EPERMproves presence, and any other error remains unknown. - Recorded PIDs must be positive safe integers within the probeable range.
- An incomplete directory scan, unreadable subtree, tree above the 20,000-entry inspection bound, FIFO, symlinked owner record, unrelated path, or unexpected entry is retained.
- Cleanup never follows symlinks and never removes unrelated files or directories.
The final regression seeded 69 prefixed directories and retained 56 according to policy. It passed 17 groups covering old and young legacy data, dead and live owners, fresh nested activity under an old root, incomplete inspection, FIFO and symlink records, six malformed owner schemas, 21 out-of-range PID records, unrelated directories, and symlink preservation.
Before and after
| Area | Before | After |
|---|---|---|
| Executed validation history | Durable events said only that execution occurred. | Events retain the exact reuse evaluation, refusal reasons, lineage, and decline reason. |
| Non-material commits | Materially identical results could be rejected because lineage used a narrower path policy. | All reuse consumers share the material-hash exclusion policy; material paths still fail closed. |
| Host session changes | Session IDs, effort settings, and telemetry baggage changed validation identity. | Ambient host-only values are identity-neutral and absent from child environments. |
| Queue visibility | A healthy queued command could appear idle and be killed. | Capacity waiting emits periodic progress without extending any deadline. |
| Ancestor detection | A slow synchronous ps could crash the waiter. |
Probing is asynchronous, abortable, deadline-bound, and fail-closed. |
| Failed fixture storage | Diagnostic directories accumulated without a retention bound. | Confirmed dead/legacy data is bounded while active, ambiguous, or incompletely inspected evidence is preserved. |
Verification evidence
The exact tagged commit d4ab3af041f18faafb0d6ba75004ef95eb45379a was rebuilt and rechecked before publication.
npm run buildpassed, including the full-suite build-binding check.node scripts/verify-validation-terminal-refusal-reasons.mjspassed 32 checks.node scripts/verify-reuse-lineage-material-policy.mjspassed 38 checks and its unsafe-classifier mutation control.node scripts/verify-reuse-host-session-environment.mjspassed 32 checks.node scripts/verify-validation-queue-wait-heartbeat.mjspassed six real-CLI queue/idle checks.node scripts/verify-machine-queue-ancestor-probe.mjspassed 14 slow, failure, deadline, and abort checks.node scripts/verify-fixture-machine-retention.mjspassed 17 retention and deletion-safety groups.- Static edge validation emitted
U18_STATIC_PASSwith zero needs-review rows, zero nested rows, zero unexpanded commands, 17 intentionally skipped rows, and 1,676 reviewed exceptions. - The remote pre-push gate rebuilt the main package and passed
tsc --noEmitfor lab, graph, utils, and main during both branch and tag publication.
Evidence boundaries and known limitations
- v0.3.401 is an observability repair and does not claim a measured runtime optimization.
- Receipts created with the three newly excluded ambient host keys may need to be earned once under the new identity policy.
- Queue heartbeats do not extend queue or command deadlines. A waiter can still time out under prolonged real contention.
- Unknown ancestor state remains fail-closed and may eventually end in the caller's capacity deadline.
- Fixture cleanup intentionally retains active, ambiguous, malformed, unreadable, oversized, or incompletely inspected candidates. The cap applies only when ownership absence or eligible legacy age is established safe...
Proof-or-Stop v0.3.400 — Private Reviewer Shell Temporary Directory Repair
Overview
This release fixes a private-lane shell failure in isolated managed review. The provider-specific shell bookkeeping directory was left outside the admitted temporary filesystem, so legitimate read-only review commands could fail with EPERM even though authentication, prompt transport, and structured result handling were working correctly.
The release contains six commits across 14 files, with 418 insertions and 352 deletions since v0.3.399. The package and repository CLI both report version 0.3.400.
Problem
A real concept-review run attempted to execute a Bash hashing command and tried to create bookkeeping data under /private/tmp/claude-501. The read-only review sandbox correctly rejected that external write. The affected review then substituted a placeholder digest, which reduced the assurance of the imported result and required the review inventory to be cancelled and rerun.
The lane already supplied TMPDIR, TMP, and TEMP, but the provider uses a dedicated CLAUDE_CODE_TMPDIR variable for its shell bookkeeping. Without that mapping, provider-internal temporary files escaped the lane's admitted private directory.
A real isolated diagnostic reproduced SHELL_UNAVAILABLE in 11,956 ms. Changing only the dedicated variable to the already admitted lane temporary directory allowed the identical real Bash SHA-256 command to complete in 9,503 ms. Those observations isolated the failure to temporary-directory routing rather than credentials, prompt transport, command content, or the read-only source policy.
Resolution
managedReviewLaneEnvironmentnow mapsCLAUDE_CODE_TMPDIRtolane.layout.temporary.- The mapping is derived alongside the standard temporary-directory variables for every private review lane.
- The runtime environment registry now declares the provider-specific variable.
- The runtime contract verifier binds the new field to the production lane environment.
- The existing provider-state verifier exercises both environment derivation and the real macOS write boundary.
- Static evidence bindings were refreshed for the changed source and regression excerpts without changing existing exception identifiers or classifications.
- Documentation now explains the private shell temporary-directory behavior and its security boundary.
Before and after
| Area | Before | After |
|---|---|---|
| Shell bookkeeping | Provider shell state defaulted to an external per-user temporary directory. | Provider shell state is routed to the lane's existing private temporary directory. |
| Real Bash tools | A valid read-only hashing command could fail with EPERM before producing evidence. |
The same hashing command runs inside the admitted lane and returns the expected digest. |
| Source protection | Source and external sibling locations were read-only. | Source and external sibling locations remain read-only; only the existing private lane is writable. |
| Credentials | Private credentials were isolated from ambient homes. | Credential handling is unchanged and remains isolated. |
| Review evidence | A tool-unavailable result could force placeholder evidence and reduce assurance. | The reviewer can execute the required shell tool without widening source or ambient write access. |
| Controller semantics | Ambient environment merge precedence was outside the exercised repair. | It remains unchanged and is not claimed by this release. |
Security and compatibility boundaries
The repair does not widen the filesystem allowlist. The new value points to the same already admitted temporary directory used by the lane's standard temporary variables. Source files, immutable probes, external siblings, ambient provider homes, and user policy remain outside the writable boundary.
Reviewer credentials, signed subjects, run bindings, terminal receipts, import gates, provider admission, and user configuration are unchanged. The provider-specific variable is consumed only by the matching provider; other providers retain their existing behavior.
Verification evidence
The exact tagged commit ebd55913fc2df691de7267aab55bd175778d9204 was rebuilt and rechecked before publication.
npm run buildpassed, including the full-suite build-binding check.node scripts/verify-managed-provider-state.mjspassed.- The provider-state verifier emitted
CLAUDE_PRIVATE_TEMP_SANDBOX_PASS. - The same verifier retained the prior Keychain and isolated-authentication PASS markers.
- The real macOS sandbox allowed provider bookkeeping inside the private lane while refusing writes to source, the immutable probe, and an external sibling.
- Static edge validation emitted
U18_STATIC_PASSwith zero needs-review rows, zero nested rows, zero unexpanded commands, 17 intentionally skipped rows, and 1,676 reviewed exceptions. - The remote pre-push gate rebuilt the main package and passed
tsc --noEmitfor lab, graph, utils, and main during both branch and tag publication.
Retained integration evidence also records a real provider probe using the production lane environment, normal production host runner, and actual read-only OS boundary. It completed the Bash shasum operation with the exact expected digest in 14,488 ms, exited successfully, produced one structured terminal, and required no manual temporary-directory override. This is tool-availability evidence, not a formal Story review PASS.
Independent audit correction
The first candidate included a locally constructed object-spread assertion that appeared to cover controller environment precedence but did not exercise that production boundary. Independent audit rejected that overclaim. The assertion was removed, the documentation was narrowed to the behavior actually exercised, and the final test now proves only the production lane derivation and real filesystem boundary covered by this repair.
Known limitations
- The broad runtime contract still reaches an unrelated existing
STATIC_AST_PARSER_OBSERVER_SOURCE_DRIFTfailure in a nested static-AST reuse verifier. The same failure was reproduced on untouched v0.3.399, so it is not represented as a regression fixed by this release. - The full repository test matrix was not run. Passing claims are limited to the exact build, provider-state regression, real sandbox behavior, static scan, retained production probe, and pre-push type checks listed above.
- The repair does not establish controller ambient-environment merge precedence beyond the exercised production lane boundary.
- Three separately reported managed-asset synchronization items remain outside this reviewed change.
- This maintenance release does not assert formal completion of the broader benchmark Story.
Upgrade verification
After updating, run:
proof-or-stop --versionThe expected result is Proof-or-Stop 0.3.400.
Proof-or-Stop v0.3.399 — Dependency Security and Isolated Reviewer Authentication
Overview
This release consolidates the v0.3.398 dependency-security remediation and the v0.3.399 isolated reviewer-authentication repair. It updates vulnerable runtime and packaging dependencies, preserves standalone desktop compatibility, restores private macOS credential capture for formal managed reviews, adds a bounded Grok review transport, and hardens terminal-result admission against ambiguous or contradictory provider streams.
The release contains 26 commits across 39 files, with 2,385 insertions and 1,203 deletions since v0.3.397. The package and repository CLI both report version 0.3.399.
v0.3.398 — Dependency security remediation
Problem
The reviewed GitHub alert snapshot contained 14 root-lockfile findings: four high-severity fast-uri alerts, seven hono alerts, two qs alerts, and the unpatched legacy pkg advisory. Replacing the desktop packager also introduced compatibility risks because the new carrier rewrites ESM manifests and does not expose every native Node module used by ordinary installations.
Resolution
- Updated
fast-urito 3.1.8,honoto 4.13.8, andqsto 6.16.0. - Replaced the retired
pkg5.8.1 dependency with@yao-pkg/pkg6.22.0 and removed its obsolete audit exception. - Moved desktop packaging targets to Node 24.
- Preserved the original staged
package.jsonbytes when the packager rewrites ESM metadata. - Retained lazy inspector loading for standalone carriers that omit inspector support.
- Updated standalone desktop smoke assertions to the current English help and heartbeat diagnostics.
- Refreshed only the reviewed dependency bindings in the static exception inventory; exception identities, classifications, reasons, call sites, and selectors remain unchanged.
v0.3.399 — Isolated reviewer authentication and terminal integrity
Problem
The isolated provider-cache boundary prevented the default macOS Keychain login from reaching formal managed Claude review. Grok had no canonical managed reviewer transport. Early candidate implementations also exposed four important failure classes: unintended ordinary-launch surfaces, repeated credential reads, incomplete terminal-stream rejection, and insufficient full-flow integration coverage.
Resolution
- Reads only the fixed Claude credentials item for the canonical default macOS configuration directory.
- Validates and retains only the OAuth credential required by the private reviewer snapshot.
- Captures the Keychain value once, materializes it through the existing opaque snapshot boundary, and writes only private mode-0700 directories and mode-0600 files.
- Prevents custom configuration directories from falling back to the default account and sanitizes Keychain errors.
- Gives Grok an isolated home, protected prompt transport, disabled shared leader/updater behavior, and a real provider identity.
- Restricts Grok to formal managed review and acceptance-amendment review. Ordinary prompt and generic managed-dispatch paths refuse before provider launch.
- Requires admitted private reviewer state and a sealed read-only layout before launch.
- Rejects duplicate, malformed, oversized, missing, failed, or late contradictory terminal events. A stream that becomes invalid cannot recover through a later success event.
- Removes the compatibility-proposal completion fallback for Grok and requires exactly one valid terminal structured result.
- Adds production-path integration coverage for review import, late-error refusal, missing-terminal refusal, signed acceptance rejection, and invalid acceptance terminal handling.
- Keeps shared home policy files outside the private reviewer snapshot and never writes credentials or policy back to ambient homes.
Before and after
| Area | Before | After |
|---|---|---|
| Dependency audit | The root lock contained 14 reviewed advisories, including four high-severity findings. | Root, main, utils, lab, and graph report zero npm audit vulnerabilities under the pinned verifier. |
| Desktop packaging | The retired packager had an unpatched advisory; replacement could rewrite ESM metadata. | The maintained packager targets Node 24, restores original manifest bytes, and passes a real macOS ARM64 standalone smoke. |
| Default reviewer login | Formal isolated review could not consume the canonical macOS Keychain login. | One validated credential capture enters the private opaque snapshot without ambient-home mutation. |
| Custom reviewer homes | A fallback risk could bind a custom directory to the default account. | Custom configuration directories refuse fallback to the canonical default credential. |
| Grok launch surface | No canonical managed reviewer transport existed, and broad launch paths were initially possible. | Only the two reviewed formal-review paths are admitted; ordinary and generic dispatch paths refuse. |
| Terminal parsing | Oversized, duplicated, malformed, or late contradictory events could leave ambiguity. | Any such stream is permanently invalid and cannot authorize evidence intake. |
| Provider availability | A successful fixture could be mistaken for a service-availability guarantee. | Account or remote-service failures remain explicit, ineligible results and are never converted into review evidence. |
Verification evidence
The exact tagged commit 44eddeb972c9309f59a938063a2a979cac2f25ec was rebuilt and rechecked before publication.
npm run buildpassed, including the full-suite build-binding check.node scripts/verify-dependabot-remediation.mjspassed withDEPENDABOT_REMEDIATION_GREEN.- The dependency verifier reported zero
npm auditvulnerabilities for root, main, utils, lab, and graph. - Static edge validation reported
U18_STATIC_PASSwith zero needs-review rows, zero nested rows, zero unexpanded commands, 17 intentionally skipped rows, and 1,676 reviewed exceptions. - A real macOS ARM64 standalone executable was built and passed core help, auxiliary help, and repository verification smoke checks with system Node excluded from
PATH. node scripts/verify-managed-provider-state.mjspassed the Keychain fixture and isolated reviewer-authentication regression.node scripts/verify-cli-audit-runtime-coverage.mjspassed all six groups, including generated-entry version guarding, executable pins, stale/missing refusal, and restoration controls.- The remote pre-push gate rebuilt the main package and passed
tsc --noEmitfor lab, graph, utils, and main during both branch and tag publication.
Evidence boundaries and known limitations
- GitHub still printed the previous 14-alert summary during the push. The repository locks pass the pinned zero-vulnerability audit, but platform-side alert closure depends on GitHub re-evaluating the updated default branch.
- Windows, Linux, and macOS x64 standalone binaries were not executed in this release verification. The real standalone smoke is macOS ARM64.
- The full repository test matrix was not run. Passing claims are limited to the exact build, dependency, packaging, static, authentication, runtime-coverage, and pre-push checks listed above.
- Aggregate Grok token usage remains unavailable when compatibility counters are placeholders. Validated live counters provide only a lower bound for burn-limit enforcement.
- A retained final real-provider Grok observation returned a remote HTTP 403 and remains a failed availability observation, not review evidence. Earlier successful isolated transport observations do not guarantee account or service availability.
- Three separately reported managed-asset synchronization items are not included because they were outside the reviewed repair scope.
- This maintenance release does not assert formal completion of the broader benchmark Story.
Upgrade verification
After updating, run:
proof-or-stop --versionThe expected result is Proof-or-Stop 0.3.399.
Post-publication security status
After the updated default branch became visible, the GitHub Dependabot API was queried again and returned zero open alerts. The earlier 14-alert message was the stale summary printed during the push before platform-side recalculation completed.
Proof-or-Stop v0.3.397 — Validation Admission and Benchmark Reliability
Overview
This release consolidates four bounded maintenance repairs from v0.3.394 through v0.3.397. Together they restore deterministic review-evidence supersession, canonical benchmark-suite registration, isolated validation fixture identity, and fail-fast process-contract admission ordering.
The release contains 28 commits across 22 files, with 1,288 insertions and 536 deletions since v0.3.393. The package and repository CLI both report version 0.3.397.
Problems addressed
v0.3.394 — Managed review supersession
A newer completed review could remain blocked by an older managed PASS after material drift. Live freshness was classified before the managed transport had been authenticated, which could turn an otherwise supersedable stale record into a terminal receipt error.
The collector now authenticates unambiguous managed transport before classifying live freshness, while preserving the legacy position of missing or conflicting authority checks. Only a fully observed material-hash mismatch or head-lineage change receives the existing stale classification. Invalid, unavailable, ambiguous, or improperly bound evidence continues to fail closed.
v0.3.395 — Benchmark suite registration
The canonical inventory reported one unknown benchmark policy and one stale managed-review policy. The underlying commands existed, but suite membership, policy registration, and the intended prebuilt execution path had drifted apart.
This release restores both registered targets, retains all prior suite members, and adds an explicit prebuilt mode for the canonical benchmark hardening alias. Missing or stale build bindings are rejected before child execution. Focused regression controls cover absent targets, missing policies, missing members, duplicates, unknown options, stale bindings, and propagation of the first nonzero child result.
v0.3.396 — Validation fixture host isolation
Synthetic validation fixtures depended on the ambient interactive host identity. Under the official sanitized validation environment, those fixtures could be rejected even though their behavior was otherwise valid.
The affected fixtures now remove inherited host transport and provide an explicit synthetic owner and fixture-local rendering provider. Environment state and session caches are restored in cleanup paths. Production identity filtering, ownership leases, gates, and provider-admission policy are unchanged.
v0.3.397 — Process-contract refusal ordering
The process-contract verifier launched five independent positive fixtures before checking a deliberately invalid admission contract. This delayed the negative security oracle and allowed the child diagnostic to exceed its bound before proving the intended refusal.
The five existing positive launches now run only after the actual admission-refusal assertion and its terminating failure barrier. Their executable, arguments, working directory, standard IO, and deadlines are unchanged. The negative child proves refusal with zero positive-proof launches, while the normal positive path still retains all five fixtures and the existing acceptance proofs.
Before and after
| Area | Before | After |
|---|---|---|
| Review evidence | An authenticated stale PASS could be classified too early and block a newer valid same-lane result. | Managed transport is authenticated before freshness classification; valid supersession proceeds while ambiguous evidence still fails closed. |
| Benchmark inventory | Policy rows, executable targets, and canonical suite membership could disagree. | Targets, policies, and serial membership are reconciled and protected by focused negative controls. |
| Shared build execution | Canonical benchmark children could rebuild shared inputs while peers were running. | The canonical alias uses a verified prebuilt binding and refuses missing or stale build identity before launch. |
| Fixture identity | Synthetic fixtures could inherit an ambient host identity that official validation removes. | Each affected fixture supplies its own bounded identity and restores environment and cache state. |
| Negative admission proof | Five expensive positive fixtures ran before the invalid-contract refusal oracle. | The refusal oracle and failure barrier execute first; the negative witness observes zero positive launches. |
| Validation deadlines | A timing symptom could encourage raising production bounds. | Existing production and fixture deadlines remain unchanged; the fix changes ordering and isolation, not limits. |
Verification evidence
The release candidate was rebuilt and rechecked on the exact tagged commit 7cc62a9ec05c507a4d47a8090aeb92f94c60eaeb.
npm run build— passed, including the full-suite build binding check.- Managed review supersession regression —
MANAGED_SUPERSESSION_PASS. - Benchmark suite registration regression —
BENCHMARK_SUITE_REGISTRATION_PASS. - Validation fixture host checks —
MANAGED_DELIVERY_DISPATCH_GREEN,TRACKED_CONFIG_BOOTSTRAP_GREEN, andVALIDATION_FIXTURE_HOST_PASS. - Process admission ordering regression —
ORDER_ACTUAL_MUTATION_REFUSED positiveProofLaunches=0, followed by the ordering PASS marker. - Static validation scan —
U18_STATIC_PASS; zero needs-review rows, zero nested rows, zero unexpanded commands, 17 intentionally skipped rows, and 1,676 reviewed exceptions. - Remote pre-push gate — all four TypeScript projects passed
tsc --noEmitafter rebuilding the main package.
Evidence boundaries
This release does not claim formal completion for the broader benchmark Story. The retained full positive process-contract diagnostic passed the five preserved fixtures and progressed beyond the repaired ordering witness, but later exceeded its unchanged 180-second bound in a separate nested workload. That diagnostic remains a failure and is not represented as release proof.
No production permission rule, review gate, ownership rule, validation deadline, or scanner predicate was relaxed. The passing claims above are limited to the exact focused regressions, build checks, static scan, and remote type-check gate listed here.
Upgrade verification
After updating, run:
proof-or-stop --versionThe expected result is Proof-or-Stop 0.3.397.