The audit log
The approver appends one JSON line to ~/.keypaste/audit.jsonl for every call it answers. The bridge writes one only for a call it refused itself or that no approver answered. KEYPASTE_HOME moves the folder; a bridge’s --audit-log moves only its own lines. In the app the log is Activity, in Agents, which lists your browser’s requests as yours and hides its lookups until you show them; the file keeps every line.
A call whose line cannot be written is refused. A line never holds a value, but item names and reasons are logged, so treat the log as sensitive. On Windows it inherits its folder’s permissions, so keep KEYPASTE_HOME in a folder only you can read.
Read it
Section titled “Read it”keypaste logkeypaste log --deniedkeypaste log --client claude-code --since 2hkeypaste log --jsonCheck it has not been edited
Section titled “Check it has not been edited”keypaste log verifykeypaste log verify --checkpointskeypaste log verify --expect <hash>Each line holds its predecessor’s hash, so keypaste log verify finds an edited line and exits 5. Whoever can write the file can recompute the chain, so the approver signs a checkpoint every 64 lines and at lock with a key the vault holds; --checkpoints asks for the master password and checks them. Lines after the last checkpoint are unsigned, and deleting the last lines leaves a valid chain. To catch that, keep the Latest hash elsewhere and pass it to --expect (THREATS T-5).
How long lines stay
Section titled “How long lines stay”Requests for values, runs, saves and changes, and your browser’s fills, keep their own lines. An agent’s lookups and your browser’s are folded after 30 days into one log_summary line per agent or browser pairing per day. Settings › Keep activity for sets how long anything is kept: 90 days, 1 year (default), 2 years or forever. While app.toml can’t be read, nothing is removed.
Archive it
Section titled “Archive it”- Quit the app,
keypaste approveand every AI tool running the bridge. - Run
keypaste log verifyand keep theLatesthash off this computer. - Move the file aside:
mv ~/.keypaste/audit.jsonl ~/.keypaste/audit-2026-10.jsonlMove-Item "$HOME\.keypaste\audit.jsonl" "$HOME\.keypaste\audit-2026-10.jsonl"The next record starts a new file. Check the archive with keypaste log verify --audit-log <file> --expect <hash>.
What a line holds
Section titled “What a line holds”| Field | Holds |
|---|---|
ts, seq, pid | When, its place in the log, the process |
client | The agent’s name, version, label and transport |
tool, args | The tool and the item, field and the agent’s reason; a run’s command and command_sha256 |
vault, entries | The vault that answered and the items used |
decision | granted or denied |
method | How it was decided, below |
prev, hash | The chain |
method | Meaning |
|---|---|
prompt | You answered |
picked | A login filled at your pick in keypaste’s list in the page |
pressed | A run started with the app’s own Run or Open terminal, read in logs written while the app had them; the app no longer writes it |
shell-grant | A stage loaded again into a terminal you allowed, unasked (shell loads) |
protected / unbound | A shell load refused unasked: a protected stage, or not from the interactive shell it named |
allowed / blocked | Released or refused without asking by a setting or kept answer |
exposure | A listing |
out-of-scope | Out of reach or absent, one answer for both |
run-off | A run from an agent with run off |
rules-changed / narrowing | A settings change on an access_change line |
no-approver / no-session / vault-locked | Nothing held the vault, or not this unlock |
vault-changed / merged | Another program saved the vault |
timed-out / cancelled / busy / cooldown | No answer, withdrawn, queue full, refused a moment ago |
undeliverable / unfillable / unchanged | Too large, a placeholder unfilled, nothing to write |
token, share-created, share-revoked | A scoped token’s release, a share link made or revoked |
not-armed, not-paired, removed | Browser pairing refusals and removal |
invalid-request / failed / not-initialized | Bad arguments, an error, a call before the handshake |
v0.3.0 lines may carry grant-cache, policy or policy-limit, which 1.0.0 never writes.
keypaste log verify checks the chain, not the words, so a line with a method this version doesn’t know still verifies, and Activity shows it as allowed or denied by its decision.