Skip to content

fix(compliance): scope universal error and schema checks by protocol - #8601

Merged
bokelley merged 1 commit into
mainfrom
fix/universal-protocol-applicability
Oct 30, 2026
Merged

bokelley merged 1 commit into
mainfrom
fix/universal-protocol-applicability

Conversation

@bokelley

@bokelley bokelley commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Universal media-buy error/schema checks currently count against signals-only agents, and their signals counterparts count against media-buy-only agents. Add explicit root supported_protocols predicates to the four storyboards so the runner evaluates applicability before controller and tool requirements.

Claimants still need the required tools, fixture setup and successful assertions. Existing released compliance artifacts are unchanged. Each storyboard component advances by a patch and the protocol patch changeset records the correction.

Validation:

  • 16 new regressions in the existing CI-wired capability suite: symmetric nonclaimants, single/dual claimants retaining controller gaps, real MCP assertion failures, and unchanged 3.2.7 declarations. Original source fails the four intended nonclaimant cases; 12 controls pass.
  • Full capability command: 233 passed across the main, evaluator and reporting-preflight suites. All 16 new tests also pass with the incoming SDK 17 beta.6 ordering candidate.
  • Real MCP probes pairing these actual source files with the SDK ordering correction yield two N/A and two incomplete bundles for each single-protocol agent, with no fixture calls. The immutable 3.2.7 files retain four incomplete bundles and their two unrelated missing-tool entries.
  • Normal Docker commit hook passed: 1,276 root and 13,427 server tests (31 existing opt-in skips), server typecheck and the test-aware rollout typecheck. Protocol/DX, code and security review clear. The source-triggered GitHub storyboard matrix and all other CI are required before merge; the local advisory matrix was deferred to CI on the loaded VM.

Refs #8527 and #8534. This is a bounded applicability repair, not completion of those issues. Capability-selected comply() also needs the companion SDK ordering fix to reach the authored gates when none of a storyboard's required tools are advertised. SDK release/adoption and a new protocol bundle are required; this PR publishes neither. Broader optional capabilities, account foundation obligations, routed topology applicability and unselected scenario accounting remain separate.


Open workspace in Conductor

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — clean capability-gate fix on universal compliance storyboards.

This PR adds root-level requires_capability gates (path: supported_protocols, contains: media_buy/signals) to four universal error/schema storyboards so applicability is evaluated before controller/tool requirements, matching the documented contract in storyboard-schema.yaml. Verified:

  • Version bumps consistent with base (error-compliance 1.0.0→1.0.1, error-compliance-signals 1.0.1→1.0.2, schema-validation 1.0.0→1.0.1, schema-validation-signals 1.0.0→1.0.1).
  • patch changeset present and correctly scoped to the published compliance surface.
  • Gate shape and contains-on-array semantics match prior usage (webhook-emission, wholesale-feed-signals); narratives already protocol-specific, no doc drift.
  • dist/compliance/3.2.7 untouched (immutability preserved); new test guards it.
  • Tests cover nonclaimant skip, single/dual claimant controller gap, real assertion failure, and the immutable dist.

Breaking-class check: this is an additive applicability gate scoping existing storyboards (creative-only agents skip error storyboards they could never pass) — not a wire-shape break, removal, rename, or normative tightening on the published protocol surface. Editorial/normative-non-breaking in nature; the hard breaking-class gate does not apply.

No Critical/High/Medium findings. No gated paths, no high-risk flag, no team gate, no prior decision. Falls through to row 9.

@bokelley
bokelley merged commit c788bbc into main Oct 30, 2026
56 checks passed
@bokelley
bokelley deleted the fix/universal-protocol-applicability branch October 30, 2026 09:54
aymeric45 pushed a commit to aymeric45/adcp that referenced this pull request Nov 11, 2026
Forward-merges the published 3.2.9 release (v3.2.9 = 39e9353) and every
3.2.x maintenance commit before it. Supersedes the a4af1a1 forward-merge
in adcontextprotocol#8820, which is an ancestor of v3.2.9.

Release records:
- dist/compliance/3.2.9, dist/schemas/3.2.9 and the signed
  dist/protocol/3.2.9.tgz tuple are taken from v3.2.9 unchanged.
- dist/schemas/index.json and latest.json are regenerated
  (forward-merge-release-records.cjs schema-discovery).
- CHANGELOG.md is main's file plus the 3.2.9 block.
- package.json, package-lock.json, static/schemas/source/index.json: main's.
- static/compliance/published-versions.json: main's. 3.2.x's only extra
  entry is 3.2.9, which is registered in a separate commit after
  qualification.

Content conflicts, all resolved to main's file:
- docs/media-buy/advanced-topics/targeting.mdx: the 3.2.x side is exactly
  adcontextprotocol#7926, 3.2-only optional gender agreement docs; main carries core gender
  targeting (adcontextprotocol#7925) instead.
- static/compliance/source/universal/error-compliance-signals.yaml: main's
  is the adcontextprotocol#8581 backport content plus main-only adcontextprotocol#8601 (version 1.0.2 and the
  signals capability gate).
- tests/sdk-runner-capability-gates.test.cjs: the only 3.2.x-only test is
  the SDK 14 variant of main's "signals discovery error bundle passes" test.
- server/tests/unit/storyboards.test.ts: adcontextprotocol#8825's 3.2.x-shaped 3.1.32
  integration tests; main already integrated 3.1.32 and 3.1.33 with its own
  test shape, and the non-conflicting adcontextprotocol#8825 hunk is already on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant