Typed Holes Refactoring Systematically refactor codebases using the Design by Typed Holes meta-framework: treat architectural unknowns as typed holes, resolve them iteratively with test-driven validation, and propagate constraints through dependency graphs. Core Workflow Phase 0: Hole Discovery & Setup 1. Create safe working branch: 2. Analyze current state and identify holes: The Refactor IR documents: - Current State Holes : What's unknown about the current system? - Refactor Holes : What needs resolution to reach the ideal state? - Constraints : What must be preserved/improved/maintained?…