Browser coverage
Joining a Session in the personal agent's own browser (§6). Upstream: personalagentprotocol.org/docs/spec.
19 entries: 16 implemented, 1 partial, 1 open, 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-6-16 | §6 | MUST | company | The Company MUST reject an access token in step 2 that doesn't have the poppy:browser-sign-in scope, with insufficient_scope as at an API (section 7). | CompanyService._authorize_joinBrowserSessionClient.join | test_draft_04.py::test_a_signed_in_browser_join_needs_the_browser_sign_in_scopelifecycle.browser-sign-in-scopelifecycle.browser-joins-session | implemented |
PAP-6-17 | §6 | MUST | company | A Company that lists browser_session_endpoint and offers sign-in MUST support poppy:browser-sign-in (4.7), though it MAY grant it to fewer clients or Users, as for any scope. A Personal Agent requests poppy:browser-sign-in only from a Company that lists browser_session_endpoint. | CompanyConfig.offered_scopesDiscoveryDocument.browser_sign_in_scopes | test_draft_04.py::test_a_signed_in_browser_join_needs_the_browser_sign_in_scopetest_fixtures.py::test_local_fixture_caselifecycle.browser-sign-in-scopeprotocol.web-disabledprotocol.web-disabled-with-endpointprotocol.web-disabled-without-interfaces | implemented |
PAP-6-18 | §6 | MUST | company | After a signed-in join, the Company's website MUST either apply the cookie's scopes, as the Company's APIs apply an access token's, or treat poppy:browser-sign-in as access to everything the account can do on the website. When poppy:browser-sign-in gives the account's full access on the website, the Company MUST describe it that way (4.7), and in Direct and Device Sign-In MUST ask the User to approve it like any other scope. | CompanyConfig.describeCompanyService.discovery_document | test_draft_04.py::test_web_unscoped_and_web_disabled_are_published_and_readprotocol.web-unscoped | implemented |
PAP-6-19 | §6 | MUST | company | A Company whose website treats poppy:browser-sign-in as the account's full access MUST set web.unscoped to true in poppy.json, so the Personal Agent knows what the scope allows before requesting it. A Company that sets web.unscoped MUST list browser_session_endpoint. A Company that sets web.disabled MUST NOT list browser_session_endpoint, and MUST list agent or apis. | WebDescriptorDiscoveryDocument.validate_interfacesCompanyConfig | test_draft_04.py::test_web_unscoped_and_web_disabled_are_published_and_readtest_fixtures.py::test_local_fixture_caseprotocol.web-disabledprotocol.web-disabled-with-endpointprotocol.web-disabled-without-interfacesprotocol.web-unscoped-without-endpointprotocol.web-unscoped | implemented |
PAP-6-01 | §6 | MUST | personal-agent | When it does, the Personal Agent MUST join its browser to a Session before browsing the Company's website. | BrowserSessionClient.join | test_browser.py::test_the_agent_authorizes_the_pages_code_and_the_browser_submits_the_formlifecycle.browser-joins-session | implemented |
PAP-6-02 | §6 | MUST | company | The Company MUST make the code unguessable and short-lived, and each code works once. | CompanyService._join_page | test_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framed | implemented |
PAP-6-03 | §6 | MUST | company | The Company MUST tie the code to the browser that loaded the page with a cookie set in the same response, so that only that browser can submit it. | CompanyService._join_page | test_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framedtest_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_sessionlifecycle.browser-joins-sessionlifecycle.browser-join-refused | implemented |
PAP-6-04 | §6 | MUST NOT | company | The cookie MUST NOT be sent with a form submitted from another site, and other hosts on the Company's domain MUST NOT be able to set it. | CompanyService | test_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framed | implemented |
PAP-6-05 | §6 | MUST NOT | company | The page MUST NOT be stored by caches, framed by other pages, or kept as a window reference by the page that opened it. | CompanyService._join_page | test_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framedlifecycle.browser-joins-session | implemented |
PAP-6-06 | §6 | MUST NOT | company | Loading the join page MUST NOT start, end, or change any Session, or change the browser's other cookies. | CompanyService._join_page | test_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framedlifecycle.browser-joins-sessionlifecycle.browser-join-refused | implemented |
PAP-6-07 | §6 | MUST | personal-agent | The Personal Agent MUST take the code only from the page its own browser loaded from the endpoint in step 1, and MUST NOT authorize a code from anywhere else, such as a message, a conversation, or another page. | BrowserSessionClient.joinBrowserJoin | test_browser.py::test_the_agent_authorizes_the_pages_code_and_the_browser_submits_the_formlifecycle.browser-join-refused | implemented |
PAP-6-08 | §6 | MUST | company | The Company MUST check that: the request has the cookie from step 1, and it matches code. | CompanyService._browser_session | test_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_sessionlifecycle.browser-join-refused | implemented |
PAP-6-09 | §6 | MUST | company | The Company MUST check that: the code was authorized in step 2, hasn't expired, and hasn't been submitted before. | CompanyService._browser_session | test_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_sessiontest_browser.py::test_a_code_the_company_refuses_is_never_submittedlifecycle.browser-join-refused | implemented |
PAP-6-10 | §6 | MUST | company | The Session's cookie MUST be set only in step 3. | CompanyService._browser_session | test_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_sessionlifecycle.browser-join-refused | implemented |
PAP-6-11 | §6 | MUST | company | The cookie MUST act for the account and scopes authorized in step 2, if any, and MUST stop acting for the account when the User signs out or disconnects the Personal Agent (5.5). | CompanyService.web_sessionCompanyService._browser_session | test_mcp_and_web.py::test_a_joined_browser_follows_the_sessiontest_conformance.py::test_python_agent_python_company_over_tlstest_mcp_and_web.py::test_joining_again_without_a_token_replaces_the_cookie_and_ends_the_sign_inlifecycle.browser-joins-session | implemented |
PAP-6-12 | §6 | MUST NOT | company | The Session's cookie MUST NOT outlive the Session. | CompanyService.web_sessionCompanyService._browser_session | test_mcp_and_web.py::test_a_joined_browser_follows_the_sessiontest_conformance.py::test_python_agent_python_company_over_tlslifecycle.browser-joins-session | implemented |
PAP-6-13 | §6 | SHOULD | company | When the website refuses an action because the Session lacks a scope, it SHOULD show a visible error message that names the missing scopes. | CompanyService.web_session | — | open: The reference website has one page, an operation's; its refusals say the Session ended rather than name a scope. |
PAP-6-14 | §6 | MUST | personal-agent | The Personal Agent MUST join only a browser it controls to a Session, never the User's own browser. | BrowserJoinBrowserSessionClient | test_mcp_and_web.py::test_a_joined_browser_follows_the_session | partial: The contract of pap.browserJoin and the guides say so; only the host knows whose browser it contributes, so the SDK can't check it. |
PAP-6-15 | §6 | SHOULD NOT | company | In a join without an access token, the Company SHOULD NOT end or change that login, because the Personal Agent's browser may have a login it can't easily recreate. | — | — | not-applicable: The reference companies have no website login beyond the Session's cookie: there is no other login to keep. |
Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.