Skip to content

fix(storyboard): grade A2A compliance in native mode - #2968

Merged
bokelley merged 4 commits into
mainfrom
bujumbura-v2
Sep 19, 2026
Merged

bokelley merged 4 commits into
mainfrom
bujumbura-v2

Conversation

@bokelley

@bokelley bokelley commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • force native A2A 1.0 compatibility mode at every compliance/storyboard boundary, including routed agents and single-step reruns
  • isolate shared test clients by legacy compatibility mode
  • add the trusted scoped-fetch seam needed by raw A2A probes
  • document that ordinary SDK calls retain the compatibility-enabled default

This addresses the concrete runner gaps identified in #2950. It intentionally does not close the broader maintained-release/client-contract policy question in that issue.

Validation

  • npm run build:lib
  • npm run typecheck
  • npm run lint (0 errors; existing warnings only)
  • node --test --test-timeout=60000 test/lib/storyboard-security.test.js test/lib/storyboard-version-negotiation.test.js (282 passed)
  • Prettier and git diff --check
  • Claude DX, protocol, code-review, and security expert reviews
  • npm run review:codex -- --all --base main (protocol/code/security: no findings)

Open workspace in Conductor

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 19, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve

Reviewer found no Critical/High/Medium findings. PR #2968 grades A2A compliance routes in unconditional native 1.0 mode via a single boundary helper while preserving the adopter-facing compatibility default. Verified: logic correctness/idempotency, complete client-cache identity pairing, post-resolution routing application, timeout-preserving trusted-fetch override on rawA2aProbe, changeset accuracy, and thorough test coverage.

Gate checks:

  • No no-auto-approve team match.
  • gated_paths: false (row 2 does not apply despite review_decision REVIEW_REQUIRED).
  • high_risk: false.
  • No prior decision.

No findings fired rows 1–8; falls through to row 9 → approve.

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 19, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — clean delta pass with no findings.

This is a subsequent review following a prior clean approve (head 7b68065). The only change since then is scripts/check-package-size.mjs, bumping MAX_PACKED_FILE_COUNT by 4 to account for the new dual-format module native-a2a-compliance.ts (CJS + ESM + both declaration flavours). The +4 matches the real published artifact count and is consistent with prior module-set entries; byte/schema budgets are correctly unchanged.

Checks:

  • Changeset present (.changeset/native-a2a-compliance.md) — changeset-vs-wire-impact satisfied.
  • No witness-not-translator violations; no reimplemented transport clients.
  • No blocking or medium findings.

Gate evaluation:

  • No no-auto-approve team match (HARD RULE not triggered).
  • gated_paths: false — row 2 does not apply despite review_decision: REVIEW_REQUIRED.
  • high_risk: false — no deletion/modification escalation.
  • No findings of any severity.

None of decision-table rows 1–8 fire → row 9 → approve.

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 19, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — clean subsequent pass, test-only delta.

This pass migrates three A2A storyboard fixtures to the native A2A 1.0 contract (agent.json well-known path, protocolVersion 1.0.0, supportedInterfaces, SendMessage method) so the runner reaches the deliberately regressed response shapes under forced native mode. Reviewer verified path/version/method against the SDK's A2A client (a2a.ts:72, legacy-wire gate at a2a.ts:742); assertion changes are diagnostic-only.

No critical/high/medium findings this run. Prior decision was also approve with no blockers. Changeset present (.changeset/native-a2a-compliance.md) covering the src/lib/** touches.

Gate checks: no no-auto-approve team match; gated_paths is false (so row 2 does not apply despite review_decision REVIEW_REQUIRED); high_risk false. No trigger rows fire — falls through to row 9.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — no blocking findings.

The reviewer's delta pass covered the single test-only change in test/lib/storyboard-rate-limit-trip.test.js, which swaps a bare stub for a real createTestClient in native a2a mode with monkeypatched dispatch — a correct adaptation to the PR's new legacyCompatEnabled client-cache identity. No changeset is required (test-only), and no Critical/High/Medium findings were surfaced.

Decision-table walk-through:

  • Row 1 (critical/high): no such findings.
  • Row 2 (gated_paths + not APPROVED): gated_paths is false — does not fire.
  • Rows 3–5 (high-risk/deleted/modified + medium): high_risk is false, no medium findings.
  • Row 6 (sticky escalate): prior decision was approve, not escalate.
  • Row 7 (no-auto-approve team): no team match.
  • Row 8 (≥3 medium): zero medium findings.
  • Row 9: approve.

Note: review_decision is REVIEW_REQUIRED, but with gated_paths: false this does not block auto-approval per the decision rules.

@bokelley
bokelley merged commit f3d197d into main Sep 19, 2026
38 checks passed
@bokelley
bokelley deleted the bujumbura-v2 branch September 19, 2026 14:56
KonstantinMirin added a commit to KonstantinMirin/adcp-client that referenced this pull request Sep 20, 2026
Brings in adcontextprotocol#2963 (content-digest vectors graded against the selected verifier
profile) and adcontextprotocol#2968 (native-mode A2A compliance), both of which touch the
grading path this branch changes. Clean merge; the conformance measurement is
taken against this state rather than a branch five commits behind main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant