Skip to main content

UCP coverage

The UCP extension, version 1. Upstream: personalagentprotocol.org/docs/extensions/ucp.

13 entries: 10 implemented, 1 open, 2 not-applicable. Each row is one atomic statement of the upstream text, with the SDK symbols that implement it (Python; TypeScript mirrors them), the tests and shared conformance cases that show it, and its status.

IDSectionLevelRoleRequirementSDK symbolTestsStatus
UCP-2-01UCP §2SHOULDcompanyFor this extension, the Personal Agent selects the issuer as spec 3.2 describes, and the Company's UCP services SHOULD support account access through that issuer.CompanyService.ucp_profile
CompanyService._ucp
test_ucp.py::test_orders_need_identity_linking_through_this_protocols_sign_inimplemented
UCP-2-02UCP §2MUST NOTpersonal-agentIf a UCP service requires a different issuer, the Personal Agent MUST NOT use that issuer through this extension.UcpClienttest_ucp.py::test_orders_need_identity_linking_through_this_protocols_sign_inimplemented
UCP-2-03UCP §2SHOULDpersonal-agentA Personal Agent that supports this extension SHOULD declare "ucp";v="1" in Poppy-Extensions, so a Company can tell from its other requests that the Personal Agent speaks UCP.negotiate_extensions
session_headers
test_ucp.py::test_a_personal_agent_declares_ucp_in_poppy_extensionsimplemented
UCP-2-04UCP §2MUST NOTcompanyA Company MUST NOT require a UCP platform to implement this protocol as a condition of access UCP otherwise permits.CompanyService._ucptest_ucp.py::test_ucp_without_this_extension_and_its_refusalsimplemented
UCP-3-01UCP §3MUST NOTpersonal-agentThe Personal Agent MUST NOT follow a redirect from this URL, and MUST NOT use a UCP profile from another host for this Company, as UCP requires.fetch_ucp_profile
ucp_profile_url
test_ucp.py::test_a_ucp_profile_is_never_fetched_through_a_redirect_or_used_malformed
test_ucp.py::test_a_company_that_speaks_ucp_lists_it_and_serves_its_profile_on_its_domain
implemented
UCP-3-02UCP §3MUST NOTpersonal-agentA platform profile MUST NOT be specific to a User or say anything about a User or the Companies they use.ucp_agent_header
UcpClient
test_ucp.py::test_the_ucp_agent_header_names_one_https_platform_profileimplemented
UCP-4-01UCP §4MUSTbothWhere a transport carries the profile in more than one place, the Personal Agent MUST send the same URL in each, and the Company MUST reject a request where they differ.UcpClient—not-applicable: Both SDKs and the reference companies use UCP's REST binding, which carries the platform profile in UCP-Agent alone.
UCP-4-02UCP §4MUSTcompanyA Company MAY verify the Session header on UCP requests and use it; it MUST verify the header before relying on any Session claim.CompanyService._ucptest_ucp.py::test_a_signed_out_ucp_request_carries_the_session_header_and_the_platform_profile
test_ucp.py::test_session_errors_at_ucp_endpoints_are_ucp_responses
implemented
UCP-4-03UCP §4MUSTcompanyA Company that offers both this protocol's sign-in and identity linking makes them one: it MUST offer Direct Sign-In, and MUST list private_key_jwt in its issuer's token_endpoint_auth_methods_supported.CompanyConfig
CompanyService.oauth_metadata
test_ucp.py::test_a_company_that_speaks_ucp_lists_it_and_serves_its_profile_on_its_domain
protocol.ucp-profile
implemented
UCP-4-04UCP §4MUSTcompanyThe Company MUST list each scope in its identity linking config.scopes in scopes_supported, as UCP requires.CompanyService.ucp_profiletest_ucp.py::test_a_company_that_speaks_ucp_lists_it_and_serves_its_profile_on_its_domain
protocol.ucp-profile
implemented
UCP-4-05UCP §4MUST NOTpersonal-agentA Personal Agent MUST NOT send a token it got independently of this extension on a request that carries the Session header.UcpClient.calltest_ucp.py::test_orders_need_identity_linking_through_this_protocols_sign_inimplemented
UCP-4-06UCP §4 (0.4)MUSTcompanyA Company that offers identity linking MUST keep the scopes the User already granted when it grants the missing ones, so the new token covers both.CompanyService._sign_in—open: 0.4 only. 1.0 replaced it (UCP 4) - the Personal Agent requests every scope it still needs and the Company grants only the scopes the request names, which the reference companies do at every version (ucp_scopes); incremental authorization that keeps earlier grants is not implemented for 0.4.
UCP-8-01UCP §8MUST NOTpersonal-agentIt MUST NOT reuse one User's UCP workflow identifier for another User.UcpClient—not-applicable: UcpClient keeps no UCP workflow identifier: the host keeps carts, checkouts and orders by Company and User.

Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.