# The study behind "Cairn: a pocket notebook for your Mac, now open source" # https://ry-ops.dev/posts/2026-11-17-cairn-a-pocket-notebook-for-your-mac-now-open-source/ # # Files labeled kind: run were captured live on 2026-11-17 (UTC) on the author's # Mac, against the public repo ry-ops/cairn at 0.14.1, its release, and the # private source repo fabric-forge/cairn. Files labeled kind: transcript were # copied from the Claude Code session of 2026-11-15 to 2026-11-17 in which Cairn # was built; they were not re-run. [study] title = "Cairn: a pocket notebook for your Mac, now open source" date = "2026-11-17" tester = "Claude Code, on the author's Mac" platform = "macOS on Apple silicon; Cairn 0.14.1 from ry-ops/cairn (source and release disk image)" setup = "Nothing was installed. The captures use git, gh, cargo (already installed for building Cairn), hdiutil, codesign, spctl and grep. The release disk image was downloaded and mounted read-only, not installed." not_tested = "The Intel disk image beyond its build passing; installing the app over an existing copy; the web companion deployed (it isn't deployed anywhere); Windows and Linux (Cairn is Mac-only)." url = "https://ry-ops.dev/posts/2026-11-17-cairn-a-pocket-notebook-for-your-mac-now-open-source/" [redact] "~/Projects/cairn-receipts-lab" = "~/ry-ops/lab" "~/Projects" = "~/ry-ops/projects" "~" = "~/ry-ops" [[subject]] id = "cairn" name = "Cairn" version = "0.14.1" repo = "https://github.com/ry-ops/cairn/tree/v0.14.1" site = "https://github.com/ry-ops/cairn/releases/tag/v0.14.1" color = "#c49a6c" # ---------------------------------------------------------------- how it was built [[capability]] id = "one-day" label = "Sixteen pull requests merged on one day, Sunday Nov 15 (Central time)" [capability.cells] cairn = { status = "tested", note = "The repo's first commit is at 08:01 CST. #1 merged at 15:11 UTC (09:11 CST) and #16 at 04:44 UTC on Nov 16, which is 22:44 CST on Nov 15. #17 to #22 followed on Nov 16.", evidence = ["018", "002"], excerpt = "#16 2026-11-16T04:44:12Z Shelf, notebook and vault controls redesigned; delete notebooks; 0.10.0" } [[capability]] id = "named-cairn" label = "It started as field-notes and was renamed because Field Notes is a trademark" [capability.cells] cairn = { status = "tested", note = "From the session transcript: the trademark was flagged in the plan at 07:41 CST, and Cairn was picked at 08:00, a minute before the first commit.", evidence = ["016", "018"], excerpt = "[14:00:45Z user]\n Cairn" } [[capability]] id = "three-managers" label = "The notebook manager was rebuilt twice: corkboard, then desktop buttons, then a grid" [capability.cells] cairn = { status = "tested", note = "PR titles #3, #10 and #15, and the owner's second thoughts on the buttons in the transcript.", evidence = ["002", "017"], excerpt = "#15 2026-11-16T04:05:30Z All Notebooks grid (replaces desktop buttons) + trackpad page turns" } [[capability]] id = "publish-removed" label = "Publishing to a blog was removed: it was never meant to be part of Cairn" [capability.cells] cairn = { status = "tested", note = "The owner's instruction in the transcript, and PR #21.", evidence = ["017", "002"], excerpt = "#21 2026-11-17T01:11:08Z Remove publish to the blog; 0.14.0" } # ---------------------------------------------------------------- what it does [[capability]] id = "plain-files" label = "Notes are plain markdown files in a folder you choose" [capability.cells] cairn = { status = "tested", note = "cairn-mcp, pointed at a throwaway folder holding one .md file, read it back as plain markdown with its frontmatter.", evidence = ["008"], excerpt = "File: 2026-11-16-ridge-loop.md\\n\\n---\\ntitle: \\\"Ridge loop\\\"" } [[capability]] id = "prefix-search" label = "Search matches the start of a word (switchb finds switchbacks)" [capability.cells] cairn = { status = "tested", note = "Through cairn_search, which uses the same SQLite FTS5 index and rules as ⌘K.", evidence = ["008", "012"], excerpt = "- Ridge loop — Trail Log (notebook: 0001-trail-log, file: 2026-11-16-ridge-loop.md)" } [[capability]] id = "mcp-adds-only" label = "Claude can search, read and add to notes, but has no tool to edit or delete" [capability.cells] cairn = { status = "tested", note = "tools/list returned seven tools: five read-only, plus cairn_create_note and cairn_append. An append landed at the end of the note.", evidence = ["008"], excerpt = "Appended to Ridge loop (0001-trail-log/2026-11-16-ridge-loop.md)." } [[capability]] id = "signed-sync" label = "Sync commits through GitHub's createCommitOnBranch, so GitHub signs them" [capability.cells] cairn = { status = "documented", note = "In sync.rs. The app's own sync wasn't run for this study; the public repo's commits, made through the same API, are all verified (evidence 003).", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src-tauri/src/sync.rs", evidence = ["012", "003"] } [[capability]] id = "conflict-copies" label = "A note changed on both sides keeps yours and saves theirs as a .conflict copy" [capability.cells] cairn = { status = "documented", note = "In sync.rs; not exercised for this study.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src-tauri/src/sync.rs", evidence = ["012"] } [[capability]] id = "new-vault" label = "An empty folder starts with a First Cairn notebook" [capability.cells] cairn = { status = "tested", note = "The unit test new_vault_is_seeded_once passes in the public repo.", evidence = ["007", "012"], excerpt = "test vault::tests::new_vault_is_seeded_once ... ok" } [[capability]] id = "tests-pass" label = "The public repo's Rust tests pass" [capability.cells] cairn = { status = "tested", note = "25 + 2 pass; 2 tests that need a real GitHub repo are ignored.", evidence = ["007"], excerpt = "test result: ok. 25 passed; 0 failed; 2 ignored" } # ---------------------------------------------------------------- the public release [[capability]] id = "two-dmgs" label = "Each release has a disk image for Apple silicon and one for Intel" [capability.cells] cairn = { status = "tested", note = "Both are on 0.14.1. The Apple silicon one was downloaded and opened; the Intel one only built.", evidence = ["004", "005"], excerpt = "Cairn_0.14.1_aarch64.dmg 6963603 bytes" } [[capability]] id = "dmg-contents" label = "The app ships both programs, the app and cairn-mcp" [capability.cells] cairn = { status = "tested", note = "Contents/MacOS of the mounted 0.14.1 Apple silicon image holds cairn and cairn-mcp, and Info.plist says 0.14.1.", evidence = ["005"], excerpt = "cairn\ncairn-mcp\n0.14.1" } [[capability]] id = "gatekeeper" label = "macOS blocks the first launch, so you allow Cairn in Privacy & Security" [capability.cells] cairn = { status = "tested", note = "The build is ad-hoc signed with no Team ID, and Gatekeeper doesn't accept it. The Privacy & Security dialog itself wasn't screenshotted for this study.", evidence = ["005"], excerpt = "Signature=adhoc\nTeamIdentifier=not set" } [[capability]] id = "bundle-seal" label = "The 0.14.1 app passes a strict code-signature check" [capability.cells] cairn = { status = "not-found", note = "It fails: only the main program was signed, not the bundle, which is what makes macOS call a downloaded copy damaged. Found while writing these receipts; 0.14.2 signs the whole bundle.", looked = "codesign --verify --deep --strict on a copy from the 0.14.1 disk image", evidence = ["006"] } [[capability]] id = "notarized" label = "Signed with an Apple Developer ID and notarized" [capability.cells] cairn = { status = "not-found", note = "No Team ID: there's no Apple Developer ID yet.", looked = "codesign -dv on the 0.14.1 app", evidence = ["005"] } [[capability]] id = "public-signed" label = "Every commit in the public repo is signed and verified" [capability.cells] cairn = { status = "tested", note = "All 9 commits report verified=true, from GitHub's starter commit to Cairn 0.14.1.", evidence = ["003"], excerpt = "327ade2 verified=true Cairn 0.14.1" } [[capability]] id = "public-clean" label = "The public repo carries none of the owner's private repos, hosts or name" [capability.cells] cairn = { status = "tested", note = "The export refuses to write a tree with those strings, and a search of all 9 public commits finds none.", evidence = ["014", "015"], excerpt = "commits searched: 9; strings searched: 10; commits with a match: 0" } [[capability]] id = "readme-animations" label = "The README's twelve animations load on GitHub" [capability.cells] cairn = { status = "tested", note = "Each SVG answers 200 as image/svg+xml. That they animate in a browser was checked separately while they were built.", evidence = ["013"], excerpt = "200 image/svg+xml 98092B covers.svg" } [[capability]] id = "code-size" label = "About 4,100 lines of Rust and 5,600 of TypeScript" [capability.cells] cairn = { status = "tested", note = "4,096 lines of Rust; 2,013 of TypeScript and 3,567 of TSX; 1,577 of CSS.", evidence = ["009"], excerpt = "rs 4096 lines in 7 files" } # ---------------------------------------------------------------- features named in the post, from the project's own pages [[capability]] id = "editor-modes" label = "Focus mode dims all but the current sentence; typewriter mode keeps the line centered" [capability.cells] cairn = { status = "documented", note = "In the README and the editor's source; not exercised for this study.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/README.md" } [[capability]] id = "covers-move" label = "Covers play a one-shot animation as they arrive, then hold still" [capability.cells] cairn = { status = "documented", note = "src/motion.ts: base attributes are the end state, and the shelf shows the still cover.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src/motion.ts" } [[capability]] id = "notebook-mode" label = "Notebook mode puts the notebook on the desktop, with trackpad page turns" [capability.cells] cairn = { status = "documented", note = "README: ⇧⌘F, cover first, then the open spread; two-finger swipes turn the page.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/README.md" } [[capability]] id = "wikilinks" label = "[[Wikilinks]] with autocomplete and backlinks" [capability.cells] cairn = { status = "documented", note = "src/links.ts parses and resolves links; the README describes autocomplete and Linked from N.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src/links.ts" } [[capability]] id = "stickers-badges" label = "Fifteen die-cut stickers and twelve merit badges" [capability.cells] cairn = { status = "documented", note = "15 sticker SVGs in src/stickers and 12 badges in src/badges.ts.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src/badges.ts" } [[capability]] id = "icloud" label = "The vault can live in iCloud Drive, because sync never runs git in it" [capability.cells] cairn = { status = "documented", note = "ADR-001, Amendment 1.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/docs/adr/ADR-001-architecture.md" } [[capability]] id = "companion" label = "A web companion you deploy to your own Cloudflare account, behind Access" [capability.cells] cairn = { status = "documented", note = "companion/README.md has the setup. It isn't deployed anywhere, so nothing about it was run.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/companion/README.md" } [[capability]] id = "first-sync-preview" label = "The first sync with a repo is previewed and waits for your OK" [capability.cells] cairn = { status = "documented", note = "README and the Sync sheet's source; the app's sync wasn't run for this study.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src/components/SyncSheet.tsx" } [[capability]] id = "create-repo" label = "Without a vault repo, Cairn offers to create a private one" [capability.cells] cairn = { status = "documented", note = "create_vault_repo in lib.rs posts to GitHub's create-repository API with private: true. Not run for this study, since it would create a real repo.", source = "https://github.com/ry-ops/cairn/blob/v0.14.1/src-tauri/src/lib.rs" } # ---------------------------------------------------------------- the day, in steps [[step]] title = "07:41: the idea, as field-notes" sub = "Field Notes styling, iA Writer's core, .md files, sync" evidence = ["016"] excerpt = "new project called field-notes." [[step]] title = "08:00: named Cairn" sub = "after the trademark check; first commit a minute later" evidence = ["016", "018"] excerpt = "951e8c7 2026-11-15 08:01:05 -0600 Initial commit" [[step]] title = "09:11: M1 merges" sub = "Tauri shell, the vault, the editor, the shelf" evidence = ["002"] excerpt = "#1 2026-11-15T15:11:35Z M1: Tauri shell, vault layer, iA-style editor, notebook shelf" [[step]] title = "10:31: M2 starts with GitHub sync" sub = "signed commits through the API" evidence = ["002"] excerpt = "#4 2026-11-15T16:31:48Z M2: GitHub sync through the API, iCloud placeholders and backup copy" [[step]] title = "18:46: M3, animated covers, stickers and badges" sub = "#13; M4 (MCP, companion) at 19:15" evidence = ["002"] excerpt = "#13 2026-11-16T00:46:23Z M3: animated covers, sticker sheet, merit badges" [[step]] title = "22:44: the sixteenth PR of the day" sub = "drag to reorder, delete notebooks, stacking cairns" evidence = ["002"] excerpt = "#16 2026-11-16T04:44:12Z Shelf, notebook and vault controls redesigned; delete notebooks; 0.10.0" [[step]] title = "Nov 16: the public version" sub = "#18 to #22, then ry-ops/cairn goes public" evidence = ["002", "003"] excerpt = "#18 2026-11-16T12:45:03Z The public version: export to ry-ops/cairn; 0.12.0"