Repository navigation
feat(protocol): report SDK identity and integration in capabilities - #8079
Conversation
|
Corrected the example’s |
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path modified without required review approval.
This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which matches the hard approval gate glob static/schemas/source/**. gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 fires: the gate is not satisfied and the outcome must be escalate.
The reviewer found no Critical/High/Medium issues: the change is a clean, additive 3.3 feature adding optional adcp.implementation.sdks[] metadata. Schema↔docs coherence verified across all four doc touchpoints, changeset present and correct per DR-0019, no oneOf discriminator regression, no immutability concerns (no dist/** edits), and a comprehensive test wired into test:schemas. The additive, optional, fail-closed (additionalProperties:false) shape is non-breaking and would otherwise pass cleanly.
The escalation is purely procedural: a human/CODEOWNERS approval on the schema-source change lifts the gate, after which this PR falls through to an approve on the merits.
Escalation reasons
- Modifies gated file
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**); human/CODEOWNERS review required becausereview_decisionisREVIEW_REQUIRED.
Why human review
- Modifies gated schema-source file static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**); review_decision is REVIEW_REQUIRED, so human/CODEOWNERS approval is required before merge.
- This PR touches a path under a hard, non-overridable approval gate (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.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema-source path requires human/CODEOWNERS approval.
This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which matches the hard, path-based approval gate (static/schemas/source/**). gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 fires: the gate is not satisfied and Ladon cannot auto-approve regardless of how clean the diff is.
Findings: The reviewer found no blocking or medium issues. The delta is a single docs edit — the implementation example's $schema switches from latest to the /schemas/v3/ major pin and a "not yet released" comment is dropped, aligning the 3.3 example with the rest of the docs corpus (the latest reference was the anomaly). No wire, schema, or contract impact; schema↔docs coherence holds.
Escalation reasons:
- Modifies gated schema-source file
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**);review_decisionisREVIEW_REQUIRED, so a human/CODEOWNERS approval is required before merge.
This is consistent with the prior escalate decision: the gate persists purely because the gated path remains touched and approval has not yet been recorded — not because of any new finding. Once a human/CODEOWNERS approval lands (review_decision: APPROVED), a clean re-run can fall through to approve.
Why human review
- Modifies gated schema-source file static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (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.
|
The Python SDK preview job fails before model generation in its signed-preview setup: the candidate Resolved in |
|
Root cause confirmed. Fix — in - rm -f "sdk/schemas/releases/${bundle_version}.json"
+ # Remove all release pins from this disposable checkout.
+ # The candidate pin is among them; preview pins (e.g. 3.1.27)
+ # are also removed because ADCP_SKIP_SIGNATURE=1 is rejected
+ # for any audited pinned release, not just the candidate.
+ rm -f sdk/schemas/releases/*.jsonThe rest of the step is unchanged. This routine can't push to Generated by Claude Code |
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated-path approval required.
This PR modifies files under a hard, non-overridable approval gate:
.github/workflows/validate-schema-bundle.yml(matches.github/workflows/**)static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**)
gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 fires: the gate is not satisfied and Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded.
Escalation reasons
- Touches gated schema-source file
static/schemas/source/protocol/get-adcp-capabilities-response.json— human/CODEOWNERS approval required before merge. - Touches gated workflow file
.github/workflows/validate-schema-bundle.yml— human/CODEOWNERS approval required before merge.
No blocking findings on the merits: the delta (a fail-closed quoted-heredoc Python AST edit zeroing PREVIEW_VERSIONS before schema regeneration) is clean, the implementation field is optional/additive with no wire drift, no undiscriminated oneOf, and a minor changeset is present. The schema/docs/changeset were unchanged from the prior clean pass. This escalation is purely the deterministic gated-path requirement, not a code concern.
Why human review
- Modifies gated schema-source file static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- Modifies gated workflow file .github/workflows/validate-schema-bundle.yml (matches .github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/validate-schema-bundle.yml (modified) matches
.github/workflows/**; 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 support this addition. A useful buyer-facing application is to flag partial or unknown SDK integration and check current AAO compliance before relying on the seller. That directly addresses the recurring problem of implementations that use SDK types or selected helpers while reimplementing protocol behavior incorrectly. I’d make that application explicit in the “Using the report” guidance:
The policy should consider components relevant to the seller’s advertised behavior; “full” should not mean mechanically requiring all eight labels. Omitted components mean no claimed coverage, so buyer messaging should say “does not report SDK coverage,” rather than asserting that the seller’s implementation is custom or broken. For example:
The buyer can then resolve that recommendation into a concrete verification result. AAO verification should match the exact agent URL, role, AdCP version, and relevant specialisms. For this use case, I’d look for Spec evidence under Strict Spec grading and current registry status. The AAO verification documentation already distinguishes evidence modes from grading profiles. Missing SDK coverage can trigger extra scrutiny; a self-reported full component list cannot independently clear it. Otherwise, adding eight strings would silence the warning. The PR’s existing requirement for independent evidence before reducing check depth is appropriate. On the TypeScript SDK side, much of this is feasible to generate from the assembled server and active configuration. We already stamp library version metadata and derive idempotency and signing capabilities. One concrete gotcha: runtime schema validation defaults to off in production, so framework use alone cannot establish Before adopting the component labels, I’d clarify whether I’d keep this PR focused on the metadata contract, add the buyer-policy example to the docs, and follow up with automatic SDK population plus a buyer-side readiness check that combines reported coverage with AAO verification. |
|
The three-tier framing for "Using the report" is the right structure — it makes the existing text actionable. Here's proposed language to fold in, plus answers to the three component questions. Proposed addition to "Using the report": On the three component questions:
These clarifications are small enough to fold in before merge. On scope: agreed — metadata contract here, SDK auto-population and buyer-side readiness check as follow-ups in the SDK repositories. Generated by Claude Code |
…ance Per @bokelley's review: - schema_validation: claim only when SDK enforces payload rejection, not advisory/warning-only validation - signing and lifecycle: claim only when both bundled behaviors are covered across applicable task paths - Using the report: add three-tier framing (unknown/partial/no-verification → full/no-verification → current verification) with example buyer messaging and "full applicable" semantics Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Claude-Session: https://claude.ai/code/session_01D9oM3XxbkwLngP4xKZMCMQ
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS approval.
This PR modifies files under hard, non-overridable approval gates while review_decision is REVIEW_REQUIRED (not APPROVED). Per decision rule row 2, the outcome must be escalate.
The reviewer's delta pass is clean: the docs-only clarifications in docs/protocol/get_adcp_capabilities.mdx mirror the schema's own descriptions, the new buyer-messaging block is advisory SHOULD-level guidance with no new field or requirement, and "all eight" matches the enum's eight components. No schema↔docs drift, correct minor changeset for a non-breaking additive change, naming clean. No critical/high/medium findings.
Despite the clean diff, the gated-path hard gate stands until a human/CODEOWNERS approval is recorded.
Escalation reasons
- Modifies gated schema-source file
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— human/CODEOWNERS approval required before merge. - Modifies gated workflow file
.github/workflows/validate-schema-bundle.yml(matches.github/workflows/**);review_decisionisREVIEW_REQUIRED, notAPPROVED— human/CODEOWNERS approval required before merge.
Why human review
- Modifies gated schema-source file static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- Modifies gated workflow file .github/workflows/validate-schema-bundle.yml (matches .github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/validate-schema-bundle.yml (modified) matches
.github/workflows/**; 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.
|
Addressed the coverage and buyer-policy feedback in
Automatic population, task-scoped declarations, and buyer readiness checks remain follow-ups. The Python CI issue is already fixed in Validation for the review update: all eight metadata tests, the full schema regression suite, documentation examples/navigation/schema links/compliance generation, 1,106 root unit tests, all 732 server files (two timeouts passed serial retry), and type checking pass. All 66 CI checks now pass on |
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS approval.
This PR loosens the unreleased 3.3 adcp.implementation.sdks[].components array from minItems: 1 to permitting [], with coherent updates across docs (get_adcp_capabilities, migration guide, whats-new), the test file, and a correct minor changeset. The reviewer found no Critical/High/Medium findings — schema↔docs coherent, changeset type correct for an additive loosening on an unreleased field, no dist artifact touched, example data valid.
However, the PR modifies two files under hard, deterministic approval gates:
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**).github/workflows/validate-schema-bundle.yml(matches.github/workflows/**)
gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision table row 2 fires: Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is. The prior escalate stands on the same deterministic grounds.
Escalation reasons
- Modifies gated schema-source file
static/schemas/source/protocol/get-adcp-capabilities-response.json;review_decisionisREVIEW_REQUIRED, notAPPROVED. - Modifies gated workflow file
.github/workflows/validate-schema-bundle.yml;review_decisionisREVIEW_REQUIRED, notAPPROVED.
Human/CODEOWNERS approval is required before merge. Once review_decision becomes APPROVED, the gate lifts and this clean diff can proceed.
Why human review
- Modifies gated schema-source file static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- Modifies gated workflow file .github/workflows/validate-schema-bundle.yml (matches .github/workflows/**); review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/validate-schema-bundle.yml (modified) matches
.github/workflows/**; 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.
Add impressions-optional delivery rows (#8108) to the versioning exceptions and migration guide, expected_confirmation_at on refine_proposals (#8104), SDK implementation metadata (#8079), unsupported-targeting-dimension details (#8052), experimental trust.json schemas (#8067), the Reliable Reporting compaction notice and REVISION_UNREADABLE (#8100, #8099), the sales-broadcast-tv 1.1.0 tightening (#8046), new signing and canonicalization vectors (#8068, #8076), and training-agent fixtures (#8106, #8078, #8012). Regenerate the In-review table from the 56 open 3.3.0 milestone issues. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Buyers can discover a seller’s AdCP version but cannot tell whether it uses SDK types, selected helpers, or SDK server components. Add optional
adcp.implementation.sdks[]metadata with package identifiers, exact resolved versions, and independent component declarations for types, validation, transport, authentication, signing, lifecycle, idempotency, and webhooks.Missing metadata means unknown SDK use;
sdks: []explicitly reports no AdCP SDK use. An SDK entry withcomponents: []reports package use without claiming agent-wide coverage, including signing helpers used on only some routes. A component requires every applicable responsibility across advertised task paths. Validation must enforce the SDK’s original schema checks on requests and final serialized responses; request-only or advisory validation does not qualify. Document wrapper/model-subclass boundaries and bundled signing/lifecycle responsibilities.Reports remain self-reported and advisory. Add buyer guidance distinguishing partial or unknown coverage, full applicable reported coverage awaiting verification, and current independent verification. A worked wrapper example pairs SDK metadata with a separate external assessment containing passed, failed, and untested obligations. SDK claims do not change version negotiation, establish approval, or replace conformance evidence. Automatic SDK reporting, task-scoped coverage, and buyer readiness checks remain follow-ups.
Fix the Python preview CI harness so unsigned candidate settings apply only to the candidate. Historical schema caches and audited release pins remain in the disposable SDK checkout; it no longer attempts to refresh signed previews with the candidate’s unsigned overrides.
Validation:
a95bc1c65, including all five required branch gates and both SDK generation jobs. Python passes all 128 tests. All 168 sales storyboard cases complete without failed steps or runner errors, and the required-clean aggregate passes. Scope isolation passes 5/5 and acceptance-policy discovery passes 4/4. The final Ladon review reports no technical findings; schema/workflow paths still require human approval before merge.