Repository navigation
feat(schema): add x-status: experimental to all TMP schemas + seller-agent-ref - #3063
Merged
Merged
Conversation
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
force-pushed
the
claude/issue-3062-tmp-experimental-marker
branch
from
April 24, 2026 22:13
c314af8 to
da446c5
Compare
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
marked this pull request as ready for review
April 24, 2026 23:04
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]>
This was referenced Jun 8, 2026
Merged
Merged
This was referenced Sep 29, 2026
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3062
Adds
"x-status": "experimental"at the schema root of all 9 schemas instatic/schemas/source/tmp/andcore/seller-agent-ref.json(exclusively referenced by TMP). Theget_adcp_capabilitiesresponse already declarestrusted_match.coreas experimental, andexperimental-status.mdxalready 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.jsonis included becauseexperimental-status.mdxexplicitly statesx-statusis not inherited through$ref— each schema in the surface must carry it directly. This schema is referenced exclusively bytmp/available-package.jsonandtmp/offer.json.Non-breaking justification: adds an
x-statusmetadata 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.jsonresolution keeps main's extended description (withseller_agentbinding language) and addsx-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-statuswas 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, anderror.jsonsetadditionalProperties: truewhile the corresponding request schemas setadditionalProperties: false. This inconsistency predates this PR and is worth a separate issue, but is out of scope here.Pre-PR review:
patchcorrect, conflict resolution verified byte-for-byte against main, changeset filename descriptive, 10/10 schemas coveredpatchbump sound per experimental-surface downgrade rule, schema-root annotation is complementary to (not redundant with) property-level annotation onget_adcp_capabilities, adcp-go drift linter poses no risk, rebase conflict resolution soundSession: https://claude.ai/code/session_016xnjLF6QTXfJQkr549Zh9U
Generated by Claude Code