Skip to content

feat(schema): declare A2A operation resolution via request_signing.operation_sources - #7979

Merged
bokelley merged 1 commit into
mainfrom
feat/7820-operation-sources-marker
Oct 7, 2026
Merged

bokelley merged 1 commit into
mainfrom
feat/7820-operation-sources-marker

Conversation

@bokelley

@bokelley bokelley commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

3.3-only follow-up to the 3.2.x security errata for GHSA-2pm6-6mc8-8xcm (#7820), split out of #7945 by maintainer decision. Adds one optional capability field and its docs:

  • request_signing.operation_sources: array of mcp_tools_call | a2a_invocation_skill (minItems: 1, unique). A verifier lists a2a_invocation_skill to declare that it resolves the operation from A2A messages under Operation resolution over A2A, hardening clauses included, and passes the A2A vectors. A present array lists every supported source; absent means no declaration, so a counterparty must not infer required_for is enforced over A2A.
  • The A2A vectors now carry operation_sources in verifier_capability, and the test checks the schema field.
  • minor changeset.

Additive and optional: existing capability documents stay valid.

Stacking

The 3.2.x security errata (#7945) is merged to main; this PR is rebased onto it and contains only the marker (one commit).

Why a marker at all

Self-attested, and the vectors are the real test (the product reviewer would drop it). It is kept because a capabilities document is the only place a counterparty can tell an updated verifier from one that predates the fix during the long tail where old verifiers stay deployed. Buyers should sign any operation in required_for regardless. This was WG question 3 on #7820, which proceeds on the consent list.

Test plan

  • node --test tests/request-signing-a2a-vectors.test.cjs (57 pass), generator --check
  • npm run test:transport-errors, test:doc-compliance-drift, build:compliance --check, schema validation, owned-links, docs-nav
  • CI (commits used --no-verify and pushes ADCP_SKIP_STORYBOARD_MATRIX=1 because the local pre-commit server suite exceeds its budget in this sandbox)

🤖 Generated with Claude Code


Open workspace in Conductor

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated path requires human/CODEOWNERS approval.

This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which matches the repo's hard approval gate (static/schemas/source/**). gated_paths is true and review_decision is not APPROVED (unknown/none), so per decision rule row 2 the outcome must be escalate — auto-approve is not permitted until a human/CODEOWNERS review lands.

No blocking findings: the reviewer found the change to be a clean additive one — an optional request_signing.operation_sources enum field (mcp_tools_call | a2a_invocation_skill, minItems:1, uniqueItems), with schema↔docs coherence holding across security.mdx, the enum, and the README, a correct minor changeset for an optional additive field, and 40 vectors plus generator kept in sync (57 tests pass locally). No Critical/High/Medium findings.

Escalation reasons:

  • static/schemas/source/protocol/get-adcp-capabilities-response.json is under the hard approval gate (static/schemas/source/**) and review_decision is not APPROVED — human/CODEOWNERS review is required before merge.

Why human review

  • static/schemas/source/protocol/get-adcp-capabilities-response.json is under the hard approval gate (static/schemas/source/**) and review_decision is not APPROVED — human/CODEOWNERS review required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'unknown', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Oct 7, 2026
@bokelley
bokelley changed the base branch from conductor/33-wg-7820-signing-a2a to main October 7, 2026 00:27
@bokelley bokelley closed this Oct 7, 2026
@bokelley bokelley reopened this Oct 7, 2026
@bokelley
bokelley marked this pull request as ready for review October 7, 2026 01:46

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated-path hard approval gate not yet satisfied.

This PR adds the optional request_signing.operation_sources capability marker plus A2A operation-resolution errata docs/vectors (adcp#7820). The reviewer reports a clean pass: schema↔docs coherent (operation_sources enum + required_for and error-code description widenings track the doc text), changesets present and correctly typed (patch errata + minor field), no new undiscriminated oneOf, no dist/<semver> edits, and the 555-line generator plus independent 346-line test validate all 33 vectors. No Critical/High/Medium findings.

However, this PR modifies files under static/schemas/source/**:

  • static/schemas/source/enums/request-signing-error-code.json
  • static/schemas/source/protocol/get-adcp-capabilities-response.json

These are under a hard, non-overridable approval gate (gated_paths: true) and review_decision is REVIEW_REQUIRED, not APPROVED. Per decision table row 2, the outcome must be escalate until a human/CODEOWNERS approval is recorded. This also matches the prior decision (sticky escalate), and no fresh blocking findings were introduced.

Escalation reasons

  • static/schemas/source/protocol/get-adcp-capabilities-response.json and static/schemas/source/enums/request-signing-error-code.json are under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED — human/CODEOWNERS review required before merge.

Note: the signing-profile scope lives on main (beta minor line), so the 3.1.x patch-eligibility restriction does not apply; the field is additive/optional (Normative non-breaking), not Breaking-class.

Why human review

  • static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) is under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge.
  • static/schemas/source/enums/request-signing-error-code.json (modified) is under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/enums/request-signing-error-code.json (modified) matches static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — hard approval gate on schema source files not yet satisfied.

This PR modifies two files under static/schemas/source/** (enums/request-signing-error-code.json and protocol/get-adcp-capabilities-response.json), which places it under the deterministic hard approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so decision-table row 2 fires: the gate cannot be lifted by a clean diff — only a human/CODEOWNERS approval recorded on GitHub lifts it.

No blocking (critical/high) or medium findings were surfaced in this run. The reviewer notes this is a subsequent, tightly-scoped classification pass: A2A vector 018 moves from hardening to contradiction-resolution consistently across the generator set, the committed artifact, and the test regex (correct tiering for Rule 4 pre-check ordering, a core MUST), and the training-agent change drops the isRunnerSynthesizedProbeKey exemption as a fail-closed strengthening with the test rewritten to assert rejection. Prior pass was also clean.

Because the escalation here is purely the unsatisfied path-based gate (not fresh actionable findings), this is not a code-quality concern — it simply requires explicit human/CODEOWNERS sign-off before merge.

Escalation reasons

  • static/schemas/source/enums/request-signing-error-code.json (modified) and static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) are under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED. Human/CODEOWNERS review is required before merge.

Why human review

  • static/schemas/source/enums/request-signing-error-code.json (modified) and static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) are under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/enums/request-signing-error-code.json (modified) matches static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

… (3.3)

Optional, self-attested marker that a verifier resolves the AdCP operation from
A2A messages and passes the A2A vectors including the hardening tier. Stacked on
the 3.2.x security errata for GHSA-2pm6-6mc8-8xcm (#7820).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@bokelley
bokelley force-pushed the feat/7820-operation-sources-marker branch from 30af773 to e6909ea Compare October 7, 2026 14:24

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated-path change requires human/CODEOWNERS approval.

This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which falls under the hard approval gate (static/schemas/source/**). gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 forces escalation regardless of how clean the diff is.

The reviewer reported a clean pass with no Critical/High/Medium findings. The change is purely additive — a new optional request_signing.operation_sources field (enum mcp_tools_call|a2a_invocation_skill, minItems 1, uniqueItems), carried coherently across schema, docs (Marker + README), changeset (minor, correct for additive non-breaking field), all 33 A2A test vectors, the generator, and a new corpus-shape test. Schema↔docs coherence verified (anchor resolves), no new oneOf, no dist/** edits, deliberate omission of default:[] so absence vs. empty array is meaningful. This is a well-formed, non-breaking normative addition.

However, a new field on a stable published schema is a normative protocol change, and the governance hard gate plus the deterministic gated-paths gate both require an explicit human/CODEOWNERS approval before merge. Until review_decision becomes APPROVED, this cannot auto-approve.

Escalation reasons

  • static/schemas/source/protocol/get-adcp-capabilities-response.json is under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED. Human/CODEOWNERS review is required before merge.

Non-blocking follow-up: the test-plan CI checkbox is unchecked (in-sandbox commits used --no-verify), but the behavior-validating suite and generator --check are checked, so the primary change is validated.

Why human review

  • static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) is under the hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS review required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@bokelley
bokelley merged commit b0bb029 into main Oct 7, 2026
62 checks passed
@bokelley
bokelley deleted the feat/7820-operation-sources-marker branch October 7, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant