Repository navigation
feat(extensions): register AdCP opportunity discovery bridge - #7904
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated-path approval gate not yet satisfied.
This PR cleanly registers the AdCP-owned ext.adcp.opportunity extension bridge. The reviewer found no Critical/High/Medium findings: the change is additive/normative (non-breaking), carries a correct minor changeset, schema↔docs stay coherent, no new undiscriminated oneOf, released artifacts are untouched (inner $ref pins to frozen 3.2.1), DR-0009 additionalProperties:true is preserved, and the reserved-namespace guard exception is narrow and well-tested.
However, the PR modifies/adds files under static/schemas/source/** (core/ext.json modified, extensions/adcp.json added), which places it under the deterministic hard approval gate (gated_paths: true). review_decision is REVIEW_REQUIRED, not APPROVED, so decision-table row 2 fires: the gate is not satisfied and the outcome must be escalate. Human/CODEOWNERS review of the schema-source changes is required before this can merge.
No blocking findings exist on the merits — once a human/CODEOWNERS approval lands, this should fall through to a clean approve.
Escalation reasons
static/schemas/source/core/ext.json(modified) andstatic/schemas/source/extensions/adcp.json(added) are under the hard approval gate;review_decisionisREVIEW_REQUIRED. Human/CODEOWNERS approval required.
Why human review
- Gated paths touched (static/schemas/source/core/ext.json modified, static/schemas/source/extensions/adcp.json added) with review_decision=REVIEW_REQUIRED — human/CODEOWNERS approval required before merge (decision table row 2).
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/ext.json (modified) matches
static/schemas/source/**; static/schemas/source/extensions/adcp.json (added) 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.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS approval.
This PR modifies static/schemas/source/core/ext.json and adds static/schemas/source/extensions/adcp.json, both of which match the static/schemas/source/** gated-paths glob. gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so the hard approval gate (decision rule row 2) is not satisfied.
The reviewer found no Critical, High, or Medium findings — this is a clean, non-breaking Normative addition registering the optional AdCP-owned ext.adcp.opportunity bridge for 3.2 get_products, with correct minor changeset, preserved DR-0009 openness, intact reserved-namespace guard, and comprehensive new tests. The diff is mechanically sound, but the gated schema-source files require explicit human/CODEOWNERS review before merge.
Escalation reasons
- Touches gated paths
static/schemas/source/core/ext.json(modified) andstatic/schemas/source/extensions/adcp.json(added);review_decisionisREVIEW_REQUIRED. Human/CODEOWNERS approval required to satisfy the hard approval gate.
Why human review
- Touches gated schema-source paths static/schemas/source/core/ext.json (modified) and static/schemas/source/extensions/adcp.json (added) while review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required to satisfy the hard approval gate.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/ext.json (modified) matches
static/schemas/source/**; static/schemas/source/extensions/adcp.json (added) 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.
Legacy
get_productsin AdCP 3.2 cannot carry the core opportunity context that the compact proposal tasks already support. Registerext.adcp.opportunityas an optional AdCP-owned bridge, reusing the unchanged published 3.2.1 OpportunityContext object so cooperating buyers and sellers can associate discovery with a planning cycle while #7902's core field remains 3.3 work.The binding requires explicit seller support, authorized account scope, durable proposal association, and preservation through refinement. Discovery lifecycle fields are snapshots; transitions retain their existing task contracts. Existing core opportunity fields take precedence, and buyers migrate to the core field when negotiated support is available. Registration does not deploy seller persistence or migrate vendor extensions.
The builder permits only the canonical AdCP-owned registry entry through the reserved-namespace guard. Other reserved names remain unavailable to vendors.
valid_from: "3.2"declares compatibility, not a rewrite of any released registry; the extension remains pinned to the 3.2.1 core schema. The general schema-validation test loader resolves published references from their exact immutable release directory, without network requests or a current-source fallback. The registry links the repository's documentation source because the clean docs route still redirects to the immutable 3.2.1 snapshot. No released artifacts or legacy request fields change. A minor protocol changeset records the new registry surface.This is a non-breaking Normative proposal, implementing the decision memo on #7902. DR-0009 controls schema openness; this preserves it. Schema-source paths require the repository's human review gate before merge. Agent protocol and buyer-workflow reviews supplement that gate.
Validation:
Refs #7902. The core
get_products.opportunityissue stays open.