Repository navigation
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.418...v0.3.427