Conversations coverage
Messages, events, streaming, handoff, Direct Conversations, and closing (§8). Upstream: personalagentprotocol.org/docs/spec.
22 entries: 21 implemented, 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-8.2-01 | §8.2 | MUST | company | A conversation belongs to the Personal Agent's client_id and the User ID that started it, and, once it uses the User's account, to that account too. The Company MUST reject any other request, as the table shows. | CompanyService._owned | test_company_end_to_end.py::test_the_conversation_streams_and_a_stranger_cannot_read_ittest_conformance.py::test_python_agent_python_company_over_tlsconversations.not-found-indistinguishableconversations.signed-out-on-account-conversation | implemented |
PAP-8.2-02 | §8.2 | MUST NOT | both | Beyond these rules, the side that chooses an ID decides its format, and the other side MUST NOT depend on it. | Message.validate_idConversationEventPage.validate_ids | test_models.py::test_shared_client_conversation_and_operation_fixtures | implemented |
PAP-8.3-01 | §8.3 | MUST | personal-agent | Every POST body has an id, chosen by the Personal Agent, which MUST make it unique for the User across all its requests. A message's ID is its request's ID, so the message itself has no id. | generate_request_idConversationClient._request_idConversationClient._outgoing_message | test_conversations.py::test_start_and_continue_preserve_message_ids_and_parse_waited_eventstest_conversation_control.py::test_handoff_cancel_and_close_post_a_request_idtest_conformance.py::test_python_agent_python_company_over_tlsconversations.retry-replaysconversations.request-id-conflict | implemented |
PAP-8.3-02 | §8.3 | MUST | company | Every POST body has an id, chosen by the Personal Agent, which MUST make it unique for the User. If the Company has already accepted a request with that ID, path, and body, it returns the original response and doesn't act on the request again. If the path or body is different, the Company returns request_id_conflict. The Company keeps this check for as long as it keeps the conversation. | CompanyService._replayedCompanyService._claim_request_digest | test_company_refusals.py::test_a_reused_request_id_with_new_text_conflicts_and_a_retry_replaystest_company_rules.py::test_repeated_handoff_and_close_change_nothingconversations.retry-replaysconversations.request-id-conflict | implemented |
PAP-8.9-01 | §8.9 | MUST NOT | personal-agent | The Personal Agent learns which happened from handoff and responder, and MUST NOT depend on the cancel taking effect. | ConversationClient.cancel_handoffConversationClient.read_until_done | test_conformance.py::test_python_agent_python_company_over_tlsconversations.handoff-cancel | implemented |
PAP-8.12-01 | §8.12 | MUST NOT | personal-agent | A close doesn't wait its turn (8.3). The Company MAY act on any request it hasn't acted on yet, or MAY drop it, whether it accepted the request before or after the close. Which one happens can depend on timing, so the Personal Agent MUST NOT depend on either. | ConversationClient.closeConversationClient.read_until_done | test_conformance.py::test_python_agent_python_company_over_tlstest_company_rules.py::test_repeated_handoff_and_close_change_nothingconversations.closed | implemented |
PAP-8.4-01 | §8.4 | MUST | both | A message MUST have at least one of text, data, context, or extensions. | Message.validate_content | test_models.py::test_message_requires_contenttest_fixtures.py::test_local_fixture_caseprotocol.message-context-fields | implemented |
PAP-8.4-02 | §8.4 | MUST | personal-agent | When a Personal Agent shares one of these facts, it MUST use the field and format defined here. | Message.validate_context | test_fixtures.py::test_local_fixture_caseprotocol.message-context-fields | implemented |
PAP-8.4-03 | §8.4 | MUST NOT | both | A side MUST NOT send an extension's content unless the other side uses that extension with the same version; the Company checks the request's Poppy-Extensions (3.4), and the Personal Agent checks the Company's document for the version it chose (3.1). | CompanyService._replyCompanyService._supports_extensionparse_extensions_headeroperations_content | test_company_rules.py::test_extension_content_goes_only_to_an_agent_that_lists_the_extensiontest_operations.py::test_a_session_without_the_operations_scopes_is_refused | implemented |
PAP-8.4-04 | §8.4 | MUST NOT | both | A message from a person at the Company, or written by the User, with author.type human, MUST NOT include either field. | Message.validate_contentCompanyService.staff_reply | test_draft_04.py::test_only_an_ai_says_what_it_took_into_accounttest_draft_04.py::test_the_company_agent_names_the_request_it_answered_and_people_do_notconversations.as-of-request | implemented |
PAP-8.4-05 | §8.4 | MUST NOT | both | The Company and the Personal Agent MUST NOT depend on either field being present, and treat each only as a hint for interpreting the message. | MessageConversationClient.read_until_done | test_draft_04.py::test_only_an_ai_says_what_it_took_into_accountconversations.as-of-request | implemented |
PAP-8.5-01 | §8.5 | MUST | personal-agent | Personal Agents MUST skip event types they don't recognize, so later versions and extensions can add types. | ConversationEvent.knownConversationClient.events | test_fixtures.py::test_local_fixture_caseprotocol.unknown-event-type | implemented |
PAP-8.5-02 | §8.5 | MUST NOT | personal-agent | Cursors are opaque, so the Personal Agent MUST NOT compare or sort them. | ConversationClient.events | test_conversations.py::test_events_recover_cursor_drain_backlog_and_suppress_duplicatestest_conformance.py::test_python_agent_python_company_over_tlsconversations.invalid-cursor | implemented |
PAP-8.5-03 | §8.5 | MUST | company | Every successful read MUST include conversation_id, events, cursor, has_more, and the state fields working, handoff, responder, and closed (8.7), with events empty when there are none. | CompanyService._page_responseCompanyService._state_fieldsConversationEventPageConversationState | test_company_store.py::test_a_company_restarted_over_its_store_continues_every_flowtest_conformance.py::test_python_agent_python_company_over_tlstest_company_rules.py::test_a_read_without_its_fields_is_refusedtest_security_review.py::test_o8_a_reply_is_complete_when_working_is_falseconversations.start-and-replyconversations.has-more-drainedconversations.empty-readconversations.read-fields | implemented |
PAP-8.7-02 | §8.7 | MUST | company | Each Company message MUST also include author.type, with agent or human, to identify who wrote it. | CompanyService._reply | test_conformance.py::test_python_agent_python_company_over_tlsconversations.start-and-replyconversations.attribution | implemented |
PAP-8.8-01 | §8.8 | MUST | personal-agent | On the Personal Agent's side, the Personal Agent MUST set each message's author.type: agent when the Personal Agent wrote it, and human only when it carries the User's own words. | Author | test_conversation_control.py::test_a_direct_conversation_names_its_parent_and_the_parent_points_to_ittest_conformance.py::test_python_agent_python_company_over_tlsconversations.attribution | implemented |
PAP-8.10-01 | §8.10 | MUST | company | The parent conversation MUST be open, belong to the same owner (8.2), and not be a Direct Conversation itself. | CompanyService._start_conversation | test_company_refusals.py::test_a_direct_conversation_locks_its_parent_until_it_closestest_company_refusals.py::test_each_parent_problem_has_its_own_errortest_conformance.py::test_python_agent_python_company_over_tlsconversations.direct-conversationconversations.direct-of-direct-refused | implemented |
PAP-8.10-02 | §8.10 | MUST | company | The Company MUST reject a user_requested_event_id that doesn't name a user_requested event in that parent with invalid_request. | CompanyService._accept_user_request | test_company_refusals.py::test_the_company_speaks_first_in_a_direct_conversation_the_user_accepted | implemented |
PAP-8.10-03 | §8.10 | MUST NOT | company | The Personal Agent may observe every message in a Direct Conversation. The Company MUST NOT send information there that it cannot share with the Personal Agent. | — | — | not-applicable: What a Company may say to the User but not to the Personal Agent is the Company's policy; the reference companies' agents say nothing in a Direct Conversation they would not say to the agent. |
PAP-8.11-01 | §8.11 | MUST NOT | personal-agent | The Personal Agent MUST handle the event and matching challenge as one authorization need, and MUST NOT resubmit an accepted message because it received the challenge. | ConversationClient | test_conversations.py::test_an_authorization_event_with_its_challenge_on_an_accepted_message_is_one_need | implemented |
PAP10-8.1-01 | §8.1 (1.0) | MUST | company | An entry's description says, in plain language, what the agent at that endpoint can help with. The Company MUST include a description in every entry, and MAY say the agent can help with anything. | CompanyConfigCompanyService.discovery_documentAgentProtocolDiscoveryDocument.validate_version_fields | test_published_10.py::test_a_10_document_needs_a_description_for_each_conversation_protocoltest_published_10.py::test_the_reference_company_describes_its_agent_at_10_and_not_at_04protocol.agent-protocol-description-requiredprotocol.agent-protocols-described | implemented |
PAP10-8.6-01 | §8.6 (1.0) | MUST | personal-agent | Personal Agents MUST skip stream events with an SSE event name they don't recognize, so later versions and extensions can add them. | ConversationClient.stream | test_published_10.py::test_a_stream_skips_event_names_it_doesnt_know | implemented |
Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.