Repository navigation
fix(storyboard): grade A2A compliance in native mode - #2968
Conversation
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 despitereview_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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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, notescalate. - 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.
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.
Summary
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:libnpm run typechecknpm 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)git diff --checknpm run review:codex -- --all --base main(protocol/code/security: no findings)Open workspace in Conductor