Repository navigation
fix(compliance): stop an unclaimed-capability scenario from capping the bundle - #2960
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Two grading-fidelity fixes for media_buy_seller/governance_approved: bundle 3.1.20 peer_agent_setup skip, AdCP 3.2 capability_unsupported→not_applicable rollup and multi_agent deferral past discovery, plus internal RoutingError diagnostics. Reviewer verified the comply.ts rollup logic, checkRequires ordering, the three-condition peer_agent_setup gate, and RoutingErrorKind defaults — all fail-closed and covered by executed live-agent tests. Changeset present and correctly typed (minor). No Critical/High/Medium findings.
Decision path: no critical/high findings (row 1 n/a); gated_paths false (row 2 n/a); high_risk false (rows 3/5 n/a); no medium findings (rows 4/8 n/a); no prior decision (row 6 n/a); no no-auto-approve team match (row 7 n/a) → falls through to row 9 = approve.
a5d30bc to
5cddfa3
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — subsequent pass on a prior clean approve, no findings survived verification.
No blocking findings. No medium findings.
Checked:
comply.tsrollup neutrality is fail-closed: declared-predicate anchor,compliance_testing.*refused, root synthetic row required, failing wins, version-excluded still caps.runner.tsdefersmulti_agentpast discovery but still evaluates and orders it last.RoutingErrordiagnostics stay internal, default to'other'.- Changeset present and correctly typed as minor (matches wire impact under
src/lib/**). - No witness-not-translator violations; no fabricated/normalized wire shapes.
Decision-table walk: no critical/high (row 1 n/a); gated_paths false (row 2 n/a); high_risk false (rows 3/5 n/a); no medium findings (rows 4/8 n/a); prior decision was approve so no sticky escalation (row 6 n/a); no no-auto-approve team match (row 7 n/a). Falls through to row 9 → approve.
Note: review_decision is REVIEW_REQUIRED, but with gated_paths false this does not force escalation or block approval.
5cddfa3 to
b1e3f3c
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — subsequent pass on #2960, clean diff, no blocking or medium findings.
Checked:
- comply.ts rollup gate: version gate is fail-closed and pinned by a test.
- runner.ts requirement ordering and routed provenance channel: provenance anchors fail-closed and test-covered.
- agent-routing.ts RoutingError diagnostics.
- 989-line executed test suite covering the new branches.
- Changeset present and correctly typed as minor (matches wire impact).
No witness-not-translator, transport-client, or changeset-vs-wire-impact issues. Decision table: no critical/high/medium findings (row 1 N/A), gated_paths false (row 2 N/A), high_risk false (rows 3/5 N/A), no author team gate (row 7 N/A), fewer than three medium findings (row 8 N/A). Prior decision was approve, so sticky escalation (row 6) does not apply. Falls through to row 9 → approve.
b1e3f3c to
35c4bc5
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean pass, no blocking findings.
Reviewer found no critical/high/medium/low findings. The compliance-rollup change is fail-closed by construction: capability neutralization requires the complete synthetic root row, is version-gated to AdCP 3.2+, excludes compliance_testing.* gates, and treats any skip.requirement as an unmet gate that still caps. The graded/hasNeutralizedStoryboard rollup keeps version-excluded siblings capping with no vacuous passing. Runner changes are ordering-only, the routing change is diagnostic message text on an error that stays a failure, and the changeset is correct (additive export, no removed symbols, no wire-shape fabrication).
Gate checks: no no-auto-approve team match; gated_paths is false; high_risk is false. Prior decision was approve, so no sticky escalation applies. No decision-table trigger fires (rows 1–8 all clear) → row 9 approve.
35c4bc5 to
4d11ab6
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Clean re-review with no Critical/High/Medium findings. All three core logic files (comply.ts, agent-routing.ts, runner.ts) were traced. The capability-rollup neutralization is a fail-closed positive whitelist keyed to a declared 3.2+ predicate, matching buildCapabilityUnsupportedResult key-for-key and verified against 28 adversarial mutations — failing still wins, version-excluded siblings still cap, and requirement ordering preserves routed/non-routed parity. Changeset (minor) correctly reflects wire impact and slow-test wiring is correct.
Decision-table walkthrough:
- Row 1 (critical/high): no findings — skip.
- Row 2 (gated_paths + not APPROVED): gated_paths is false — skip.
- Row 3–5 (high-risk deleted/modified/medium): high_risk false, no medium findings — skip.
- Row 6 (sticky escalate): prior decision was approve — skip.
- Row 7 (no-auto-approve team): no team match — skip.
- Row 8 (≥3 medium): zero medium findings — skip.
- Row 9: approve.
Note: review_decision is REVIEW_REQUIRED but gated_paths is false, so row 2 does not fire and does not block auto-approve.
4d11ab6 to
1b6aa41
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean subsequent pass, no blocking or medium findings.
This is a follow-up review on PR #2960 (prior decision: approve). The reviewer walked the full delta:
- Capability-rollup neutralization in
comply.ts(version-scoped to AdCP 3.2+, fail-closed, positive-whitelist shape check with 28 pinned adversarial mutations). - The
multi_agentgate reorder and routed requirement-provenance split inrunner.ts. - The agent-routing error hint in
agent-routing.ts. - The minor changeset (
.changeset/declared-capability-rollup.md).
No witness/transport violations, no changeset understatement, no doc-link issues. No new Critical/High/Medium findings surfaced; the prior clean approve stands.
Decision path: no critical/high (row 1 n/a); gated_paths false (row 2 n/a); high_risk false (rows 3/5 n/a); no medium findings (rows 4/8 n/a); prior decision was approve (row 6 n/a); no no-auto-approve team match (row 7 n/a). Falls through to row 9 → approve.
1b6aa41 to
d8378f5
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean pass, no blocking findings.
Reviewed the full diff for PR #2960 across all 7 files: the isCapabilityUnsupportedSkip positive-whitelist neutralization guard and graded bundle-rollup logic in comply.ts, the routed/non-routed earlyRequires/checkRequires precedence unification and two-channel skip split in runner.ts, the routing-error hint in agent-routing.ts, and the accompanying test suites (28-mutation adversarial guard, 10-cell parity matrix, cache census).
No Critical/High/Medium findings. Changeset (.changeset/declared-capability-rollup.md) is present and correctly typed minor — additive export plus grading refinement with no wire-shape or export break. No witness-not-translator, spec-drift, or transport-client concerns.
Decision path: rows 1–8 do not fire (no findings, gated_paths false, high_risk false, no team gate, prior decision was approve). Falls through to row 9 → approve.
d8378f5 to
4f9f109
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — subsequent pass on PR #2960 is clean.
No blocking findings. The reviewer examined the delta source changes: comply.ts capability-rollup neutralization (positive-whitelist shape check, compliance_testing carve-out, fail-closed version gate, graded-rollup passing/partial branches ordered after the failing check), runner.ts declared-order requires gate with per-route controller provenance and precomputed request_signer channel, agent-routing.ts hint, and seeding.ts route-tool provenance — plus a 1770-line executed regression test. Logic is internally consistent with the tests.
Changesets are both correctly typed (minor for the exported helper + grading change, patch for the routed bugfix); witness-not-translator and official-client rules upheld.
No critical/high/medium findings. high_risk is false, gated_paths is false, no no-auto-approve team match. Prior decision was approve; this run remains clean. Falls through to row 9.
4f9f109 to
85cda73
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Reviewed the full delta for PR #2960 (compliance-harness grading and storyboard routing logic). Key items checked:
comply.ts: positive-whitelist capability-unsupported skip with version + non-string fail-closed guards; graded/neutralized rollup branch ordering.runner.ts: declared-order requirement deferral, precomputed verdict channel, exact-key routed controller provenance.seeding.ts: defense-in-depth provenance.- 2141-line adversarial test suite plus CI-skip guard in
scripts/run-node-tests.mjs. - Two correctly-sized changesets present; no wire-shape or witness-not-translator issues.
No Critical/High/Medium findings. Not high-risk, not gated, no author-team gate, review_decision unknown but gated_paths is false so row 2 does not apply. Prior decision was also approve. Falls through to row 9.
…he bundle `buildComplianceBundleResults` now grades a storyboard whose result is the root applicability skip as `not_applicable`, and a bundle reaches `passing` when every graded storyboard passes (#2945). `storyboard-schema.yaml` > "Applicability order" makes the consequence normative: capability predicates are evaluated before `requires`, an unsatisfied predicate emits `not_applicable` and "MUST NOT report a missing runtime requirement", and "only an agent that selected the storyboard by satisfying every authored capability predicate can receive `requirement_unmet`" — which "keeps optional capability storyboards out of the coverage totals of agents that never claimed the capability." Scope is every authored non-`compliance_testing` root capability predicate in an AdCP 3.2 or later bundle, not only the governance scenarios that surfaced it: 156 of the 170 root capability-gated scenario files in the pinned 3.2 cache, with the remaining 14 `compliance_testing.*` gates excluded on normalized dotted-path segments. All three census numbers are asserted. Agent-declaration-driven is what keeps it sound: a seller that does not claim a gated capability reaches `passing` on its own surface, while a claimant clears the capability gate, proceeds to whatever `requires:` the scenario declares, and stays capped — never credited for a capability it never exercised. Version-scoped and fail-closed. The loader-injected `adcp_version` must be a string parsing to 3.2 or later; an absent version or a pre-3.2 bundle keeps capping. Without this the rule was version-agnostic: 33 of the 34 capability-gated scenarios selected from the 3.1.18 bundle flipped partial -> passing. Because the grader is exported, a non-string version a JavaScript caller can reach it with also fails closed: `compareAdcpVersionStrings` calls `.startsWith`, so `adcp_version: null` previously threw a TypeError out of the whole rollup rather than grading. `buildComplianceBundleResults` is exported, so the shape check is a public grading boundary. Neutralization requires the complete root synthetic result and nothing else, enforced as a positive whitelist — at result, phase AND step scope — of exactly the keys `buildCapabilityUnsupportedResult` emits plus the `notices` its call sites spread in, so `response_record`, a non-zero `strict_validation_summary`, or anything a future release adds at any level is refused without being enumerated. The phase level was the gap: a caller could hang a branch/assertion rollup or any future per-phase field off the synthetic phase and still be neutralized. Twenty-nine adversarial mutations are pinned. A version-excluded storyboard (`options.notApplicable`, from the agent's declared `major_versions`) keeps capping, including when every executed sibling was neutralized. A wholly version-excluded bundle still reports `not_applicable`. Requirement reporting is now identical routed and non-routed. `checkRequires` reports the first unmet gate in declared order, with no class reordered and no class overriding another: both the `multi_agent`-last reordering and the unknown-requirement override added earlier in this branch are removed. Only assessability varies by mode, and the runner now makes the reported requirement independent of it — a requirement the pre-flight cannot settle defers together with every requirement DECLARED AFTER IT. - no root capability predicate: the pre-flight answers the statically decidable prefix (`multi_agent`, the harness gates, unrecognized values) and stops at the first `controller` / `request_signer` it cannot settle in this mode. A topology gate declared before one of those still reports `requirement_unmet` instead of a discovery failure; one declared after it is answered post-discovery, where the earlier gate may win. - with a root predicate: the whole list defers until after discovery, per 3.2's applicability order, and the routed `controller` / `request_signer` verdicts are consumed at their declared positions. Deferring the tail is the correction the last review forced. Filtering `controller` out of the routed pre-flight — rather than truncating at it — let a later gate answer while an earlier one was still unknown. A real `comply()` run threads `_profile` + `agentTools` into `runStoryboard` (`comply.ts`: `effectiveOptions._profile = profile`, `agentTools: profile.tools`), so its non-routed pre-flight CAN settle a declared-first `controller`, and the two modes then disagreed for precisely the shape `comply()` produces. Routed mode settles both agent-dependent requirements in the routing pre-flight and hands the verdict to the ordered gate as `met`, `unmet` or `unknown`, instead of removing the requirement from the gate's input list. The `unknown` status also keeps `checkRequires` from falling back to `options.agentTools` — which routed mode has already overwritten with a union of every tenant's tools. That union exists for `required_tools` ANY-OF family gating and is disjunctive by design; controller availability is the opposite question, since a peer tenant's `comply_test_controller` cannot seed another tenant's state. So a seller advertising no controller, mapped beside an unrelated signals peer that advertises one, cleared `requires: [controller]`, executed against unseeded state and graded green — while a non-routed run of the same seller reported `missing_test_controller`. The runner already asserts this invariant one screen away, where routed fixture resolution refuses to let "a union member authorize a selected agent's operation". The gate is now unmet only when no route serving a state-exercising step advertises its own `comply_test_controller`, established per route during the routing preflight and consumed at its declared position. That is deliberately narrower than requiring one per callable route: a route that is only read from is no fixture target and needs no controller, so a storyboard mixing a seeded seller with a read-only signals peer still runs. A control plane genuinely fronting two tenants has to be declared, not inferred — per-tenant seed dispatch is the follow-up already tracked where routed plus `prerequisites.controller_seeding: true` fail-fasts. Three corrections decide which routes are in that set, each a case the first cut got wrong: - Route identity is the exact `agents` key, never the URL. Two keys may legitimately share one `url` with different `auth` — one tenant per bearer against a shared control plane. Mapping a selected agent back to its key by URL collapsed those keys onto whichever the map listed first, so the last step to dispatch overwrote the other's tool list: the verdict flipped with step order (a false negative for a seller that does advertise a controller, a false green when an out-of-scope tenant's list won) and the operator-facing detail named the wrong tenant. `StepAssignment` now carries the resolved `agentKey` and the provenance keys on that; the URL-reverse-lookup helper is gone. - A route the storyboard's own capability predicate excludes exercises no state. Root predicates were already honoured; the PHASE predicate was not, so a controller-bearing route that executes nothing could still satisfy the gate for the route that does. A route whose `request_signer` verdict came back unmet is deliberately not excluded — it is in declared scope and merely lacks a runtime capability, so declared order, not exclusion order, decides which gate is reported, which is what keeps parity with a non-routed run assessing both from one profile. - An empty state-exercising set falls back to every in-scope route. A storyboard whose only callable steps are `comply_test_controller` calls left that set empty and the gate was silently dropped — the run then dialed the back-channel on a route that does not serve it. Seeding's own missing-controller check takes the same selected-route provenance as defence in depth; a routed run cannot reach it today. The disjunctive `required_any_of_tools` union is untouched, and non-routed runs are unchanged in both directions. This union behaviour predates the branch and reproduces on `main`. The dead `routedControllerUndecidable` branch is removed: `routedAgentOptions` always projects the route's discovered tools (`[]` when the agent advertises none), so there was no undiscovered-tools case to guess at. Twelve executed regressions over live MCP agents pin it: the reported topology reports `missing_test_controller` with `skip.requirement: controller` and no step reaches the wire; a `comply_test_controller` step cannot vouch for the route it is dispatched to; a storyboard of nothing but controller steps stays fail-closed, and runs when its route does advertise one; a phase-excluded controller route does not vouch for the route that executes, while the same peer brought into the phase's scope does (the negative control against over-skipping); two tenants behind one shared URL with different bearers stay distinct routes in either step order and in either phase order, with the detail naming the exact key; the controller on the route under test still runs; a read-only peer without one does not skip the storyboard; routed and non-routed agree about the same seller both ways; the ANY-OF union still passes with the tool on one tenant only; routed plus `controller_seeding: true` still fail-fasts; and non-routed seeding still grades from the agent's own tools. The parity matrix is ten cells — both predicate states and both declared orders — across three columns: non-routed, non-routed with `_profile` + `agentTools` threaded through (the exact shape `comply()` produces), and routed. `origin/main` diverges on six of the thirty. All thirty agree now, and none regressed. Every new or changed assertion was replayed against this branch's previous head and fails there, each for its own reason: a TypeError out of the exported grader, a neutralized result carrying an extra phase key, a later gate pre-empting a declared-first unmet one, a dropped controller gate that dialed the wire, a phase-excluded route vouching for its peer, and the shared-URL collapse in both its false-negative and false-green directions. `storyboardCapabilityPredicates` is exported so the rollup keys on the same predicate set the runner gates on. The routing-error `kind` / `protocol` / `toolAdvertisedBy` fields added earlier in this branch are removed — no source consumer survived the design changes — and the operator-facing message that names the agents advertising an unclaimed tool is retained. The live-agent mock in the rollup suite holds its connections open for the length of a run (`keepAliveTimeout`/`headersTimeout`, the idiom already used in media-buy-lifecycle-release-gate.test.js). A storyboard run pauses between steps while ajv compiles the next task's schemas — measured at 5.5s between `get_products` and `create_media_buy` — and Node's default 5s idle timeout reaped the pooled socket inside that gap, so the next dispatch landed on a half-closed connection and graded a bare undici `fetch failed` as a genuine step failure. No assertion weakened and no retry added — the harness simply stops severing its own connections mid-run. The cache-backed suites (the headline release criterion and the 3.2 census) read the gitignored compliance cache, so they skip when it is absent. Locally that is correct; in CI, where `sync-schemas:all` always populates it, a skip would retire the regression silently. A CI-only guard now asserts both caches are present, and fails when either is not. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
85cda73 to
2aa47e3
Compare
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean review, no blocking or medium findings.
Reviewed all changed files across the storyboard/compliance testing paths:
comply.ts— rollup neutralization and status branching (positive whitelist at result/phase/step scope, predicate-anchored, version-gated ≥3.2 with non-string fail-closed guard; version-excluded coverage still caps).runner.ts— routed/non-routed requirement-ordering rewrite (declared-order parity, precomputed verdicts including 'unknown' block union fallback).- Routed controller provenance keyed by exact agents key.
No wire-data fabrication (grading-verdict logic only), consistent with witness-not-translator. Both changesets present and correctly scoped (minor + patch), so changeset-vs-wire-impact is satisfied. No stale doc-links. Behavior is fail-closed and pinned by a 30-cell parity matrix and 29 adversarial mutations.
No gated paths, no high-risk flag, no no-auto-approve team match, no findings — falls through to row 9.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean subsequent pass, no findings.
This is a follow-up to a prior clean approve. The only delta since the previous run is a single test-only change in test/lib/storyboard-capability-rollup.test.js: removal of the now-unused listAllComplianceStoryboards import, confirmed dead across the full PR diff. No source, wire-shape, or changeset implications.
Checked:
- Author team gates: no no-auto-approve match.
- Gated paths: false; no hard path gate.
- High-risk: false.
- Reviewer findings: none (no critical/high/medium).
No blocking findings, no medium findings, no escalation triggers. Rows 1–8 do not fire → row 9 approve.
…rdict Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`, canonical `fixture_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and distinguishes a runner-owned gap (`transport_unverified`) from the run's own selection (`scope_excluded`), which the output contract keeps apart as `selection_result`. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume it — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP, and `028-unsigned-protocol-method-required` reports `capability_profile_mismatch` unless the agent advertises `request_signing.protocol_methods_required_for` — the gate signed-requests.yaml specifies. That one field is read independently of the rest of the block, because the capabilities schema requires only `supported`: demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. A malformed bucket discards the declaration rather than reading it as absent, so a bad block cannot shrink coverage, and both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each scenario whose signing coverage went unverified, which otherwise rendered as a bare failure marker with no failing step beneath it; `fixture_unavailable` joins the compliance skip-cause block; skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated and malformed capability blocks on both the 3.1 and 3.2 lines, a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard (and staying silent when any vector graded), the four coverage outcomes end to end — positives graded with negatives operator-skipped, every vector excluded, the A2A transport gap and a genuinely graded run — the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…rdict Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`, canonical `fixture_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and names which way a run came up empty: `probe_errored` (the handshake or connection failed), `transport_unverified` (no dispatch shape for this protocol), `scope_excluded` (the run's own selection removed every vector, which the output contract keeps apart as `selection_result`), or `self_check_only` (only the in-library SDK check ran). Each carries its own remedy — advising someone to drop `--signing-skip-vectors` when the agent was unreachable sends them the wrong way. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume it — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP. Vector 028 is now gated on the agent's advertised capability, which is a behavior change on MCP runs as well as A2A: it reports `capability_profile_mismatch` unless the agent declares `request_signing.protocol_methods_required_for`, the gate signed-requests.yaml specifies. The storyboard used to dispatch it at every agent, so one that never claimed the JSON-RPC bucket could fail it; the path now also diverges from `adcp grade request-signing`, which compares against an operator-supplied profile rather than a live advertisement. That one field is read on its own, and only from a schema-valid declaration. The capabilities schema requires just `supported`, so demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. In the other direction, a value the line's schema rejects — `null`, `[""]`, `["tasks/cancel "]`, a bare string, a non-string entry, an over-long token, or (from 3.2) `tools/call` — is discarded rather than read as "not declared": reading it that way let a server that accepts an unsigned `tasks/cancel` suppress the vector and report `overall_passed: true` with exit 0. The wire-name grammar is keyed to the run's own compliance line (3.2 allows A2A 1.0 PascalCase names and multi-segment paths; 3.1 a single lowercase pair) and pinned against both shipped schemas by test, because a copy that drifts wider than the schema re-opens that hole. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. Both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each scenario whose signing coverage went unverified, which otherwise rendered as a bare failure marker with no failing step beneath it; `fixture_unavailable` joins the compliance skip-cause block; skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated, malformed, null, empty-string, whitespace-bearing, wrong-type, over-long and line-specific capability declarations on both the 3.1 and 3.2 lines, the grammars pinned against both shipped schemas, the four coverage states told apart (including an in-library grade failure that must not read as a transport fault), a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard and staying silent when any vector graded, its control-character escaping, the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…rdict Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and names which way a run came up empty: `probe_errored` (the handshake or connection failed), `transport_unverified` (no dispatch shape for this protocol), `scope_excluded` (the run's own selection removed every vector, which the output contract keeps apart as `selection_result`), or `self_check_only` (only the in-library SDK check ran). Each carries its own remedy — advising someone to drop `--signing-skip-vectors` when the agent was unreachable sends them the wrong way. Telling the first two apart needs provenance, because a DNS or connect failure and an in-library grade both come back as `http_status: 0` with text attached: `VectorGradeResult` now carries `transport_error`, which the dispatch maps onto `HttpProbeResult.probe_error` for the classifier to read. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume that one rule — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP. Vector 028 is now gated on the agent's advertised capability, which is a behavior change on MCP runs as well as A2A: it reports `capability_profile_mismatch` unless the agent declares `request_signing.protocol_methods_required_for`, the gate signed-requests.yaml specifies. The storyboard used to dispatch it at every agent, so one that never claimed the JSON-RPC bucket could fail it; the path now also diverges from `adcp grade request-signing`, which compares against an operator-supplied profile rather than a live advertisement. That one field is read on its own, and only from a schema-valid declaration. The capabilities schema requires just `supported`, so demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. In the other direction, a value the line's schema rejects — `null`, `[""]`, `["tasks/cancel "]`, a bare string, a non-string entry, an over-long token, or (from 3.2) `tools/call` — is discarded rather than read as "not declared": reading it that way let a server that accepts an unsigned `tasks/cancel` suppress the vector and report `overall_passed: true` with exit 0. The wire-name grammar is keyed to the run's own compliance line and pinned against both shipped schemas by test, because a copy that drifts from the schema breaks it in one direction or the other: too wide accepts a declaration the line rejects and suppresses the vector, too narrow rejects a legal one and fails a vector the agent never claimed. 3.2 allows A2A 1.0 PascalCase names and multi-segment paths and caps names at 256; 3.1 allows a single lowercase pair and declares no cap, so no cap is applied there. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. Both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each storyboard whose signing coverage went unverified, and why, where it otherwise rendered as a bare failure marker with no failing step beneath it; the detailed reason joins the compliance skip-cause block (the canonical one is left alone, so unrelated fixture gaps keep their classification); skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated, malformed, null, empty-string, whitespace-bearing, wrong-type and line-specific capability declarations on both the 3.1 and 3.2 lines, the per-line length cap (a 258-character name is legal on 3.1 and over cap on 3.2), the grammars pinned against both shipped schemas, the coverage states told apart — an unreachable agent as `probe_errored` rather than `self_check_only`, and an in-library grade failure as a verdict rather than a fault — a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard and staying silent when any vector graded, its control-character escaping, the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…rdict Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and names which way a run came up empty: `probe_errored` (the handshake or connection failed), `transport_unverified` (no dispatch shape for this protocol), `scope_excluded` (the run's own selection removed every vector, which the output contract keeps apart as `selection_result`), or `self_check_only` (only the in-library SDK check ran). Each carries its own remedy — advising someone to drop `--signing-skip-vectors` when the agent was unreachable sends them the wrong way. Telling the first two apart needs provenance, because a DNS or connect failure and an in-library grade both come back as `http_status: 0` with text attached: `VectorGradeResult` now carries `transport_error`, which the dispatch maps onto `HttpProbeResult.probe_error` for the classifier to read. Every `probeSignedRequest` call site carries it — the positive and negative single probes, both terminal returns of the replay-window pairs (a first submission that succeeds followed by a replay probe that dies on the wire is a fault, not a verdict), and the rate-abuse path including its cap-filling requests, since a fill that never completed means the cap was never reached. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume that one rule — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP. Vector 028 is now gated on the agent's advertised capability, which is a behavior change on MCP runs as well as A2A: it reports `capability_profile_mismatch` unless the agent declares `request_signing.protocol_methods_required_for`, the gate signed-requests.yaml specifies. The storyboard used to dispatch it at every agent, so one that never claimed the JSON-RPC bucket could fail it; the path now also diverges from `adcp grade request-signing`, which compares against an operator-supplied profile rather than a live advertisement. That one field is read on its own, and only from a schema-valid declaration. The capabilities schema requires just `supported`, so demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. In the other direction, a value the line's schema rejects — `null`, `[""]`, `["tasks/cancel "]`, a bare string, a non-string entry, an over-long token, or (from 3.2) `tools/call` — is discarded rather than read as "not declared": reading it that way let a server that accepts an unsigned `tasks/cancel` suppress the vector and report `overall_passed: true` with exit 0. The wire-name grammar is keyed to the run's own compliance line and pinned against both shipped schemas by test, because a copy that drifts from the schema breaks it in one direction or the other: too wide accepts a declaration the line rejects and suppresses the vector, too narrow rejects a legal one and fails a vector the agent never claimed. 3.2 allows A2A 1.0 PascalCase names and multi-segment paths and caps names at 256; 3.1 allows a single lowercase pair and declares no cap, so no cap is applied there. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. Both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each storyboard whose signing coverage went unverified, and why, where it otherwise rendered as a bare failure marker with no failing step beneath it; the detailed reason joins the compliance skip-cause block (the canonical one is left alone, so unrelated fixture gaps keep their classification); skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated, malformed, null, empty-string, whitespace-bearing, wrong-type and line-specific capability declarations on both the 3.1 and 3.2 lines, the per-line length cap (a 258-character name is legal on 3.1 and over cap on 3.2), the grammars pinned against both shipped schemas, the coverage states told apart — an unreachable agent and a replay pair whose second probe dies mid-run as `probe_errored` rather than `self_check_only`, and an in-library grade failure as a verdict rather than a fault — a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard and staying silent when any vector graded, its control-character escaping, the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…rdict Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and names which way a run came up empty: `probe_errored` (the handshake or connection failed), `transport_unverified` (no dispatch shape for this protocol), `scope_excluded` (the run's own selection removed every vector, which the output contract keeps apart as `selection_result`), or `self_check_only` (only the in-library SDK check ran). Each carries its own remedy — advising someone to drop `--signing-skip-vectors` when the agent was unreachable sends them the wrong way. Telling the first two apart needs provenance, because a DNS or connect failure and an in-library grade both come back as `http_status: 0` with text attached: `VectorGradeResult` now carries `transport_error`, which the dispatch maps onto `HttpProbeResult.probe_error` for the classifier to read. Every `probeSignedRequest` call site carries it — the positive and negative single probes, both terminal returns of the replay-window pairs (a first submission that succeeds followed by a replay probe that dies on the wire is a fault, not a verdict), and the rate-abuse path including its cap-filling requests. Rate abuse needed more than provenance. A fill request that never completed means the per-keyid cap was never established, so the (cap+1) rejection says nothing about the limiter — an agent that rejects everything with that code would have passed the vector. `passed` now requires zero fill faults, the first fill failure is carried into the diagnostic by text rather than a bare flag, and because that rejection arrives as a real `401`, a status-only coverage rule still called the run graded: `signingCoverage` no longer counts a response carrying a transport fault as evidence, while a sibling probe that completed cleanly still does. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume that one rule — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP. Vector 028 is now gated on the agent's advertised capability, which is a behavior change on MCP runs as well as A2A: it reports `capability_profile_mismatch` unless the agent declares `request_signing.protocol_methods_required_for`, the gate signed-requests.yaml specifies. The storyboard used to dispatch it at every agent, so one that never claimed the JSON-RPC bucket could fail it; the path now also diverges from `adcp grade request-signing`, which compares against an operator-supplied profile rather than a live advertisement. That one field is read on its own, and only from a schema-valid declaration. The capabilities schema requires just `supported`, so demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. In the other direction, a value the line's schema rejects — `null`, `[""]`, `["tasks/cancel "]`, a bare string, a non-string entry, an over-long token, or (from 3.2) `tools/call` — is discarded rather than read as "not declared": reading it that way let a server that accepts an unsigned `tasks/cancel` suppress the vector and report `overall_passed: true` with exit 0. The wire-name grammar is keyed to the run's own compliance line and pinned against both shipped schemas by test, because a copy that drifts from the schema breaks it in one direction or the other: too wide accepts a declaration the line rejects and suppresses the vector, too narrow rejects a legal one and fails a vector the agent never claimed. 3.2 allows A2A 1.0 PascalCase names and multi-segment paths and caps names at 256; 3.1 allows a single lowercase pair and declares no cap, so no cap is applied there. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. Both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each storyboard whose signing coverage went unverified, and why, where it otherwise rendered as a bare failure marker with no failing step beneath it; the detailed reason joins the compliance skip-cause block (the canonical one is left alone, so unrelated fixture gaps keep their classification); skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated, malformed, null, empty-string, whitespace-bearing, wrong-type and line-specific capability declarations on both the 3.1 and 3.2 lines, the per-line length cap (a 258-character name is legal on 3.1 and over cap on 3.2), the grammars pinned against both shipped schemas, the coverage states told apart — an unreachable agent and a replay pair whose second probe dies mid-run as `probe_errored` rather than `self_check_only`, an in-library grade failure as a verdict rather than a fault, and a rate-abuse run whose cap-fill sockets died while the (cap+1) request returned the expected 401 as `passed: false` / `probe_errored` rather than a pass, with the established-cap run still passing and a clean sibling probe still making the storyboard graded — a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard and staying silent when any vector graded, its control-character escaping, the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…rdict (#2958) Three release-blocking bugs in the signed_requests conformance path. #2954 — the request-signing probe was the last probe family that ignored `options.protocol`, so every vector on an A2A run was dispatched as an MCP `tools/call` envelope against the A2A endpoint and failed with a transport error before grading. `resolveVectorTransport` now reads the protocol and returns no framing for an unqualified A2A run; each affected vector skips as `signing_transport_unavailable`. Three verdicts move with it, each a false-assurance path found in review. The storyboard reports `overall_passed: false` when its wire coverage was unavailable, instead of passing off the back of an SDK self-check the agent never saw. `computeTrackStatus` grades `partial` before its all-skipped check, so an entirely unavailable track no longer evaporates into `skip` — which `computeOverallStatus` ignores, letting sibling tracks carry the run to `passing`. And the gate is per vector, not per storyboard: a routed `agents` run pairs a top-level protocol with per-agent transports, so a whole-storyboard gate would strand a gradable MCP seller. Only the `jwks_override` negatives still grade on A2A; they touch no transport at all. Vector 028 is deliberately not replayed raw at an A2A endpoint despite shipping a complete `tasks/cancel` envelope. That is a gap in this runner, not in the official client — `@a2a-js/sdk` issues `tasks/cancel` fine; what is missing is a signing probe wired through it, which needs an interceptor applying each vector's RFC 9421 headers to a request the client itself issues, plus an upstream answer for how a verifier scopes `required_for` over A2A methods. RFC 9421 conformance needs byte-level control of the request, which the builder has for the two bindings AdCP defines for these fixtures; picking a third here would be the SDK inventing one. The skip is emitted in the output contract's registered shape: canonical `not_applicable` with `skip.detail` set to the `signing_transport_unavailable` token exactly, empty validations, no pass/fail counter movement — the same shape the contract defines for `rate_limit_not_triggered`. Deliberately not `fixture_unavailable`, whose contract text mandates a `creative_asset_fixture_unavailable:` detail prefix and says the storyboard grades `not_applicable` with no verdict movement. Registering `canonical_detail_sub_reasons.not_applicable.signing_transport_unavailable` upstream (spec_source `test-kits/signed-requests-runner.yaml`) remains an external blocker; emitting the registered shape now means that registration moves nothing here. The same applies to `probe_passed`, which is not yet in the contract's runner-synthesized grading codes: it fails closed here — a `probe_passed` check with no probe result is a hard step failure, and a failed grade always carries a diagnostic — and the registration ask is recorded in the changeset. One exported rule decides what a run verified. `signingCoverage` in the runner answers whether any request-signing vector reached the agent, and names which way a run came up empty: `probe_errored` (the handshake or connection failed), `transport_unverified` (no dispatch shape for this protocol), `scope_excluded` (the run's own selection removed every vector, which the output contract keeps apart as `selection_result`), or `self_check_only` (only the in-library SDK check ran). Each carries its own remedy — advising someone to drop `--signing-skip-vectors` when the agent was unreachable sends them the wrong way. Telling the first two apart needs provenance, because a DNS or connect failure and an in-library grade both come back as `http_status: 0` with text attached: `VectorGradeResult` now carries `transport_error`, which the dispatch maps onto `HttpProbeResult.probe_error` for the classifier to read. Every `probeSignedRequest` call site carries it — the positive and negative single probes, both terminal returns of the replay-window pairs (a first submission that succeeds followed by a replay probe that dies on the wire is a fault, not a verdict), and the rate-abuse path including its cap-filling requests. Rate abuse needed more than provenance. A fill request that never completed means the per-keyid cap was never established, so the (cap+1) rejection says nothing about the limiter — an agent that rejects everything with that code would have passed the vector. `passed` now requires zero fill faults, the first fill failure is carried into the diagnostic by text rather than a bare flag, and because that rejection arrives as a real `401`, a status-only coverage rule still called the run graded: `signingCoverage` no longer counts a response carrying a transport fault as evidence, while a sibling probe that completed cleanly still does. The storyboard verdict, the track rollup, the compliance report and the CLI exit contract all consume that one rule — the CLI through dist — because hand-written copies of the same question drifted inside one revision of this change, one of them into a false CI failure on an all-green report. Keying the rule on a skip reason was itself too narrow: excluding every wire vector and keeping the in-library self-check exited 0 with nothing graded. Exclusions are decided before the protocol gate: operator selection, then exclusions belonging to the vector itself, then transport availability. So `026-non-ascii-host` reports `transport_ungradable` on A2A exactly as on MCP. Vector 028 is now gated on the agent's advertised capability, which is a behavior change on MCP runs as well as A2A: it reports `capability_profile_mismatch` unless the agent declares `request_signing.protocol_methods_required_for`, the gate signed-requests.yaml specifies. The storyboard used to dispatch it at every agent, so one that never claimed the JSON-RPC bucket could fail it; the path now also diverges from `adcp grade request-signing`, which compares against an operator-supplied profile rather than a live advertisement. That one field is read on its own, and only from a schema-valid declaration. The capabilities schema requires just `supported`, so demanding `covers_content_digest`/`required_for` failed a schema-legal `{supported: true}` agent on a vector it never claimed. In the other direction, a value the line's schema rejects — `null`, `[""]`, `["tasks/cancel "]`, a bare string, a non-string entry, an over-long token, or (from 3.2) `tools/call` — is discarded rather than read as "not declared": reading it that way let a server that accepts an unsigned `tasks/cancel` suppress the vector and report `overall_passed: true` with exit 0. The wire-name grammar is keyed to the run's own compliance line and pinned against both shipped schemas by test, because a copy that drifts from the schema breaks it in one direction or the other: too wide accepts a declaration the line rejects and suppresses the vector, too narrow rejects a legal one and fails a vector the agent never claimed. 3.2 allows A2A 1.0 PascalCase names and multi-segment paths and caps names at 256; 3.1 allows a single lowercase pair and declares no cap, so no cap is applied there. Nothing else is read from a live advertisement: the rest of a vector's `verifier_capability` describes an operator-selected grading profile, and comparing it to an advertisement excludes 39 of 40 vectors. Both exclusions carry the grader's diagnostic so an operator can audit an agent that under-declares. A failed vector load — or a vector id missing from the loaded set — now surfaces as a probe error. It used to be swallowed, leaving the transport gate to report an unreadable compliance cache as a coverage gap: wrong, and skip-shaped, so it could never fail a run. Probe errors are read from the redacted result on both branches, not just the skip branch. #2955 — `synthesizeNegativeStep` emitted `http_status: 401` for every negative vector including the `jwks_override` ones, which the grader decides in-library at `http_status: 0` by contract. Those steps failed while the grader passed them, unreachable by any implementation. New `probe_passed` validation check grades the verdict the dispatch layer actually reports; no synthetic HTTP status is invented, keeping the library-verification and wire planes distinct (RFC 9421 §3). Their step title now carries `SDK verifier self-check, agent not contacted`, because JUnit keeps titles and drops narratives. #2956 — `storyboard run` never populated `request_signing`, so CLI-driven CI could not select the vector transport or exclude a vector. Adds `--signing-transport raw|mcp`, `--signing-skip-vectors`, and `--signing-skip-rate-abuse`, threaded through every storyboard-run path, plus a `ComplyOptions.request_signing` passthrough destructured and re-spread like its siblings. Omitting the transport infers it from the resolved protocol. Both value-bearing flags are validated: an unknown vector id is rejected with the nearest real ids, and `--signing-skip-rate-abuse=false` is rejected rather than read as "on" — it used to skip the vector the operator asked to run. Also corrects the stale `BuildOptions.transport` JSDoc. A run that graded no verifier now exits nonzero. Skipped steps carry `passed: true`, so `adcp storyboard step … && echo ok` printed ok for a vector nothing verified; that command exits 3 when the runner could not dispatch the step, and now honours `--soft-fail`, which it previously advertised and ignored. The full assessment exits 3 when a storyboard's signing coverage went unverified, whatever removed the vectors, with the two causes named distinctly in the message. It is evaluated per storyboard, not per scenario — compliance scenarios are per phase, and a per-phase rule failed runs whose positive vectors graded fine. Everything else keeps exit 0: other `partial` runs, legacy `fixture_unavailable` gaps, and single steps the operator excluded. Adopters to plan for: an agent that honestly advertises `request_signing.supported: true` and is graded over A2A now exits nonzero with no agent-side remedy — grade the MCP or REST binding, point `--signing-transport` at it, or pass `--soft-fail`. Reporting and packaging: `storyboard run` prints each skipped step's reason and detail, rendering runner-owned gaps as `COVERAGE UNAVAILABLE` with the remedy; the canonical compliance report names each storyboard whose signing coverage went unverified, and why, where it otherwise rendered as a bare failure marker with no failing step beneath it; the detailed reason joins the compliance skip-cause block (the canonical one is left alone, so unrelated fixture gaps keep their classification); skip details read from the redacted probe result. The skip renderer and the signing-flag parser live in the already-shipped `bin/adcp-storyboard-summary.js` rather than a new published file, keeping the packed-file budget intact and the flag semantics unit-testable without spawning a CLI per case. The spawn-heavy threading tests live in their own slow-group file so every fast-suite file stays under the 60s per-file ceiling. The published 3.0 line (`adcp-3.0` dist-tag, 7.11.x on `backport-2114-adcp-3.0`) predates both the `'mcp'` default and these flags, and needs its own backport; documented rather than patched here. Tests fail before the fix: protocol-aware resolution, the per-vector coverage gap in its registered shape, the storyboard verdict beside a passing SDK self-check, the all-unavailable track that must stay partial, the sibling track rollup, routed-agent dispatch, 028 refused on A2A and still graded on MCP, the intrinsic and profile exclusions reported identically on both protocols with their diagnostics, the 028 gate against schema-minimal, fully-populated, malformed, null, empty-string, whitespace-bearing, wrong-type and line-specific capability declarations on both the 3.1 and 3.2 lines, the per-line length cap (a 258-character name is legal on 3.1 and over cap on 3.2), the grammars pinned against both shipped schemas, the coverage states told apart — an unreachable agent and a replay pair whose second probe dies mid-run as `probe_errored` rather than `self_check_only`, an in-library grade failure as a verdict rather than a fault, and a rate-abuse run whose cap-fill sockets died while the (cap+1) request returned the expected 401 as `passed: false` / `probe_errored` rather than a pass, with the established-cap run still passing and a clean sibling probe still making the storyboard graded — a broken vector cache erroring instead of skipping, the jwks_override synthesis and its end-to-end grade, the `vector grade failed` fallback failing its step and reaching the summary, the summary skip cause, the canonical report naming the storyboard and staying silent when any vector graded, its control-character escaping, the bundle rollup under #2960's capability neutralization, CLI flag validation and threading, and the single-step exit codes with and without `--soft-fail`. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Fixes #2945.
A scenario the agent's own capability declaration puts outside its surface must not cap that agent's bundle.
Scope is every authored non-
compliance_testingroot capability predicate in an AdCP 3.2 or later bundle — not only the governance scenarios that surfaced it. In the pinned 3.2 cache that is 156 of the 170 root capability-gated scenario files; the remaining 14 gate oncompliance_testing.*and are excluded. Protocol and specialism bundles beyondmedia_buy(for examplecreative) are in scope, and a real-bundle aggregate regression pins both halves. AdCP 3.1.x is unchanged by this PR and deferred upstream — see the version-scoping section.The defect
media_buy_seller/governance_approvedandgovernance_conditionsdeclarerequires_capabilityonadcp.governance_enforcement.tasks. The runner already graded a pure seller's run of those scenarioscapability_unsupportedwith zero failures — that part was correct.buildComplianceBundleResultsthen counted that skip as missing coverage, so themedia_buybundle could never reachpassingfor a seller with nothing wrong.What the spec says
storyboard-schema.yaml> "Applicability order" (AdCP 3.2) makes the consequence normative:Fix
A storyboard whose every row is the root gate's
capability_unsupportedskip gradesnot_applicable, and a bundle reachespassingwhen every graded storyboard passes.Agent-declaration-driven is what keeps it sound:
passingon its own surface;requires: [multi_agent], and stays capped with no second tenant. A claimant is never credited for a capability it never exercised.Measured against the real pinned scenarios with executed MCP discovery and dispatch against live mock agents:
origin/maingovernance_enforcementclaim) → bundlepartialpassingpartialpartialcheck_governance/sync_planscallspartialnot_applicable(neverpassing)Version-scoped and anchored four ways
adcp_versionmust be 3.2 or later. The "Applicability order" rule arrived in AdCP 3.2, so an absent version (hand-built or caller-supplied storyboard) or a pre-3.2 bundle fails closed. Without this the rule was version-agnostic despite the claim — 33 of the 34 capability-gated scenarios selected from the 3.1.18 bundle flippedpartial→passing.adcp_versionis stamped byannotateStoryboardVersioninsideloadBundleStoryboards, never by the scenario YAML, so the regression loads its fixtures through the real selection path.requires_capability/requires_all_capabilities— the rule never rests on which emitter happens to use the token;capability_unsupportedrow, so phase- and step-scope capability skips stay coverage gaps;compliance_testing.*gate is refused outright, matched on normalized dotted-path segments so a padded or nested namespace (adcp.compliance_testing.scenarios) cannot slip past. That predicate declares which deterministic-test scenarios the agent's own controller implements — test-harness scope, not product surface. Forgiving it would let an agent drop one scenario string from its own list and flip the bundle topassingat no cost. All three census numbers (170 gated files, 14compliance_testing, 156 eligible) are asserted against the cache.buildComplianceBundleResultsis exported, so this is a public grading boundary rather than an internal invariant. Enforced as a positive whitelist of exactly the keysbuildCapabilityUnsupportedResultemits plus thenoticesits call sites spread in, so a field carrying execution evidence (response_record, a non-zerostrict_validation_summary) or anything a future release adds is refused without being enumerated. On top of that:overall_passed: true, exact counts, an unobservable all-zero strict-validation summary, exactly one expected phase and one expected step, canonicalnot_applicablewith a non-blank detail, noskip.requirement, no validation evidence on the row. 28 adversarial mutations are pinned, each required not to reachpassing.storyboardCapabilityPredicatesis exported so the rollup keys on the same predicate set the runner gates on, rather than re-listing the fields and drifting when one is added.Routed runs no longer mislabel an unmet requirement as a capability gap
The routed preflight folded an unmet
request_signerinto the same channel as an authored capability failure, so the storyboard reportedcapability_unsupportedwith noskip.requirement— claiming the authored predicate had evaluated false when the agent had in fact satisfied it. Same agent, two verdicts:skip.requirementrequirement_unmet:request_signerrequest_signerpartialcapability_unsupportedpassingrequirement_unmet:request_signerrequest_signerpartialThe two provenances now have separate channels, and the routed verdict is handed to the ordered
requiresgate rather than returned ahead of it, so an earlier unmet gate still wins in routed mode exactly as it does non-routed:requires['controller','future_runtime','request_signer']future_runtimefuture_runtime['controller','request_signer']controllercontroller['request_signer']request_signerrequest_signerThe mislabeled root row is removed, not merely tagged, and per-step partial coverage keeps its existing
not_applicable+skip.requirementbehaviour, which the routed-applicability suite pins.Version-excluded storyboards (
options.notApplicable, derived from the agent's declaredmajor_versions) keep capping the bundle exactly as onorigin/main— that is a separate pre-existing path on an input the agent controls, and this PR deliberately does not forgive it.Fail-closed controls (each pinned by a test)
requirement_unmetvalue —multi_agent,webhook_receiver,seeded_state,real_wire,trusted_match_publisher_auth_runner,controller, unrecognized forward-compatpartialcompliance_testing.*capability gate (bothrequires_capabilityandrequires_all_capabilitiesforms)partialpartialadcp_versionabsent,3.0.25, or3.1.18partialpartialpartialnot_applicablepassingrequired_any_of_toolsfamily gatepartialmissing_tool/missing_test_controller/prerequisite_failed/not_applicablepartialpartialpartialpartial/failingfailingnot_applicable, neverpassingfailingRequirement reporting: identical routed and non-routed
checkRequiresreports the first unmet gate in declared order, with no requirement class reordered and no class overriding another. Both earlier attempts — movingmulti_agentlast, and letting an unrecognized value override a precomputed routed verdict — are removed. Only assessability varies by mode, and the runner equalizes it:controllerandrequest_signerself-defer while no profile is threaded through;multi_agentand unrecognized forward-compat values are statically decidable and answer in place. An unmet topology gate reportsrequirement_unmetinstead of letting the run proceed into a discovery failure.request_signerverdict (whichcheckRequirescannot recompute without a run-level profile) is consumed at its declared position.One routed carve-out:
controlleris answered from advertised tools and routed discovered tools are authoritative, so it is excluded from the pre-flight list — filtered, not truncated at, so requirements declared after it keep their positions — and answered post-discovery.Parity matrix (pinned)
requires(declared order)origin/main[request_signer, future_runtime]future_runtimefuture_runtime[future_runtime, request_signer]future_runtimefuture_runtime[multi_agent, request_signer, future_runtime]multi_agentmulti_agent[controller, future_runtime]future_runtimefuture_runtimecontroller)[controller, multi_agent]multi_agentmulti_agentcontroller)[multi_agent, controller]multi_agentmulti_agent[request_signer, future_runtime]request_signerrequest_signercapability_unsupported)[future_runtime, request_signer]future_runtimefuture_runtimecapability_unsupported)[controller, multi_agent]controllercontroller[multi_agent, controller]multi_agentmulti_agentMeasured on a clean
origin/mainworktree: 4 of 10 cells diverge on base, 0 here. The two satisfied-predicate rows are the mislabel — routed reportedcapability_unsupported, claiming the authored predicate had evaluated false when the agent had satisfied it. Grading was never affected on thecontrollerrows (both verdicts arerequirement_unmetand both cap), but the reported requirement differed.Version scoping: AdCP 3.1.x unchanged, deferred upstream
The issue was filed against an older bundle whose copy of the scenario declares no machine-readable capability predicate — no
requires_capability, norequires, noagent:pins, and nosync_plansentry inrequired_tools. Nothing declared distinguishes a pure seller from a claimant there.Selection is not the lever either:
resolveStoryboardsForCapabilitiesselectsgovernance_approvedfor a pure seller at both 3.1.18 (83 storyboards) and 3.2 (145), so there is no narrow provable SDK selection fix. Both facts are pinned as tests, including that the 3.1.x run still gradessync_plans→missing_toolwith all four seller-side steps executing and passing — no seller-owned row is hidden, and 3.1.x grading is untouched.Closing the legacy case needs the 3.2 declarations (
requires_capability,requires: [multi_agent],agent: governance) backported into 3.1.x upstream. An earlier attempt to infer the distinction from astateful+required_toolsshape heuristic was implemented, reviewed, and dropped:required_toolsis specified as "tool names the storyboard uses… lenient any-of for applicability", and the contract scopes the sole-stateful-step exemption to cascade suppression only ("the exemption suppresses only the cascade, not the step's own skip reason"). Neither field carries the meaning such a rule would need.Routed
controllerprovenanceA second, independent false pass surfaced during review and is fixed here.
runStoryboardbuilds a union of every tenant's advertised tools so arequired_toolsANY-OF family gate passes when any tenant serves any member — disjunctive by design. Thecontrollergate read that same union, which is the opposite question: a peer tenant'scomply_test_controllercannot seed another tenant's state. A seller advertising no controller, mapped beside an unrelated signals peer that advertises one, therefore clearedrequires: [controller], executed its steps against unseeded state, and graded green — while a non-routed run of the same seller correctly reportedmissing_test_controller. That is the same routed/non-routed divergence class this PR exists to close. The runner already asserts the invariant one screen away, where routed fixture resolution refuses to let "a union member authorize a selected agent's operation".This behaviour predates the branch and reproduces on
main— verified in a clean checkout ofcbe5f33awith canonicalschemas:ensureand a fullnpm run build:lib.The gate is now unmet only when no route serving a state-exercising step advertises its own
comply_test_controller. Steps whose task iscomply_test_controllerare excluded from that set — the back-channel cannot vouch for the route it is dispatched to. The verdict is established per route during the routing preflight and consumed at its declared position, so an earlier unmet requirement still wins and routing failures still outrank it.The rule is deliberately narrower than "every callable route needs one": a route that is only read from — a signals peer serving static marketplace data — is no fixture target, and a storyboard mixing a seeded seller with such a peer still runs. A single control plane genuinely fronting two tenants has to be declared, not inferred; per-tenant seed dispatch is the follow-up already tracked where routed plus
prerequisites.controller_seeding: truefail-fasts. Scope is routed runs only; non-routed is untouched in both directions, and the disjunctiverequired_any_of_toolsunion keeps its behaviour.Controller seeding's own missing-controller applicability check takes the same selected-route provenance. That one is defence in depth, not a live fix: three guards make it unreachable in routed mode today (
skip_controller_seedingreturns early, a storyboard withoutcontroller_seedingreturns early, and routed pluscontroller_seeding: truehard-throws before seeding is called).Two follow-ups are flagged and deliberately not done here: a hard routing error for an unpinned
comply_test_controller(the same per-tenant seed routing already tracked in-code), and an explicitcontroller_agentopt-in for a genuinely shared control plane (new public API, deserves its own decision).Test determinism (no assertion changed)
The headline release-criterion test was failing non-deterministically — and in isolation, 3/3. Root cause was the test harness, not the runner: a storyboard run pauses between steps while ajv compiles the next task's schemas (measured at 5.5s between
get_productsandcreate_media_buy), and Node's default 5skeepAliveTimeoutreaped the pooled socket inside that gap, so the next dispatch landed on a half-closed connection and a bare undicifetch failedwas graded as a genuine step failure. The mock now holds connections open for the length of a run (keepAliveTimeout/headersTimeout, the idiom already used inmedia-buy-lifecycle-release-gate.test.js:798). No assertion weakened, no retry added, nosrc/change. Measured 3/3 red before, 12/12 green after.Routing diagnostics (grading unchanged)
The unclaimed-protocol routing error now names the agents that advertise the tool without declaring its protocol, so the operator sees the declaration to fix. The
kind/protocol/toolAdvertisedByfields added earlier in this branch have been removed — no source consumer survived the design changes, and adding dead public-ish surface is not worth it. No new bundle or result field is introduced anywhere in this PR —src/lib/testing/compliance/types.tsis byte-identical tomain. No routing grade changes: every routing failure is still a failure.Tests
test/lib/storyboard-capability-rollup.test.js— 40 tests (registered inSLOW_NODE_TESTS: it boots live MCP agents and loads two real compliance bundles): executed (A) and (B) against the real pinned scenarios with premise guards on their declarations; version scoping (selection in both bundles, 3.1.x grades unchanged); rollup discrimination including all three anchors and every fail-closed control above; executed requirement-ordering controls; the routed/non-routed parity regression for an unmetrequest_signer(identical rows, nocapability_unsupportedrow,partialboth ways); the version-scoping threshold table and the enumerated 3.1.18 sweep; and the real-bundle aggregate regressions; and the routing-error message that names the advertising agents.Verified on this head, in a fresh physical checkout (
git clone --no-hardlinksat the exact push SHA, canonicalnpm run schemas:ensure, fullnpm run build:lib— both exit 0; no shared or hardlinkeddist):storyboard-capability-rollup40 +storyboard-requires-gate53), repeated 3x, 93/93 each time.storyboard-routed-applicability,storyboard-routed-bundles,storyboard-controller-seeding,storyboard-controller-mode-gate,storyboard-capability-gate,storyboard-compound-capability-gate,storyboard-phase-capability-cascade,storyboard-fixture-resolution,storyboard-provides-state-for,compliance-required-tools-applicability,compliance-bundle-results,storyboard-skip-counting,seed-get-products-wiring,seed-per-tool-wiring,test-controller-seed-buyer-agent,conformance-seeder).tsc --noEmitclean, prettier clean, eslint 0 errors (unchanged from baseline), commitlint clean.Eight executed regressions pin the routed
controllerrule over live MCP agents: the reported topology reportsmissing_test_controllerwithskip.requirement: controllerand no step reaches the wire; acomply_test_controllerstep cannot vouch for the route it is dispatched to; the controller on the route under test still runs; a read-only peer without one does not skip the storyboard; routed and non-routed agree about the same seller both ways; the ANY-OF union still passes with the tool on one tenant only; routed pluscontroller_seeding: truestill fail-fasts; and non-routed seeding still grades from the agent's own tools. The back-channel exclusion is mutation-checked — removing it turns that regression red with the gate silently absent.Two changesets included: a minor entry for the rollup grading change (adopter CI will notice) and a patch entry for the routed
controllerprovenance fix.🤖 Generated with Claude Code
Open workspace in Conductor