Repository navigation
feat(signals): provider-initiated signal delivery methods for agent destinations - #8044
Conversation
…estinations Closes #6552 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Request changes
Request changes — 1 blocking finding.
Blocking findings
- static/schemas/source/core/deployment.json:124 — New
deliveryoneOf is undiscriminated (branches omitkindfrom per-branchrequired), classifies asnarrowable, and failsnode scripts/audit-oneof.mjs --check/test:oneof-discriminators. Per repo policy, a new undiscriminated oneOf understatic/schemas/source/**ishigh. Mirror the discriminator pattern used in audience-source.json.
Medium findings
- static/schemas/source/core/deployment.json:94 — Inline
deliverydescriptor has no drift guard against audience-source.json, despite the PR body claiming the test pins it. Add the drift test or correct the PR claim.
Schema↔docs coherence, changeset type (minor/additive/experimental), and the capabilities experimental-feature gate all check out. Note: this PR touches gated paths (static/schemas/source/**) with review_decision REVIEW_REQUIRED, so human/CODEOWNERS approval is also required before merge.
Blocking findings
- static/schemas/source/core/deployment.json:124 — New delivery oneOf is undiscriminated; fails audit-oneof --check (high)
Medium findings
- static/schemas/source/core/deployment.json:94 — Inline delivery descriptor has no drift guard against audience-source.json
…rift, regenerate schema index Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Superseded by a later Ladon review that rechecked and resolved its blocking findings.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS approval.
This is a subsequent review. Both prior blockers are resolved: (1) deployment.json delivery oneOf is now discriminated via kind added to each branch's required; (2) a new drift-guard test pins the inline delivery descriptor against audience-source.json. The experimental signals.delivery_methods feature is correctly gated behind experimental_features, carries a minor/additive/experimental changeset, and schema↔docs coherence checks out. The reviewer surfaced no new findings. This is a net improvement over the prior run.
However, the PR modifies/adds files under static/schemas/source/**, which is a deterministic hard approval gate (gated_paths: true), and review_decision is REVIEW_REQUIRED — not APPROVED. Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval satisfies the gate.
Escalation reasons
- Gated schema files require human/CODEOWNERS review (review_decision = REVIEW_REQUIRED):
- static/schemas/source/core/deployment.json (modified)
- static/schemas/source/core/destination.json (modified)
- static/schemas/source/core/signal-delivery-method.json (added)
- static/schemas/source/enums/signal-delivery-state.json (added)
- static/schemas/source/protocol/get-adcp-capabilities-response.json (modified)
No blocking findings remain; once a human approval lands, a clean re-run can approve.
Why human review
- Gated path static/schemas/source/core/deployment.json (modified) requires human/CODEOWNERS approval; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path static/schemas/source/core/destination.json (modified) requires human/CODEOWNERS approval
- Gated path static/schemas/source/core/signal-delivery-method.json (added) requires human/CODEOWNERS approval
- Gated path static/schemas/source/enums/signal-delivery-state.json (added) requires human/CODEOWNERS approval
- Gated path static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) requires human/CODEOWNERS approval
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/deployment.json (modified) matches
static/schemas/source/**; static/schemas/source/core/destination.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/signal-delivery-method.json (added) matchesstatic/schemas/source/**; static/schemas/source/enums/signal-delivery-state.json (added) matchesstatic/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.
…efs, range match outcome Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS approval.
This PR touches multiple files under static/schemas/source/**, which is a hard, non-overridable approval gate (gated_paths: true). The current GitHub review decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and Ladon cannot auto-approve regardless of how clean the diff is (decision table row 2).
The reviewer pass is clean: the delivery_state→delivery_status rename plus added match_rate_basis/audience_size fields are consistent across the changeset, docs, and schemas; schema↔docs coherence verified; a correct minor changeset for an additive experimental surface; oneOf discrimination intact; all $ref targets present; send/receive parity confirmed; and 8 new tests back the change. No Critical/High/Medium findings.
Because there are no blocking findings, the only trigger is the unsatisfied gated-path approval requirement.
Escalation reasons
- Gated path
static/schemas/source/core/deployment.json(modified) requires human/CODEOWNERS approval;review_decisionisREVIEW_REQUIRED, notAPPROVED. - Gated path
static/schemas/source/core/destination.json(modified) requires human/CODEOWNERS approval. - Gated path
static/schemas/source/core/signal-delivery-method.json(added) requires human/CODEOWNERS approval. - Gated path
static/schemas/source/enums/signal-delivery-status.json(added) requires human/CODEOWNERS approval. - Gated path
static/schemas/source/protocol/get-adcp-capabilities-response.json(modified) requires human/CODEOWNERS approval. - Gated path
static/schemas/source/signals/get-signals-request.json(modified) requires human/CODEOWNERS approval.
Why human review
- Gated path static/schemas/source/core/deployment.json (modified) requires human/CODEOWNERS approval; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path static/schemas/source/core/destination.json (modified) requires human/CODEOWNERS approval
- Gated path static/schemas/source/core/signal-delivery-method.json (added) requires human/CODEOWNERS approval
- Gated path static/schemas/source/enums/signal-delivery-status.json (added) requires human/CODEOWNERS approval
- Gated path static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) requires human/CODEOWNERS approval
- Gated path static/schemas/source/signals/get-signals-request.json (modified) requires human/CODEOWNERS approval
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/deployment.json (modified) matches
static/schemas/source/**; static/schemas/source/core/destination.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/signal-delivery-method.json (added) matchesstatic/schemas/source/**; static/schemas/source/enums/signal-delivery-status.json (added) matchesstatic/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/signals/get-signals-request.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.
# Conflicts: # package.json
|
Parity budget: |
|
Parity budget (beta.0 merge train): after merging current |
|
deferred to beta.1: parity budget. |
|
Parity budget (beta.1 train): stopped. After merging current |
Closes #6552
Merge timing: this is the 3.3 consent outcome for #6552. The WG has until Fri 2026-10-16 23:59 UTC to object to the brief's recommendations; absent objections it merges after that deadline as written. If objections land, it changes or closes instead. It implements exactly the recommended shape.
What changed
Provider-initiated delivery of licensed signal membership to
type: "agent"destinations. Everything is experimental under a new feature id,signals.delivery_methods. It has a single implementer pull so far (a publisher ad-server seller agent) and consumes the experimentalmedia_buy.audience_activationvocabulary. The registry entry is indocs/reference/experimental-status.mdx.signals.delivery_methods[]onget_adcp_capabilities: newcore/signal-delivery-method.json. It uses the same pattern vocabulary asaudience-activation-method.json, read from the send side, and carries only receiver-neutral fields.tmp_identity_matchis excluded because no membership file moves.delivery_method(pattern+ optionalvendor) on agent destinations incore/destination.json.core/deployment.jsongain:delivery_state(newenums/signal-delivery-state.json:awaiting_read/delivered/failed);deliverydescriptor shaped likecore/audience-source.json;delivery_error;match_status(theaudience-statusvalues),matched_countandeffective_match_rate.activate_signalgets a new section, theget_adcp_capabilitiessignals table gets a row, and the changeset isminor.WG recommendations as implemented
delivery_methodsdelivers to agent destinations only over a rail in the intersection. With none, that destination fails withUNSUPPORTED_FEATURE. The capability itself is not mandatory for signal agents.is_live. Match outcome is optional and rail-independent, using the same vocabularysync_audiencesreports.tmp_identity_match: excluded, with the reason stated in the schema.Judgment calls for reviewers
delivery_state: failedplusdelivery_error. When every destination fails, the agent MAY return the error arm instead. This is the first partial-success shape onactivate_signal.minimum_sizeandaudience_sizeare not carried on the deployment. They can follow if a destination needs them.UNSUPPORTED_FEATURE, because there is no address to deliver to.file_transferalso intersects ontransport. The signal agent takes the sending role, so it matches destination directionsbuyer_to_selleror unspecified.get_signals. The task iscompletedon first response, so no task webhook fires for them.Parity budget
PARITY_COMPILE_LIMIT(1_280_000) is not bumped. The first draft exceeded it, sodeliveryis a lean inline object andmatch_statusan inline enum copy.tests/signal-delivery-methods.test.cjspins both againstaudience-source.jsonandaudience-status.jsonso they cannot drift.Testing
tests/signal-delivery-methods.test.cjs(8 tests, wired intonpm test).test:schemas,test:contracts,test:unit, the MCP schema projection/analysis tests,build:compliance --check, and the changeset scope check pass.json-schema-validationpasses onactivate_signal.mdx.--no-verify.Out of scope
Seller-controlled sourcing, buyer-owned data movement (#6540), credential exchange, platform destinations, and rail-dependent fees (3.4 if absorb-in-v1 fails).
🤖 Generated with Claude Code
Open workspace in Conductor