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
[Desktop 26.721.4979.0] list_threads schema advertises query but runtime rejects it as unrecognized #35377
Use an optional query to find a specific thread before reading or steering it.
Exact sanitized call:
{"limit":20,"query":"<thread-title search>"}
Runtime rejection:
list_threads received invalid arguments: arguments: Unrecognized key: "query".
The occurrence was bounded between 2026-07-25 19:14:14.887 MSK and 19:16:25.125 MSK. The exact tool-call id and separate app-tool wrapper version were not surfaced.
Expected behavior
Either:
query is accepted and filters the result as documented; or
the generated/surfaced schema and description do not advertise it.
Actual behavior and impact
The caller receives a valid-looking field that fails before thread listing begins. This adds a failed tool turn and can break agents or scheduled workflows that trust the surfaced schema.
The bounded workaround is to omit query, use the supported result limit, and filter returned tasks locally. That workaround does not resolve the schema/runtime contract mismatch.
Related issue
#35030 reports list_threads hanging in scheduled runs. It is related to the same tool surface but does not report this deterministic query schema/runtime mismatch.
Suggested fix
Generate the surfaced schema from the same validator used at runtime.
Add a parity test that submits every advertised optional field.
If query is intentionally unsupported, remove it from both the schema and description.
Return a structured capability/version mismatch when a stale wrapper calls a newer validator.
No task titles, thread ids, usernames, local paths, credentials, or private logs are included.
Expected: the surfaced JSON schema includes maximum: 50, or the runtime accepts values allowed by the schema.
Actual impact: a caller that trusts the advertised schema incurs a failed tool turn before correcting to the undocumented bound.
Suggested fix: generate numeric constraints from the same runtime validator and add a parity test for advertised bounds. The exact separate tool-wrapper version for this occurrence was not surfaced.
The same tool-contract mismatch remains present in the current Windows Desktop package.
Current surfaced declaration:
list_threads({ limit?: number, query?: string })
The current description still says that the optional query can find a specific task before reading or steering it.
A bounded read-only probe using a unique nonmatching query:
{"limit":1,"query":"<unique-nonmatching-probe>"}
returns:
list_threads received invalid arguments: arguments: Unrecognized key: "query".
The related numeric constraint also remains absent from the surfaced declaration. A separate read-only call with:
{"limit":100}
returns:
list_threads received invalid arguments: limit: Too big: expected number to be <=50.
Expected: either the runtime accepts query, or the generated declaration and description omit it; the surfaced schema should also expose maximum: 50 for limit.
No task, project, configuration, or Desktop state was changed by these probes.
Closing as completed. The shipped list_threads schemas in Windows 26.1111.2228.0 and macOS 26.1111.21308 both omit query and declare a maximum limit of 50. The live Desktop tool accepted limit: 1, rejected limit: 51 with the documented ceiling, and rejected the undeclared query field. Original schema and runtime comparison
Activity
aidawilliam41-ops commentedon Aug 6, 2026
Additional schema-bound mismatch:
limitmaximum is not surfacedA separate deterministic mismatch was observed on the same
list_threadstool surface.The surfaced type allowed an unconstrained number:
Exact sanitized call:
{"limit":100}Runtime rejection:
Changing only the value to
50succeeded.Expected: the surfaced JSON schema includes
maximum: 50, or the runtime accepts values allowed by the schema.Actual impact: a caller that trusts the advertised schema incurs a failed tool turn before correcting to the undocumented bound.
Suggested fix: generate numeric constraints from the same runtime validator and add a parity test for advertised bounds. The exact separate tool-wrapper version for this occurrence was not surfaced.
aidawilliam41-ops commentedon Aug 20, 2026
Still reproducible on Desktop 26.818.2441.0
The same tool-contract mismatch remains present in the current Windows Desktop package.
Current surfaced declaration:
The current description still says that the optional
querycan find a specific task before reading or steering it.A bounded read-only probe using a unique nonmatching query:
{"limit":1,"query":"<unique-nonmatching-probe>"}returns:
The related numeric constraint also remains absent from the surfaced declaration. A separate read-only call with:
{"limit":100}returns:
Expected: either the runtime accepts
query, or the generated declaration and description omit it; the surfaced schema should also exposemaximum: 50forlimit.No task, project, configuration, or Desktop state was changed by these probes.
goodman-oai commentedon Nov 16, 2026
Closing as completed. The shipped
list_threadsschemas in Windows 26.1111.2228.0 and macOS 26.1111.21308 both omitqueryand declare a maximumlimitof 50. The live Desktop tool acceptedlimit: 1, rejectedlimit: 51with the documented ceiling, and rejected the undeclaredqueryfield. Original schema and runtime comparison