Harden Linux Claude swap invocation proof - #2284
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 18, 2026, 11:46 AM ET / 15:46 UTC. Summary Reproducibility: no. high-confidence local reproduction was completed: the report supplies a specific current-main Linux CI failure and a clear affected test path, but the read-only inspection sandbox prevented executing or reading the checkout directly. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Merge the focused Linux test-proof port after ordinary maintainer review, retaining the in-script argv and duplicate-invocation checks alongside the successful Linux shard coverage. Do we have a high-confidence way to reproduce the issue? No high-confidence local reproduction was completed: the report supplies a specific current-main Linux CI failure and a clear affected test path, but the read-only inspection sandbox prevented executing or reading the checkout directly. Is this the best way to solve the issue? Yes, based on the supplied diff and prior-pattern context: validating argv and duplicate invocation inside the fake executable avoids reliance on an externally written arguments file while preserving the test’s read-only-call contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2ccb4525687c. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Hosted proof is now available on the same head
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer verification:
|
Summary
Context
Current main CI run https://github.com/steipete/CodexBar/actions/runs/29632108080 failed in Linux x64 Swift Test (Linux only) with CLICardsClaudeSwapTests: the test expected the /tmp/.../arguments file to exist, but it was missing. The macOS/main test copy was already hardened in commit 7b63ab4; this applies the same proof shape to TestsLinux/CLICardsClaudeSwapTests.swift.
Tests
Not completed locally: swift test --filter CLICardsClaudeSwapTests stalled while downloading the Sparkle 2.9.3 SwiftPM binary artifact before tests executed. The touched target is Linux-only, so the green hosted Linux shards above are the execution proof for the failing shard.