Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's history is the lab talking to itself.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 14 names what the tool cannot do: judge whether an exit code of 0 meant the command actually worked, see outside the interactive shells its hooks live in, give imported rows facts their source never recorded, promise a deleted row is gone from every copy, or keep a complete shell history from being the liability chapter 1 says it is.
- The ethics rule is in the text, early. Chapter 1 and the README state the rule plainly — your own shells, your own machines, your own account — before any procedure depends on it, and later chapters point back to it where the tooling would make crossing the line easy: the database opened directly (chapter 9), the filters that keep commands out of it (chapter 10), and the encryption key (chapter 11).
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox.
Atuin 18.24.2 was used exactly as the project ships it: the
official release tarball for x86_64 Linux, its SHA-256 verified
against the project's published checksum before the binary ran,
the binary kept in a scratch folder added to PATH. Everything
ran inside an isolated lab home (its own ~/.atuin,
~/.bash_history and ~/.bashrc), under a two-line
configuration with sync and update checks off
(atuin-lab/config.toml). All transcripts live in
atuin-lab/transcripts/; the imported fixture is
atuin-lab/fixtures/bash_history.
Run for real, with transcripts as evidence:
- Install's proof:
--version,info(paths inside the lab home) anddoctor(syncnull, bundled SQLite 3.46.0, daemon disabled, bash-preexec plugin) (t00, t01). - Import of the 22-command fixture bash history, with the
imported rows read back formatted — timestamps honoured from
the file's
#epochmarkers, exit −1, duration −1, directory "unknown" (t02). The importer list for the other shells was captured from the tool itself (t11). - Live recording in a real interactive bash (a tmux pane with
the init line loaded): a twelve-command project session, then
the list read back from inside that shell — real directories
per command,
sleep 2at 2s,lson a missing path at exit 2,falseat exit 1, and the listing command itself caught mid-flight at exit −1 (t03). Getting the hooks to load at all first required bridging tmux's login shells to.bashrc; chapter 15 keeps that lesson. - Command-line search: a plain query,
--cmd-only,--formatwith placeholders,--exit(one code and two),--cwd,--filter-mode session,--filter-mode directory,--beforewith a count, andatuin history last(t04). The workspace scope was proven separately against a two-folder Git repository, against directory scope from the same seat (t12). Host scope was exercised in the interactive window (t06). - The three search modes on the same queries: prefix, fulltext
and fuzzy returning three different answers, including fuzzy
matching
aptinstinside the install command and prefix matching nothing (t08). - The interactive search, driven in the tmux pane with real
keystrokes and captured as it stood: opening on Ctrl-R, a
query narrowing to one result, Ctrl-R cycling the scope
GLOBAL → HOST → SESSION → DIRECTORY with the imported
command vanishing from the last two, a two-result query, and
Enter placing the chosen command on the prompt unrun (t06).
In this lab's configuration Enter placed the command for
editing; the fresh-install default (
enter_accept = true) is quoted from the tool's own generated configuration and chapter 6 flags the difference rather than hiding it. - Statistics: the all-time top commands, a single date's, and the "Unique commands" line disagreeing with a direct count in the database (36 printed, 34 distinct counted) — kept in chapter 8 as printed, with the discrepancy stated (t05).
- The database opened directly with
sqlite3: tables, the fullhistoryschema including its unique constraint, the row count, close reads of live rows with nanosecond durations converted, the exit-code census (−1 ×22, 0 ×11, 1 ×1, 2 ×1), and the data folder's four files photographed without reading the key (t07). - A configuration change taking effect:
search_mode = "prefix"appended to the lab's config, after which the same two searches changed their answers; the config was then restored (t10). - Troubleshooting's evidence, all met in the lab itself:
atuin history listfailing outside a set-up shell with the$ATUIN_SESSIONerror (t90-session-error), and a second import of a bash file the lab's shells had appended to, adding repeat rows (22 → 38) untilatuin history dedup --dry-runrehearsed and--dupkeep 1removed the extra (t90-reimport-duplicates). - Deletion's real behaviour, tested on a throwaway copy of
a database:
atuin search --deleteremoved the row outright (22 rows → 21, no tombstone in the table) — chapter 14 reports exactly that.
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- Everything in chapter 11: registration, login, the sync
exchange itself, the hosted service, and the self-hosted
server. The lab never created an account or contacted a
server; the chapter's live surface is the un-logged-in
atuin statuserror and theregister/synchelp text (t09). The encryption design and the key's role are stated as the project documents them; the lab's own key file was never read, printed or copied. - The shell integrations for zsh, fish, nu, xonsh and PowerShell: same shape as bash's, only bash's was run.
- Word-shaped stats periods (
day,week,month): named in the documentation;dayandweekreturned empty in this build's lab runs andmonthreturned only part of the expected window, so chapter 8 teaches the dated form that answered reliably and says so. - The session-preload scope: named in the tool's
--helpand chapter 7, not exercised; the other five scopes were. - The binary's younger extras (captured command output,
scripts, dotfiles data, AI and agent features, the MCP
server,
wrapped): named in chapters 2 and 14 as existing, characterised fromatuin --help, not evaluated. - The comparison tools in chapter 13 are characterised, not benchmarked.
Fixtures are this guide's own and deliberately generic: a 22-command bash history of updates, backups and example hostnames, a "garden notes" folder with one invented sentence about tomatoes, and a two-folder Git repository about packing a field kit. No example is modelled on any real person, machine, network or organisation, and the only history in the database is history the lab itself made.