{"schema_version":"1.0","service":"CAISICO Passport","purpose":"One human Principal controls one Passport used for CAISICO authentication.","registration":{"status":"CLOSED","available":false,"status_source":"WORKER_AND_D1","entry_url":null,"api_entry_url":null,"availability_rule":"Registration is available only when the Worker gate has not reached its configured deadline and both the Worker and D1 registration gates are OPEN.","closed_behavior":"Do not start or retry registration. Existing-account authentication remains available.","preferred_method":"PASSKEY_WEBAUTHN","alternative_method":"PASSWORD","methods":["PASSKEY_WEBAUTHN","PASSWORD"],"browser_entry":"https://passport.caisico.com/passport/register","browser_requirements":{"secure_context":true,"origin":"https://passport.caisico.com","relying_party_id":"passport.caisico.com","webauthn":"Required for passkey registration. A compatible browser invokes the native platform or available authenticator ceremony; Touch ID may be offered on a compatible Mac.","cross_origin_registration":false,"cookies":"Not used for Passport sessions. Successful registration returns a proof-of-possession-bound session held privately by the same-origin client."},"email_verification_required":true,"success_confirmation":{"browser_message":"Passport created. An authorized session is established in this page only.","api_fields":["principal_id","passport_id","session_token","session_expires_at","session_absolute_expires_at"],"privacy":"Identifiers and session material are private. The browser page confirms success without displaying them."},"required_human_participation":["The human supplies and controls the email address.","The human privately receives and enters the email verification token.","Passkey is preferred. The human completes the browser or operating-system WebAuthn ceremony; password remains an alternative.","On a compatible Mac, the available system authenticator may offer Touch ID. Biometric data never leaves the authenticator.","The human retains credentials and recovery material; an AI must not log them."]},"steps":[{"order":1,"action":"Check this document immediately before registration and require registration.status=OPEN.","endpoint":"https://passport.caisico.com/passport/discovery","method":"GET"},{"order":2,"action":"Open the same-origin Passport registration page. The AI may navigate there, but the human supplies private fields and approves the credential ceremony.","endpoint":"https://passport.caisico.com/passport/register","method":"GET","json_fields":["email"]},{"order":3,"action":"Request email verification with the human-controlled email address. Email verification is required for both registration methods.","endpoint":"https://passport.caisico.com/passport/email/verification/request","method":"POST","json_fields":["email"]},{"order":4,"action":"After the human provides the verification token, use passkey registration when WebAuthn is available; otherwise use the password alternative.","choices":[{"method":"PASSKEY_WEBAUTHN","preferred":true,"options_endpoint":"https://passport.caisico.com/passport/register/passkey/options","options_json_fields":["email","email_verification_token"],"verify_endpoint":"https://passport.caisico.com/passport/register/passkey/verify","verify_json_fields":["challenge_id","response","audience","pop_public_jwk"],"human_presence":"Required through the browser or operating-system WebAuthn ceremony.","options_http_method":"POST","verify_http_method":"POST"},{"method":"PASSWORD","preferred":false,"endpoint":"https://passport.caisico.com/passport/register/password","http_method":"POST","password_requirements":{"minimum_characters":12,"maximum_characters":128},"json_fields":["email","email_verification_token","password","audience","pop_public_jwk"]}]},{"order":5,"action":"Treat principal_id, passport_id and session_token in a successful response as private. Bind session use to the supplied proof-of-possession key and audience."}],"existing_account_authentication":{"remains_available_when_registration_closed":true,"password_endpoint":"https://passport.caisico.com/passport/authenticate/password","password_json_fields":["email","password","audience","pop_public_jwk"],"passkey_options_endpoint":"https://passport.caisico.com/passport/authenticate/passkey/options","passkey_verify_endpoint":"https://passport.caisico.com/passport/authenticate/passkey/verify","session_status":{"endpoint":"https://passport.caisico.com/passport/session/status","method":"POST","authentication":"PoP session token plus CAISICO-POP-V1 proof","proof_bindings":["authority","method","path_and_query","body_digest","audience","timestamp","nonce","session_token_digest"],"persistence":"Consumes one unique session nonce and writes one bounded SESSION_STATUS success audit event atomically.","request_body":"MUST_BE_EMPTY","lifetime_limit":"Status succeeds only while the session has fewer than 32 consumed PoP nonces across all protected operations; the shared ceiling is atomically enforced and may permit fewer than 32 status checks.","response_fields":["active","principal_id","passport_id","audience","expires_at","absolute_expires_at","revoked","receipt_reference"],"effects":"Does not renew, revoke, extend or grant authority to the session. Creates no identity, credential, Marketplace, Credit Ledger or payment authority.","failures":["request_denied","session_inactive","proof_invalid"]},"session_renew_endpoint":"https://passport.caisico.com/passport/session/renew","session_revoke_endpoint":"https://passport.caisico.com/passport/session/revoke","session_authorization":"Use the documented proof-of-possession session flow; never expose session tokens.","password_http_method":"POST","passkey_options_http_method":"POST","passkey_verify_http_method":"POST","session_renew_http_method":"POST","session_revoke_http_method":"POST","browser_login":{"endpoint":"https://passport.caisico.com/passport/login","method":"GET","purpose":"Human-controlled existing-Passport login; page view creates no challenge or session."},"owner_boundary":"A compatible browser and the human owner perform WebAuthn. This public-discovery scope authorizes no AI credential handling or challenge initiation. Current policy separately permits voluntary owner-provided email/password use by a qualified compatible AI; passkey private keys and biometric ceremonies are not transferable.","commercial_authority":"Passport authenticates a Principal; it grants no currently active Marketplace, Credit Ledger or payment operation."},"errors":{"registration_closed":{"http_status":403,"retry":"Only after a fresh discovery check reports OPEN."},"rate_limited":{"http_status":429,"retry":"Stop and wait; do not bypass limits."},"request_denied":{"http_status":400,"retry":"Correct the request or repeat the required human ceremony; never guess secrets."},"not_found":{"http_status":404,"retry":"Use only the endpoints in this document."}},"unavailable":["Marketplace activation","Credit Ledger","payments","public administration","commercial launch"],"links":{"discovery":"https://passport.caisico.com/passport/discovery","human_entry":"https://caisico.com/","executive":"https://caisico.com/ai/","details":"https://caisico.com/ai/details.html","business_json":"https://caisico.com/ai/business.json","health":"https://passport.caisico.com/health","browser_registration":"https://passport.caisico.com/passport/register"},"ai_entrance":"https://caisico.com/llms.txt","capability_status":{"public_discovery":"PRODUCTION AVAILABLE","existing_passport_login":"RESTRICTED / HUMAN AUTHENTICATION REQUIRED","registration":"RESTRICTED / REGISTRATION CLOSED","marketplace":"PLANNED / NOT ACTIVE","payments_and_credit_ledger":"PLANNED / NOT ACTIVE","external_ai_authentication":"NOT QUALIFIED"},"public_operations_scope":"Navigational summaries of implemented routes, not an exhaustive execution or database-effects specification. State-changing calls can consume rate windows, attempts, challenges, nonces, and audit records on success or denial; consult the current security contract and obtain exact authority before use.","public_operations":[{"name":"passport_discovery","purpose":"Read live gate and documented methods","url":"https://passport.caisico.com/passport/discovery","method":"GET","authentication":"NONE","required_input":"NONE","expected_output":"JSON capability and gate document","state_change":false,"availability":"PRODUCTION AVAILABLE","limitations":"Read before any Passport action; no challenge or session."},{"name":"passport_health","purpose":"Read service health","url":"https://passport.caisico.com/health","method":"GET","authentication":"NONE","required_input":"NONE","expected_output":"JSON service status","state_change":false,"availability":"PRODUCTION AVAILABLE","limitations":"Health does not prove authentication or registration availability."},{"name":"existing_passport_login_page","purpose":"Present same-origin login to the human","url":"https://passport.caisico.com/passport/login","method":"GET","authentication":"NONE","required_input":"NONE","expected_output":"HTML login interface","state_change":false,"availability":"PRODUCTION AVAILABLE","limitations":"The page view is not authentication."},{"name":"passkey_authentication_options","purpose":"Begin existing-Passport WebAuthn authentication","url":"https://passport.caisico.com/passport/authenticate/passkey/options","method":"POST","authentication":"HUMAN CEREMONY FOLLOWS","required_input":"No required JSON fields; browser sends {}; current route also accepts an absent body. Supplied Origin must match the configured Passport origin.","expected_output":"challenge_id and WebAuthn options","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"Creates an expiring challenge and attempt/rate records; never call for discovery."},{"name":"passkey_authentication_verify","purpose":"Verify a human-approved WebAuthn assertion","url":"https://passport.caisico.com/passport/authenticate/passkey/verify","method":"POST","authentication":"EXISTING PASSKEY / HUMAN APPROVAL","required_input":"challenge_id, response, audience, pop_public_jwk","expected_output":"existing principal_id, passport_id and private session result on success","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"Consumes challenge and may update credential metadata and issue a Principal-bound session. Never expose session material."},{"name":"password_authentication","purpose":"Authenticate an existing Passport using its password","url":"https://passport.caisico.com/passport/authenticate/password","method":"POST","authentication":"OWNER-PROVIDED PASSWORD WHEN QUALIFIED","required_input":"email, password, audience, pop_public_jwk","expected_output":"existing principal_id, passport_id and private session result on success","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"Creates rate-window and attempt records; may write denial audit on failure. Success creates a session and authentication/issuance audits. External-AI password custody is not qualified by this discovery document."},{"name":"session_status","purpose":"Check an existing secure session","url":"https://passport.caisico.com/passport/session/status","method":"POST","authentication":"PoP session token and CAISICO-POP-V1 proof","required_input":"Empty body; authorization and request-bound proof headers","expected_output":"active state, Principal/Passport binding, audience, expiry and receipt reference","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"Consumes one nonce and writes a correlated audit event; does not renew the session."},{"name":"session_renew","purpose":"Rotate an existing secure session","url":"https://passport.caisico.com/passport/session/renew","method":"POST","authentication":"PoP session token and CAISICO-POP-V1 proof","required_input":"authorization and request-bound proof headers; proof hashes the actual body bytes, whether empty or present","expected_output":"replacement private session result","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"Can update rate windows; on success consumes a nonce, revokes the old session, creates one replacement within the absolute lifetime and writes audit. Not a discovery call."},{"name":"session_revoke","purpose":"Revoke an existing secure session","url":"https://passport.caisico.com/passport/session/revoke","method":"POST","authentication":"PoP session token and CAISICO-POP-V1 proof","required_input":"authorization and request-bound proof headers; proof hashes the actual body bytes, whether empty or present","expected_output":"revoked=true on success","state_change":true,"availability":"RESTRICTED / AUTHORIZATION REQUIRED","limitations":"On success consumes a nonce, revokes the session and writes audit; not a discovery call."},{"name":"registration_page","purpose":"Present registration interface to the human","url":"https://passport.caisico.com/passport/register","method":"GET","authentication":"NONE","required_input":"NONE","expected_output":"HTML registration interface","state_change":false,"availability":"RESTRICTED / REGISTRATION CLOSED","limitations":"Page view does not register; use the live gate before any write."},{"name":"email_verification_request","purpose":"Request human-controlled email verification","url":"https://passport.caisico.com/passport/email/verification/request","method":"POST","authentication":"HUMAN EMAIL CONTROL","required_input":"email","expected_output":"delivery status, masked destination and expiry","state_change":true,"availability":"RESTRICTED / LIVE REGISTRATION GATE","limitations":"Blocked while CLOSED; creates verification/delivery records."},{"name":"passkey_registration_options","purpose":"Begin human-approved passkey registration","url":"https://passport.caisico.com/passport/register/passkey/options","method":"POST","authentication":"VERIFIED HUMAN EMAIL","required_input":"email, email_verification_token","expected_output":"challenge_id and WebAuthn options","state_change":true,"availability":"RESTRICTED / LIVE REGISTRATION GATE","limitations":"Blocked while CLOSED; consumes email proof and creates challenge."},{"name":"passkey_registration_verify","purpose":"Complete human-approved passkey registration","url":"https://passport.caisico.com/passport/register/passkey/verify","method":"POST","authentication":"HUMAN WEBAUTHN APPROVAL","required_input":"challenge_id, response, audience, pop_public_jwk","expected_output":"new principal_id, passport_id and private session result","state_change":true,"availability":"RESTRICTED / LIVE REGISTRATION GATE","limitations":"Blocked while CLOSED; creates identity only after verified ceremony."},{"name":"password_registration","purpose":"Complete verified-email password registration","url":"https://passport.caisico.com/passport/register/password","method":"POST","authentication":"HUMAN EMAIL AND PASSWORD","required_input":"email, email_verification_token, password, audience, pop_public_jwk","expected_output":"new principal_id, passport_id and private session result","state_change":true,"availability":"RESTRICTED / LIVE REGISTRATION GATE","limitations":"Blocked while CLOSED; never expose password or session material."}]}