Who reads Strata19's stores
What the hook refuses, what stays readable, the person's switch, and what the fence does not do
What it does
Strata19 keeps findings, work items, approvals, evidence and settings in its own stores:
.strata19/state.db in each project, and ~/.strata19/ for the machine (core.db, settings.json,
credentials.json, snapshots, receipts). The assistant in your coding host does not read or copy those
files itself. Strata19's tools do, and answer the assistant.
With the plugin's hooks on, a call from the assistant is refused when it would read, copy or write a store. The refusal says why and names the tool to use instead.
- File tools on Claude Code:
Read,NotebookRead,GrepandGlobaimed at a store or a.strata19folder. - Shell commands that name a store:
cat,head,strings,xxd,grep -r,sqlite3(even-readonly),cp,rsync,tar,dd, input redirects, and interpreters such aspythonandnode. Quoted, relative,..,~and$HOMEforms are matched after they are expanded. - Writes to a store are refused as well, and a switch never changes that.
What stays readable
.strata19/README.md, .strata19/claims/active.json, project config in .strata19/ (config.yaml,
policy.local.yml, extensions/), and ~/.strata19/mcp-launch-error.log (when the server cannot start there is
no tool to ask). ls, stat, wc and a hash of a store, git status, committed output such as docs/specs/,
and files that only share a name (src/state.db.ts, docs/state.db.md) are not blocked. Everything else in
.strata19 is a store.
The person's switch
Settings > General > "Let the assistant read Strata19's own stores directly". Off by default. Only a person can
turn it on, and the change is recorded in the activity log. On, reads and copies out are allowed; writes, scripts
that open a store, and sqlite3 without -readonly stay refused.
What this is not
It is a fence on the ordinary routes. A refused attempt is recorded as a blocked tool call you can see in activity. It does not make the stores tamper-proof.
- A determined shell can get around it: a path built at run time, a script file that does the read, a copy of a parent folder, or a process started earlier is not seen.
- Hosts without hooks have no fence. The
.mcpbextension and other MCP hosts have none. On Codex, hooks run only after you review them with/hooks, and the name of Codex's shell tool is not verified yet (the check assumesBashuntil the Codex probe can run). - The hook covers the assistant's tool calls only. Strata19's own server, hooks and index workers read their stores as before.
What makes a forged record detectable is the digest and the evidence chain, not the hook: approvals are signed with a key the assistant cannot use, detector receipts are chained and anchored outside the repository, and every result's digest is checked when work is judged.