You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: targeted migration hint for the legacy request.body shape (move keys under the method key) #1132
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestin-progressAn agent or PR is actively working on this
Every project with a body policy that upgrades past the change hits the old request.body shape: method-keyed body policies now live under a method key such as POST:.
The validator's error and core's error-explanation function give only generic schema advice. Neither says "move these keys under POST:", so every upgrading project has to rediscover the migration.
Proposed behavior and alternatives
When validation sees the legacy request.body shape, it should answer with a targeted migration hint naming:
the route;
the keys to move;
the method key to move them under, with a before/after snippet;
a link to the upgrade notes.
Use the same hint in the CLI, MCP validate and the error-explanation function. No automatic rewriting of YAML is requested, and no alias accepting the old shape (there are no external users).
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestin-progressAn agent or PR is actively working on this
Activity
jimhoyd commentedon Oct 1, 2026
Taking this: Issues [37f079]
upgrade repairs the installed-file record, legacy request.body migrat…