Repository navigation
Clane Vault 1.9.0
Upgrading: take a backup; migrations 20261115000000_personal_agents (Agent.orgId becomes nullable, a new Agent.ownerUserId column with a CHECK that exactly one of the two is set), 20261116000000_agent_writes and 20261117000000_agent_reveal run on start. Upgrade the server, the agent gateway, the web app and the extension together: an older gateway and a newer web app can't complete a reveal approval, and an older app can't open .env file items. Operators using AWS KMS must add ownerUserId to the allowed encryption-context keys before anyone enrols a personal agent (docs/agents.md, Keys at rest). No .env change otherwise.
- Personal agents (
docs/agents.md, Personal agents): anyone, not only admins, can create an agent of their own under Settings → My agents and give it items from their Personal space one at a time (Can use in the share sheet, or Give to agent… on several). A personal agent is not an organisation member; enrolment binds it to its owner's key, which the owner's browser checks, and the gateway pin for personal agents is the owner's own (personal), trust-on-first-use in practice. My agents shows each agent's activity; Revoke lists the items to rotate. The OAuth consent page lists Your agents. - Organisations get a Personal agents policy block, editable on every plan (
docs/policies.md): switching it off suspends members' personal agents without deleting them. Admins see lifecycle events only (personal_agent.create|verify|revoke|connect|suspended) and a count under Admin → Agents, never what an agent holds. - Hosted: Personal 1 personal agent per person, Team 2, Business 5, outside the organisation's agent bundle. Self-hosted: up to 20 per person.
- On by default wherever agent access is on. Switch them off for the whole server with
PERSONAL_AGENTS=offon the API, or for one organisation's members with its policy. - Personal agents save and update items (
docs/agents.md, Saving and updating items): new toolssave_secretandupdate_secret, andcaptureonhttp_request, which saves a credential the upstream creates without the model seeing it. What an agent saves is a gateway-signed deposit in the Personal space's new From agents inbox, never a record until the owner checks it and chooses Keep (unkept ones are deleted after 90 days). An agent changes an item only where the owner ticks Agent can update this item; the item then shows Changed by agent with Restore previous (the last 5 versions are kept for 30 days) and Looks right. No agent can delete anything. Writes are limited toGATEWAY_WRITE_PER_HOUR(default 20) per agent on the gateway; an organisation's Agents may save and update items policy switches them off for its members. Migration20261116000000_agent_writes(tablesAgentDepositandRecordAgentOverwrite, and new nullable or defaulted columns onRecordandRecordAccess) runs on start. - .env file items (
docs/record-types.md, .env files): a fifteenth record type that keeps a project's.envverbatim. New → .env file, drop the file in, and each entry is a masked row with Show and Copy; Download returns the same bytes. Search finds it by key name, never by a value. Agents use one entry through Agent use (env:<KEY>), see the keys inlist_secrets, save a file withsave_secret, change entries withupdate_secret'sset.env, and capture a created key into a new file withentry; the inbox shows a newer copy's differences and can Replace the contents of an existing file (docs/agents.md, .env files). No migration, no new setting. Update the web app and the extension together: an older app shows a .env file item as Can't open this record. - An agent skill for Clane Vault (
skills/clane-vault), and the Connect sheet's Instructions for the model. No migration, no setting. Install and limits:docs/agents.md, The agent skill. - Personal agents can read a value the owner allows (
docs/agents.md, Letting an agent read a value): a new toolget_secret, and Can reveal / Can use and reveal with a field picker in a Personal item's share sheet. Each read is a request signed by the gateway that the owner approves or denies in the unlocked web app (Allow once, Deny), after the browser checks the signature against the pinned gateway; the browser seals only the approved fields to the request's one-time key. A request expires after 5 minutes; one at a time per agent; three denials in ten minutes pause an agent's requests for an hour; at mostGATEWAY_REVEAL_PER_HOUR(default 10) new requests per agent per hour.totpgives the current code, never the 2FA secret. The extension shows a badge and, with the optionalnotificationspermission, a notification; an email (one per 10 minutes at most, Email me when an agent asks for a secret) only says a request is waiting. Revealed values are disclosed to the model provider for good: seeSECURITY.md.GATEWAY_REVEALisoffby default: nothing reads a value until the gateway's operator sets it. Migration20261117000000_agent_reveal(tablesAgentRevealGrantandAgentRevealRequest, an enum, and new nullable or defaulted columns onAgentandUser) runs on start. - Reading without approval (
docs/agents.md, Reading without approval), for unattended agents: where the gateway's operator setsGATEWAY_REVEAL=standing, every organisation's Reading values policy is Without approval and the owner turns it on for an item (typing its title), the agent reads the listed fields with nobody asked. The setting lives inside the item's encrypted body (agentReveal), so the server can't add an agent or widen the fields; an older app drops it on save, which stops it. No migration.