Repository navigation
docs(governance): align campaign-governance pages with the specification and schemas (3.2.x backport of #8931, without C5) - #8980
Merged
Conversation
…ion and schemas (3.2.x backport of #8931) 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: Claude Opus 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path touched without an approving review.
This PR modifies static/schemas/source/governance/check-governance-response.json, which matches the static/schemas/source/** hard approval gate (gated_paths: true). The current review_decision is unknown/none, not APPROVED, so decision-table row 2 requires escalation and the gate cannot be lifted by a clean diff alone.
Review notes (not blocking):
- Reviewer found no Critical/High/Medium findings. The change is a description-only annotation on the legacy else arm — no validation, oneOf, required, or dist/** impact. Schema↔docs coherence verified across the renames (drift vocabulary, entries[].verdict enum, mode-as-agent-config). A patch changeset is present and appropriate for this 3.2.x doc-errata backport.
- No blocking findings exist; the escalation is purely the deterministic gated-path requirement.
Escalation reasons:
static/schemas/source/governance/check-governance-response.jsonis under thestatic/schemas/source/**hard approval gate andreview_decisionis notAPPROVED. Human/CODEOWNERS review is required before merge.
Why human review
- static/schemas/source/governance/check-governance-response.json is under the static/schemas/source/** hard approval gate (gated_paths: true) and review_decision is not APPROVED — human/CODEOWNERS review required.
- 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/**) and the current GitHub review decision is 'unknown', 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.
lukasz-pubx
approved these changes
Nov 14, 2026
lukasz-pubx
left a comment
Contributor
There was a problem hiding this comment.
Reviewed against #8931 (e212baa) and the 3.2.x tree.
- The diff is #8931 minus the C5 hunks, and nothing else. Comparing changed lines, the only differences are the three
specification.mdxaggregation-key lines, theaggregation_window_daysdescription, the C5 changeset bullet, and the changeset's first sentence. - Every remaining edit matches 3.2.x.
get-plan-audit-logs-response.jsonon 3.2.x carriesescalations,escalation_rate,escalation_rate_trend,thresholds.escalation_rate_min/escalation_rate_max,statuses.human_reviewedandverdict. The specification on 3.2.x already says checks do not reserve budget, that active buys are not automatically re-validated, and that mode is internal to the governance agent.check-governance-response.jsonon 3.2.x hascheck_typeand the sameelsebranch, so the B3 description is accurate there. - No losing phrase is left under
docs/governanceor the governance schemas:human_review_rate,human_reviews[], "budget reservation", "re-evaluates any active",entries[].status. - The links added by A3 resolve on 3.2.x (
#delegations,#budget-tracking), andbudget_limitexists on delegations there.
Leaving C5 out means 3.2.x keeps the (buyer_agent, seller_agent, account_id) key and the "collapsing across account_id" example, which is the intended outcome.
This was referenced Nov 20, 2026
Merged
KonstantinMirin
pushed a commit
to KonstantinMirin/adcp
that referenced
this pull request
Nov 21, 2026
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]>
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.
Backports #8931 (PR 1 of 3 for #8733, by @lukasz-pubx) to 3.2.x, without C5.
What's included
These are doc errata where the specification or schema already wins, so a patch can carry them:
get_plan_audit_logsfield table, re-sync semantics,escalation_*drift vocabulary, andgeo_compliancefindings.check_governanceresponse branch gains a description. It is description-only and changes no validation outcome.The 3.2.x schemas already carry
escalation_rate,escalation_rate_trend,summary.escalations[]andstatuses.human_reviewed, so the renamed drift fields match the 3.2 wire format.What's left out
C5: the trailing-window aggregation key stays
(buyer_agent, seller_agent, account_id)on 3.2.x. In this backport:specification.mdxlines are restored to the 3.2.x text;aggregation_window_dayscapability description inget-adcp-capabilities-response.jsonis left unchanged;The re-key changes behaviour for agents that partition by an account derived from the plan, so it ships in 3.3 only (decision on #8733).
Checks
grep owner_principalfinds nothing in the changed files.node tests/schema-validation.test.cjspasses.🤖 Generated with Claude Code