Skip to content

fix(signals): backport error applicability to 3.2 - #8581

Merged
bokelley merged 1 commit into
3.2.xfrom
fix/3.2-signals-error-applicability
Oct 29, 2026
Merged

bokelley merged 1 commit into
3.2.xfrom
fix/3.2-signals-error-applicability

Conversation

@bokelley

@bokelley bokelley commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Complete capability test file: 46 pass, zero skips. New controls exercise actual public resolver/runner/bundle APIs and every authored validation. This SDK's zero-observation lifecycle assertions still yield a partial rollup; the backport explicitly preserves that existing limitation rather than claiming full completion.
  • Real local MCP: both changed storyboards have zero failed/skipped steps (7 and 4 passing steps including fixture seeding).
  • Handler suite: 35 selected tests pass, including seven invalid-type and two valid string/legacy-brief cases.
  • Compliance build/authoring, typecheck, Changeset scope/status against origin/3.2.x and independent code/security review pass.

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.

@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 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-19323 rejects non-string signal_spec with INVALID_REQUEST/correctable, matching the handler's existing error-return convention (L19333-19363).
  • Schema↔docs coherence: conformance.mdx and compliance-storyboard-inventory.mdx both updated to match the baseline's new discovery-only scope.
  • Activation negatives preserved (not dropped) — moved into the required signal_marketplace/error_compliance scenario and added to requires_scenarios, consistent with the signal-owned specialism.
  • Changeset is patch; released dist/** 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.

@bokelley
bokelley merged commit e66cae9 into 3.2.x Oct 29, 2026
49 checks passed
@bokelley
bokelley deleted the fix/3.2-signals-error-applicability branch October 29, 2026 10:53

Copy link
Copy Markdown
Contributor Author

Maintenance forward-merge note: main #8579 merged first at 0d3697b7a8b986faebdb2198663ac9efbe0dab1c; this backport merged at e66cae991d37ff4ca73c206f7ef82db5812c40bd, both after their full matrices and exact-head review audits passed.

A read-only merge preview of these actual heads finds only two conflict hunks in tests/sdk-runner-capability-gates.test.cjs: the modern SDK test requires a passing discovery bundle; the stable SDK14 test explicitly preserves its existing zero-observation/partial limitation. Preserve each line's intended assertion. All protocol/storyboard/handler/doc changes are already identical on main. Resolving only those two hunks to retain the modern control produces exactly main's current tree, so there is no additional source change to land at these heads. Future release-record forward-merges should retain that distinction; do not blanket-resolve content or weaken the modern regression check.

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