code · diff
git:20260730.36e21c9 to git:20260803.da82de8
3 added, 3 removed. Audit A to A.
---
name: code
description: "Long-running (6-30h) multi-agent code-architecture optimization — cross-examines antipatterns into consensus, then applies only the highest-ROI refactors. Not for routine refactors."
argument-hint: "[focus area]"
effort: max
---
- > tx 플러그인이 활성이면 Workflow 실행 전 사용자에게 `/tx:git-sync-off`를, 끝난 뒤 `/tx:git-sync-on` 복원을 요청하라 — 둘 다 user-only command라 너는 실행할 수 없다. tx가 유도하는 mid-flight rebase는 장시간 workflow를 무효화한다.
-
아래를 실행해, 출력된 `Workflow(...)` 호출을 그대로 실행하라.
```bash
"${CLAUDE_PLUGIN_ROOT}/bin/refine-hook" bootstrap code "$ARGUMENTS"
```
- 중단 시: 산출물은 `agoraPath`에 남고 agent는 자기 기록에서 이어간다. `resumeFromRunId`는 끝난 agent의 결과를 cache에서 그대로 돌려준다. args가 바뀌면 둘 다 잃는다.
+ 무인 장기 실행이다: agent들이 쓰는 shell 명령(repomix 포함)이 allowlist 밖이면 mid-run permission prompt에서 멎는다. 실행 전에 사용자에게 등록을 권하라.
+
+ 재개 시: bootstrap을 다시 돌리지 마라. 호출마다 새 agora가 생겨 기록과 cache를 둘 다 잃는다. 이전 `Workflow(...)` 호출을 같은 args로 재발행하라(같은 세션이면 `resumeFromRunId`를 더해 cache를 재생한다). 산출물은 `agoraPath`에 남아 agent가 자기 기록에서 이어간다.