Repository navigation
docs(governance): align campaign-governance pages with the specification and schemas - #8931
Conversation
…ion and schemas PR 1 of 3 for #8733: errata where the specification or the schema already wins and the losing page changes. - A2: governance mode is agent configuration, not a plan field - A3: no budget reservation; "reserve" keeps one meaning - A5: audit-log field table names verdict, not status - A6: a re-sync does not re-validate active buys - A7: the delivery outcome example is buyer-called - A8: drift metrics use the schema vocabulary (escalation_rate, ...) - A9: geo findings use geo_compliance - B3: describe the legacy check_governance response branch - C5: aggregation key is (owner_principal, seller_agent) No wire field, enum member or schema validation outcome changes. Refs #8733 Co-Authored-By: Claude Fable 5.2 <[email protected]>
IPR Policy Agreement Required@lukasz-pubx — thanks for the contribution. Before this PR can be merged, the AgenticAdvertising.Org IPR Policy requires your agreement. To agree, post a new comment on this PR with the exact phrase: Your signature is recorded once and covers all contributions to AAO repositories. See |
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths touched without required approval.
This PR modifies two 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 rule row 2).
The reviewer's substantive assessment is clean: no Critical/High/Medium findings. Doc field renames were verified against shipped schemas (docs were drifting, this corrects docs→schema), both schema edits are description-only with no validation-outcome change (matching the patch changeset), and the one normative aggregation-key change lands on an experimental surface on main and tightens the fragmentation defense. There are no blocking findings — this escalation is purely the deterministic gated-paths requirement.
Escalation reasons
static/schemas/source/governance/check-governance-response.jsonandstatic/schemas/source/protocol/get-adcp-capabilities-response.jsonare under thestatic/schemas/source/**approval gate; human/CODEOWNERS review is required (review_decisionisREVIEW_REQUIRED).
Why human review
- Modifies gated-path files static/schemas/source/governance/check-governance-response.json and static/schemas/source/protocol/get-adcp-capabilities-response.json; human/CODEOWNERS review required since review_decision is REVIEW_REQUIRED, not APPROVED.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/governance/check-governance-response.json (modified) matches
static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matchesstatic/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.
|
I have read the IPR Policy |
IPR Policy — signedThanks, @lukasz-pubx. Your agreement to the IPR Policy is recorded at |
…ion and schemas (3.2.x backport of #8931) (#8980) Backports #8931 (adcp#8733 PR 1) to 3.2.x without its C5 change. The trailing-window aggregation key stays (buyer_agent, seller_agent, account_id) on 3.2.x; the re-key to (owner_principal, seller_agent) changes behaviour for agents that partition by an account derived from the plan, so it ships in 3.3 only. (cherry picked from commit e212baa) Co-authored-by: Lukasz Szczesiak <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Brings the published 3.2.12 release records to main. Resolved: - package.json, package-lock.json, static/schemas/source/index.json: main's. - static/compliance/published-versions.json: main's in this merge; the registration commit adds 3.1.34 and 3.2.12 after qualification. - CHANGELOG.md: main's plus the 3.2.12 block (forward-merge-release-records.cjs changelog). - dist/schemas/index.json, latest.json: 3.2.x's, regenerated in the next commit. - docs/governance/campaign/audit-trail.mdx and tasks/sync_plans.mdx: main's. adcontextprotocol#8980 is the 3.2 backport of adcontextprotocol#8931, which main carries in full. - tests/addie/compliance-validate-input-gates.test.ts: reverted to main's. adcontextprotocol#9000's 30 s timeout is 3.2.x-only; main caches the storyboard lookup (adcontextprotocol#8507). adcontextprotocol#9128 (3.2.x backport of adcontextprotocol#8894) auto-merged with no net change: 3.2.x's webhook-emission files equal main's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
PR 1 of 3 for #8733, with the scope set out in this comment: the errata where the specification or the schema already wins and the losing page simply changes. No wire field, enum member or schema validation outcome changes.
Refs #8733. It does not close it; PR 2 (A1, A4, B1, C1 to C3, C4.3, C4.4) and PR 3 (B2, C4.1, C4.2) are separate.
What changes
campaign/audit-trail.mdxsync_plans. A differentmodeon two entries reflects a configuration change, not a plan revision.campaign/safety-model.mdx,campaign/specification.mdx,campaign/tasks/report_plan_outcome.mdxcampaign/tasks/get_plan_audit_logs.mdxplans[].entries[].statusbecomesverdict, as in the schema and every example.campaign/tasks/sync_plans.mdx,governance/overview.mdxcheck_governancecall, as the specification says.campaign/tasks/get_plan_audit_logs.mdxdeliveryoutcome example is buyer-called, matchingreport_plan_outcome("Sellers do not call this task").campaign/specification.mdx,audit-trail.mdx,safety-model.mdx,index.mdxescalations[],escalation_rate,escalation_rate_trend,thresholds.escalation_rate_min/escalation_rate_max. One sentence relatessummary.escalations[]tosummary.statuses.human_reviewed.campaign/tasks/check_governance.mdx,campaign/specification.mdxgeo_compliance, matchingcategories_evaluatedon the same page.static/schemas/source/governance/check-governance-response.jsonelsebranch for responses withoutcheck_typegets adescriptionidentifying it as the legacy compatibility shape accepted during 3.x migration.campaign/specification.mdx,static/schemas/source/protocol/get-adcp-capabilities-response.json(owner_principal, seller_agent).All doc paths are under
docs/governance/.Notes for review
account_idfield (checked from 3.0.0), so the old key's third element was always derived: 3.0 and 3.1 schemas said "the governance agent resolves account from the plan", andget-plan-audit-logs-request.json:21onmainstill does. An agent that derives an account that way and partitions its aggregate by it satisfies the conformance row atspecification.mdx:429-436today and would not after this change. If that makes C5 unsuitable for the 3.2.x backport, it can move to PR 2 and the rest of this PR is unaffected.governance.aggregation_window_daysdescription inget-adcp-capabilities-response.jsonnamed the old tuple too. The widening example atspecification.mdx:421named the removed element, so it now reads "collapsing acrossowner_principalso two buyer principals share an aggregate".get-plan-audit-logs-request.json:21still says plans scope "account and operator".specification.mdx:440says sellers also declare an aggregation window, and a seller cannot always tell a plan owner from its delegate. Both need a decision, not an edit.check_typeabsent through 3.1.x and present from 3.2, and a 3.0 response usedstatuswhere this branch requiresverdict, so the description says the shape is what 3.1 governance agents emit. The description is descriptive only. It does not start with "Deprecated", because the repository lint then requiresdeprecated: trueon the node, and annotating the branch is a decision for maintainers.report_plan_outcome.mdx:70is the sentence the issue cited for the second meaning of "reserve", so it is reworded.governance/overview.mdx:244-252describes an "Execute" phase in which the authorized amount is "reserved", with a diagram that says the same; that is left alone because it involves an image.index.mdxlacked the "agent-internal, not a protocol enum" note. That was wrong: the note is already above the table.audit-trail.mdxis A4 and is left as it is.Patch eligibility
Apart from C5 (see the first note), each edit moves a page to the rule the specification or schema already states, or renames prose to fields the schema already defines. A
patchchangeset is included becausestatic/schemas/source/descriptions change.Verification
Run locally on this branch:
npm run test:schemas,test:json-schema,test:examples,test:mcp-schema-projection,test:docs-nav,test:owned-links: passnode scripts/check-docs-mdx-syntax.mjs: passnode scripts/docs-json-field-audit.cjs: no new findingsnode scripts/check-changeset-protocol-scope.cjs origin/mainandchangeset status: passnpm run test:snippetsfails locally in three media-buy and creative pages that need the Python SDK installed; no page in this PR has runnable snippets.🤖 Generated with Claude Code