Skip to content

feat(schema): add x-status: experimental to all TMP schemas + seller-agent-ref - #3063

Merged
bokelley merged 3 commits into
mainfrom
claude/issue-3062-tmp-experimental-marker
Apr 24, 2026
Merged

bokelley merged 3 commits into
mainfrom
claude/issue-3062-tmp-experimental-marker

Conversation

@bokelley

@bokelley bokelley commented Apr 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #3062

Adds "x-status": "experimental" at the schema root of all 9 schemas in static/schemas/source/tmp/ and core/seller-agent-ref.json (exclusively referenced by TMP). The get_adcp_capabilities response already declares trusted_match.core as experimental, and experimental-status.mdx already lists it; the schemas were the only missing piece. Mirrors the identical pattern on all 11 sponsored-intelligence schemas, enabling validators, doc generators, and tooling to consistently identify TMP as an experimental surface.

seller-agent-ref.json is included because experimental-status.mdx explicitly states x-status is not inherited through $ref — each schema in the surface must carry it directly. This schema is referenced exclusively by tmp/available-package.json and tmp/offer.json.

Non-breaking justification: adds an x-status metadata annotation only — no fields added or removed, no type changes, no required changes, no enum changes. JSON Schema draft-07 ignores unknown root-level keys; existing TMP validators and consumers are unaffected.

Conflict resolved: branch rebased over main after PR #2984 (feat(tmp): require seller_agent on AvailablePackage) merged. available-package.json resolution keeps main's extended description (with seller_agent binding language) and adds x-status — both changes preserved.

Changeset: patch (annotation change on experimental surface; patch → patch, no further downgrade per triage-experimental-bump-downgrade rule).

Note for reviewer: adcp-go's schema-drift linter (PR adcp-go#76) will report expected drift on all 10 changed files after this merges. This is correct behavior — the linter detects x-status was added. No adcp-go code changes needed.

Pre-existing concern (not introduced by this PR): The second protocol-expert pass flagged that context-match-response.json, identity-match-response.json, offer.json, and error.json set additionalProperties: true while the corresponding request schemas set additionalProperties: false. This inconsistency predates this PR and is worth a separate issue, but is out of scope here.

Pre-PR review:

  • code-reviewer: approved — JSON valid, placement consistent with SI pattern, bump patch correct, conflict resolution verified byte-for-byte against main, changeset filename descriptive, 10/10 schemas covered
  • ad-tech-protocol-expert: approved — draft-07 ignores unknown root keywords (no validator impact), patch bump sound per experimental-surface downgrade rule, schema-root annotation is complementary to (not redundant with) property-level annotation on get_adcp_capabilities, adcp-go drift linter poses no risk, rebase conflict resolution sound

Session: https://claude.ai/code/session_016xnjLF6QTXfJQkr549Zh9U


Generated by Claude Code

claude and others added 2 commits April 24, 2026 22:09
Closes #3062

Adds `"x-status": "experimental"` at the schema root of all 9 schemas
in static/schemas/source/tmp/, completing the experimental-status
contract for the TMP surface. The get_adcp_capabilities response already
declares trusted_match.core as experimental, and experimental-status.mdx
already lists it; the schemas were the only missing piece.

Mirrors the identical pattern on all 11 sponsored-intelligence schemas.

https://claude.ai/code/session_01MXtz5XuKvJFS4nYmBJeSh6
Triage routine wrote this as --empty arguing 'annotation-only, no
wire-format impact.' Per CLAUDE.md, patch/minor/major are required
for any change to the published AdCP protocol spec including
schemas — even metadata. Per the new experimental-surface
downgrade rule (#3060), patch stays patch (no further downgrade).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@bokelley
bokelley force-pushed the claude/issue-3062-tmp-experimental-marker branch from c314af8 to da446c5 Compare April 24, 2026 22:13
seller-agent-ref.json is referenced exclusively by TMP schemas (offer.json,
available-package.json). experimental-status.mdx explicitly states the marker
is not inherited through $ref, so each schema in the surface must carry it
directly. Completes the TMP experimental-status contract started in the
previous commit.

https://claude.ai/code/session_016xnjLF6QTXfJQkr549Zh9U
@bokelley bokelley changed the title feat(schema): add x-status: experimental to all 9 TMP schemas feat(schema): add x-status: experimental to all TMP schemas + seller-agent-ref Apr 24, 2026
@bokelley
bokelley marked this pull request as ready for review April 24, 2026 23:04
@bokelley
bokelley merged commit 90ad0dd into main Apr 24, 2026
12 checks passed
@bokelley
bokelley deleted the claude/issue-3062-tmp-experimental-marker branch April 24, 2026 23:05
ohalushchak-exadel added a commit that referenced this pull request Jun 8, 2026
)

* spec(tmp): add required seller_agent_url to context_match_request

The context-match request now carries seller_agent_url, mirroring the
identity-match request (#3687). The provider uses it to resolve the
active package set it has synced for the asking seller; when
package_ids is omitted, evaluation runs against that seller's full set,
and an unknown seller_agent_url MUST return empty rather than fall back
to another seller's set.

This reverses PR #3063's decision to keep seller identity off the
context request. A provider serves many sellers and needs the asking
seller on the wire to scope its active-set resolution without a
deployment-pinned constant — the same role seller_agent_url plays on
the identity path. It does not weaken package-set decorrelation:
seller_agent_url is a single stable value per placement, carries no
user identity, and adds no per-user signal; the decorrelation guarantee
constrains per-user-varying data (package_ids), which is unchanged. The
package-side seller_agent binding remains attribution-only.

Required, consistent with identity-match; context_match_request is
x-status experimental so the added required field is permitted
pre-stable. Normative seller-attribution prose, request examples across
the trusted-match docs, and the example-validation fixtures are updated
to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* spec(tmp): add seller_agent_url row to the ContextMatchRequest field table

The schema change made seller_agent_url required, but the normative
ContextMatchRequest field table in specification.mdx — what adopters
build the request from — was missing the row, so a request built from
the table would fail validation. Add the row after placement_id,
mirroring the IdentityMatchRequest table.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* docs(changeset): clarify context vs identity seller resolution is actor-specific

The buyer-vs-provider resolution boundary is an intended difference, not
a mirror: the field shape/placement matches identity-match, but the
context path resolves the provider's synced set while the identity path
resolves the buyer agent's registered set. Wording only.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request Sep 30, 2026
…t tenants

The training-agent storyboard harness now routes storyboards that declare
requires: [multi_agent] across the tenants of its one embedded training
agent. Each authored agent key maps to its sibling tenant under
/api/training-agent/<key>/mcp, and default_agent must be the tenant under
test, which keeps the job's own URL. The authored governed-agent context key
(seller/signal/brand/creative_agent_url) gets that tenant's service
identity, and the canonical base is pinned to the local origin for the run,
as for webhook_emission. Single-tenant storyboards are unchanged.

Also drops the media_buy_seller/account_change_feed brandFromKit exclusion,
which @adcp/sdk rc.50 no longer needs (17/17 without it).

Draft: on rc.50 the governed calls still never run, because of
adcontextprotocol/adcp-client#3061, #3062 and #3063, and #7767.

Part of #7741

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request Sep 30, 2026
…t tenants

The training-agent storyboard harness now routes storyboards that declare
requires: [multi_agent] across the tenants of its one embedded training
agent. Each authored agent key maps to its sibling tenant under
/api/training-agent/<key>/mcp, and default_agent must be the tenant under
test, which keeps the job's own URL. The authored governed-agent context key
(seller/signal/brand/creative_agent_url) gets that tenant's service
identity, and the canonical base is pinned to the local origin for the run,
as for webhook_emission. Single-tenant storyboards are unchanged.

Also drops the media_buy_seller/account_change_feed brandFromKit exclusion,
which @adcp/sdk rc.50 no longer needs (17/17 without it).

Draft: on rc.50 the governed calls still never run, because of
adcontextprotocol/adcp-client#3061, #3062 and #3063, and #7767.

Part of #7741

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request Sep 30, 2026
* chore(deps): update @adcp/sdk to 14.0.0-rc.51

rc.51 still embeds 3.2.0-rc.7, so the training agent keeps serving
3.2-rc.7. It evaluates routed storyboard capability gates against the
default agent (adcp-client#3061), keeps AdCP 3.2 governed requests
identical to the payload approved by check_governance
(adcp-client#3062, #3063), and honors seller-declared buying modes and
account requirements before get_products dispatch.

- Move the current-state SDK pins in docs, certification prompts, and
  provenance test fixtures to rc.51.
- Re-record the TypeScript SDK conformance baseline from a real run:
  only the SDK version changes; the finding and coverage are identical,
  and the Python and Go entries are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(registry): report SDK buying-mode refusals as unsupported product browsing

@adcp/sdk rc.51 refuses wholesale get_products before dispatch when a
3.1+ seller doesn't declare the wholesale buying mode, and refuses
account-scoped discovery without an account when the seller requires
one. /api/public/agent-products turned both into a generic 502 "Failed
to fetch products". Report them as 422 with a message the registry UI
already surfaces; genuine agent failures stay 502.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request Sep 30, 2026
…t tenants (#7768)

* chore(deps): update @adcp/sdk to 14.0.0-rc.51

rc.51 still embeds 3.2.0-rc.7, so the training agent keeps serving
3.2-rc.7. It evaluates routed storyboard capability gates against the
default agent (adcp-client#3061), keeps AdCP 3.2 governed requests
identical to the payload approved by check_governance
(adcp-client#3062, #3063), and honors seller-declared buying modes and
account requirements before get_products dispatch.

- Move the current-state SDK pins in docs, certification prompts, and
  provenance test fixtures to rc.51.
- Re-record the TypeScript SDK conformance baseline from a real run:
  only the SDK version changes; the finding and coverage are identical,
  and the Python and Go entries are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(registry): report SDK buying-mode refusals as unsupported product browsing

@adcp/sdk rc.51 refuses wholesale get_products before dispatch when a
3.1+ seller doesn't declare the wholesale buying mode, and refuses
account-scoped discovery without an account when the seller requires
one. /api/public/agent-products turned both into a generic 502 "Failed
to fetch products". Report them as 422 with a message the registry UI
already surfaces; genuine agent failures stay 502.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* feat(storyboards): route multi_agent storyboards across training-agent tenants

The training-agent storyboard harness now routes storyboards that declare
requires: [multi_agent] across the tenants of its one embedded training
agent. Each authored agent key maps to its sibling tenant under
/api/training-agent/<key>/mcp, and default_agent must be the tenant under
test, which keeps the job's own URL. The authored governed-agent context key
(seller/signal/brand/creative_agent_url) gets that tenant's service
identity, and the canonical base is pinned to the local origin for the run,
as for webhook_emission. Single-tenant storyboards are unchanged.

Also drops the media_buy_seller/account_change_feed brandFromKit exclusion,
which @adcp/sdk rc.50 no longer needs (17/17 without it).

Draft: on rc.50 the governed calls still never run, because of
adcontextprotocol/adcp-client#3061, #3062 and #3063, and #7767.

Part of #7741

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* test(storyboards): require routed multi_agent governance storyboards to execute

On @adcp/sdk 14.0.0-rc.51 the routed requires: [multi_agent] governance
storyboards run their governed calls end to end against the governance
tenant. Pin their exact step counts in the local matrix and the CI
workflow, so a routing or runner regression that collapses them back to
a single skipped row fails the gate:

- sales: media_buy_seller/governance_approved 13P, governance_conditions
  12P, governance_denied 5P
- signals: signal_marketplace/governance_approved 7P
- brand: brand_rights/governance_approved 7P
- creative-builder: creative_transformers/governance_approved 6P

The matrix script's governance-only required-exact loop now selects the
list per tenant.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* test(storyboards): cover routing identity, context and auth edge cases

Use a service-identity base distinct from the routing base so a swap
between them fails, and cover the seller_agent_url override, storyboards
with no governed-agent context key, trailing-slash bases, and jobs with
no auth. The CI routed-storyboard step now fails loudly if its tenant
list drifts from its if: condition.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[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.

Add x-status: experimental marker to TMP schemas

2 participants