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
[Bug]: planner and recipe search steer simple JSON endpoints to function code #587
main at 645239b; core 0.5.9 packed with npm pack and installed into scratch projects, run as llms.txt instructs (npx --no --package @jimhoyd/urlcode urlcode …); MCP driven over stdio. Node 26, macOS. Found in a hands-on usability audit (agent and human perspectives).
Minimal reproduction
For "POST /signup validates email and name and returns 202", plan-feature lists function and the function-based contact-form recipe, not respond + request.body.schema; matched is [] for every recipe and no outline is given.
search_recipes "json endpoint" ranks static-plus-api and json-api (functions) first; no recipe shows native respond: {json: …}.
The supported JSON Schema subset is never listed up front; agents learn it by failing (format: email unsupported — supported: uuid; pattern requires maxLength of at most 128).
urlcode plan-feature, MCP search_recipes, and a POST with an extra property.
Suggested fix
Add a native respond + body-schema recipe and rank native handlers first; populate matched/outline; list the schema subset in get_schema/capabilities; return JSON 422s (all issues, naming extra properties) on routes that declare a JSON body.
Both halves landed: #607 (#607) made JSON-body routes always return 422 as JSON listing every issue; #605 (#605) added a native json-endpoint recipe with no project code, ranked no-code recipes first in plan-feature/search_recipes, and listed the supported JSON Schema subset in get_schema/capabilities. Closing.
Activity
Declarative-first recipes, review signals and planner ranking (#605)
fix(core): actionable authoring errors, strict request fixtures and J…
jimhoyd commentedon Sep 24, 2026
Both halves landed: #607 (#607) made JSON-body routes always return 422 as JSON listing every issue; #605 (#605) added a native
json-endpointrecipe with no project code, ranked no-code recipes first inplan-feature/search_recipes, and listed the supported JSON Schema subset inget_schema/capabilities. Closing.