---
name: refactor
description: Use when one decided seam needs restructuring while preserving behavior and interfaces.
---

Restructure only the decided seam. Trace callers before changing a shared root
cause and preserve public behavior and interfaces. Verify the behavior boundary
after the refactor.
