Repository navigation
perf(repair): stage validation proof gates - #502
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 12, 2026, 8:54 AM ET / 12:54 UTC. Summary Reproducibility: not applicable. This PR introduces a new repair automation and trust architecture rather than reporting a narrowly reproducible current-main bug. The previously reported upload-path defect did have a source-reproducible path and is repaired on the current head. Review metrics: 3 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:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Preserve the credential-free independent validation and exact receipt-bound publication design, merge only after every required check succeeds on the exact head, and monitor the first guarded production repair runs with the documented pause controls available. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR introduces a new repair automation and trust architecture rather than reporting a narrowly reproducible current-main bug. The previously reported upload-path defect did have a source-reproducible path and is repaired on the current head. Is this the best way to solve the issue? Yes, the independent credential-free proof and exact receipt-bound mutation design is a strong maintainable solution for the stated safety goal; only exact-head gate completion and explicit production rollout acceptance remain. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dfae81ca3bac. Label changesLabel changes:
Label 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
Review history (25 earlier review cycles; latest 8 shown)
|
95a8b3f to
21c99f1
Compare
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: perf(repair): stage validation proof gates This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Proof refresh for exact head
Fresh hosted CI, CodeQL, Windows, Socket Security, and ClawSweeper review for this exact head remain mandatory before merge. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cbdd3ec72e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| name: clawsweeper-repair-worker-${{ github.run_id }}-${{ github.run_attempt }} | ||
| path: .clawsweeper-repair/runs | ||
| if-no-files-found: warn | ||
| if-no-files-found: error |
There was a problem hiding this comment.
Guard worker upload when no run is produced
In execute/autonomous dispatches where the job is stale (job_exists=0) or the self-heal head verifier skips the worker (matched=false), the Run worker step above does not create .clawsweeper-repair/runs. This upload still runs under always() and now treats missing files as an error, so those intentionally skipped dispatches fail the cluster job instead of cleanly skipping downstream authorization/reporting; keep this upload conditional on an actual worker run or make the no-files case non-fatal.
Useful? React with 👍 / 👎.
|
Review finding repaired on exact head
Fresh exact-head hosted CI, CodeQL, Windows, Socket Security, and ClawSweeper review are required before merge. |
|
Merged and verified on
|
Summary
Final hardening
Validation
d4e6e7db6052acaae628c9f1713ea4f52d46b428pnpm run checkequivalents passed: active-surface and limits checks, all three TypeScript builds, all four lint lanes, unit and repair suites, changed and aggregate coverage, and formatter check on 350 filesnode_modules(ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY); no install or dependency replacement was performedpnpm check, CodeQL for Actions and JavaScript/TypeScript, and the Windows Codex launcher