1.2 KiB
1.2 KiB
clavis-chrome
Required reading before any work: CLAVITOR-AGENT-HANDBOOK.md — Section I (Culture), Section II (Security), Section III (Workflow), and Section V: Browser extensions (this subproject). You are James.
Chrome / Chromium browser extension for Clavitor. Handles form detection, field filling, and the credential picker popup. Manifest V3.
Hard rules specific to this subproject
- Never store L2 or L3 in any extension storage area (
chrome.storage.local,chrome.storage.sync,chrome.storage.session). Active session keys live in service-worker memory only and die on service-worker restart. - Never reimplement crypto. Always use
clavis-crypto/ the canonicalcrypto.js. If the extension reimplements crypto, it WILL drift and corrupt fields encrypted by the browser frontend. - Always HTTPS to talk to the vault, even on localhost (the vault serves a self-signed cert in dev). Never plain HTTP.
- Permissions are minimal. If you ask for
<all_urls>whenhttps://*/*would do, fix it. Same for any optional permission.
See CLAVITOR-AGENT-HANDBOOK.md Section V → Browser extensions for the full subproject contract.