[Introduction](https://verity.md/docs) [Quickstart](https://verity.md/docs/quickstart) [Authentication](https://verity.md/docs/authentication) [How it works](https://verity.md/docs/how-it-works) [Moments](https://verity.md/docs/moments) [Formal verification](https://verity.md/docs/formal) [Findings & verdicts](https://verity.md/docs/findings) [The Standard](https://verity.md/docs/standard) [Org Standards](https://verity.md/docs/org-standards) [Standards on the web](https://verity.md/docs/web-standards) [The terminal editor](https://verity.md/docs/terminal-editor) [Memory](https://verity.md/docs/memory) [Org knowledge](https://verity.md/docs/org-knowledge) [Token telemetry & cost](https://verity.md/docs/cost) [The dashboard](https://verity.md/docs/dashboard) [CLI & commands](https://verity.md/docs/cli) [Files & configuration](https://verity.md/docs/files) [Security & privacy](https://verity.md/docs/security) [Troubleshooting](https://verity.md/docs/troubleshooting)

Reference

# Files & configuration

Every file Verity writes — in your repository, next to it, and in your home directory — what it is for, whether to commit it, and the limits the review runs under.

## In your repository — commit these

| Path | What it is |
| --- | --- |
| `.gitignore` | A block that ignores everything in `.verity/` (below). |
| `.verityignore` | Paths the team has agreed are never worth reviewing, gitignore syntax. See [Findings & verdicts](https://verity.md/docs/findings). |
| `.claude/settings.json` | The Claude Code hooks, alongside any hooks you already had — Verity edits its own entries and preserves your formatting. **Not written on the plugin path.** |
| `.claude/skills/verity-*/` | The eight skills, plus the setup skill's Standard template and patterns catalog. **Not written on the plugin path.** |
| `CLAUDE.md` | A managed block between `<!-- verity-memory:start -->` and `<!-- verity-memory:end -->`: how agents should use the knowledge base, when a waive is allowed, how to declare housekeeping, and the post-task reflection. Text inside the `preserve` markers, or anywhere outside the block, survives regeneration. |
| `VERITY.md` | A human-readable overview — and the pointer the hooks read: the service URL, the project id, the Standard version. |

On the Claude Code plugin, two of these are not yours

The plugin carries its own skills and hooks, so it writes nothing to `.claude/` — no `settings.json` entries and no `skills/verity-*/`. Everything else on this page is identical, because it belongs to the project rather than to the agent: the Standard, the knowledge base, `VERITY.md`, the `CLAUDE.md` block and `.gitignore`. One extra file appears — `.verity/config.json`, which records which review moments are gated, because the plugin's hooks are identical for every user and cannot carry that choice. `verity init` detects the plugin and removes any duplicate hooks it finds, so a turn is never reviewed twice.

VERITY.md names the backend, so the token is pinned

Because `VERITY.md` is repo content, a repository you merely cloned could name any host there. Your credential is pinned to the service that issued it and refuses to travel anywhere else; the file can point the hooks at a self-hosted backend, but it can never redirect your token. See [Security & privacy](https://verity.md/docs/security).

.codacy/ is no longer Verity's

Verity no longer reads or writes `.codacy/`. Static analysis is Trivy only, configured by Verity in `.verity/static-analysis.json`. A re-run of `verity init` removes the `.codacy/` config only when it can prove an older Verity wrote it. It stages the removal with `git rm` and prints how to undo it: `git restore --staged --worktree .codacy`. Any other `.codacy/` config stays as it is.

## In your repository — machine-local, gitignored

Everything under `.verity/` is state for this machine. Setup writes a block into `.gitignore` that ignores all of it. The Standard and the knowledge base are on the Verity service, and the CLI writes this machine's copy of each:

.gitignore

```
.verity/*
.claude/settings.local.json
```

`verity memory track` adds three lines that commit the knowledge base on purpose, with a comment that says so:

.gitignore

```
# Verity: this project commits its knowledge graph on purpose.
# Remove these three lines (or run "verity memory untrack") to stop tracking it.
!.verity/memory/
.verity/memory/log.md
```

| Path | What it holds |
| --- | --- |
| `.verity/standard.yaml` | This machine's copy of [the Standard](https://verity.md/docs/standard). The service holds the Standard and versions it on every push. `verity init` and `verity standard pull` write the file. It names its review packs in `extends` and changes their rules in `overrides`. |
| `.verity/memory/` | This machine's copy of [the knowledge base](https://verity.md/docs/memory): one folder per domain, `index.md` (auto-generated catalog), `SCHEMA.md`, `_archive/`, and `log.md`, the per-run activity log. The session-start hook downloads it for a signed-in project. |
| `.verity/.memory-trash/` | The text and reason of each node removed with `verity memory delete`, so `verity memory restore` can put it back. The reason is not sent to the service. |
| `.verity/dreams/` | One record (`.json`) and one report (`.md`) for each `verity memory dream --apply`. `--revert` reads the record. |
| `.verity/.snapshot/` | Byte-for-byte copies of the files each review looked at, so the next run can tell what is new. This can include a secret the gate just flagged — which is why it must never be committed. |
| `.verity/.baseline/` | The working tree as it was when the task started, so pre-existing changes are never blamed on the agent. |
| `.verity/.logs/` | `cli.log` — what Verity did, structured; `stderr.log` — everything it said, plus a block per run naming what it saw. Rotated at 1 MB, tokens scrubbed, ANSI stripped. The first thing to attach to a support message. `VERITY_DEBUG=0` turns them off. |
| `.verity/.cache/` | Records of requests that could not be delivered — when, why, which paths, how many bytes. Never file contents. Pruned after 7 days. |
| `.verity/.task-context/` | Per-task context the hooks accumulate between turns. |
| `.verity/setup.json` | The answers you gave `verity init` — moments, telemetry — so a re-run starts from them instead of the defaults. |
| `.verity/config.json` | The review moments in force, and whether formal verification runs at push. `verity config moments` and `verity config formal` write it. |
| `.verity/static-analysis.json` | Verity's Trivy config: secrets, malicious packages, and critical and high vulnerabilities. Every review passes it to the analyzer, and Verity writes it again if it is missing or differs. The scan runs offline, except the malicious-package check, which sends package names and versions to OSV.dev ([Security & privacy](https://verity.md/docs/security)). |
| `.verity/repo-profile.json` | The repository profile, written before `verity init` or `verity standard generate` asks to send it — so you can read the exact file first. See [Security & privacy](https://verity.md/docs/security). |
| `.verity/standard.<time>.yaml` | The copy of your Standard file that `verity standard pull` keeps before it writes the team's version. |
| `.verity/.last-analysis`, `.last-pass-hash`, `.last-reviewed-sha`, `.iteration-count`, `.advisory-episode`, `.ignore-declaration`, `.conversation-buffer`, `.memory-sync-state.json`, `.memory-pull-state.json` | Small markers: the debounce clock, the bytes last judged, the self-healing counters, the advisory budget, an active housekeeping declaration, recent prompts, and the memory sync records (which node versions the service holds). Most are suffixed per session so two sessions in one repository never consume each other's state. |
| `.claude/settings.local.json` | Where Verity wrote telemetry before 0.35.0. Claude Code 2.1.282 and later ignore it there, so `verity telemetry install` and `uninstall` remove those old keys. Telemetry now lives in `~/.claude/settings.json` (below). |

If an older install committed the Standard or the knowledge base, `verity standard untrack` and `verity memory untrack` stop that. Both stage the removal, and the files stay on disk. `verity doctor` says which applies to your project.

Worktrees

`.verity/` lives in the main checkout. Hooks running from a linked worktree — including Claude Code's own `.claude/worktrees/` — find it there, so a worktree needs no setup of its own.

## Outside the repository

| Path | What it holds |
| --- | --- |
| `~/.verity/credentials` | The single secret store: your machine-wide login and any per-repository lines, each recording which service issued it and who you are. Mode `0600` from the moment it is created. Nothing secret is written anywhere else. |
| `~/.verity/sessions/` | Per-session working memory: the goal, open findings, what was reviewed. Mode `0700`, deleted when the session closes. |
| `~/.verity/lean/` | The Lean 4 toolchain for [formal verification](https://verity.md/docs/formal), and the progress and log of its background download. |
| `~/.claude/settings.json` | Your Claude Code user settings. `verity telemetry install` writes the telemetry block here, for every Claude Code session on this machine: the endpoint, the privacy flags, and an `otelHeadersHelper` that resolves the token at startup. No secret in the file. `$CLAUDE_CONFIG_DIR` moves it. See [Token telemetry & cost](https://verity.md/docs/cost). |

## Limits and budgets

The numbers the review runs under. Most are visible in a run's coverage line when they bind.

| What | Limit |
| --- | --- |
| Stop turn — files / per file / total | 40 files · 50 KB · 190 KB |
| Commit and push — files / per file / total | 120 files · 96 KB · ~570 KB, on a 3-minute budget |
| Spec and plan documents riding along | 6 specs and 3 plans, 500 KB each |
| Findings per run | 25 |
| Commit and push — distance from a changed line at which a finding is pre-existing | more than 3 lines (CLI 0.36.0 and later) |
| Knowledge node — title / body | 200 characters · 8,192 characters |
| `verity memory delete` reason | 1 to 500 characters, kept on this machine |
| `verity memory ask` results | 5 by default, 50 at most (`--limit`) |
| Debounce between stop-turn reviews | 30 seconds |
| Wait for the static analyzer, per review | 45 seconds, then the review goes on without static analysis and says so |
| Self-healing attempts per problem | 2 (`self_healing_limit`); hard ceiling of 5 consecutive blocks per session |
| Blocks per commit or push command | 2, counted separately for each moment |
| Advisory notes per episode | 1 on `PASS`, 2 on `WARN` |
| Housekeeping declarations | 3 per session; a window is at most 60 minutes |
| Waives per call | 3 findings; reason of 20 characters or more |
| Login lifetime | 90 days (terminal), 30 days (browser) |
| Grant freshness | nudge after 14 days, refused after 30 |
| A session counts as live | heartbeat within the last 2 hours |
| Sessions everywhere, per page | the most recent 100 for the selected status |
| Hook timeout | 120 seconds on a stop turn |

The stop-turn budgets can be overridden per invocation with `verity analyze` flags ([CLI & commands](https://verity.md/docs/cli)); the review behaviour knobs live in the Standard's `process_constraints` ([The Standard](https://verity.md/docs/standard)).

[Previous CLI & commands](https://verity.md/docs/cli) [Next Security & privacy](https://verity.md/docs/security)

Source: https://verity.md/docs/files
