Repository navigation
fix(signals): backport error applicability to 3.2 - #8581
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean backport of #8579 to 3.2.x with no blocking or medium findings.
Checked:
- Handler change at
server/src/training-agent/task-handlers.ts:19313-19323rejects non-stringsignal_specwith INVALID_REQUEST/correctable, matching the handler's existing error-return convention (L19333-19363). - Schema↔docs coherence:
conformance.mdxandcompliance-storyboard-inventory.mdxboth updated to match the baseline's new discovery-only scope. - Activation negatives preserved (not dropped) — moved into the required
signal_marketplace/error_compliancescenario and added torequires_scenarios, consistent with the signal-owned specialism. - Changeset is
patch; releaseddist/**artifacts untouched. - No oneOf/schema-source changes; no discriminator regression.
- No governance-decision contradiction (DR-0001 normative basis satisfied).
No critical/high/medium findings. high_risk false, gated_paths false, no author-team gate, no prior decision. Falls through to row 9.
|
Maintenance forward-merge note: main #8579 merged first at A read-only merge preview of these actual heads finds only two conflict hunks in |
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]>
Backports #8579 to 3.2.x; refs #8503. Discovery-only signals agents no longer inherit activation-only error checks. The shared error storyboard exercises malformed discovery; marketplaces retain both activation negatives in a required companion. The reference training handler rejects non-string signal_spec instead of silently returning a catalog.
The patch changeset covers the source compliance correction. Package version, SDK pin, schemas and published artifacts are unchanged. Missing required tools/controller support still leave coverage incomplete; invalid acceptance, wrong error codes and missing context still fail.
Validation in Docker against the branch's existing SDK14.0.0-rc.53:
Coverage boundaries: code/context assertions do not independently prove complete recovery structure or raw MCP flags. Optional activation on an owned agent without a marketplace claim remains baseline-only. Broader Strict grading bugs #8527/#8534/#8506 are separate.
The full storyboard matrix runs in CI; the push uses the documented advisory local-matrix skip while retaining other hooks.
Normal pre-commit hooks pass: 1,174 root unit tests, 11,767 server tests (31 expected skips), and typecheck. The first network-disabled full-hook attempt failed on DNS/IPv6-dependent tests; all 22 affected tests and the full hooks pass under Docker host networking without source changes.
Main fix #8579 merged first at 0d3697b after exact-head approval and the full CI matrix passed. This backport remains gated on its independent CI/review.