From 6eac7fbca9e7e42d9f8c3dabe71c81a06fc9e85c Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Wed, 26 Aug 2026 22:28:31 +0200 Subject: [PATCH] =?UTF-8?q?fix(hotfix):=20batch-skeptic=20residuals=20?= =?UTF-8?q?=E2=80=94=20RULES=20restore=20mandate=20file-scoped;=20hotfixer?= =?UTF-8?q?=20FILE(S)=20marks=20created=20files=20(new)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/hotfixer.md | 2 +- skills/hotfix/SKILL.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/agents/hotfixer.md b/agents/hotfixer.md index c531917..89843fe 100644 --- a/agents/hotfixer.md +++ b/agents/hotfixer.md @@ -75,7 +75,7 @@ the edit applied + self-verified, not the report grammar). ``` HOTFIX-EXEC REPORT STATUS : DONE | BLOCKED -FILE(S) : +FILE(S) : FIX : SMOKE : NOTES : diff --git a/skills/hotfix/SKILL.md b/skills/hotfix/SKILL.md index 04d7553..60783a6 100644 --- a/skills/hotfix/SKILL.md +++ b/skills/hotfix/SKILL.md @@ -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.