Reference
Files & config
The .wisdom/ folder, Wisdom's git refs, wisdom.yaml, wisdom-team.yaml, .wisdomignore, environment variables and ports.
Everything Wisdom stores, and the settings you can change. Most projects never need any of them.
The .wisdom/ folder
Section titled “The .wisdom/ folder”wisdom.json marks the projectdaemon.json, daemon.lock the running service: port, process ID, tokenconnected.json the agents wisdom connect connected, and since whendaemon.log, dashboard.logledger.sqlite every record (SQLite is the source of truth)spool/<agent>/<session>/ events kept while the service was downclones/<new-id>.json what a clone was copied fromdeleted.json hashes that keep deleted sessions outbackups/<time>/ files a repair in Usage changed, as they wereshared/ sessions imported from teammates, read-onlyshared-out/ files written by share and exportcommits.json, commits.log where Commits listens, and what its builds saidcommits/data/ Commits' latest build of this machine, rebuilt livehandoffs/<id>.txt, <id>.log a background handoff's reply and logrecorder.json a random ID that names your sessions in team modetrusted-commands.json the team commands you allowed with wisdom team trustlinks-outbox.json commit links still to be sent, while a retry is duejobs/ a commit's record and guide job, while it runsjobs.log one line per commit job: guide writer, seconds, costteam-imports.json teammates' sessions fetched by wisdom team fetchharnesses/<agent>/home/ a tracked agent's home: settings, login, sessionsharnesses/<agent>/<session-id>/ native-session.jsonl the agent's transcript, byte for byte subagents/agent-<id>.jsonl Claude Code subagent transcripts payloads/<sha256> tool inputs, outputs and diffsTo back it up, stop the service first (wisdom daemon stop) and copy the whole folder. Never
copy ledger.sqlite alone while it runs.
Inside .git
Section titled “Inside .git”Commit records live in your repository as hidden refs. They’re never on a branch, never checked
out, and a normal git push or git clone doesn’t carry them.
records/<commit> a commit's record and guidelinks/<commit> the commits this one came from, after an amend, a rebase or a mergesessions/<recorder>/<session> your pushed sessions, one version per push (team mode)deleted the team's deletion list (team mode)fetched/ copies of the team's sessions, links and records (team mode)In team mode, the remote holds the same under refs/wisdom/<repo-id>/. git push --mirror
sends every ref, these included. See Read a commit and
How team sharing works.
wisdom.yaml
Section titled “wisdom.yaml”Your own settings for the project. wisdom init and wisdom connect write it at the project’s
top with every default shown and commented out; remove the # in front of a line to change it.
Git ignores it, so it stays yours.
| Setting | Default | What it does |
|---|---|---|
harnesses.claude, .codex, .pi |
true |
false: init and connect no longer set that agent up. |
paths.claude, .codex, .pi |
the installed one | Another installation, as --claude-bin, --codex-bin and --pi-entry do. |
skill |
true |
false: the reading skill is taken out, and no command puts it back. |
mcp |
true |
false: tracked Claude Code and Codex sessions start without the ledger tool. |
daemon.port |
7434 |
The first port the service tries. |
daemon.dashboard |
true |
false starts the service without Usage and Commits. |
recording.idleMinutes |
10 |
A session with no event this long, 1 to 1440, and no tool running, is closed. |
recording.maxFileMB |
1 |
A bigger file, 1 to 16, has its change recorded as a gap, without its contents. |
recording.ignore |
none | Files or folders, from the project’s top, never recorded, as in .wisdomignore. |
recording.skipFolders |
none | Folder names skipped anywhere, such as target, vendor or coverage. |
guides.on |
on in team mode, off in local | Whether a model writes your commit guides. wisdom guide on|off sets it. |
guides.model |
claude-haiku-5-5 |
Local mode: the model your guides are written with, through your Claude Code. |
guides.timeoutSeconds |
150 |
Local mode: how long one guide may take, 30 to 300. |
guides.turns |
30 |
Local mode: how many steps the writer may take reading the sessions, 5 to 60. |
guides.extra |
none | Local mode: your own words, added after the writer’s rules. |
handoff.longSessionTokens |
150000 |
A session past this many tokens gets a note that a new session starts lighter. |
handoff.extra |
none | Your own words, added to every handoff prompt. |
share.secrets |
ask |
What share and export do with possible secrets when no flag says: ask, redact or keep. |
prices.<model> |
the built-in table | Codex cost estimates, { input, cached, output } in US dollars per million tokens. |
A flag wins over the file, and the file over the default. A setting Wisdom doesn’t know, a wrong
value or broken YAML makes every setting its default until it’s fixed, so recording never stops;
each command and wisdom doctor say why. In team mode, wisdom-team.yaml decides how guides
are written, and the four local-mode guides lines here are ignored.
wisdom-team.yaml
Section titled “wisdom-team.yaml”A committed wisdom-team.yaml at the top of the repository turns on team mode.
wisdom team init writes it, with the optional fields commented out:
version: 1repoId: 5d0c3c1e-8a5b-4b8e-9d0e-2f1c7a3b9e11remote: originidentity: truerequireGuides: truekeepReferenced: true| Field | Default | What it does |
|---|---|---|
repoId |
made by team init |
Names this repository’s refs on the remote, so one remote can hold several repositories’ sessions. |
remote |
origin |
Where sessions and records go. --remote NAME overrides it for one command. |
identity |
true |
Each pushed session carries the recorder’s git name and email, labelled “git config”. |
requireGuides |
true |
wisdom check fails a commit with agent work and no guide. A guide that didn’t pass Wisdom’s check fails either way. |
retentionDays |
none | wisdom team prune removes pushed sessions older than this. |
keepReferenced |
true |
prune keeps sessions a pushed commit record still names. |
check |
none | Your own command, run on each session file before it’s pushed, with the file’s path last. It may change the file; a non-zero exit keeps that session home, and it’s tried again at the next push. Each person allows it with wisdom team trust. |
guides.model |
claude-haiku-5-5 |
The model that writes everyone’s guides. |
guides.turns |
30 |
How many steps the writer may take reading the sessions, 5 to 60. |
guides.timeoutSeconds |
150 |
How long one guide may take, 30 to 300. |
guides.extra |
none | The team’s own words, added after the writer’s rules, such as “Name the tests run.” |
guides.command |
Claude Code | Any other writer. It reads the prompt on stdin, prints the guide, and finds the model in WISDOM_GUIDE_MODEL. It gets the cited steps already opened and can’t read further. Each person allows it with wisdom team trust. |
commits |
none | Written by wisdom commits deploy: the team dashboard’s address, its Vercel project and its sign-in app. |
A repository that still has only wisdom-team.json (from 0.6.0-beta.0) is in local mode, since
that file is no longer read. Convert it to wisdom-team.yaml with the same fields.
.wisdomignore
Section titled “.wisdomignore”Files Wisdom shouldn’t diff, one relative path or folder per line, # for comments. No globs,
no negation. recording.ignore in wisdom.yaml does the same.
src/generated/fixtures/large-dump.jsonAlways skipped: .git, .wisdom, node_modules, dist, build, .next, .venv,
__pycache__, .npm-cache, and symlinks.
Environment variables
Section titled “Environment variables”| Variable | What it does |
|---|---|
WISDOM_DATA_DIR |
Use this data folder, the same as --data. |
WISDOM_SESSION |
The session wisdom handoff reads by default. Wisdom sets it in a Claude Code session’s own shell. |
| Port | Used by |
|---|---|
127.0.0.1:7434 |
The background service |
127.0.0.1:7435 |
Usage |
127.0.0.1:7436 |
Commits |
When another project’s service holds them, Wisdom takes the next free three (7437 to 7439, and
so on), and wisdom usage and wisdom commits say where. daemon.port in wisdom.yaml moves
the first one, and wisdom daemon start --port N asks for one port exactly. All of them listen
only on your own machine.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
One glance or open answer |
80,000 characters, then limited with a way to continue |
| A single line | 2,000 characters, then split, marked ⤷ |
| A file Wisdom diffs | 1 MiB, or recording.maxFileMB |
| Files watched in a project | 10,000; past that, live recording stops |
| File contents kept for diffs | 64 MiB in total; past that, a change is a gap |
| Idle time before a session closes | 10 minutes, or recording.idleMinutes |