add HINTS-STRUCTURED proposal#206
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Reviewed the proposal — well-structured and solves a real problem. A few things worth tightening before implementation: 1. 2. Parity invariant may be too strict 3.
This conflates "incomplete args" with "advisory recommendation." At minimum, document the distinction more explicitly in the shape section so implementers don't have to infer which 4. Dependency paths are inconsistent |
…ntics, dependency paths Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
What
Added
propose/HINTS-STRUCTURED-PROPOSE.md— design proposal for machine-parseablehints_structuredfield on MCP outputs.Why now
Issue #195 item 7: agents copy Python-style
hintsstrings literally into MCP calls ("['id']"), which fails because single-quoted arrays are invalid JSON. A structured field lets agents use hints directly without reverse-engineering freeform text.Highlights
hints_structured: list[StructuredHint]alongside existinghints: list[str]on all five outputsStructuredHintis{tool, args, actionable}— a direct MCP tool call representationgenerate_hintsreturns both formsactionableflag distinguishes direct-call hints from advisory/prose-only hintshintsfield unchanged and backward compatibleTests
Docs-only; baseline unchanged.
Out of scope
hints: list[str]neighbors_v2argument coercion or_coerce_ids()