Repository navigation
fix(e2e): create Claude probe state with private permissions - #1146
Conversation
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1146 +/- ##
=======================================
Coverage 64.43% 64.43%
=======================================
Files 2356 2356
Lines 143429 143429
=======================================
Hits 92421 92421
- Misses 37908 37910 +2
+ Partials 13100 13098 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Problem
The genuine four-plugin Claude fixture in Marketing job 140866391686 failed after native cleanup created a new passive temporary file with mode
0644. The custody reader correctly requires0600. The failure was in the preflight fixture (76 passed, one error); that job did not reach the Marketing lifecycle.The existing bounded process probe inherits the parent's creation mask. Its core-dump resource limit does not provide private file creation.
Change
Add an optional, validated per-child
umaskto the existing probe, passed through Python's POSIXPopenoption. The default omits the option and preserves inherited behavior.Only the genuine Claude fixture and the existing, identity-checked Claude removal-discovery observer request
077. The strict custody reader, public CLI execution, process/resource limits, stream bounds and cleanup remain unchanged.Three inert regressions cover private versus inherited file creation, preservation of the parent mask on success and failure, rejection of invalid masks before I/O or spawning, and admission of identical receipt-bound temporary content at
0600with rejection at0644and descriptor cleanup.Validation and boundary
0a7d90539ba3bc8b3d109ff96d10ee043afe5561.Follow-up to #1087. No workflow, runner, release, dependency, or frozen VS Code change.
Summary by CodeRabbit
E2E follow-up status — evidence through 2026-11-28 08:55 UTC
2cb112fda239f1c899d13c73f865b1c67ecd2c8c, ordinary squash4e68de5cbf579e28a8304487882e73a17e5f7302, tree62e7f5c1e9c0eb01489635e5ff69e640421e624c. The signed merge and PR synthetic5005d64e3b55753fb04a6aa959448f5afcc32abdhave that exact reviewed tree. An actual R13 Claude preflight failure observed a newly created passive temporary file with mode0644: 76 tests passed, one errored, and the Marketing lifecycle did not run. The narrow fix gives only the genuine Claude fixture and joined Claude discovery probe a per-child creation mask of077. Default probe behavior, public CLI execution and strict0600custody admission are unchanged. Exact five-file parity, independent source review and existing workflow selection are clear. The native writer's creation flags or explicit chmod behavior remain unproven; any further invalid mode must still refuse.4e68de5…. No queued result is counted as a pass.0a7d90539ba3bc8b3d109ff96d10ee043afe5561, tree86687d388bd3c16506a3c528fef03bf4f8f1b198, passed both complete Required lanes: PR synthetic and merged main. Each had 176 unique Go packages, 1,231 Node passes with six explicit skips, 133 conformance passes, and successful generated-file/vet checks. All nine executable main Required checks and all six PR Terminal/Skills jobs passed. Own R14 Marketing Codex and Cursor passed their complete 18-stage and 16-stage reports respectively, including fresh profile-E policy-49 closure and actual 17/17 corrected Copilot preflight tests. Each overall preflight retained its one unrelated genuine-Claude availability skip. These runs retain their original source and scope.opencode-ai@1.18.34postinstall and a bounded genuine--versioncheck. The source-supported correction addresses the observed skipped-postinstall warning. Its own native version and subsequent Marketing lifecycle are still unrun. Earlier OpenCode V2.2.5 or separately provisioned runtime results do not substitute for this npm route.Evidence retained only in complete console/source records during the executor outage explicitly lacks independent ZIP/CRC verification until recovery. Skipped, cancelled, metadata-only and Prepared observations are not promoted to native passes. No CI reruns, dispatches, manual cancellations, runner changes or release publication were used.