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
Per `protocol-envelope.json` notes: under flat-on-the-wire MCP serialization, envelope-level fields and body-level fields occupy the same root key. Two distinct fields named `status` cannot coexist at the same root.
#4896 excluded these two schemas as carve-outs to avoid breaking conformance immediately, but the conflict needs resolution before 3.1 GA.
Fix
Rename the body-level discriminator on both schemas:
`check_governance`: `status` → `verdict` (or `decision`). "approved / denied / conditions" is a verdict, not a task-lifecycle state.
`report_plan_outcome`: `status` → `outcome_state` (or fold into a discriminated oneOf via `findings.length`).
Adopters migrate one field name on the schemas they implement.
Adopter impact
Wire-shape change. SDK regen required. Pre-GA window is the right time — once 3.1 ships GA with the current shape, the rename becomes a major-version migration.
Suggested approach
Settle on the new field name per schema (WG discussion).
Update each schema: rename property, update enum, update conditional if/then blocks that key on `status`.
Update docs in `docs/governance/` task references with the new field name.
Update SDK codegen tests and any compliance storyboards that assert on this field.
Surfaced during the per-task schema fold in #4896.
Problem
Two task response schemas have body-level `status` fields whose enums collide with envelope `status` (task-status enum from `enums/task-status.json`):
Envelope `status` enum (A2A task lifecycle): `[submitted, working, input-required, completed, canceled, failed, rejected, auth-required, unknown]`.
Why it matters
Per `protocol-envelope.json` notes: under flat-on-the-wire MCP serialization, envelope-level fields and body-level fields occupy the same root key. Two distinct fields named `status` cannot coexist at the same root.
#4896 excluded these two schemas as carve-outs to avoid breaking conformance immediately, but the conflict needs resolution before 3.1 GA.
Fix
Rename the body-level discriminator on both schemas:
After the rename:
Adopter impact
Wire-shape change. SDK regen required. Pre-GA window is the right time — once 3.1 ships GA with the current shape, the rename becomes a major-version migration.
Suggested approach
Related
statuson every task response envelope (closes #4832) #4876 — envelope status REQUIRED (merged in beta.2)statuson auto-registered get_adcp_capabilities handler #4877 — adcp-client SDK companion