Skip to content

fix(storyboard): route A2A auth probes through SDK - #2902

Merged
bokelley merged 1 commit into
mainfrom
conductor/fix-adcp-client-2878
Sep 14, 2026
Merged

bokelley merged 1 commit into
mainfrom
conductor/fix-adcp-client-2878

Conversation

@bokelley

@bokelley bokelley commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • route A2A storyboard auth overrides through an isolated official A2A SDK client while retaining the guarded fetch boundary
  • record A2A request/response transport metadata from the authored RPC call, including safe request correlation across capability discovery
  • cover unauthenticated, invalid, test-kit credential, discovery-first, and transport-failure regressions without fallback agent data

Verification

  • npm run build:lib
  • npm run typecheck
  • npm run lint (0 errors; 526 existing warnings)
  • npm run test:file -- test/lib/raw-response-capture.test.js test/lib/storyboard-security.test.js test/storyboard-a2a-wire-shape-capture.test.js test/lib/custom-headers.test.js (146 passed)
  • Prettier and commitlint checks
  • parallel DX, protocol, code, and security review; follow-up regression added for capability discovery preceding the authored probe

Fixes #2878


Open workspace in Conductor

@bokelley
bokelley enabled auto-merge (squash) September 14, 2026 12:36
aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 14, 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 — no blocking or medium findings.

Routes A2A storyboard auth-override probes through the official @a2a-js/sdk via an isolated one-shot TestClient (satisfies official-transport-clients-only) and adds safe, non-secret request-correlation metadata (JSON-RPC method + AdCP skill) to RawHttpCapture. Reviewer verified: complete credential isolation, capture never stores the request body, skill correlation cannot misgrade discovery traffic, and missing captures fail closed to status 0 (no fabrication — witness-not-translator preserved). Changeset present and correctly scoped as patch. Two end-to-end tests cover the happy path and both transport-failure branches.

high_risk is true only via a (modified) file (src/lib/protocols/rawResponseCapture.ts), but with no medium-or-higher findings the modification is presumed safe (row 5 does not fire). gated_paths is false, so row 2 does not apply despite review_decision: REVIEW_REQUIRED. No author team gate. No critical/high/medium findings → decision table 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 — clean subsequent pass, no blocking or Medium findings.

This PR routes A2A storyboard auth-override probes through the official @a2a-js/sdk client and records A2A transport metadata. The reviewer confirmed:

  • Credential isolation in createA2AAuthOverrideClient is sound and well-tested (test_kit/oauth/credential-header stripping; auth override wins over options.auth).
  • Ambiguous/cross-origin captures fail closed.
  • No request-payload fabrication or reshaping — witness-not-translator honored.
  • Official transport client (@a2a-js/sdk) used rather than a hand-rolled HTTP/SSE reimplementation.
  • Changeset present (.changeset/fuzzy-pandas-probe-a2a.md).

Decision-table walk: no critical/high findings (row 1 n/a); gated_paths is false (row 2 n/a); no (deleted) high-risk reasons (row 3 n/a); no Medium findings (rows 4/5/8 n/a); prior decision was approve, not escalate (row 6 n/a); no no-auto-approve team match (row 7 n/a). Falls through to row 9 → approve.

Note: high_risk is true because src/lib/protocols/rawResponseCapture.ts is a (modified) file matching src/lib/protocols/**, but per the high-risk flag guidance a modified sensitive file with no Medium-or-higher finding is presumed safe. review_decision: REVIEW_REQUIRED does not gate here since gated_paths is false.

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.

Storyboard runner sends auth-override probes as MCP tools/call even when the protocol under test is A2A (14.0.0-rc.35)

1 participant