Skip to main content

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.

IDSectionLevelRoleRequirementSDK symbolTestsStatus
PAP-6-16§6MUSTcompanyThe 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_join
BrowserSessionClient.join
test_draft_04.py::test_a_signed_in_browser_join_needs_the_browser_sign_in_scope
lifecycle.browser-sign-in-scope
lifecycle.browser-joins-session
implemented
PAP-6-17§6MUSTcompanyA 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_scopes
DiscoveryDocument.browser_sign_in_scopes
test_draft_04.py::test_a_signed_in_browser_join_needs_the_browser_sign_in_scope
test_fixtures.py::test_local_fixture_case
lifecycle.browser-sign-in-scope
protocol.web-disabled
protocol.web-disabled-with-endpoint
protocol.web-disabled-without-interfaces
implemented
PAP-6-18§6MUSTcompanyAfter 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.describe
CompanyService.discovery_document
test_draft_04.py::test_web_unscoped_and_web_disabled_are_published_and_read
protocol.web-unscoped
implemented
PAP-6-19§6MUSTcompanyA 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.WebDescriptor
DiscoveryDocument.validate_interfaces
CompanyConfig
test_draft_04.py::test_web_unscoped_and_web_disabled_are_published_and_read
test_fixtures.py::test_local_fixture_case
protocol.web-disabled
protocol.web-disabled-with-endpoint
protocol.web-disabled-without-interfaces
protocol.web-unscoped-without-endpoint
protocol.web-unscoped
implemented
PAP-6-01§6MUSTpersonal-agentWhen it does, the Personal Agent MUST join its browser to a Session before browsing the Company's website.BrowserSessionClient.jointest_browser.py::test_the_agent_authorizes_the_pages_code_and_the_browser_submits_the_form
lifecycle.browser-joins-session
implemented
PAP-6-02§6MUSTcompanyThe Company MUST make the code unguessable and short-lived, and each code works once.CompanyService._join_pagetest_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framedimplemented
PAP-6-03§6MUSTcompanyThe 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_pagetest_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framed
test_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_session
lifecycle.browser-joins-session
lifecycle.browser-join-refused
implemented
PAP-6-04§6MUST NOTcompanyThe 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.CompanyServicetest_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framedimplemented
PAP-6-05§6MUST NOTcompanyThe 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_pagetest_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framed
lifecycle.browser-joins-session
implemented
PAP-6-06§6MUST NOTcompanyLoading the join page MUST NOT start, end, or change any Session, or change the browser's other cookies.CompanyService._join_pagetest_mcp_and_web.py::test_the_join_page_is_one_time_tied_to_its_browser_and_never_framed
lifecycle.browser-joins-session
lifecycle.browser-join-refused
implemented
PAP-6-07§6MUSTpersonal-agentThe 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.join
BrowserJoin
test_browser.py::test_the_agent_authorizes_the_pages_code_and_the_browser_submits_the_form
lifecycle.browser-join-refused
implemented
PAP-6-08§6MUSTcompanyThe Company MUST check that: the request has the cookie from step 1, and it matches code.CompanyService._browser_sessiontest_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_session
lifecycle.browser-join-refused
implemented
PAP-6-09§6MUSTcompanyThe Company MUST check that: the code was authorized in step 2, hasn't expired, and hasn't been submitted before.CompanyService._browser_sessiontest_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_session
test_browser.py::test_a_code_the_company_refuses_is_never_submitted
lifecycle.browser-join-refused
implemented
PAP-6-10§6MUSTcompanyThe Session's cookie MUST be set only in step 3.CompanyService._browser_sessiontest_mcp_and_web.py::test_a_join_needs_its_own_browser_its_code_once_and_a_live_session
lifecycle.browser-join-refused
implemented
PAP-6-11§6MUSTcompanyThe 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_session
CompanyService._browser_session
test_mcp_and_web.py::test_a_joined_browser_follows_the_session
test_conformance.py::test_python_agent_python_company_over_tls
test_mcp_and_web.py::test_joining_again_without_a_token_replaces_the_cookie_and_ends_the_sign_in
lifecycle.browser-joins-session
implemented
PAP-6-12§6MUST NOTcompanyThe Session's cookie MUST NOT outlive the Session.CompanyService.web_session
CompanyService._browser_session
test_mcp_and_web.py::test_a_joined_browser_follows_the_session
test_conformance.py::test_python_agent_python_company_over_tls
lifecycle.browser-joins-session
implemented
PAP-6-13§6SHOULDcompanyWhen 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§6MUSTpersonal-agentThe Personal Agent MUST join only a browser it controls to a Session, never the User's own browser.BrowserJoin
BrowserSessionClient
test_mcp_and_web.py::test_a_joined_browser_follows_the_sessionpartial: 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§6SHOULD NOTcompanyIn 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.