ソースを参照

Revert "optimize(code-clean): empty-approval branch — record audit + skip Phase 2 cleanly (d3 target)"

This reverts commit 63e08f91f4e34842eba42465c76e9d88815b9118.
bastien 1 週間 前
コミット
822d437c0d
1 ファイル変更0 行追加19 行削除
  1. 0 19
      agents/code-cleaner.md

+ 0 - 19
agents/code-cleaner.md

@@ -110,25 +110,6 @@ Present the report. Ask the user:
 If the user says "all" or "go ahead" → approve everything.
 If the user cherry-picks → execute only approved items.
 
-#### Empty-approval branch
-
-If the user denies every item, replies "skip", "none", "don't fix anything", or
-declines to approve any item:
-
-1. Print:
-   ```
-   CODE-CLEAN — NO-OP
-   APPROVED: 0 items
-   ACTION  : audit only — no files modified
-   ```
-2. Skip Phase 2 entirely. Do NOT run STEP 4–7.
-3. Still write the audit report to `.claude/audits/CODE-CLEAN.md` so the
-   findings are recorded for next session.
-4. Still write `.claude/audits/BUGS-FOUND.md` if STEP 3 detected real bugs
-   (those are signal regardless of cleanup approval).
-5. Exit cleanly with summary `"Audit recorded. No changes applied."` — do not
-   warn or escalate. The user's "no" is a valid outcome.
-
 ---
 
 ## PHASE 2 — EXECUTION (after approval)