Mediated Sign-In coverage
The Mediated Sign-In extension, version 1. Upstream: personalagentprotocol.org/docs/extensions/mediated-sign-in.
12 entries: 10 implemented, 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 |
|---|---|---|---|---|---|---|---|
MED-1-01 | Mediated §1 | SHOULD | company | A Company SHOULD offer Mediated Sign-In only until it can add Direct or Device Sign-In, and SHOULD stop offering it once those cover the scopes it grants. | CompanyConfig | — | not-applicable: A Company's own decision; the reference company offers it to show the extension. |
MED-2-01 | Mediated §2 | MUST NOT | company | name is the parameter the Personal Agent sends. It MUST NOT be grant_type, scope, resource, a client authentication parameter such as client_id or client_assertion, or a parameter this extension defines, such as sign_in_id. | CompanyConfigMediatedSignIn.validate_fields | test_company_rules.py::test_a_company_cannot_publish_a_reserved_mediated_fieldtest_mediated.py::test_a_forbidden_field_name_is_refused | implemented |
MED-2-02 | Mediated §2 | MUST | personal-agent | secret marks a value the Personal Agent MUST protect: never shown back to the User, written to logs, or sent anywhere else. | MediatedSignInClientPROTECTED_INPUTS | test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_granttest_mediated.py::test_a_one_time_code_continues_without_the_credentials_or_scope | implemented |
MED-2-03 | Mediated §2 | MUST NOT | company | The Company MUST NOT grant scopes beyond those requested and listed here. | CompanyService._mediated_grant | test_company_rules.py::test_the_company_grants_only_the_extensions_scopestest_security_review.py::test_finding_8_mediated_sign_in_refuses_unknown_or_missing_scopes | implemented |
MED-6-01 | Mediated §6 | MUST NOT | personal-agent | Personal Agents MUST NOT send credentials anywhere other than the token_endpoint of the Company's issuer, with this grant. | MediatedSignInClient.sign_inSessionClient.token_request | test_mediated.py::test_a_redirect_never_carries_the_credentials_elsewheretest_security_review.py::test_finding_7_the_mediated_client_sends_credentials_once_and_follows_no_redirect | implemented |
MED-6-02 | Mediated §6 | MUST | personal-agent | A Personal Agent MUST choose which stored credentials to send by the Company's issuer, never by the field labels or the endpoint, | ProtectedInputRequestMediatedSignInClient.sign_in | test_company_rules.py::test_mediated_sign_in_in_a_session_another_account_used_signs_intest_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grant | implemented |
MED-6-03 | Mediated §6 | MUST | personal-agent | and MUST show the Company's organization.name and domain whenever it asks the User for credentials or a code. | ProtectedInputRequestPapSignIn | test_company_rules.py::test_mediated_sign_in_in_a_session_another_account_used_signs_intest_mediated.py::test_a_one_time_code_continues_without_the_credentials_or_scopetest_ui.py::test_direct_and_mediated_answers | implemented |
MED-6-04 | Mediated §6 | MUST | personal-agent | After a sign-in ends, with tokens or an error other than code_required, the Personal Agent MUST either discard the credentials or keep them only in a credential store the User chose, such as a password manager. | MediatedSignInClient.sign_inMediatedSignInClient._collect | test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_granttest_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text | implemented |
MED-6-05 | Mediated §6 | MUST NOT | personal-agent | It MUST NOT keep them anywhere else, including model context and logs (spec 10.2). | MediatedSignInClient | test_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text | implemented |
MED-6-06 | Mediated §6 | SHOULD NOT | personal-agent | After the User or the Company revokes the Personal Agent's access (spec 5.5), the Personal Agent SHOULD NOT sign in again with stored credentials unless the User asks it to. | MediatedSignInClient | test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grant | implemented |
MED-6-07 | Mediated §6 | SHOULD | personal-agent | A Personal Agent SHOULD use Direct or Device Sign-In rather than Mediated Sign-In when the Company offers it and its scopes cover the task. | OAuthServerMetadata.offers_directOAuthServerMetadata.offers_device | — | open: The SDK reports what a Company offers; choosing between sign-in types is the host's. |
MED-2-04 | Mediated §2 | SHOULD | company | scopes lists the scopes Mediated Sign-In can grant. The Company SHOULD also include them in scopes_supported. | CompanyConfig | test_draft_03.py::test_scopes_are_the_companys_described_and_never_poppy | implemented |
Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.