Hollow Purple is Gojo's most destructive technique — blue and red combined into total erasure of the target. But Gojo doesn't use it carelessly. He knows exactly what he's erasing and why. Same here: this skill is the nuclear option, invoked only when patching is the wrong call, executed with full control over what gets erased and what must survive.
Rewrites are dangerous not because rebuilding is hard, but because it is easy to silently erase behavior that was working and expected. This skill enforces a complete inventory of what must survive before a single line is deleted, and a full verification that everything survived after the rebuild.
The AI must prove that a full rewrite is necessary. It must answer all of the following:
If the AI cannot clearly answer all three, it must fall back to targeted edits instead of a rewrite. A rewrite is not a reward for messy code — it is a last resort.
The bar is high. "This code is ugly" does not justify hollow purple. "The architecture assumes X but the system now requires Y and every patch makes the mismatch worse" does.
Before proposing deletion, the AI must read the entire target (file, module, or component) in full.
The AI must identify and catalog:
The AI cannot skip this phase even if it has read the file before. The purpose is not familiarity — it is building the Preservation List.
The AI outputs a complete erasure plan and waits for user confirmation before deleting or writing anything.
HOLLOW PURPLE — ERASURE PLAN
─────────────────────────────────────────
TARGET FOR ERASURE:
[file path or module name]
WHY TARGETED FIXES ARE WRONG:
[specific justification — architectural rot, fundamental mismatch, etc.]
PRESERVATION LIST (must survive the rewrite):
- [public interface / export 1] → [what it does, who depends on it]
- [public interface / export 2] → [what it does, who depends on it]
- [working behavior 1] → [what it does, why it must be kept]
- [non-obvious logic 1] → [what it guards against]
BLAST RADIUS (files that depend on the target):
- [file path] → depends on [what specifically]
- [file path] → depends on [what specifically]
NEW IMPLEMENTATION PLAN:
[Description of what the rebuild will look like — structure, approach, key decisions]
WHAT WILL NOT BE PRESERVED:
[Anything intentionally dropped and why — dead code, deprecated behavior, etc.]
─────────────────────────────────────────
Confirm to proceed with erasure and rebuild.
Nothing is deleted until the user explicitly confirms. A reply of "yes", "confirmed", "do it", or equivalent counts. Silence does not.
User confirms → the target is deleted. Rules for this phase:
_old, not archived in place — deleted.The AI writes the new implementation. Rules:
The AI tracks preservation progress explicitly:
REBUILD PROGRESS
─────────────────────────────────────────
Preservation List:
✓ [interface 1] → implemented
✓ [working behavior 1] → implemented
✗ [non-obvious logic 1] → pending
─────────────────────────────────────────
After the rebuild is complete, the AI checks every file in the blast radius:
Final verification report:
HOLLOW PURPLE — VERIFICATION
─────────────────────────────────────────
Preservation List: ALL ITEMS ✓
Blast radius files checked:
- [file] → ✓ compatible with new implementation
- [file] → ✓ compatible with new implementation
New issues introduced: NONE / [describe if found]
─────────────────────────────────────────
Status: CLEAN ✓ / NEEDS FOLLOW-UP ⚠
The AI must answer all four before Phase 4 begins:
| # | Question | Required |
|---|---|---|
| 1 | Have I read the entire target and built a complete Preservation List? | Yes — or read more |
| 2 | Have I identified the full blast radius? | Yes — or search more |
| 3 | Has the user confirmed the erasure plan? | Yes — or wait |
| 4 | Is the erasure scoped exactly to what was declared? | Yes — or re-declare |
| Phase | Action | Deletes/Writes Code? |
|---|---|---|
| 1 — Justify | Prove erasure is necessary | ❌ No |
| 2 — Read | Read target fully, build Preservation List | ❌ No |
| 3 — Declare | Output erasure plan, wait for confirmation | ❌ No |
| 4 — Erase | Delete the declared target | 🗑️ Deletes only |
| 5 — Rebuild | Write new implementation against Preservation List | ✅ Writes |
| 6 — Verify | Check Preservation List + blast radius | ❌ No |
User: "The authentication module is beyond saving. Rewrite this from scratch."
AI: [Outputs HOLLOW PURPLE — ERASURE PLAN]
"Confirm to proceed with erasure and rebuild."
User: "Confirmed."
AI: [Executes Phase 4 and 5: Controlled Erasure and Rebuild against the Preservation List]
User: "This data formatting script is a mess, rewrite it from scratch."
AI: [Evaluates Phase 1 criteria]
"I cannot justify a full rewrite. While the code is messy, the structural rot is not deep enough to make patching impossible. The blast radius is limited, and targeted edits will improve it without the risk of erasing undocumented behaviors. I will proceed with surgical refactoring instead."