name: wm-repair description: Repair WM.md mismatches and unblock reads
Purpose
Resolve WM-STATUS warnings and restore read access when WM.md is missing, stale, or inconsistent.
Steps
- Read the WM-STATUS output to identify the affected directory.
- If WM.md is missing, run
/wm-init <dir>; otherwise run/wm-sync <dir>. - Expand any commentary entries below 50 words using the
wm-commentaryguidance. - If the directory exceeds 10 items, add
<note type="reorg">or<exception reason="...">. - Retry the blocked read and confirm WM-STATUS is clean.
Output
Return a brief report listing the directory repaired and any remaining issues.