Discovery coverage
Company discovery, OAuth metadata, versions, and extensions (§3). Upstream: personalagentprotocol.org/docs/spec.
53 entries: 51 implemented, 1 partial, 1 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.
| ID | Section | Level | Role | Requirement | SDK symbol | Tests | Status |
|---|---|---|---|---|---|---|---|
PAP-3-01 | §3 | MUST | company | A Company MUST publish its poppy.json document at https://{domain}/.well-known/poppy.json over HTTPS, where {domain} is the Company's domain or a subdomain it controls. | CompanyService.discovery_document | test_company_end_to_end.py::test_a_user_and_a_company_from_question_to_confirmed_exchange | implemented |
PAP-3-02 | §3 | MUST | personal-agent | Personal Agents MUST follow redirects, and every redirect MUST be to an HTTPS URL. | DiscoveryClient._get_json | test_fixtures.py::test_local_fixture_caseprotocol.organization-domain-after-redirectprotocol.organization-domain-redirect-wwwsecurity.discovery-redirect-followed | implemented |
PAP-3-03 | §3 | MUST | personal-agent | Personal Agents MUST follow redirects, and every redirect MUST be to an HTTPS URL. | DiscoveryClient._get_jsonPublicUrlSafetyPolicy.assert_safe | test_fixtures.py::test_local_fixture_casesecurity.discovery-redirect-to-httpsecurity.discovery-redirect-followed | implemented |
PAP-3-05 | §3 | MUST | both | Every URL this protocol defines or exchanges MUST be an HTTPS URL: in poppy.json, in authorization server and protected resource metadata, in client metadata documents (4.1), in extensions, and in assertions, Session JWTs, and responses. | _https_urlFeedbackDescriptorMcpServerMetadataCompanyService.discovery_document | test_fixtures.py::test_local_fixture_casetest_mcp_and_web.py::test_the_company_advertises_its_mcp_server_and_its_issuerprotocol.tasks-endpoint-https | implemented |
PAP-3-06 | §3 | MUST NOT | personal-agent | Personal Agents MUST NOT use a URL from a Company that has another scheme. | _https_urlDeviceAuthorizationResponseMcpServerMetadataSessionHttpClient | test_fixtures.py::test_local_fixture_casetest_mcp_and_web.py::test_a_token_for_the_mcp_server_comes_from_a_refresh_with_its_urlprotocol.tasks-endpoint-https | implemented |
PAP-3-07 | §3 | MUST | company | Companies MUST reject one from a Personal Agent. | ClientMetadata.validate_urlsClientMetadata.validate_redirectsverify_assertion | test_identity.py::test_fetches_metadata_and_public_jwkstest_models.py::test_client_metadata_requires_same_domain_for_security_urls | implemented |
PAP-3-08 | §3 | MUST NOT | personal-agent | If the token, revocation, or device authorization endpoint, an API, {browser_session_endpoint}/authorize, or a conversation, tasks, feedback, or extension endpoint answers with a redirect, the Personal Agent MUST NOT send a token, Session JWT, assertion, or credentials to the new URL. | refuse_redirectSessionHttpClientSessionClientRefreshTokenClientDeviceSignInClientDirectSignInClientMcpClient | test_transport.py::test_session_ended_restarts_once_with_a_fresh_jwt_and_a_redirect_gets_nothingtest_transport.py::test_refuses_cross_origin_redirect_and_protected_headerstest_sessions.py::test_a_redirect_at_the_token_endpoint_gets_nothingtest_mediated.py::test_a_redirect_never_carries_the_credentials_elsewheretest_published_04.py::test_with_no_response_the_agent_carries_on_as_if_nothing_were_listed | implemented |
PAP-3-09 | §3 | MUST NOT | personal-agent | Personal Agents and Companies MUST NOT connect to a loopback, private, or link-local address for a URL the other party gave them, unless they were configured to on purpose. | PublicUrlSafetyPolicyResolvingTransportcreate_resolving_client | test_discovery.py::test_rejects_private_discovery_addresstest_security_review.py::test_finding_13_a_host_resolving_to_nat64_loopback_is_refusedtest_fixtures.py::test_local_fixture_case | implemented |
PAP-3-10 | §3 | MUST NOT | company | Personal Agents and Companies MUST NOT connect to a loopback, private, or link-local address for a URL the other party gave them, unless they were configured to on purpose. | build_companyAgentIdentityClientPublicUrlSafetyPolicy | test_company_rules.py::test_the_company_never_fetches_an_agent_on_a_private_address | implemented |
PAP-3-11 | §3 | MUST | personal-agent | A redirect MAY go to another host, but Personal Agents MUST use the document only when the last URL's path is exactly /.well-known/poppy.json and it has no query. | DiscoveryClient.discover | test_draft_03.py::test_a_discovery_document_off_the_well_known_path_is_refusedtest_fixtures.py::test_local_fixture_caseprotocol.redirect-ends-off-the-well-known-pathprotocol.redirect-ends-with-a-query | implemented |
PAP-3.1-01 | §3.1 | MUST NOT | personal-agent | A Personal Agent uses the document only if the version is compatible with one it implements (3.4), and if none is, it MUST NOT use any of them. | DiscoveryDocument.validate_version_usedchoose_protocol_versionSUPPORTED_PROTOCOL_VERSIONSAVAILABLE_PROTOCOL_VERSIONSimplemented_protocol_versionsDiscoveryClient.discover | test_fixtures.py::test_local_fixture_casetest_draft_04.py::test_versions_are_compatible_by_major_and_before_1_0_by_minortest_draft_10.py::test_a_published_document_is_used_only_by_an_agent_that_implements_ittest_draft_10.py::test_an_agent_on_the_default_uses_no_company_that_serves_only_the_published_versionprotocol.major-version-unsupportedprotocol.minor-version-newerprotocol.older-version-unsupportedprotocol.version-not-major-minorprotocol.no-compatible-versionprotocol.supported-versions-newest-compatible | implemented |
PAP-3.1-02 | §3.1 | MUST | personal-agent | domain MUST be the host that serves the document, after any redirects. Domains are compared ignoring case, with no other normalization. | DiscoveryClient.discover | test_fixtures.py::test_local_fixture_caseprotocol.organization-domain-wwwprotocol.organization-domain-after-redirectprotocol.organization-domain-redirect-wwwprotocol.organization-domain-case-insensitive | implemented |
PAP-3.1-03 | §3.1 | MUST | both | auth.issuer is the Company's OAuth issuer identifier, naming the one Personal Agents use (3.2). It MUST be in that list. | DiscoveryClient | test_fixtures.py::test_local_fixture_caseprotocol.several-authorization-servers-need-auth-issuerprotocol.several-authorization-servers-auth-issuer-listedprotocol.several-authorization-servers-auth-issuer-unlisted | implemented |
PAP-3.1-04 | §3.1 | MUST | both | With one authorization server, the Company MAY leave it out, and if it includes it, it MUST name that server. | DiscoveryClient | test_fixtures.py::test_local_fixture_caseprotocol.one-authorization-server-auth-issuer-other | implemented |
PAP-3.2-01 | §3.2 | MUST | company | The issuer MUST publish OAuth Authorization Server Metadata (RFC 8414), at the URL RFC 8414 §3.1 defines. | CompanyService.oauth_metadata | test_company_end_to_end.py::test_a_user_and_a_company_from_question_to_confirmed_exchange | implemented |
PAP-3.2-02 | §3.2 | MUST | company | Its protected_resources (RFC 9728 §4) MUST list https://{domain} for every domain whose issuer it is, with no path, port, or trailing slash. | CompanyService.oauth_metadata | test_company_end_to_end.py::test_a_user_and_a_company_from_question_to_confirmed_exchange | implemented |
PAP-3.2-03 | §3.2 | MUST | personal-agent | Before using a Company's poppy.json, the Personal Agent fetches the metadata and MUST check that its issuer exactly matches the issuer it found, character for character. | DiscoveryClient.discoverAuthCapabilities.validate_issuer | test_discovery.py::test_discovers_and_authenticates_companytest_fixtures.py::test_local_fixture_caseprotocol.multi-domain-issuerprotocol.issuer-mismatchprotocol.issuer-compared-exactly | implemented |
PAP-3.2-04 | §3.2 | MUST | personal-agent | It MUST also check that protected_resources includes https://{organization.domain}, compared as RFC 9728 §3.3 describes except that the host is compared ignoring case (3.1). | DiscoveryClient.discoverOAuthServerMetadata.lists_resource | test_discovery.py::test_rejects_issuer_that_does_not_authorize_domaintest_draft_03.py::test_the_issuer_lists_the_grants_and_scopes_it_offerstest_fixtures.py::test_local_fixture_caseprotocol.multi-domain-issuerprotocol.issuer-not-claiming-domainprotocol.protected-resource-trailing-slashprotocol.protected-resource-with-a-pathprotocol.protected-resource-host-caseprotocol.issuer-with-a-path | implemented |
PAP-3.2-06 | §3.2 | MUST | company | Several domains MAY have the same issuer ... The Company MUST select that same issuer on each domain. | CompanyService.discovery_document | test_discovery.py::test_an_alias_publishes_the_companys_discovery_and_its_issuer_lists_it | implemented |
PAP-3.2-31 | §3.2 | MUST | company | The Company MUST give each scope the same authorization meaning across these domains. | CompanyService.discovery_document | test_discovery.py::test_an_alias_publishes_the_companys_discovery_and_its_issuer_lists_it | implemented |
PAP-3.2-32 | §3.2 | SHOULD | company | The Company SHOULD publish the same scope descriptions and hints across these domains, but MAY expose different scopes or capabilities. | CompanyService.discovery_document | test_discovery.py::test_an_alias_publishes_the_companys_discovery_and_its_issuer_lists_it | implemented |
PAP-3.2-07 | §3.2 | MUST | company | An issuer MUST represent exactly one Company. | CompanyConfigCompanyService.oauth_metadata_metadata_url | test_discovery.py::test_an_alias_publishes_the_companys_discovery_and_its_issuer_lists_ittest_fixtures.py::test_local_fixture_caseprotocol.issuer-with-a-path | implemented |
PAP-3.2-08 | §3.2 | MUST | company | A provider that hosts several Companies MUST give each its own issuer, such as https://auth.provider.example/shop-a, even when they share servers. | CompanyService | — | not-applicable: The reference company is one Company per CompanyService, its issuer its own base URL; it hosts no other Company. Personal agents find an issuer with a path at its RFC 8414 URL (discovery._metadata_url, protocol.issuer-with-a-path). |
PAP-3.2-20 | §3.2 | MUST | company | grant_types_supported lists the grant types the token endpoint accepts. Required, and it MUST include refresh_token (4.4). | CompanyService.oauth_metadataOAuthServerMetadata | test_draft_03.py::test_the_issuer_lists_the_grants_and_scopes_it_offers | implemented |
PAP-3.2-22 | §3.2 | SHOULD | company | scopes_supported lists the scopes the issuer supports. A Company that offers sign-in SHOULD list every scope a Personal Agent can request here, in scopes_supported of its protected resource metadata (above), or in both (4.7). | CompanyService.oauth_metadata | test_draft_03.py::test_scopes_are_the_companys_described_and_never_poppytest_fixtures.py::test_local_fixture_casetest_published_04.py::test_the_reference_company_lists_its_scopes_in_both_and_says_it_reads_cimdprotocol.scopes-supported-optional | implemented |
PAP-3.2-23 | §3.2 | MUST | company | A Company that offers sign-in MUST have an OAuth issuer. | DiscoveryClientDiscoveredCompany.require_oauthCompanyConfig | test_issuerless.py::test_no_issuer_is_refused_for_a_company_that_offers_sign_intest_issuerless.py::test_sign_in_is_refused_locallytest_fixtures.py::test_local_fixture_casetest_conformance.py::test_python_agent_python_company_with_no_issuer_over_tlsprotocol.website-without-issuerno-issuer.no-oauth-serverno-issuer.signed-out-interfacesno-issuer.sign-in-refused-locally | implemented |
PAP-3.2-24 | §3.2 | MUST | both | If the Company publishes this metadata, its resource MUST be exactly https://{organization.domain}, and its authorization_servers, when nonempty, names the issuer. | DiscoveryClient | test_fixtures.py::test_local_fixture_caseprotocol.issuer-from-protected-resource-metadataprotocol.resource-metadata-names-another-resourceprotocol.several-authorization-servers-need-auth-issuer | implemented |
PAP-3.2-25 | §3.2 | MUST | both | The Company's identifier is its issuer when it has one, and otherwise https://{organization.domain}, with the host in lowercase and no trailing slash. Session JWTs MUST use this identifier as their audience, and User IDs and Agent IDs are scoped by it. | DiscoveredCompany.identifierCompanyConfig.identifier | test_issuerless.py::test_no_issuer_is_found_and_the_identifier_is_the_domaintest_issuerless.py::test_with_an_issuer_the_identifier_is_the_issuertest_issuerless.py::test_the_companys_identifier_is_its_lowercase_domaintest_conformance.py::test_python_agent_python_company_with_no_issuer_over_tlsno-issuer.discoveryno-issuer.session-audience | implemented |
PAP-3.2-26 | §3.2 | MUST | personal-agent | HTTP 404, or valid metadata with authorization_servers absent or empty, means the Company has no issuer. This is valid only when auth.issuer is absent and the Company offers no sign-in; otherwise the Personal Agent MUST NOT use the Company. | DiscoveryClient.discoverDiscoveryDocument.needs_issuer | test_issuerless.py::test_no_issuer_is_found_and_the_identifier_is_the_domaintest_issuerless.py::test_no_issuer_is_refused_for_a_company_that_offers_sign_intest_fixtures.py::test_local_fixture_casetest_conformance.py::test_python_agent_python_company_with_no_issuer_over_tlsprotocol.feedback-needs-no-authno-issuer.discoveryno-issuer.metadata-without-serversno-issuer.sign-in-offered-without-issuer | implemented |
PAP-3.2-27 | §3.2 | MUST NOT | personal-agent | A Personal Agent MUST NOT use the domain fallback after a timeout, another error status, invalid metadata, or a failure to verify an issuer. | DiscoveryClient.discover | test_issuerless.py::test_another_status_is_never_the_domain_fallbacktest_issuerless.py::test_a_timeout_is_never_the_domain_fallbacktest_issuerless.py::test_invalid_metadata_is_never_the_domain_fallbacktest_issuerless.py::test_an_issuer_that_fails_to_verify_is_never_the_domain_fallbacktest_conformance.py::test_python_agent_python_company_with_no_issuer_over_tlsno-issuer.no-fallback-server-errorno-issuer.no-fallback-timeoutno-issuer.no-fallback-invalid-metadatano-issuer.no-fallback-unverified-issuer | implemented |
PAP-3.2-28 | §3.2 | MUST NOT | personal-agent | It MUST NOT fall back for a Company whose issuer it already knows unless a successful discovery explicitly establishes that the issuer was removed. | DiscoveryClient.discover | test_issuerless.py::test_a_known_issuer_is_never_lost_to_an_error | implemented |
PAP-3.2-29 | §3.2 | MUST | company | A Company that lists signed_in MUST have an issuer. | DiscoveryDocument.needs_issuerDiscoveryClient.discover | test_issuerless.py::test_no_issuer_is_refused_for_a_company_that_offers_sign_inno-issuer.sign-in-offered-without-issuer | implemented |
PAP-3.2-30 | §3.2 | MUST | personal-agent | Personal Agents MUST ignore unknown values of access and handle them as an absent hint. The hint grants no permission: runtime challenges and authorization events remain authoritative. | AgentProtocol.account_access | test_fixtures.py::test_local_fixture_caseprotocol.access-hint | implemented |
PAP-3.2-33 | §3.2 | MUST | personal-agent | Adding or changing an issuer can change that identifier. If it changes, Personal Agents MUST use new User IDs, Agent IDs, and Sessions for the new identifier. | DiscoveredCompany.identifierSqlitePairwiseUserIdStore | test_issuerless.py::test_user_ids_are_scoped_by_the_identifier | implemented |
PAP-3.2-34 | §3.2 | MUST NOT | personal-agent | A Personal Agent MUST NOT start Direct, Device, or Mediated Sign-In with a Company that sets auth.disabled. | DiscoveryDocument.sign_in_disabledDiscoveredCompany.require_oauth | test_company_rules.py::test_a_company_that_turned_sign_in_off_is_used_signed_out | implemented |
PAP-3.2-35 | §3.2 | MUST NOT | company | A Company that sets auth.disabled MUST NOT list the Mediated Sign-In extension or signed_in access. | CompanyConfig.sign_in_disabled | test_company_rules.py::test_a_company_that_turned_sign_in_off_is_used_signed_out | implemented |
PAP-3.2-36 | §3.2 | MUST NOT | company | A Company that lists signed_in MUST NOT set auth.disabled. | CompanyConfig.sign_in_disabled | test_company_rules.py::test_a_company_that_turned_sign_in_off_is_used_signed_out | implemented |
PAP-3.3-01 | §3.3 | MUST | both | Anyone else MUST start an extension's name with a domain they control, such as example.com/gift-wrap. | extension_name_kindnegotiate_extensions | test_fixtures.py::test_local_fixture_caseprotocol.third-party-extension-name | implemented |
PAP-3.3-02 | §3.3 | MUST | personal-agent | Personal Agents and Companies MUST ignore extensions and versions they don't support and fields they don't recognize, so either side can work with the other under this specification alone. | negotiate_extensionsoperations_negotiated | test_operations.py::test_operations_are_used_only_when_both_sides_list_version_2test_fixtures.py::test_local_fixture_caseprotocol.unknown-extension-ignoredprotocol.extension-version-mismatchprotocol.extension-recognized-from-the-request | implemented |
PAP-3.3-03 | §3.3 | MUST | company | Personal Agents and Companies MUST ignore extensions and versions they don't support and fields they don't recognize, so either side can work with the other under this specification alone. | CompanyService._clientClientMetadata | test_conformance.py::test_python_agent_python_company_over_tlstest_company_refusals.py::test_an_agent_without_the_extension_gets_no_operationsprotocol.extension-required-company | implemented |
PAP-3.3-04 | §3.3 | MUST | personal-agent | Personal Agents and Companies MUST ignore extensions and versions they don't support and fields they don't recognize, so either side can work with the other under this specification alone. | ProtocolModel | test_models.py::test_discovery_fixture_round_trips_and_preserves_extensionstest_fixtures.py::test_local_fixture_caseprotocol.minor-version-newerprotocol.unknown-fields-ignoredprotocol.unknown-api-typeprotocol.unknown-conversation-protocolprotocol.third-party-extension-nameprotocol.unknown-event-typeprotocol.unknown-operation-fields | implemented |
PAP-3.3-05 | §3.3 | MUST | company | Personal Agents and Companies MUST ignore extensions and versions they don't support and fields they don't recognize, so either side can work with the other under this specification alone. | ProtocolModelCompanyService._token | — | partial: The company parses requests with the same extra-tolerant models and ignores unknown form fields, but no test sends it unknown fields. |
PAP-3.4-01 | §3.4 | MUST | company | Each URL in supported_versions MUST be an HTTPS URL on the host that served poppy.json, after any redirects. | CompanyConfig.version_document_urlCompanyService.discovery_document | test_draft_04.py::test_the_company_serves_its_other_versions_documentsprotocol.supported-versions-published | implemented |
PAP-3.4-02 | §3.4 | MUST NOT | personal-agent | The Personal Agent MUST NOT use a document whose URL is on another host, and MUST NOT follow a redirect from it. | DiscoveryClient._version_documentDiscoveryClient._fetch | test_fixtures.py::test_local_fixture_caseprotocol.supported-versions-other-hostprotocol.supported-versions-redirect | implemented |
PAP-3.4-03 | §3.4 | MUST NOT | personal-agent | The document there has the protocol_version it is listed under, and no supported_versions. The Personal Agent MUST NOT use it if its protocol_version is another one. | DiscoveryClient._version_document | test_fixtures.py::test_local_fixture_caseprotocol.supported-versions-version-mismatchprotocol.supported-versions-lists-more | implemented |
PAP-3.4-04 | §3.4 | MUST | company | Every document a Company serves at the same time MUST have the same organization.domain and select the same issuer (3.2), so that a new version doesn't change the Company's identifier, and with it User IDs and refresh tokens. | CompanyService.discovery_documentDiscoveryClient._version_document | test_draft_04.py::test_the_company_serves_its_other_versions_documentstest_fixtures.py::test_local_fixture_caseprotocol.supported-versions-publishedprotocol.supported-versions-other-issuer | implemented |
PAP-3.4-05 | §3.4 | MUST NOT | personal-agent | Two versions are compatible when they have the same major version and, before 1.0, the same minor version. The Personal Agent chooses the newest version, among protocol_version and the versions in supported_versions, that is compatible with one it implements, and uses that version's document. If none is, it MUST NOT use any of them. | compatible_versionschoose_protocol_versionDiscoveryDocument.chosen_versionDiscoveryDocument.choose_versionDiscoveryClient.discover | test_draft_04.py::test_versions_are_compatible_by_major_and_before_1_0_by_minortest_fixtures.py::test_local_fixture_casetest_draft_10.py::test_a_company_that_serves_both_versions_is_used_at_the_newest_the_agent_implementsprotocol.supported-versions-newest-compatibleprotocol.no-compatible-version | implemented |
PAP-3.4-07 | §3.4 | MUST | personal-agent | On every request with the Session header (5.2), the Personal Agent sends the protocol version it implements, compatible with the chosen one, in Poppy-Version, as major.minor. When it uses extensions with the Company, it also sends Poppy-Extensions, an RFC 9651 List of Strings, each the name of an extension in the chosen document, with the version it uses as a String in the v parameter. The Personal Agent MUST send the same values on every request in a Session, and starts a new Session to change them. | PapSessionSessionClient.startDiscoveredCompany.session_versionimplemented_version_forsession_headersVERSION_HEADERformat_extensions_headernegotiate_extensions | test_draft_04.py::test_every_request_with_the_session_header_names_the_sessions_versiontest_draft_10.py::test_a_session_names_the_version_given_else_the_companys_else_the_default_onetest_draft_04.py::test_a_session_declares_the_extensions_it_uses_with_the_companytest_fixtures.py::test_local_fixture_caseprotocol.extensions-headerprotocol.unknown-extension-ignored | implemented |
PAP-3.4-08 | §3.4 | MUST | company | An endpoint that verifies the Session header (5.3) MUST also check Poppy-Version. | CompanyService._callerCompanyConfig.serves_version | test_draft_04.py::test_a_request_without_poppy_version_or_in_an_unserved_one_is_refusedprotocol.version-header-requiredprotocol.version-unserved | implemented |
PAP-3.4-09 | §3.4 | MUST NOT | company | It rejects a request without it, or with a version that isn't compatible with one the Company serves, with version_unsupported (HTTP 400, JSON body), and MUST NOT handle the request under another version. | CompanyService._caller | test_draft_04.py::test_a_request_without_poppy_version_or_in_an_unserved_one_is_refusedprotocol.version-header-requiredprotocol.version-unserved | implemented |
PAP10-3.1-01 | §3.1 (1.0) | MUST | both | domain MUST be the host that serves the document, after any redirects, with its port when that isn't 443. Personal Agents use a Company on another port only when configured to on purpose, such as for testing (section 3). | split_domainDiscoveryDocument.validate_version_fieldsDiscoveryClient.discoverCompanyConfig | test_published_10.py::test_a_domain_names_its_port_when_that_isnt_443_from_10_onlytest_published_10.py::test_an_agent_uses_a_company_on_another_port_only_when_configured_toprotocol.organization-domain-portprotocol.organization-domain-port-not-allowedprotocol.organization-domain-port-other-domain | implemented |
PAP10-3.4-01 | §3.4 (1.0) | MUST NOT | company | The Company MUST NOT send the Personal Agent a field, value, or event that only a minor version later than the request's Poppy-Version defines. | CompanyService.discovery_document | test_published_10.py::test_the_reference_company_describes_its_agent_at_10_and_not_at_04test_published_10.py::test_nothing_of_10_goes_into_a_04_exchangeprotocol.agent-protocols-described | implemented |
PAP10-3.4-02 | §3.4 (1.0) | MUST NOT | personal-agent | The Personal Agent MUST NOT send the Company one that only a version later than the chosen document's protocol_version defines. | ConversationClient._outgoing_messageclears_contextDiscoveryDocument.validate_version_fields | test_published_10.py::test_nothing_of_10_goes_into_a_04_exchangetest_published_10.py::test_a_10_document_needs_a_description_for_each_conversation_protocolprotocol.agent-protocol-description-not-in-04protocol.organization-domain-port-04 | implemented |
Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.