Repository navigation
fix(compliance): gate authored optional-tool paths and their dependents - #8263
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — compliance storyboard applicability fix, clean review.
This PR corrects optional-tool applicability across 9 media-buy storyboards, adding capability/tool gates where compact control, acceptance, proposal production, and conversion-dependent settlement are the actual prerequisites, while preserving independent discovery/create/finalize coverage. The load-bearing DOOH refactor was verified: it removes the context_outputs producer of dooh_product_id (base L246) and rewrites all four consumers (L379, L444, L460, L549) to the seeded fixture dooh_transit_concourse_loop, with no dangling $context.dooh_product_id surviving and branch-set lint satisfied.
Changeset present and typed patch — source-only compliance edit, no dist/** immutable artifact touched, no schema/oneOf/wire-shape change, not breaking-class. A 446-line regression suite covers absent-tool skip, advertised-broken fail, missing-tool fail, and the stateful cascade after create failure.
No critical/high/medium findings. gated_paths is false and no high-risk paths are touched, so no gate applies. The non-blocking follow-up (authoritative storyboard matrix deferred to the required PR CI matrix) is noted but does not block. Falls through to decision table row 9.
Merge the published v3.2.6 maintenance release (tag v3.2.6, 3523bdc, the adcontextprotocol#8274 Version Packages merge on 3.2.x) into main as a record-only merge, following adcontextprotocol#8278 for 3.2.5. The merge keeps main's tree (ours strategy) and adds only the 3.2.6 release records: - dist/schemas/3.2.6/, dist/compliance/3.2.6/ and the signed dist/protocol/3.2.6.tgz{,.crt,.sha256,.sig} tuple, byte-identical to the tag. - CHANGELOG.md: the 3.2.6 block, verbatim from the tag, inserted below main's 3.3.0-beta.0 section. (The workflow's take-3.2.x rule would have dropped that section.) - static/compliance/published-versions.json: register 3.2.6, matching the 3.2.x manifest. - dist/schemas/index.json and latest.json: regenerated by build:schemas; latest_stable, v3 and v3.2 now 3.2.6. main's 3.3.0-beta.0 entry and v3.0 (3.0.28) are kept; taking 3.2.x's copy would have regressed both. The 3.2.5..3.2.6 source changes are all backports of work already on main in its main form (adcontextprotocol#8335, adcontextprotocol#8402, adcontextprotocol#8218, adcontextprotocol#8216, adcontextprotocol#8341/adcontextprotocol#8387, adcontextprotocol#8327/adcontextprotocol#8334, adcontextprotocol#8260, adcontextprotocol#8261, adcontextprotocol#8263, adcontextprotocol#8244), so no 3.2.x source is taken. The second parent records that reconciliation so the next 3.2.x forward merge does not re-conflict on it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Fixes #8253.
Correct authored optional-tool applicability across the nine storyboards and 20 steps identified in the issue. Preserve independent discovery/create/finalize coverage; gate compact control, acceptance, proposal production, and conversion-dependent settlement with their actual declarations. Keep claimed-but-missing tools and advertised-but-broken tools failing under the existing hosted classifier.
required_toolsremains any-of.DOOH can exercise either supported discovery surface. The optional exact
list_productsprobe retains its product assertions; brief discovery accepts lawful curation. A required stateful discovery assertion and controller-seeded fixture handles prevent unsupported discovery from reaching negative purchase probes. State-dependent frequency probes also stop after failed setup.Validation:
Independent CI annotation audit: expected publication-guard rejection fixtures (57/57 passed), release-navigation fixture warnings (41/41 passed), and existing platform/action notices; no fix-required CodeQL/security findings.
Independent protocol, code, testing, and security review: no remaining blockers. Review corrections preserve independent baseline coverage, prevent stateless cascade escapes and unresolved negative probes, and respect legal brief curation.
This carries a protocol patch changeset; the affected source is identical on main and 3.2.x, so the reviewed cherry-pick follows the main merge. No runner/grader implementation or immutable release artifacts change. Adjacent #8199/#8218, #8252, and #8254 are outside this diff.