fix: protect security contract files from autofix deletion (replacement) - #1330
Conversation
…-security-contracts-v2
|
Warning Review limit reachedNext included review available in 24 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Replacement PR current-head evidence: |
|
Fixed on exact new head |
|
Exact-current-head verification for
|
|
@opencode-agent review Please publish an independent substantive formal Reviews API verdict for exact current head Review the post-conflict/pre-staging protected-path deletion/rename guard, its |
Replacement for #1328
This PR supersedes the closed/replaced review path while preserving the current exact-head security fix.
Root cause
The central PR autofix validated changed-file allowlists but did not prevent deletion or rename of protected origin-integrity validators, regression tests, and the standards record. Review automation could therefore remove security contracts during an unrelated optimization.
Change
git diff HEADso staged and unstaged changes are covered.gpt-5.4fallback.Verification
bash -n scripts/ci/strix_required_workflow_smoke.shbash scripts/ci/strix_required_workflow_smoke.sh(passed)git diff --check(passed)No secrets, force-push, or merge bypass.