Repository navigation
local browser
Scope: the local website prepares a public browser request for approval by an existing development owner through the CLI. It needs no email account. The browser-to-CLI approval and sign-in flow has been exercised with a temporary virtual authenticator against fresh local contracts. The qualification record also covers agent creation, chat, persistent notes, browser-created credentials read through the owner CLI and interrupted creation recovery. Physical authenticators and unlisted workflows remain unqualified.
Start the managed website at its saved http://localhost:<port> origin. Register and log in a local owner. The approval uses that owner's protected session, request key and development passkey. It does not export those files to the browser.
- Paste the
operator_omnifrom owner registration into Owner ID on the website. - Select Create approval request and complete the browser passkey prompts. The existing owner is checked before passkey creation. The browser/authenticator must support passkey PRF; unsupported or cancelled prompts leave access blocked.
- Select Download public request. Compare the displayed account, website and complete device fingerprint before approving it with the command below.
- After a successful CLI receipt, select Approved in CLI — sign in and authenticate with the browser's passkey. Approval alone does not create a browser session.
For a returning browser, use Sign in with existing passkey. If a request expires, Refresh approval request reuses this browser identity and creates fresh public proofs. The browser saves only public credential metadata; device secrets and the authenticated session remain in memory. A failed sign-in configuration check offers retry and does not silently select email onboarding.
The request uses the shared HostedSignerApproval schema: browser public keys, account/origin, expiry and public possession proofs. Compare the entire device fingerprint with the browser that you intend to authorize. A file by itself is not a trusted confirmation. The selected account and website origin must also match.
Locally, from the repository root with the same selected local state:
printf 'Existing local owner name: '
IFS= read -r owner_name
printf 'Public browser request file: '
IFS= read -r browser_request
printf 'Device fingerprint shown by the browser: '
IFS= read -r browser_fingerprint
python3 terrier browser approve \
--name "$owner_name" \
--request-file "$browser_request" \
--confirm-device-key-hash "$browser_fingerprint"Only the guarded local development chain is supported. The request must be a regular file owned by the current user, without links or shared write access. Public read permissions are allowed. The native parser bounds input to the protocol-owned size limit and checks the browser's P-256 and device proofs, owner/account/chain, exact localhost origin, expiry and current operator nonce.
The existing authenticated broker prepare/build/submit endpoints perform their independent checks. Before signing the operation, the CLI recomputes its hash and compares the exact registration batch, account, nonce, empty initialization/signature and unsponsored local execution. It uses the actual owner's active request-key binding for recovery approval. No account is created and no owner secret enters the exchange file.
Success is a structured receipt with complete: true, the account, origin and device fingerprint. A new submission also includes its operation and transaction hashes. The CLI verifies the actual chain receipt and current account-signer/device bindings. The browser must then authenticate with its own passkey; possession of the request file cannot log in.
Before submission, the CLI writes an unsigned protected record under the selected owner's browser-approvals directory. A repeated command checks this saved operation without signing or submitting again, including after the owner's passkey file becomes unavailable. Current owner authentication and matching record bindings remain required. Concurrent attempts for the same request are refused.
An uncertain result returns a nonzero exit and complete: false with the operation hash. Restore service connectivity and repeat the same command. Do not delete its record or submit a replacement while its outcome is uncertain. If the process stopped before broadcast, the saved operation may remain unconfirmed; automatic re-signing is deliberately unavailable. Retain the record for diagnosis or explicitly reset an entirely disposable local stack.
The explicit website qualification includes a real-chain CLI scenario with fresh software proof keys. It covers approval, browser-credential login, wrong-owner/fingerprint/origin/nonce/expiry/signature denials with unchanged chain state, and receipt recovery without the owner passkey. This is functional CLI evidence, not physical authenticator or browser-PRF acceptance.
Locally, from the repository root after preparing contracts, native services and the website build:
python3 terrier test qualification --component websiteA manual localhost browser check exercised actual passkey PRF, public-request download, rejection before approval, CLI approval, sign-in, logout and repeat sign-in using a temporary Chrome virtual authenticator. This is separate from the software-key CLI scenario and does not certify a physical authenticator or every console workflow.
The ordinary fast lane runs pure proof/payload, file-safety and DOM component tests without starting a browser or chain. DOM tests cover public-only downloads, account preflight, changed account/origin/identity refusals before either proof is signed, cancelled prompts, refresh, and the post-approval login requirement. The real qualification is explicit and belongs in extended scheduled checks. Neither DOM mocks nor the software-key CLI fixture demonstrate a physical passkey's PRF support.
Canonical source · revision 883a09ee4a93a4420c28f1dba75077c7046500de.