fix(hotfix): batch-skeptic residuals — RULES restore mandate file-scoped; hotfixer FILE(S) marks created files (new)

This commit is contained in:
Bastien Chanot
2026-08-26 22:28:31 +02:00
parent b5ce280fc0
commit 6eac7fbca9
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -231,9 +231,10 @@ trivial hotfix still produces a `chore(memory): journal — …` commit (Frame 2
decision round-trips; a blocked or failed attempt reverts and escalates
to `/bugfix`, it does not retry).
- Design gate only if CSS/style signals detected. See STEP 1.5.
- **Revert-not-loop preserved**: smoke FAIL or security BLOCK → `git
restore .` to the pre-flight SHA + STOP + escalate to `/bugfix`; hotfix
never loops. No verifier is dispatched at hotfix weight.
- **Revert-not-loop preserved**: smoke FAIL or security BLOCK →
file-scoped revert from `$PRE` (STEP 4's protocol — never `git
restore .`) + STOP + escalate to `/bugfix`; hotfix never loops. No
verifier is dispatched at hotfix weight.
- If root cause is unclear → escalate to `/bugfix` (STEP 1).
- If fix touches >5 lines of logic → reconsider if this is
truly a hotfix.