--- name: macro-engine-debug description: A compound operation sequence to audit, view, and test a module for stability and correctness. tags: [debug, a-repair, macro, development] category: dev --- # Macro Engine Debug ## 🎯 Objective Rapidly diagnose issues within a loaded module by combining status checks, source analysis, and live testing. ## 🛠️ Execution Steps 1. **Status Check:** Call `get_module_status` to identify if the module is currently loaded, modified, or has a remote URL mismatch. 2. **Source Analysis:** Call `view_module(name)` to examine the current implementation logic. 3. **Live Testing:** Use `test_module(name)` to load the edited version from `/_mods/` and verify the fix. 4. **Synthesis:** Compare the test results with the original bug report to confirm the resolution. ## 🔄 Workflow `get_module_status` ➔ `view_module` ➔ `test_module` ➔ `report`