Repository navigation
docs(spec): cover query fields through contract 2.25 - #6113
Conversation
|
Verdict: Approve with suggestions The spec's Two optional tightenings would bring the schema closer to what the server enforces. Without them, a client that passes the documented schema can still get a 422. Both are in the details below. Real-world evidenceN/A: this PR only changes a docs spec, so there was no runtime surface to exercise and no evidence bundle was produced. The verdict comes from static review alone, comparing the doc against the server's request model. 🔍 Technical detailsIssues found 🟢 The 🟢 The " "if": { "required": ["turns"] },
"then": { "properties": { "context": { "maxItems": 0 } } }The server also restricts each message's Strengths
|
|
Took the optional schema-tightening suggestions in The strict request schema now also:
Local verification: extracted JSON Schema parses successfully and |
Fixes #6095.
The strict
/queryJSON schema stopped at contract 2.18. Validating clients therefore rejected five fields the flagship server has accepted since 2.19–2.25.This updates both the request-field table and strict schema for:
changes_turn_id(2.19), includingsession_iddependencysurface(2.20), constrained toagent_ui,tui, orcliinternet_off(2.23)working_directory(2.24)turns(2.25), as an array of arrays of objectsValidation:
changes_turn_id → session_iddependency, and nestedturnsshape.python -m py_compile hub/agents/gaia/python/gaia_agent/server.pygit diff --checkThis is based on current
main, which already includes #6061’s 2.18 documentation.Disclosure and authorization
Slai Agent Runtime performed the investigation, implementation, and test execution. The account owner authorized this contribution and is responsible for its content.