You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decision record is sealed. Every row of ~/.agentbar/decisions.jsonl now
carries the hash of the line before it, and every row AgentBar writes carries a
seal made with a key kept in your Keychain, with the last sealed line remembered
there too. A row changed, removed, inserted or moved, or a file cut short, is
caught and named by its line. Rows from before this version are counted as rows
from before the chain began, not as tampering, and a prune leaves a sealed
checkpoint so a pruned record still verifies.
agentbar ledger verify checks the record and names the first bad line: exit
0 intact, 1 broken, 2 partly unproven (rows the CLI wrote, which it cannot seal,
or seals it has no key to check). On a Mac it takes the seals' verdict from the
app's own last check, and says so.
Diagnostics ▸ Decision record (ledger.chain, also in agentbar doctor)
shows whether the record is intact, where it broke, or what part is unproven,
and says when rows are going in unsealed because the Keychain said no.
The Trust Receipt and the JSON Lines export name the chain head. The receipt
prints the head as of its period's end and whether the record verifies; the
export's header carries the head and how to check it.
Changed
Checked against Claude Code 2.1.334 and codex-cli 0.173.0. Nothing new to
wire: Claude Code's PreSkillShellCommand only lets a hook refuse a skill's
shell commands as it loads, and Codex's PreModelRequest fires on every model
request without saying anything the row does not. Codex still reads all seven of
AgentBar's hooks back unchanged. The Claude Code mod is tested to stay one
session when Claude Code 2.1.334 starts it twice.
agentbar forget leaves one line saying it emptied the record, when, and of
how many rows. No decision survives it; the emptying itself is now on the record.
A torn last line no longer swallows the next row. A row appended after a line
with no newline used to be glued to it, and both were lost.
Not changed
Nothing about the seal can hold up or change an answer. The key is loaded
at launch, never between a decision and its row; a Keychain that refuses means
an unsealed row and a Diagnostics warning, never a delay, a missing row or an
approval. See SECURITY.md, "The sealed decision record", for what the seal
proves and what it does not.