Description
The gh aw fix --write codemod introduced a regression (filed as #30124): when features.mcp-cli is the only child of features:, removing it leaves an empty null features: key, causing the post-fix recompile to fail with:
error: got null, want object. Expected format: {}
This is actively worsening the aw-compat situation: the daily compatibility report (2026-05-04) shows 6/20 external repos still failing strict compile, with one repo worsening from 1 to 3 errors after running fix --write — caused by this bug.
Expected Impact
Blocks the compatibility recovery path for external repos. Fixing this regression allows the fix --write codemod to be safely re-run on all affected repos, moving the 6/20 failure rate toward 0.
Suggested Agent
Any coding agent with access to the gh aw fix codemod source. The fix is to remove the parent features: key when all its children are removed.
Estimated Effort
Fast (< 30 minutes) — single codemod logic fix with targeted test case.
Data Source
DeepReport Intelligence Briefing — 2026-05-04 (run §25327289278); also #30123, #30124.
Generated by DeepReport - Intelligence Gathering Agent · ● 301.8K · ◷
Description
The
gh aw fix --writecodemod introduced a regression (filed as #30124): whenfeatures.mcp-cliis the only child offeatures:, removing it leaves an empty nullfeatures:key, causing the post-fix recompile to fail with:This is actively worsening the aw-compat situation: the daily compatibility report (2026-05-04) shows 6/20 external repos still failing strict compile, with one repo worsening from 1 to 3 errors after running
fix --write— caused by this bug.Expected Impact
Blocks the compatibility recovery path for external repos. Fixing this regression allows the
fix --writecodemod to be safely re-run on all affected repos, moving the 6/20 failure rate toward 0.Suggested Agent
Any coding agent with access to the
gh aw fixcodemod source. The fix is to remove the parentfeatures:key when all its children are removed.Estimated Effort
Fast (< 30 minutes) — single codemod logic fix with targeted test case.
Data Source
DeepReport Intelligence Briefing — 2026-05-04 (run §25327289278); also #30123, #30124.