Repository navigation
v1.88.1.0 fix: harden credential boundaries and owned state - #2942
Conversation
Resolve the selected target for locking, mutation, backup, and rollback; refuse target changes and preserve private modes. Addresses #2830.
Adapts the credential-suffix screen proposed in #2636, with real launched-child regression coverage and deliberate provider-auth exceptions.
Preserve the exact user-owned suffix and publish only a successfully assembled replacement. Independently implements the repair reported in #2907.
Preserve 64-bit device/inode identity and nanosecond race checks. Add native NTFS lifecycle coverage for #2927; retain ambiguous legacy-state refusal without claiming Windows PID-reuse recovery is resolved.
Uses #2931 by Chris Hutton / Claude Fable 5.1 as attributed design input; independently implemented without broad sweeps or copied code. Keep uncertain children and locks rather than deleting foreign state.
|
😎 This pull request was merged. |
E2E Evals: ✅ PASS99/99 recorded final results passed | 85 executed, 14 reused | $21.59 total cost | reconcile exit: 0 Profile: pr / full-fallback; selected behaviors: 77, judges: 25. Deferred to scheduled/release coverage: 119 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.
Fail-closed reconciliationSliced lane: declared PR profile or broad fallback via scripts/test-paid-shards.ts (planner → 6 executors → fail-closed report). Reused scores retain their original provenance and expiry. |
Post-merge issue and contributor follow-upVerified the merge commit Contributor PRs closed as superseded, not represented as merged or wholesale adopted:
Issues closed as completed: #2930 (wrong-line masking), #2927 (NTFS identity precision), #2830 (settings symlinks), and #2907 (custom allowlist preservation). Partial-scope issues intentionally remain open:
The PR description now reflects these dispositions and no longer contains the negated closing phrase that GitHub linked to issue 2637. No code, validation claims, branches, deployment, or contributor authorship were changed during this follow-up. |
Seven bounded credential, process-lifecycle, and user-state repairs for
1.88.1.0(package.json:1.88.1). Published head:dc1614d4d1c8b8e9767647990ee690179e14c92b, against636175d.The final review's Unicode redaction blocker is repaired and has passing before/after regressions, including the actual compiled CSO reader and installed pre-push hook. Fresh local acceptance and all required CI checks pass on this head: 55 successful, 0 failed, 0 pending, 2 workflow skips. Earlier green CI at
babc610remains historical evidence only. The maintainer merged this PR on 2026-09-23 asb9706f3; its tree exactly matches the accepted head. No deployment was performed by this thread.Credential boundaries
Ownership and user state
Attribution
These are maintainer integrations, not wholesale adoption of the contributor branches. The four source PRs were subsequently closed as superseded, with individualized thanks and immutable merge/implementation citations:
Related: #2930, #2912, #2927, #2894, #2830, #2907. Post-merge dispositions: #2930, #2927, #2830, and #2907 are completed; #2912 and #2894 remain open for their unaddressed scope. Contributor PRs #2929, #2935, #2636, and #2931 are closed as superseded, not merged. See the post-merge follow-up comment for individual citations.
Test coverage and local acceptance
Fresh, isolated acceptance at dc1614d:
bun run build, generated-output cleanliness, thenxvfb-run -a bun run testthrough the strict shard runner. 25,090 passed, 61 skipped, 0 failed, 0 module/unhandled errors; 192,185 assertions across 1,000 files. Both shard, inner, Docker, container, and evidence-copy exits were verified as zero. Fresh build/test receipts bind to the exact frozen tree.The no-network acceptance container uses the pinned CI image with the previously verified local-only Python-venv prerequisite layer: Bun 1.4.0, Node 22.20.0, Python 3.12.3, Xvfb, lock-matched dependencies, isolated Git fixtures, and no model credentials. The build and suite completed in about 14 minutes.
The Unicode repair added eight engine/CLI cases plus actual compiled-reader and installed-hook cases. They reproduce eight failures before repair and pass afterward; the BMP invariant covers all 65,536 input units. Focused and adjacent runs passed 429 tests before full acceptance. No existing assertion, timeout, detector threshold, or model budget was weakened.
Coverage percentage is unmeasured, not 100%. Four direct behavioral gaps remain disclosed: POSIX CLI startup-timeout cleanup, repeated failed-start watchdog cutoff, same-path external settings replacement, and defensive CSO uint64/metadata rejection boundaries. These are not demonstrated production defects; the watchdog cutoff remains a partial planned proof item.
Changed-text scanning reports 0 HIGH, 26 reviewed MEDIUM advisories, no oversize input; advisories are version/dead-PID/synthetic fixture data. Error-level ShellCheck, shell syntax, the exact CI-pinned actionlint container, diff hygiene, and online version-queue checks pass. Critical dependency audit checked 256 packages with no critical findings; three lower-severity advisories remain.
Performance comparison
Bun 1.4.0, hash-pinned baseline/repaired code, 48 adapter/correctness controls and 90 fresh-process timed samples across nine workloads. Median pre-push scan time rises 8.6% on 8 MiB clean text, 10.9% on 8 MiB with findings, and 20.1% on normalization-heavy text; those cases have matching findings. The extra work preserves neighboring normalized context.
Dense redaction with byte-identical output improves 1000.5 → 163.2 ms (6.1× faster); median whole-process peak RSS rises 84.3 → 93.1 MiB. Observed scan calls stay below 1 MiB. Separately, a boundary fixture improves from zero to 16 expected findings; that is corrected detection, not equivalent-work speedup. These synthetic shared-machine measurements are not production percentiles, a latency target, or scanner-only allocation measurements.
Pre-landing review
The final review found one P1 UTF-16 mapping defect and three stale documentation statements. All are repaired in
dc1614d. A fresh full-branch native adversarial pass found no remaining concrete FIXABLE or INVESTIGATE production findings; unchanged-tree review receipts are current. Adversarial fixture review was summary-only; the parent inspected and executed the regression tests.External Claude Code review was unavailable because its CLI was unauthenticated. No dual-model review is claimed. Greptile triage found no comments. No visual frontend change is included.
Required CI on dc1614d
Selection remains 77 E2E case IDs and 25 judge IDs in full-fallback mode. 119 behaviors remain scheduled/release coverage, not PR-pass credit. Fourteen eligible unchanged judge results were reused; 11 uncached judges ran under the maintainer's explicit approval. The entirely skipped routing (10 cases) and judge-recommendation (1 case) shards are periodic-tier placeholders, not gate passes. The two workflow-level skips are qualification/staging jobs. Local report-only reconciliation also passed, and CI merge commit
73a5eba3has the exact same tree asdc1614d.Plan completion and limits
All seven implementation areas, the Unicode review repair, documentation corrections, and the previously missing baseline-versus-head time/memory measurement are complete. Fresh local, native-platform, Docker and authenticated gates pass on the published head. The original separate-PR/local-eval arrangement was replaced by the approved single attributed PR and authenticated CI path. Plan audit: 41 DONE, 2 CHANGED, 1 PARTIAL, 0 NOT DONE, 0 UNVERIFIABLE. The repeated failed-start cutoff lacks direct runtime regression proof and remains explicitly partial; it is not claimed as covered by the larger suite totals.
Abandoned publication locks intentionally require manual owner verification/recovery. Windows terminal startup is still tracked in issue 2637: detachment, Node-shim forwarding, and connect-readiness need separate CLI-exit work and native proof. That issue was reopened after GitHub incorrectly treated the former negated closure wording as a closing reference. Exact filesystem identity is not Windows process-creation-time/PID-reuse protection. The reported thousands-of-orphans exhaustion scenario was not reproduced. Name-based environment screening and the documented noncooperating-settings-writer race retain their stated limits. The maintainer performed the merge; this thread subsequently reconciled the affected issues and contributor PRs. No deployment or shared Setup change was performed.
Documentation
docs/BROWSER_INTERNALS.mdnow describes locked, owner-checked, confirmed-exit cleanup, including absent/already-dead agents and retained uncertain state.TODOS.mddistinguishes no-argv pre-push compatibility from installed-hook destination binding and records the now-tested large-diff slicing path. The release notes cover all seven repairs; version metadata remains1.88.1.0.