Skip to content

feat(schema): mark the account change feed experimental for 3.2 - #7727

Merged
bokelley merged 1 commit into
mainfrom
feat/account-change-feed-experimental
Sep 29, 2026
Merged

bokelley merged 1 commit into
mainfrom
feat/account-change-feed-experimental

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Marks the AdCP 3.2 account change feed as experimental, under the new feature id account.change_feed, while RFC #6810 stays open. This follows the maintainer decision for 3.2 GA and resolves audit finding M-4: the task page said it was "not normative until ratified" while the schema shipped as stable.

This PR adds annotations and docs only. No wire shape changes, so it is allowed under the GA freeze.

Schema annotations (x-status: experimental, same pattern as media_buy.reporting_delivery and protocol.principal)

  • account/list-account-changes-request.json, account/list-account-changes-response.json, and core/account-change-recorded-webhook.json: marked at the schema root. Each description now says sellers MUST declare account.change_feed in experimental_features.
  • protocol/get-adcp-capabilities-response.json: the account.change_feed property is marked.
  • enums/notification-type.json (account.change_recorded) and enums/error-code.json (CURSOR_EXPIRED): the descriptions now name the feature id, as reporting.* and SOURCE_ACCESS_FAILED already do. docs/snippets/compliance-error-codes.mdx is regenerated to match.

Docs

  • docs/reference/experimental-status.mdx: new account.change_feed row. It lists the task, the webhook, the capability block, CURSOR_EXPIRED, and the schema files. The reason given: the RFC is still open, only one reference implementation exists, and RFC feedback on echoing idempotency_key is still pending.
  • docs/accounts/tasks/list_account_changes.mdx: the "not normative until ratified" <Warning> is replaced with the standard experimental <Note>. It says sellers MUST declare the feature id and that the surface may change in 3.x minors with at least 6 weeks' notice.
  • The feed is also labelled experimental in:
    • get_adcp_capabilities (the example now includes experimental_features)
    • sync_accounts
    • snapshot-and-log
    • media-buy/specification
    • control_media_buy
    • list_creatives
    • the specialist learning path
    • the shared-account lab
  • specs/account-change-feed.md: the status header now reads "Experimental in AdCP 3.2 (account.change_feed); RFC pending ratification".
  • docs/accounts/overview.mdx does not describe the feed, so it is unchanged.

Training agent

  • server/src/training-agent/tenants/router.ts: whenever the sales tenant advertises account.change_feed, it now also lists account.change_feed in experimental_features.
  • account-change-feed-transport.test.ts: added an assertion for this.

Testing

  • npm run build:schemas: OK
  • npm run test:json-schema: 282 passed, 0 failed
  • npm run test:schemas, test:error-codes, test:principal, test:examples: all pass
  • npm run test:compliance-snippets (snippets and compliance symbol links are current), test:owned-links, test:doc-compliance-drift, test:docs-nav, test:storyboard-doc-parity: all pass
  • npx tsc --noEmit -p server/tsconfig.json: clean
  • vitest tenant-smoke.test.ts and server/tests/unit/account-change-feed.test.ts: pass
  • vitest account-change-feed-transport.test.ts: the new experimental_features assertion passes. A later seed_creative step fails, and it fails the same way on unmodified main in this sandbox, so the failure predates this PR.
  • Changeset: check-changeset-protocol-scope passes, and changesets status reports an adcontextprotocol patch.

Local pre-commit hook was bypassed (HUSKY=0) for environment reasons, with coordinator approval. The hook runs the full server unit suite. In this shared-disk sandbox worktree, node_modules is a symlink to the main checkout. Because of that, server/tests/unit/addie/fixed-trace-diagnostic-cli.test.ts and fixed-trace-dormant-dispatch.test.ts fail every time: they assert that tsx resolves under the worktree's own node_modules. On top of that, memory pressure killed a vitest worker (SIGKILL) during matched-pair-ni/exact-inference.test.ts, which passes when run alone (34/34). None of these tests touch files changed here. CI runs the full suite in a clean environment.

Follow-ups / not in this PR

  • No schema rule requiring experimental_features when account.change_feed.supported: true. The other experimental blocks have one, but adding it would make responses that are valid today fail validation. That is a normative wire change and not allowed during the freeze. Consider adding it in the next minor.
  • No storyboard gating change. static/compliance/source/protocols/media-buy/scenarios/account_change_feed.yaml is still gated on account.change_feed.supported, and I did not edit it because open PR fix(compliance): unblock the account_change_feed storyboard webhook and drain steps #7716 changes that file. Once fix(compliance): unblock the account_change_feed storyboard webhook and drain steps #7716 lands, a follow-up could add a check that the seller declares experimental_features contains account.change_feed, as audience_activation_discovery.yaml does.
  • Release notes, the what's new page, and migration docs are intentionally untouched. The GA flip PR covers them.

Refs #6810

🤖 Generated with Claude Code

Registers feature id account.change_feed while RFC #6810 remains open.
Adds x-status: experimental to the list_account_changes request/response,
the account.change_recorded webhook payload, and the account.change_feed
capability block; names the feature id on the account.change_recorded
notification type and CURSOR_EXPIRED error code; replaces the task page's
'not normative until ratified' warning with the standard experimental
callout; and makes the training agent declare account.change_feed in
experimental_features whenever it advertises the feed. Annotation and docs
only; no wire shape change.

Refs #6810

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

@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: Escalate to human review

Escalate — gated schema paths require human/CODEOWNERS review.

This PR modifies six files under static/schemas/source/**, which are under a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and the PR cannot be auto-approved (decision table row 2).

The reviewer found no Critical/High/Medium issues: schema↔docs coherence verified across all six schema edits and every doc surface, no oneOf discriminator regression, no dist/** mutation, a correctly-scoped annotation-only patch changeset, and a training-agent router change backed by a test. The diff itself looks clean — but the gated-paths rule requires a real human/CODEOWNERS approval before merge.

Escalation reasons

  • Modifies gated schema files under static/schemas/source/** (list-account-changes request/response, account-change-recorded webhook, error-code enum, notification-type enum, get-adcp-capabilities response) — human/CODEOWNERS review required (review_decision is REVIEW_REQUIRED, not APPROVED).

Why human review

  • Modifies gated files under static/schemas/source/** (six schema files) — hard approval gate requires human/CODEOWNERS review; review_decision is REVIEW_REQUIRED, not APPROVED
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/account/list-account-changes-request.json (modified) matches static/schemas/source/**; static/schemas/source/account/list-account-changes-response.json (modified) matches static/schemas/source/**; static/schemas/source/core/account-change-recorded-webhook.json (modified) matches static/schemas/source/**; static/schemas/source/enums/error-code.json (modified) matches static/schemas/source/**; static/schemas/source/enums/notification-type.json (modified) matches static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Sep 28, 2026
@bokelley
bokelley merged commit c4040c3 into main Sep 29, 2026
63 checks passed
@bokelley
bokelley deleted the feat/account-change-feed-experimental branch September 29, 2026 13:12
bokelley added a commit that referenced this pull request Sep 30, 2026
…g before GA (#7784)

Remove two archived changesets that describe training-agent and local
tooling work, and bring two archived entries in line with what ships in
3.2.1: the account change feed is experimental (#7727), and seller-optimized
package controls are gated on their own capabilities (#7752).

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

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant