Repository navigation
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.