Skip to content

Changelog

1.2.0 — 2026-11-21

Documentation

  • The install page names no version: every line installs the newest release, a screen it shows writes X.Y.Z for the number, and the extras lines pin through $(logbook --version). pipx inject gains the --force without which pipx sees openlogbook installed and changes nothing.
  • The home server installs the release with uv tool; installing from the repository is an aside for developers, from the stable tag.
  • The docs use today's command names (logbook show year, logbook serve mcp, logbook import backup, ...) where they used the old ones, which still run; a page about a renamed command says the old name once. A test holds every command, subcommand, flag and repository path the README, the docs and the changelog fragments name to the parser.

Fixed

  • imessage counts every attachment of a kept message that names no file found beside the store under its reason, skipped_attachment_<reason> (no attachment row, no filename, an unsupported kind, a file that is not there), so logbook add and logbook sync imessage say where the gap to the attachment table went. The message's line stays as before, extra.media_missing and all (#80).
  • derive flights counts a draft merged into a flight already in the record as a merge, not as a new flight, so its dry run and its real run tell the same counts (0 new flights … also 3 merged for the demo, which said 3 new flights). Two numbers for one leg met in the same run are one new flight and one merge into it, no longer a merge "into a flight already in the record" (#109, #458).
  • Keep and sign take a sentence only from the day's current draft. When the day was dreamed again and the newer draft is withheld (the dream entry no longer allows its tier, or the Day page's gate does not read it), the older draft it superseded is still shown, but logbook day sign DAY --keep N and the Day page now refuse to keep from it, in one sentence that names the current draft (its number, its id and when it was written) and how to keep from it; a retracted draft is refused the same way. On the Day page a superseded draft's keep boxes are gone and the form says a newer draft exists, with a link to it as written (a draft above the page's gate is said to exist and never named). A keep made before its draft was superseded stays as it was written, and logbook show DAY says which draft it was kept from (kept from draft #8, superseded by #9).
  • review receipts reads a sender's address as the address it is (Unicode NFKC): a fullwidth @ or fullwidth letters no longer hide a person, or you, behind a lookalike, and an order address written so is read.
  • The demo record's places are the persona's own coordinates or public landmarks: the museum is the Kunsthaus, and no hotel, flat, office or cabin points at a real address.
  • A request the Library refuses before reading its body (a proxy's POST, another host's, a form over the size it may carry) is now closed gracefully: after the answer, at most 64 KiB of the unread body are read and dropped, never parsed, for at most a second, so the client always reads the refusal. On Windows the client could see the connection reset (WinError 10053) before the answer arrived.
  • Today, the morning's plan on the Day page (where /today lands), gives a time its own column: each row of the plan, what is due and the day's tasks puts its time in a <time> cell of its own (all day for an all-day entry, due, task or trip where there is no clock), a column on a wide screen and a line above the row on a phone, and the title and the people are the row's text. A title that opens with a name (Ola Nordmann's birthday cake at 17:00) no longer reads as 17:00 · Ola Nordmann… in one row.
  • A promise said more than a week before the day it is due says the person after a word, you were promised on 2026-05-20, by Ola Nordmann (, to … for one you made), on Today and in the Day's loose ends, never a date beside a name.

Adapters

  • logbook add instagram <zip|folder> reads Instagram's "Export your information" archive (JSON, the older and the newer folder layout alike): direct messages from the inbox, message requests and archived chats as messages, calls as calls, the images and videos of your posts, stories and reels as photos with their caption and place, and follows, close friends, blocks, restrictions, follow requests, unfollows, likes, comments, story likes and profile searches as social/v1 lines (RFC 0048, a draft). Meta's garbled text (Ã¥ for å) is read back as written. Adding the same export again writes nothing; a newer one adds only what is new. An HTML export is refused with how to ask for JSON. Instagram senders are proposed against the people you know by name in people review, never merged on their own. See docs/adapters/instagram.md.
  • The Day and show say a social/v1 line in words (followed by @ola.example, liked a post by @sailing.example); a handle is an account, never a person: no door lists one among your people.

Security

  • A page read through a gate (export site --tier, or serve mcp under the mcp ceiling of policy/crossing.json; serve itself reads every tier) no longer counts, dates or hints at a line above it, from the privacy review's LATER list: the People door's last real contact and the Day's morning reconnect read the people's contacts through the gate; /shelves says the lines at the gate's tiers and their days, not the record's seq; the window every page opens on and the search's year filters run over the days of the lines the gate reads; /gaps counts its sources, silences and missing days at the gate's tiers; /world draws only the tiers the gate reads and says it held back only lines the gate reads; a promise closed by a task line above the gate is still open through it.
  • The Sign form of a page that reads no notes carried the record's last seq in hex, a count of every line above the gate: it is sealed, for its day, with a key kept on this machine beside the index, and Sign reads it back as before; a page read before the upgrade is read again before it signs.
  • The MCP server's gated index answers every method the Library calls through its ceiling: by_seqs and lines_of returned lines above it, and the ids, kinds, years, totals, attachment counts, newest stamp and search it gave counted every tier.
  • The Library is one login at a time: tailscaled keeps a connection open for many requests, and a request on it that names another login, none, or is this machine's own is now a 403 and the connection is closed. Every proxy header (Forwarded, Via, X-Real-IP as well as Tailscale-* and X-Forwarded-*) is a proxy's on a form's POST too, and the docs say so.
  • No pencil without evidence: outside the Day's own Draft, a model's sentence (the letter's story, the week's proposal under Today and on the week page, the intention it prefills, a goal's proposed verdict, a call's decisions, the chapter on Life, what was drafted about a person) is shown with the ids of the lines it cites, and only when every one is a line the page reads; one with none, or one that rests on a line above the page's tier, is not shown. A letter no longer carries a story sentence that rested on a tier-3 line.

Added

  • export notion gives each person's birthday in the facts, read off a resolution line (YYYY-MM-DD, or --MM-DD without the year), or null, also when two cards disagree; nothing else the line holds there is passed through, and the page has no line for it. A birthday binds nothing, so its line passes the gate as a fact's does: at the entry's tiers, on a day you have signed unless the entry and --include-unsigned lift the gate, not retracted. Held back, it is counted with the other lines held back, never beside a name; the dry run says how many persons would leave with one (export for Notion; from #459 by localboy21).

Changed

  • The Library's old addresses answer 301 Moved Permanently (they answered 302 in 1.1); /today stays 302.

1.1.0 — 2026-11-02

Fixed

  • A request counts only when a person wrote it. promises proposes "asked of you" from a mail only when it is a person's mail (RFC 0045: the sender resolves to a person, is no no-reply address, no agent's) and from a message only when its sender resolves to a person, never in a conversation with an agent. A newsletter's "please let us know", a notification, a company's mail and a message from a number nobody is named by no longer show as asked of you, in promises, on the Day page's loose ends, the person page, the shelf or the Notion export; resolve the sender to a person and they count again. Commitments, transcripts and notes are read as before.
  • An all-day entry says all day, never from 00:00 to 00:00+1, whichever calendar carries it: one that another calendar carries timed (a Notion date-only page, a copy of a birthday) and one that runs from a midnight to a later one are all-day too, on the Day's all day row, in Today's plan, under the day's ribbon on the week page, and first in digest's tomorrow (tomorrow.all_day in its JSON). Two all-day entries have a word between them, Away with Per Hansen and 17 May dinner.
  • doctor's install hint in a clone is the short uv sync --extra <name> where that syncs the environment doctor runs in as it is, and adds --python (when the clone's .python-version, uv's global pin or UV_PYTHON asks for another Python than the venv's) or --no-default-groups (when the venv has no dev group) where it would not, so the extra lands in that environment; with UV_NO_DEV or UV_NO_DEFAULT_GROUPS set it prints no line.
  • logbook serve --built (labs): the rebuild after an act renders every page on a site of its own, so it no longer keeps a built page's old bytes again with a second built hh:mm in its footer, nor marks pages as asked for. A built page older than the record's head (a CLI act, a sync) is still served, its footer saying when it was built, and starts one rebuild for that head, however many pages are asked for meanwhile.
  • The built pages' pages.json is written only under building.lock, whole and moved into place: the server no longer loses the 06:00 close's writes, nor the close the server's; a page an act dropped stays dropped until a page that read past the act is written, even when a build begun before the act writes the old one back.
  • Every built page records the tiers it was built at, and is served only to a request read through that same gate; a build through another gate renders every page again.
  • A sealed record without plaintext_cache keeps no built page through any write of the lab, and a record sealed while a build runs keeps nothing that build wrote.
  • The rule that no number stands beside a person's name reads the name in any case: kari 2026, KARI 2026 and 2026 kari are held as Kari 2026 is, in drafts, the week, the people door, Ask and every check of a page; the owner's own name is held on Ask too. Ask's heading and title, and the search's sentence, no longer say the words back when they set a number beside a name the record knows; the words stay in the field as typed.
  • A page says the tier its gate reads, read at tier N (read at tiers 1 and 3 for a gate with a gap, tier 3 alone for one tier), in place of nothing read above tier N: in a shelf's heading, the week's, the timeline's, the search's, and Ask's foot (Read at tier N.). The old words came from the lines the page read and could understate where a name on it came from. A page that read no lines still says no lines.
  • A page read through a tier gate completes the Day's "with…" field with only the names its tiers give. Days lists who you were with last, as Trips does, so no figure of the day stands beside a name, and a search hit sets each field of its excerpt on a line of its own, so a name and a number beside it in the record are never side by side on the page.
  • The Manifest sets each of an org's facts on a line of its own, an introduction says "on" before its date, and an evidence row counts the line ids it leaves out in words ("and 21 more"), so no count or date stands beside a name there either. A review queue's proposals, a model's proposal in the week's intention field, an agent's own summary and a promise's verdict from the reader and the judge are pencil, titled. Gaps keeps its dates and clocks whole on a desktop, a line's JSON scrolls in its box on a phone, and every link that stands alone on a phone is a 44 px target.

Security

  • A page that reads no notes (a tier-1 page) looks exactly as if the day had no reflection: its Sign form carried a digest of the reflection, or of none, and so told the two apart; it carries the last line the page read now, and Sign refuses a form older than the reflection. A page that reads notes but not the tier a reflection is at reads the newest reflection it can see, as if the other were not there.
  • digest's tomorrow says the title, then its time after a word (Ola Nordmann's birthday, from 19:30), never a clock against a title that opens with a name.
  • The ribbon's spoken label says the span, what was lived, then the plan, so no clock stands before Lived (whose first letters may be a name, as the demo's Liv); tasks done says “Call Ola Nordmann”, the task of 2026-06-09, and the rows of tasks and tasks --propose-done give the due day, the list, the shared words and the ids each after a word.
  • A draft's evidence ids follow a word, from […6742a9f5], in logbook day, show trip and the Day page, so an id that opens with a digit never stands right after a name; the test guard reads the ids as printed.
  • The week page holds its goals, places, threads, intention and question to the main guard (figures.adjacent, every separator, a date in words, the first name too), not a guard of its own with fewer separators.
  • export share day holds a day to the crossing's rules: only a day you have signed leaves (an unsigned one is refused in one sentence naming logbook day sign), and a mail crosses only when a person is on it; the page's manifest and its crossing line count each, held_back_unsigned and mail_held_back.
  • export crossing and export share day refuse a name the policy keeps for its own reader or door (mcp, hermes, dream, site, vault, world, folder, heard, chat, phone, notion, letter, relationship, in any case) as a person or destination, in one sentence. A nightly export crossing --to hermes now stops: give the person's own name and its own entry in policy/crossing.json.
  • docs/export.md says that a folder, the vault, the site and the world are your own copies and take no signed-day gate.

Added

  • Ask (/ask?q=…, RFC 0047 §4.5, v1): the field at the top of every door now answers with moments, not lines. One row a day, each day once and newest first across the pages, with where you spent the night, who was with you (names only, each a link to their page) and the words that matched, your own first, the match marked and its source (message, mail, call, note …) in pencil, each a link to its row on the Day. It searches what logbook search searches, held to the page's tier; a hit a later line corrected says so, and ?standing=1 leaves it out. /search keeps working as it is. No number, date or clock touches a person's name anywhere on it, the record's own words in its excerpts included.
  • The gear (RFC 0047 §4.6): the icon at the end of the Library's header opens /gear, the machinery in its own words, one card per part with one line of state. /gear/sources lists each source with the day of its last line, a source quiet for a week marked, and the command that brings it back; /gear/crossings lists what left this machine, when, to where, the tiers, the lines and the kinds, under which policy entry, each a link to its crossing line (a member of your circle is never named); /gear/build says when the pages were last built, how long it took and the command that builds them again. /gear/agents, /gear/manifest and /gear/assets are the old pages, exactly; /agents, /manifest, /assets, /gaps and /shelves answer as before, and the gear links every shelf (serve).
  • The Library's Life door, /life (RFC 0047 §4.2), which the header's Life door now opens: the chapter you are in and its rules, the year's goals and those for life with their last review, then one timeline of your life at five zooms (Life, Year, Month, Week, Day) or one trip, your ideas as a band on it, the chapters not yet placed, and the Volumes, the years as spines. Every zoom and move is a link (/life?at=2026-06-15&zoom=week, /life?trip=FIRST/LAST), no script, no number beside a name, held to the page's tier. Its bounds are life in logbook.json, {"from", "to"}, else the record's first day to the end of next year (settings). Every old address works as it did.
  • The Library's People door (RFC 0047 §4.3) at /people: everyone the record names by closeness, the people you live with first, on four rings around you (Home, Family, Friends, Everyone else, a rule's reading set in pencil), each a link that opens their thread beside the orbit (?sel=ID); the rest A to Z. A thread is the last contact in words, the moments newest first, the beginning, the promises open both ways and the links on to Life and Places; /people/ID is the whole thread, with the days together as marks over the years, the words of what was said when asked (?said=1) and what a model drafted about them in pencil. Closeness is only the order: no number stands beside a name anywhere on the door. The review queue stays at the foot, as it was, and /people?year= keeps its address.
  • The Library's Places door (RFC 0047 §4.4), at /places: the globe of your life, drawn on the page as one inline SVG with home near the centre (the coastlines when setup map names the offline map file, the graticule alone without it), your places as dots and your trips as arcs, the lived ones muted and the ones ahead dashed and labelled; a time scrubber over the years of your life (/places?at=YYYY); Next, the trips and visits ahead from your calendar and your plan, each linking its span on Life; and Your places, home first, each with what it is in your words or a pencil placeholder. The register of places.json and the review queue stay under it, as they were.
  • /places/ID: one place, with its days as a strip over the years (each a link to its Day), the people who were there with you, by closeness, and the trips that passed through it. export site writes a page per place beside places.html.
  • The doors' look on every page of the Library that is not a door's own (RFC 0047): the Day in all four shapes, the week, the timeline, search, the shelves listed, Journeys, Trips, Days, Goals, Ideas, Promises, the Manifest, Agents and Assets (in the gear and at their old addresses), Gaps, a line, the error pages and the world read one stylesheet, the paper and the surface, Instrument Serif for titles and names, Inter for the text, JetBrains Mono for small labels, lists and tables on cards, the page's actions as pills and every control 44 px, in the light face and the dark, no text under the size a phone needs. No page's address changes. A model's text is pencil wherever it shows, lighter, with a dotted rule and the model named on hover; every text keeps 4.5:1 against its ground in both faces.

Changed

  • Every Library address from before the doors leads to its door (RFC 0047 §9): /days?from=&to= opens Life at those days (a whole year of them, Life at that year), /trips?year= and /journeys?year= Life at that year, /goals Life, /world?from=&to= Places at that year, /search?q= Ask with the same words, and /agents, /manifest, /manifest/people, /org/ID and /assets their pages in the gear, each with a 302 for this release and a 301 from the next. A value the door would refuse is a 404; a form still posts where it always did, and every other address answers as before. docs/serve.md lists them all.
  • The printed edition is called Volumes (RFC 0047 §10, §15): the help of star and --print, the Day page's photo review and the docs say "a Volume" and "the Volume's pick" where they said "the paper edition" and "the press's pick". The commands and their flags are unchanged.

1.0.0 — 2026-10-29

Security

  • The MCP write tools add_note and promise_done are refused unless the mcp entry of policy/crossing.json names them under write and has not expired, as sign_day and note_day are, and the lines they write have source mcp, never manual: an agent never writes as the owner.
  • A signature never confirms pencil: the dream's draft, a note a model derived (a photo's description, a meeting's summary) and a line an agent wrote through the door are left out of confirmed by day sign, day reflect --sign, the Library's Sign and the door's sign_day, and a disposition a standing signature gave one is no longer carried forward.
  • export share day holds a draft to the entry it was written under, as every other crossing and the MCP door do: a draft whose dream entry is missing, lowered under its tier or expired stays home, counted in the manifest's held_back and the crossing line's held_back_by_entry.
  • sync heard fetches only from the public internet: an address that is not global (the tailnet's 100.64.0.0/10, Tailscale's 100.100.100.100 and a MagicDNS name that resolves into it among them) is refused, the connection goes to the address that was checked and never to a second answer of the resolver, on every redirect, never through a proxy the environment names, and an https page's redirect to http and a port other than 80 and 443 are refused.
  • sync heard fetches a feed's transcript only under a heard entry in policy/crossing.json, {"heard": {"max_tier": 2, "fetch": true}}: LOGBOOK_HEARD=feed alone fetches nothing, the entry is checked before any request, and doctor names it.
  • export world and the Library's /world fail closed: a record whose policy names no world entry shows tier 1 alone, and {"world": {"max_tier": 2}} adds the chapters; doctor names it on a world line.
  • doctor --packet sends its probe of the dream endpoint, with the bearer key, only while the policy's dream entry allows the dream; with no entry, or one expired, it says the probe was not sent and why. SECURITY.md lists every command that may open a socket.
  • logbook serve reads for this machine and for your phone through Tailscale Serve once logbook setup phone names it, and nobody else: a page asked under any other Host (a website pointing its name at 127.0.0.1, DNS rebinding) is a 421, and a request through any other proxy, another login, two Host headers or Tailscale Funnel is a 403, both before anything is read. Without setup phone, the phone no longer reads the pages through Tailscale Serve: run it once. Through an SSH tunnel, use the same port on both ends (ssh -L 8765:127.0.0.1:8765).
  • No Library page can be framed by another (frame-ancestors 'none', X-Frame-Options: DENY), and a form posted from a frame or from another site (Sec-Fetch-Dest, Sec-Fetch-Site) writes nothing.
  • logbook day and the Day page, its ribbon's tooltips and its spoken label included, print a calendar entry's title and then its time after a word (Dinner with Ola Nordmann, from 19:30 to 21:00, Ola Nordmann's birthday, from 19:30), so a clock touches no name at either end of a title; the ribbon's label says then between its entries; an entry several calendars carry says from 2 sources (…) after its title, in logbook day, the Day page, digest and tasks, never ×2 beside a name.
  • A digit stuck to a name with no space between (Ola Nordmann2, 3Ola) counts as a number beside that name, and so does one through a separator that is a letter (3xOla), with no boundary asked of the name: the dream holds the sentence, every reader holds a stored draft's, a name the dream entry withholds is still found there (and held out of a confirmed event's title), and doctor --packet scrubs the owner's name with a digit stuck to it. Guillemets, an ellipsis, +, ~, _ and the zero-width spaces count as separators too.
  • A week's threads print their kind and count in words after the title (“Dinner with Ola Nordmann” calendar 1 time), so a count stands beside no title that holds a name.
  • The Day page holds the reflection to its tier, as every other line of it: through a gate below the reflection's tier (a note, tier 2) a page or a built Library page neither shows, quotes, offers nor numbers it, nor its Wispr Flow dictation (tier 3); Sign still signs with it, its form naming no line.
  • A sentence kept from a draft as a note above the page's tiers no longer reads "kept as #N" on that page; keeping it again there is refused in one sentence that names no line.

Added

  • Keep and sign on the Day page: in the evening, and when a signed day is signed again, the Sign form keeps the pencil's sentences and links (numbered as --keep takes them), a kept decision's revisit day, the day in a word and each task of the day answered (done, tomorrow, let go; a task shown by its title alone, no number beside it), then signs, in one click and one hold of the writer lock; the page writes what logbook day sign DAY --keep … writes, byte for byte, and any refusal writes nothing and says why in one sentence. A page that reads fewer tiers than the record shows and keeps only the draft its gate shows, as the rest of the Day does, and neither shows nor quotes a day's word above its gate.
  • Today's evening offers Dream the day so far (logbook dream day TODAY --evening) while your dream entry stands, its draft in pencil above the form; without the entry, or on a page whose tier gate is below the entry's, the page says why in one sentence, and nothing is sent.

Fixed

  • The dream sends a name only at its entry's tiers: a person the record names only in a tier-3 resolution never reaches the model under a dream entry of max_tier 2, in the day, the week, the month, the journey or the chapter, and a draft's tier rises to the tier of a name it was given. day sign --accept refuses a person the dream entry's tiers do not name, and writes a name learned at tier 3 at tier 3.
  • No number beside a name in a dream's draft: the journey and the person dreams hold such a sentence as the day does, and day, the Day page, show trip, the journey's page, the week, month and chapter readers and export letter hold one in a day, journey, week, month or chapter draft already stored, whatever wrote it. A gated Day names a proposal's people only at its tiers.
  • The Library on a phone: every target the pages name is 44 px or more (a Day's line as written, every fold's summary, the Places review's name, skip and reject, the week's keep box and day links, the life's years and zooms, the Days' links, window and show button, the pagers, the world's map buttons); a Day's eyebrows, its ribbon, a row's kind, ids, evidence and the footer are at least 13, 12 or 14 px; and a row's kind and a promise's or an asset's badge keep 4.5:1 on the page in the light face and the dark.
  • /world on a phone: its play button and scrubber sit above the doors' bar instead of under it, and a navigation of its own wraps inside the screen.
  • Names, dates and sources in exports are held to the tier of the lines that give them. An output names a person only from resolutions at its own tiers: a name only a tier-2 or tier-3 resolution gives is no longer in a tier-1 export vault, export site or export trip-bundle, a name only a tier-3 resolution gives is in none below tier 3, and neither is counted in a bundle's held_back.people. export site's Today, its span and its years and export world's window come from the lines that cross, so a tier-3 health line no longer moves them; a vault's day page counts only the sources and flights that cross, and a day with none has no page; a trip bundle's trip.json carries only the flights, stays and moves whose lines cross.
  • No date or clock time sits beside a person's name with only separators between: people not-with writes "from DAY to DAY", a proposed event "from 19:30 to 22:10" after its title, a site's people index names only, and a vault's year row puts its people last; the dream holds a sentence that sets a date or a clock beside a name, as it holds a count, and a confirmed event's title holds a surname and a genitive too.
  • The readers print people by name only, the most days together first, never with a count beside a name: rollup people reads Per Hansen last 2026-06-30 · Office (was 10 days · 0 nights · … · 11 confirmed), and show year's people section and its page the same; show asset and show place read with Anders Vik, Ola Nordmann, Sigrid Moen (was Anders Vik (2 days), …); the Library's People page names each person with their last real contact, the evidence uncounted (was 10 days together, evidence · 11 lines). rollup places --with lists each place's people, with Per Hansen, Liv Berg, and rollup people --drifting each person's last real contact (last 2026-06-12), the quiet channels and the last shared place, without the counts, the fall or the days ago. The year's page sets with before a place's people, a trip's paper edition names a day's people last, and an org proposal on the Manifest the names it was seen under without their count. The counts stay in --json, unchanged; a person's own page (show person, /people/ID) still counts the days together.
  • No date, clock time or other number sits beside a person's name with only separators between: the digest's promise reads Kari Nordmann, due 2026-06-05 (by Friday) (was Kari Nordmann, 2026-06-05) and rollup listen's top artists Kari Nordmann played 0.2 h · 4 listens.
  • An event the owner accepts from the dream (day sign --accept, day reflect --sign --accept) is a tier-1 line, and names a person only from the resolutions at tier 1: someone the record knows only by tier-2 or tier-3 lines is no attendee, and their name in the title reads someone.
  • A fast test checks the site's people pages at tier 1 and at tier 1,2 on a small synthetic record: a tier-1 site has a page for the person a tier-1 resolution names and none for one named only at tier 2 or 3, and a tier-1,2 site has pages for both the tier-1 and the tier-2 people. Before, only the slow forty-year export, which pull requests skip, checked these pages.
  • export --day and --days with no folder entry record what is true in their crossing line: no entry exists and the default applied ("entry": null, "default_tier": 1), never a max_tier no policy set; an entry is recorded by name with its ceiling. The refusal of a tier above the default says the file names no folder entry, and doctor's new export-day line says the same.
  • In a clone run with uv, doctor's install hint is the short uv sync --extra <name> again, the clone named before it; since uv sync keeps only the extras it is given, the line names every extra the clone has beside the new one, so following it removes none. The pipx and uv-tool lines are unchanged.
  • A night the record does not place reads not recorded on Today (Last night: not recorded), the Day page and logbook day; in transit only when the Day holds a move or a flight across that night. The Day's JSON is unchanged.
  • logbook doctor before any record exists says No record yet: runlogbook demo --out ~/Demo/Logbookto try one, orlogbook setupto start yours. (it still exits 1). Its install line for an extra is the short one for how this Logbook was installed: pipx inject openlogbook "openlogbook[ais]==…" (with PIPX_HOME only when the venv is not in pipx's own home), uv tool install --force "openlogbook[ais]==…" (with the --python the receipt asked for, if any), and in a clone uv sync --inexact --extra ais, the clone named before it.
  • doctor's home row is now schedule and says what it is: which machine runs the scheduled syncs. Its restore-test warn says to run logbook backup DEST once first when no backup is recorded.
  • The Day page and Today, on a machine with no transcription engine, give the command that adds one for how this Logbook was installed (doctor's line), never install openlogbook[transcribe].
  • The Day page: the with row's words and its field are apart (proposed below · add); its footer says what is true, Reflect and Sign, the with field and the stars write to your record; nothing else here does, in place of read-only; a past day is headed by its weekday alone, the shape's name (morning, live, evening) being today's.
  • logbook show stats names the record's format as such, record format logbook/0.3, beside a program whose version is another number.
  • An asset is printed by its registered name, once: rollup places, rollup nights, rollup people, rollup places --with, show year, show person, show place, people and places propose read aboard Nordlys and Nordlys (yacht) (were aboard nordlys and Nordlys (nordlys) (yacht)). The JSON SPEC §6.1 compares keeps the id.
  • show trip, the trip's page and its paper say the day you came home in words, back on 21 June, for the morning after the last night (SPEC §3.2.6's until, unchanged in the JSON); they said until 2026-06-21, which read as one night too many.
  • show person counts a person's days together as rollup people does, by the confirmed evidence (a face on the morning after a confirmed evening is no day together; the demo's Ola reads 3 days in both, was 4), and says so: first confirmed … · last confirmed …, 3 days together, by the confirmed evidence, last 6 shared stays, confirmed or proposed. show asset reads the runs aboard as rollup places does, so its stays, hours and people agree with it.
  • logbook export --day DAY --out DIR (and --days) reads its ceiling from a folder entry of policy/crossing.json, as the vault and the site do, tier 1 without one; --tier may lower it, never raise it, and a tier above it is refused naming the entry. Each run that writes a folder appends a crossing/v1 line like every other export: destination folder, the folder's last part, the tiers, the kinds, the line count and the folder's digest (ADR 0026). It wrote every tier and left no line, though the README promises that your record keeps a line that says it left. docs/export.md.

0.7.1 — 2026-10-27

Adapters

  • add beeper and sync beeper mark your own bots as machine text, as the Telegram adapters do: a line a named sender wrote carries extra.machine, every line of a one-on-one chat with one extra.counterpart of kind agent, so no reader takes the bot for a person. The senders are yours to name, never in the code: logbook setup agents list|add SENDER [--name NAME]|remove SENDER keeps them in policy/agents.json (your own agents).
  • logbook doctor has an agents line: the lines marked machine, per source, and the senders named.
  • Mail lines keep Gmail's inbox tab and the list headers, never their links (RFC 0015, amendment of 20 October 2026): every new line from add mail (a Takeout or any mbox), sync mail and sync gmail may carry extra.gmail_category (primary, social, promotions, updates, forums; from Takeout's Category … labels and the API's CATEGORY_*, never over IMAP, which does not say the tab) and extra.list (unsubscribe, one_click, id from List-Unsubscribe, List-Unsubscribe-Post and List-Id, of which only the list-id itself is kept). The unsubscribe URLs and mailto addresses, and a List-Id's phrase, links and addresses, are never kept. labels, raw_id and every dedupe key are unchanged; lines already in the record are not rewritten, so older lines lack both keys. A list header that does not parse is kept by its name and counted.

Added

  • Close the week, on the week page and at the command line (RFC 0043 §8, slice D part 2): each goal open on the Sunday with the five verdicts of review goal as one choice, your words on it and the command beside it, and the two honest moves when it stalls (goal add --supersedes written out for the goal); the week's one proposal, or your own sentence, kept as next week's intention, one note/v1 labelled intention on the Sunday. One press, one writer lock, every item checked before the first line: a refusal writes nothing. logbook day reflect SUNDAY --intention "…" keeps the same line, byte for byte; kept again in other words, it supersedes the first, never a second. Next week's mornings show the intention under For, in ink, with its Sunday, in place of the pencil (the week).
  • The Day page shows everything a day held, folded: under each stay or move, its messages by conversation (who, the network, how many; each message's time, sent or received and its text, the whole a click away on its line), and at the foot Everything this day held, every line of the day by source, each linked to its line. Every fold is closed until opened, or ?open=1.
  • Today is the Library's front door (/, RFC 0047 §4.1): the date and where you spent the night; what's open, the promises both ways in pencil, the day's tasks from the task tool and the replies owed, seven at most, the oldest first, each a link to its moment; one memory, this day a year ago, else the same date in the nearest earlier year with a signed reflection, a starred photo or a trip; and the Day's Reflect and sign. It works on a phone first, renders live, and export site writes it as today.html.
  • The doors share one header: the wordmark, Today, Life, People and Places (a bar at the foot on a phone), the Ask field, which searches the record, and the gear. Its stylesheet carries the owner's colours, and its typefaces (Instrument Serif, Inter, JetBrains Mono, under the SIL Open Font License) ship with the package and are served by the Library itself; nothing is fetched.
  • people ask and dream person send the days you spent together in the window (RFC 0036 amendment 2): each its date, the places.json name of the place you shared (a place with no name when it has none, never coordinates) and the references of the lines it rests on, under the same gate as the lines, so a sentence about time together cites them; people ask --json counts them (days_together) (the relationship reader).
  • logbook dream month [YYYY-MM] drafts a month once it is over, told from the days you signed (their drafts and your reflections, never a raw line's text), with where it went computed by the code (places, nights by class, people in order and never with a count), what the month shows for each goal, one proposal for next month and one question; logbook dream chapter [ID] drafts a chapter from the month and week drafts it spans: its arc, its rules, what it held and what it closed. Both are pencil, every sentence cited, --json prints the draft, and dream --catch-up dreams the month before on the first close of a month and a chapter on the first close after it closes, again only when what it read changed.
  • logbook export letter FROM TO: a range of your signed days read back as one HTML file to print or hand to someone, and the same as Markdown: a page per day, week, month or journey with the dream's story in pencil, your reflections, your stars and starred photos, your goal reviews, who was there and where; --unit month --card makes the month card. A crossing under the policy's letter entry, recorded as one crossing/v1 line (the letter).
  • logbook add gift DAY NAME WHAT [--received] writes what you gave someone, or were given: one note in your words labelled gift, the person under extra.recipient or extra.giver; a name that is nobody, several people or you is refused in one sentence. logbook people gifts [NAME] [--json] reads them back both ways (gifts).
  • logbook lab companies DAY [--json]: the orgs the Manifest names that a day touched (an update mailed from one of their domains, a meeting with someone of theirs, a document in one of their repositories), each with its lines and the people of theirs on them, never a bare address; grouped by portfolio; status and portfolio only where tier 3 is read (companies).
  • The money slot's reader, money.money_in: a window's transactions with merchant and amount (tier 3), and, when no payment source covers it, No payment source covers this day — the last ends <date>, never an empty sum.
  • day sign DAY --keep N,N and day reflect DAY --sign --keep N,N keep what you choose of the dream's draft before they sign: a sentence learned, decided or about an idea as a note, a proposed link as the entity line review writes, the photo of the day as a star with its note. logbook day DAY numbers them after the proposed events. --mend N="…" keeps a sentence in your own words, --revisit N=YYYY-MM-DD gives a kept decision the day it comes back, and --word WORD keeps the day in a word, one a day. Every item is checked before the first line is written; one refusal writes nothing.
  • The plan answered at the close: day sign DAY --done T,T --tomorrow T --let-go T writes one note per task, labelled task, with the Notion row, its line and the answer, for the agent that runs your task tool; it crosses with the signed day. show plan numbers today's tasks and marks the ones you answered, and a task's day is its Planned date, else its Due date, unless the mapping names one.
  • Search in the Library: /search?q=… in logbook serve, under search in the navigation, finds the record's words through the function logbook search calls and holds every hit to the page's tier gate. Each hit shows its day (a link to the Day), its kind, an excerpt with the match marked and its line's id (a link to /line/ID); a hit a later line supersedes is marked as the command marks it, superseded by #N, with the last correction the gate lets through. The filters by kind and year and the pages of fifty are links, never state in the browser. An empty query is the form alone; a query with no hit says so in one sentence. A GET form only: nothing written, no script, nothing fetched, phone width first (search).
  • RFC 0044 (draft), local days: proposes that, behind a local_days setting off by default, a day is the local calendar day where the owner was when it began (a flight west makes a long day, east a short one), and that a signed day keeps the zone and the span it was signed in and is never moved. Nothing changes in the readers yet.
  • logbook lab hold census senders counts, per sender, its mails with List-Unsubscribe and in Promotions, Social or Updates, in the report and its JSON (list_unsubscribe, tabs, lists_and_tabs); the terminal summary gives the totals and still prints no address.
  • export share day shares a day of a sealed record whose lines name an attachment: each sealed file is opened with this machine's identity, checked against its name and zipped opened, as the lines are; a store file that does not hash to its name, sealed or not, still stops the share (#320).
  • export site leaves a model's drafts (pencil) out: no Day page or Year pick carries a day's draft, its week's or a call's synthesis unless --with-drafts, which puts them in headed with their model, as the Day page heads them; the owner's reflection follows its own tier as before (the site).
  • A voice's name keeps its tier (RFC 0038): the name a reader shows for a voice bound to a person takes the highest tier of the lines that give it, and a reading below that tier (a site, a vault, a trip bundle, a gated Day) shows a named voice in its place and names nobody in its company from that voice.
  • People's mail, one rule (RFC 0045, draft): a mail is a person's when someone the record names as a person sent it to you or you sent it to one; no-reply addresses, agents and companies are not people. logbook people mail [--since DAY] [--until DAY] [--json] counts people's mail and the rest, never an address or a name in the terminal (people's mail).
  • export crossing sends people's mail only and counts the rest as mail_held_back; --all-mail sends every mail as before, and the manifest says so (the crossing).
  • The owner's own phone may write through the Library behind Tailscale Serve, off by default: logbook setup phone --origin https://<machine>.<tailnet>.ts.net --login LOGIN names it in logbook.json after a yes typed at a terminal, and the Day's Reflect, With, Star and Sign and the shelves' forms are then answered from that origin, that Host and that Tailscale-User-Login as from this machine; a form from any other origin, Host or login is still a 403 with nothing written. --off removes it, and doctor says on its phone line whether the phone may write and from where (from your phone, ADR 0024).
  • A form posted through Tailscale Serve, or any proxy (a Host that is not 127.0.0.1 or [::1], or a Tailscale-* or X-Forwarded-* header), is answered only as the phone's: a program on another tailnet device that sends no Origin is refused, the setting on or off, where before it was answered as this machine. Requests to http://127.0.0.1:8765 or http://[::1]:8765 from this machine are answered as before; one naming any other host, localhost included, is treated as coming through a proxy.
  • logbook import pickup FOLDER [--write] [--source NAME] [--tier N] [--keep] moves a folder of call transcripts collected from the receiving side (the Purser's) into the record: one transcript line per file through the transcript adapter, each with its own source, its text stored, where it came from under extra.picked_up. A file already taken is skipped by its hash; a dry run unless --write, which removes each file taken from the folder unless --keep (the pickup).
  • review receipts [--since D] [--json] proposes the receipt mails the record holds as payments, the money bridge until a payment source covers the day (RFC 0043 §12): a received mail from an order or no-reply address, or a domain an org of the Manifest binds, never a person the record names, whose subject or kept body carries an order or receipt marker and an amount with a currency, read by rules (CHF 1'234.50, € 12,90, $12.90, NOK 1 840), the total over the line items, a refund as money in. --accept N,N writes one tier-3 transaction/v1 line each (source: receipts, extra.from the mail's line), a second mail of one payment in the same batch refused and counted; --reject N one tier-3 not-a-payment line (receipt-review/v1), never proposed again; the queue never shows a sender's address, it names a merchant by its domain; a receipt another source already holds is shown and never written, and one a payment source delivers later is listed as covered, with the retraction that lets the source's line win (receipts).
  • logbook search marks a hit that a later line of its kind supersedes: the row ends · superseded by #N, and --json gives every hit standing and superseded_by; --standing shows standing hits only, still filling --limit (search).
  • The dream learns (dream-day/4, RFC 0043 slice B): a day's draft holds the goodnight story, with its last line about tomorrow computed by the reader and never written by the model; one answer per lens, a question of policy/questions.json marked "ask": "day" (RFC 0027 amendment, at most five, never drawn by the digest, and — the day doesn't answer this printed by the reader); what was learned and decided; the ideas the day moved; one question where there were two; the photo of the day; and proposed links of a line to an idea or an org (draft/v1 amendment 2). The material adds the chapter and its rule, the open goals and the named ideas and orgs with their ids, under the entry's ceiling; a figure the cited lines do not give marks the sentence unsupported, no number ever stands beside a person, and the draft's tier is the highest of every line it drew on, the goals and chapter included. logbook day DAY --json carries the new parts.
  • logbook dream day TODAY --evening dreams today so far (extra.evening, extra.read_until); the catch-up still never dreams today. Kept lines (an accepted event, a kept sentence, the reflection) never make a day be dreamed again; after a signature only a line that arrived later does, and the reader shows what is new since you signed, a proposal already kept matched by its fields and never accepted twice.
  • CI moves the tag stable to each commit of main whose every check passed; a machine that updates itself installs @stable (docs/install.md, "Following stable").
  • The map: one offline OpenStreetMap file (a PMTiles v3 vector extract, a Protomaps build you put on the home machine) drawn by the server as inline SVG, light and dark, no script and nothing fetched, the OpenStreetMap attribution on every map. logbook setup map PATH names the file after reading its header (--off removes it); logbook lab map render --bbox … [--track DAY] draws one to check by eye; for an unnamed stay the map proposes the named thing within 50 m. No page draws it yet (the map, RFC 0043 §11).
  • show plan [DAY] [--json] [--coverage] reads the plan you keep in Notion back from the lines sync notion wrote, for one day: today's open tasks (dated today, or overdue in the current sprint; five, the rest counted; between sprints, one line says no overdue task is shown), the current sprint and its dates and the next trip as a countdown, each row with its Notion link and never its text. It reads tier-1 sync notion lines and nothing else. Which databases are which is a plan entry in policy/notion.json; without it, one sentence. --coverage says how much of each database the record knows. Nothing is written, to the record or to Notion (RFC 0043 §9; the plan).
  • The week page, /week/YYYY-Www in logbook serve, read-only: seven ribbons, one a day, each a link to its Day; where the week went (the week draft's numbers, each with its lines; sleep and training only where tier 3 is read); each goal with what the week shows for it, the five verdicts and the command that gives one; the one proposal for next week, in pencil; the stale question, once; the people who moved, names only; the sprint and the next trip; Hold's census, counts only. Every Day and the Sunday's week draft link to it (the week, RFC 0043 §8, slice D part 1).
  • The timeline: /timeline in the Library and logbook show timeline [--day | --week | --month | --year | --life] [--json], the record's moments beside the map at five zooms. A moment is a stay of note with its place, time, the people confirmed apart from the proposed (each with its reason), its photos, what passed during it and, at tier 3 only, what was paid; the month and the year count the nights by class, and all years lists each place and vessel with who was there, by name only (the timeline, RFC 0043 §11-12).
  • A place's class (home, family, aboard, away), the colour of its nights on the timeline, read from what places.json already says: a place of kind home, a place tagged family, a night aboard an asset, else away.
  • logbook doctor --attachments lists the lines whose attachment the store lacks, by source.
  • What you heard (RFC 0046, draft): sync heard stores the words of the podcasts and videos you played, one heard/v1 line beside each listen or watch, the text kept as it came in the attachment store: a feed's own transcript fetched once (WebVTT, SRT, JSON or plain text; at most LOGBOOK_HEARD_MAX_FETCHES a run, two seconds apart, a failed fetch counted and not retried for a week), the transcripts Apple Podcasts cached on this Mac, and a video's captions from your own folder (YouTube documents no keyless way to fetch them). Opt in with LOGBOOK_HEARD.
  • logbook show heard [--day D | --since D --until D] [--json] lists the texts with a one-line excerpt and their length; logbook search finds words inside them. A crossing or a shared page leaves every text at home unless the destination's entry in policy/crossing.json says "heard": true.
  • Who was there, as commands and readers (RFC 0043 §11, §12): logbook with --from D1 --to D2 NAME states a person on every day of a stretch, at each day's longest stay; people not-with, people lives-with and people lives-in are your word as one note each; review with --journey ID|--week YYYY-Www|--from D1 --to D2 asks once who was with you over the stretch, the evidence in words, faces from your own camera only, answered with --accept N[,N] [--days D,D] and --not NAME; people city CITY [--trip ID] lists your people in a city, seen or not yet on a journey (who was there).

Fixed

  • export crossing ships the resolution lines that name a mail's addresses (from, to, cc, bcc) and a transcript's participants (email, phone, provider id) in resolution.jsonl, as it did for a message's sender and a calendar guest; before, a mail or a transcript crossed with nobody on it named (the crossing, RFC 0005).
  • The Day's ribbon says the time before the entry (19:30 — Dinner with Per Hansen), so a clock time never follows a name in its tooltips or its screen-reader sentence.
  • A draft is held to the entry it was written under: a person's draft (dream person) to the relationship entry, every other unit to the dream entry. Once the relationship entry's until has passed, or its max_tier is below a person draft's tier, the MCP door holds the draft back and counts it, export crossing leaves it home (held_back_by_entry), and doctor names it, whatever the dream entry allows; a day's draft reads as before (the dream, When the entry changes).
  • Through the MCP door, sign_day with confirm: "all" confirms only the page's lines at or under the door's ceiling, the ones the agent could be shown, and says how many above it were left unconfirmed (unconfirmed, above_ceiling: a count, never the lines). day sign --confirm all and the Library's Sign still confirm the whole page (RFC 0034 amendment 4; the MCP server).
  • A dream's sentence that puts a number beside a person's name is dropped, not only marked: the draft keeps its slot as held: a number beside a name, unsupported, with the evidence it cited under extra.held (a day's), so day, the Day page and export site --with-drafts never print its words. A sentence the number rule had already marked is held too. A day's, a month's and a chapter's dream (RFC 0043; the dream).
  • dream day drops a proposed event whose title, or a proposed link whose text or note, puts a number beside a person's name, counted as a number beside a person.
  • export crossing holds every draft to the entry it was written under: a day's, a journey's, a week's draft and a call's synthesis cross only while the dream entry allows their tier, whatever the member's ceiling, and one that stays home is counted in held_back_by_entry, as a person's draft already was under the relationship entry; a record with drafts and no dream entry crosses none of them, and a video scene's draft, written on this machine under no entry, still crosses by its tier. The export crossing line that counts them now names the entry (the crossing).
  • Through the MCP door, sign_day without confirm on a day not yet signed confirms only the page's lines at or under the door's ceiling, as confirm: "all" does, and says how many above it were left unconfirmed (unconfirmed, above_ceiling: a count, never the lines). day sign and the Library's Sign still confirm the whole page (RFC 0034 amendment 4; the MCP server).
  • people ask and dream person send a day together only when the location lines behind the stay it names are at or under the relationship entry's max_tier too: the place's name takes the highest tier of the owner's location lines behind the stay and of the line that names the company, so at max_tier 1 a day at a stay found by tier-2 locations is held back and counted, never its name alone (the relationship reader).
  • The Library's Day page no longer crashes when the day, or a day it looks back to, has a flight line with no arrival: such a flight counts as ending at its departure, and one with no departure is skipped. export vault writes it at its departure time.
  • The shelves listed (/shelves, the Library's front page until Today took /) answer in a second on a record of millions of lines. The page counted the lines and found the first and last stamp in one pass over the whole index; it now reads the count from the record's head, as logbook doctor prints it, and the first and last day two steps down the day index. The page reads as before; a record with a torn tail past its head (a crash before logbook repair tail) is counted to its head, as doctor counts it. Today, at /, makes no pass over the lines on the request either.
  • A journey's name is held to the tier of the line that gave it: the Journeys shelf and a journey's page, read through a tier gate that stops at 1, no longer show a name given in a tier-2 note; the journey reads as it would unnamed, by its dates and places, with nothing that says a name exists. At tiers 1,2, and in serve, which reads every tier, the name shows as before.
  • Two Library pages asked for at once no longer fail on Windows when both save the same reading kept beside the index: each thread writes a temporary file of its own, and a save that cannot finish leaves the reading for the next one to make.
  • A Library page read while a sync was between logbook.json and the index no longer keeps that earlier reading as the record's: what the server shares between pages, the Day's readings and the morning's replies owed and revisits are kept under the head the index held, and the review pages' tables of observed people, orgs, ideas, assets and places are stamped with it, so the next page after the sync reads the new line. The tables live in the index, so a restart no longer kept the earlier one either. The page's footer and the built pages' record name that head too.
  • The Library (logbook serve) on a record of millions of lines: a page asked again at the same head is answered from what the server kept (warm, under a second on every page), and the pages that read the whole record read it once per head for all of them. A night is found by bisection over the owner's stays instead of every stay once a day (the People pages, the World, Trips and Journeys); the people review compares only the pairs that share an address, a number or a name word; the Promises and Agents shelves stream the messages instead of holding them all. The pages are the same, byte for byte. scripts/bench_library.py measures every route on a synthetic record of millions of lines.
  • index.sqlite gains an index on a line's id and one on the lines that supersede another; an index built before them is given them when it is next opened.
  • serve: every form of the Library (Name this place, Sign, Reflect, Star, With, the review queues, the status forms) is answered in a real browser again. The pages were sent with Referrer-Policy: no-referrer, under which Chrome, Firefox and Safari post a form with Origin: null, and the write gate refused it (403, nothing written); they are now sent with same-origin, so a form names its own page's origin and no other site is sent a referrer. The gate is as strict as it was.
  • A payment with its mailed receipt is counted once. When you accepted a receipt in review receipts and your payment source then delivered the same payment, the Day's spend, rollup ledger, rollup money, a trip's spend and an org's money counted it twice until you retracted the receipt. They now count the source's line alone, on its own day, and name the receipt as its evidence (1 with its receipt). One card line covers one receipt, the nearest in time, in the queue's covered rows too.
  • A trip's spend reads a corrected transaction in the place of the line it supersedes, as the ledger does, instead of counting both.
  • A receipt's merchant is never a raw email address: a sender with no name and no registered domain (x@localhost, an address with no domain) is a sender, and two such senders are two merchants.
  • A week draft's people are printed by name only, the most time together first, never with a count beside a name (with Kari Nordmann · Ola Nordmann, was contacts Kari Nordmann 12): in dream week, logbook day and day --json on its Sunday, the Day page, export site --with-drafts, and for a week dreamed before as well. A chat among the week's threads is named without its count, and a title is quoted beside its count. The line keeps each person's name, id, lines and contacts (the week page compares the contacts to name who moved, and prints none), no longer the counts by channel or the days together; and the week's own sentences are held as the day's, month's and chapter's are: one that names a person and writes a figure is dropped, held: a number beside a name (dream-week/2; RFC 0043 §2.5).
  • The readers of a day, a week, an org and an idea set no number beside a person's name either: a call on the Day (logbook day, the Day page) reads 19 min ← Ola Nordmann (was ← Ola Nordmann, 19 min); a recording's voices are named in the order of who spoke most, without their minutes, you · Kari Nordmann and 1 unnamed; the digest's with reads Kari Nordmann and 1 proposed; an org's and an idea's people (show org, show idea, the Library) read Kari Nordmann, last 2026-06-12; the week's paper, the vault's People lists and the lab's chapters name the people, the most days first, without the days.
  • export notion counts a person's days together over their whole history in the record, not the export's window: days_together with first_together and last_together in the facts, and on the page "Tage zusammen: N (zuerst …, zuletzt …)", or no line at all when there are none. Before, every page said "seit" the window's first day, and most said 0 (export for Notion).
  • export notion lists only the open promises said in the 365 days before the export, from a conversation the person is a direct party to (a one-to-one chat, a mail you are both on and no list sent, a call they spoke in), newest first, at most ten a side, then "und N weitere" (promises_more in the facts). Before, a page listed every promise of the window, group chats included.
  • export notion leaves out a promise that talks of money without a figure (a payment, an invoice, a transfer, a price, in German or English) and counts it under sentences_with_money, as one with a sum.
  • export notion lists only promises: your own and the person's own. A request is no longer listed, on either side; before, one the person made of you appeared under "Offene Versprechen von mir" (export for Notion).
  • export notion lists only whole sentences: never a line quoted in a reply, a chat line pasted with its time stamp, or a run of more than 40 words without a full stop (a whole chat message).
  • export notion --dry-run says how wide the pages' two long sections are, in totals and never a name: pages: days together: N lines on N pages; promises: N lines (N listed, N more not listed).
  • The World's time slider ends on today, not on the latest line the record holds: one calendar entry in 2055 no longer stretches it thirty years into the future. --from and --to still reach any day, the future included.
  • /gaps in the Library counts each silence to the server's own clock, so the same page read twice is the same page (the slow test that turned main red on 1dd86c2).
  • A sealed record keeps no reading of its tier 2–3 lines in plain text on this disk: the readings kept beside the index, the review pages' tables of observed people, orgs, ideas, assets and places, and the Library's built pages stay in the process's memory instead, and what an earlier version left there is removed. logbook serve --built renders every page live on a sealed record, to its end, and says why; serve --build refuses in one sentence, and the 06:00 close says the build is off. "plaintext_cache": true in logbook.json keeps them on disk as before, 0600 in the cache folder; off by default. The index's own columns stay as RFC 0029 §8 has them (sealing; RFC 0047 §15).
  • doctor's extra:* hints add the missing extra to this Logbook exactly as it is installed, or print no line (#334): this venv's pip (uv's pip in a venv uv made) at the installed version; pipx runpip in the venv pipx made, which keeps its Python, its options and its suffix; uv tool install --force on the Python running now, at the installed version or git commit, with every extra already there, the index options and each companion at its installed version; in a checkout, uv sync --inexact --no-default-groups on the Python running now, which removes nothing and brings back no group. It prints no line and says in one sentence why and where in docs/install.md to read under Homebrew, beside a receipt it cannot read or one naming a password or token, where uv's receipt names another Python, where the source may have changed since (a folder, a URL, a wheel), outside a venv, and under uvx or uv run --with, whose environment is uv's cache.
  • setup never adopts the demo record: it says it is the demo, how to make your own (unset LOGBOOK_HOME, then logbook setup) and exits 2 without writing. logbook demo marks the record it writes ("demo" in logbook.json); a demo 0.7.0 wrote is known by its owner (#334).
  • init on a folder that holds a record says so in one sentence and exits 2, never a traceback; with no path it makes the record where LOGBOOK_HOME points, as every other command finds it (#334).
  • doctor's hints name the current commands (logbook repair index, logbook setup places add …) (#334).
  • logbook --help says where a newcomer starts; dream names person; init --help describes path and --timezone (#334).
  • show person counts the open promises with the person (logbook promises lists them), or says none open, in place of a note about RFC 0007; the MCP person tool gives the same counts and command, under its ceiling, never a promise's words (#334).
  • demo --out on a record says which --out to pick, and that an earlier demo may be removed (#334).
  • setup's timezone question says in words which zone Enter takes and that the other is an example; setup places propose --top N prints the total and how many it shows (#334).
  • What the Library says to someone reading the record for the first time (#334): the front page links Promises, Goals, Agents and the World, as the navigation does; a Day the record holds nothing for (/today on the demo, read months later) says so and names the record's first and last day, each a link; /gaps and /assets on a record that went quiet before yesterday say when, while every silence and age still runs to today; the Day's with row says "nobody confirmed; proposed below" when a row below proposes who was there; the headers of the Manifest, Ideas, Promises, Goals and Agents say "nothing read above tier N" or "no lines" for "tier N" and "tier -", the tiers explained on hover; the Manifest and Ideas say why what was seen and not placed has nothing to review, so the counts and the sentence under them agree.
  • The text of a trip's route names its places (show trips, show year, show trip, /trips, the Journeys and a Journey's page): an unnamed stay is near <place>, x km or the nearest airport's city (Zurich), the coordinates only where nothing names it or where two stays side by side would read the same. The JSON keeps the label SPEC §3.2.6 gives. show year names an asset as it is registered ("aboard Nordlys", not "aboard nordlys"), and show year --json gives each trip's asset_name.
  • logbook serve never hangs: a page reads for at most --limit seconds (15 by default) and is then built in the background, said in one sentence; at most two pages are read at once; a browser that leaves stops its reading, and a broken pipe is no longer a traceback; an idle connection is closed.
  • A page read while a sync writes reads the record up to the last indexed line instead of rebuilding the whole index from under the sync.
  • serve --status says "not answering" for a server that takes the connection and says nothing for 5 s, with the command that restarts it; the server's own watchdog leaves for its service manager to start it again, and the scheduled run restarts a service that does not answer. kill -USR1 writes every thread's stack to the server's log.
  • add transcript stores the file a transcript/v1 JSON's content reference names when the export holds it (at the reference's own path, attachments/<sha256> or <sha256> beside the JSON; a spans file too), so Granola's and Fireflies' exports no longer leave a missing attachment behind. Bytes that do not hash to the reference are refused and counted; adding an export again fills the store for lines already in the record and writes no line (the attachment store).

Changed

  • The Day page's morning looks ahead with what the record already holds: today's tasks from the task tool (five at most, each linked to its line and to Notion) and the next trip as a countdown in words; who you'll see, by name; one person to reconnect with, from the drift rule, in words and never the same person two mornings running; the week's one proposal, in pencil. Loose ends adds the replies owed for more than a week and the decisions to revisit on the day, which Looking back brings back too.
  • The Day page takes one of four shapes from the hour: morning, live, evening (from LOGBOOK_NOTIFY_EVENING_HOUR, and every past day not signed) and signed. ?shape= shows another shape for reading. New parts, all read from the record: what the day was for (the chapter and the goals it touched), Yesterday, the ribbon of the planned beside the lived, Today, Loose ends both ways, People by time together, a birthday this week, Looking back 1, 2, 3, 5 and 10 years, and one line naming the parts with nothing. The record is folded with counts on each fold, the dream's draft is in pencil on ruled paper, and the page has a new look in light and dark. No model call and no new write.
  • The list of the Library's shelves, which was the front page, is at /shelves, behind the gear.
  • Every page of the Library carries the doors' header (the wordmark, Today, Life, People and Places, Ask and the gear) in place of the list of fifteen links, with the door the page belongs to marked; the page's own look is unchanged. Every page's policy allows fonts from the Library itself and nowhere else.
  • Today's What's open lists the promises said in the fortnight before today, as the Day's morning does, so a promise years old never fills it; every promise stays on the Promises shelf.
  • A draft's proposals of a kind this reader does not know are counted, not malformed: the Day shows the proposals of the kinds it knows, counts the others as proposals_unknown in its JSON, and says malformed only for a known kind of the wrong shape or a proposal with no kind; every writer still writes only the kinds it knows and refuses any other (draft/v1, forward compatibility, 19 Oct 2026).
  • A signature never confirms the dream's draft line (RFC 0043 §6 rule 3): day sign, --confirm all, day reflect --sign, the Day page's Sign and the door's sign_day leave it out of confirmed, and naming it in --confirm or a disposition is refused. The page digest still covers it.
  • logbook serve answers every door and shelf from pages built ahead of time, at the 06:00 close and after every act on a page, instead of reading the record while you wait; a built page says when it was built in its footer. Today's Day is always current. serve --build builds them now, serve --live renders every page as it is asked for. The pages are kept beside the index, never in the record's folder, readable by you alone.
  • A new record names no one it may send what was said to: init and demo write a policy file with the MCP door at tier 1 and nothing else. You add an entry for each destination yourself. A record whose file already names one keeps it.
  • logbook serve renders every page as it is asked for by default again, with no limit on how long a page reads unless --limit SECONDS gives one, so the heavy pages (People, a person, the Manifest, the World, Promises) answer on a large record instead of Still reading. Pages built ahead are a lab, logbook serve --built (15 s limit, --limit 0 none); --live is still accepted. The 06:00 close builds the Library only on a machine where serve --built or serve --build turned it on, and otherwise says library: not built in one line. docs/serve.md lists what the built pages do not do yet.
  • export share day refuses a day that holds sealed lines (a tier-2 or tier-3 line of a record with recipients, at a tier the page would send), in one sentence and before anything is written: the page carried them opened, and the receiver's import page refused it because their hashes cover the sealed reference. A sealed day shares after v1, when a page can carry sealed lines to the receiver (RFC 0029); a day whose only sealed thing is an attachment still shares, its file opened as before (#364).
  • The Library's build renders what the lines since the last build touched: every door, a Day only when a line landed on it, a journey only when it holds such a day. serve --build --full renders every page, and is never needed in normal use.
  • The people of the whole record, the promises and each person's last real contact are kept beside the index between readings and brought forward by the lines appended since, instead of read again from every line: on two million lines a person's page reads in seconds rather than minutes. A resolution, a retraction, a corrected line, a backfill or a changed setting reads the whole record again, as before.
  • The world keeps each year before the current one beside the index and reads only the current year again, unless a line comes for an earlier year's days.
  • The Manifest and each org's page read the org sightings and touches kept beside the index and the lines appended since, instead of every mail, meeting and chat.
  • serve --build names the five pages that took longest to build.
  • The agents' shelf keeps which lines are a session's beside the index and streams only the messages appended since, instead of every message of the record.
  • A year's trips and journeys are built again only when a line lands on the days they were read from (a journey that ran on past the year included), or a draft is written.
  • The People page's year so far is brought forward with the record, and a closed year's ranking is kept until a line lands on its days.
  • The world reads its tracks and stays from the index rather than from every line of the year, and counts the lines it holds back in one query: the same page, in a third of the time.
  • Gaps keeps every source's activity beside the index and adds the lines since; of two equally long silences it names the first.
  • A year's trips and journeys read only the lines a trip is made of (flights, weather, events, transcripts, notes and photos) and the stays from the index: the same pages, read faster.
  • A build of a large record renders its pages on several processes, the doors first, side by side (LOGBOOK_BUILD_WORKERS sets how many).
  • Places keeps the owner's stays and what the lines name beside the index: a day reads the owner's track from a month before it, and the names of the lines appended, rather than the whole record.
  • The People page's review queue keeps each kind's observed people beside the index and reads only the lines appended since.
  • The ideas keep which lines name an idea beside the index, and read those and the lines appended since rather than every event, page, task and call.
  • Who was there, the owner's answers: people city CITY --trip ID takes the journey (--journey there still works until the release after 1.0, saying once that it is now --trip; --journey is people nearby's alone); review with --accept N[,N] takes the queue's numbers like the rest of review, each printed on a line of its own under the person, and a name there is refused; the longest stay a stretch's day is stated at counts its waking hours only, from day_start to midnight; review with refuses every option it does not take, --since included (who was there).

Docs

  • The pages a newcomer reads first agree with 0.7.0 (#334): install.md prints 0.7.0 and names the sealed and stream extras and what speakers costs; the tour uses the current command names, names its stores with --only and has its Docker and Nix lines; first-hour.md's check-up is the eighteen checks; serve.md lists the Promises, Goals and Agents shelves; try-it.md's samples are what 0.7.0 prints; index.md's RFC link works; and the release notes have 0.7.0.
  • The README is shorter and opens on a day; a new FAQ answers six first questions, each with the files that back it; Try it ends in the browser; RULES.md and SECURITY.md say what the code does about other people's words and the default tiers.
  • RFC 0043 amended after the task tool's agent read it: a task's day is its Planned date, else its Due date; let go closes the row with a status of its own, never the task tool's archive or trash, and tomorrow moves the planned day, never the due date; the week page's 90 days count only the owner's own edits, from the row's first line; the agent carries out a verb only on the row as the line saw it; an agent's meeting proposal shows under with as a proposal; a crossing that carries a signature carries the lines it gives a disposition to.
  • The show trips sample in the five-minute tour and the Year's trip rows print the route as show trips prints it, route Zurich, and aboard Nordlys; the Year's JSON names each trip's asset_name; RFC 0043 marks as proposed what main does not do (the folded draft, promises to you among loose ends, transcript consent, --keep) and says that Sign already writes delegations as notes.
  • The launch post says encryption at rest for tiers 2 and 3 is built and off until logbook key init turns it on, with the envelope plain and older backups still plain, as SECURITY.md does; the adapter bounties no longer list Mac Screen Time, which screentime reads.

0.7.0 — 2026-10-18

Fixed

  • A stop becomes a stay only through an event that happened somewhere: one that carries a location or attendees, or comes from a calendar (ios-calendar, ics) or Google Home's history. A Notion page edited or a Drive file changed (by you or by someone else on your file) inside a ten-minute stop no longer makes it a stay; the Day still shows the edit under the stop. derive stays, day, days, trips and places propose agree (the Day, What makes a stop a stay).
  • sync gtasks writes task/v1 (RFC 0016), not event/v1: the Takeout Tasks adapter's own mapping, source google-takeout, so logbook tasks reads a task seen live and a Takeout export of the same tasks writes nothing, whichever comes first. A changed task is a new snapshot superseding the last; a done one carries how long it was open (extra.open_for_s); the notes stay a digest. A record that ran sync gtasks before this fix keeps the event/v1 lines it wrote (they promote no stay); logbook sync gtasks --since 2000-01-01T00:00:00Z once writes every task as it stands. sync reads a live source's own lines by the source it writes (gtasks → google-takeout, gmail → mail), so a first sync gtasks after a Takeout backfill carries on from its newest task.
  • doctor's last-run warns when the schedule is installed both for you (the agents or user timers) and for the system (--install-schedule --system's daemons or units): every run would happen twice. The last run is read the same whichever install wrote it (the schedule).
  • dream --catch-up, which the 06:00 close runs, synthesizes only the calls of the last 7 days (by the call's own start on the record's day_start), never a record's whole backlog of transcripts at once: an older call without a synthesis is counted and named in one line (N calls before DAY not synthesized; run …) and sent only when you ask, with dream --catch-up --since DAY or transcript synthesize --day DAY. The close never passes --since; the days it dreams are unchanged (the last 14). doctor has a synthesis line counting the calls without a synthesis inside the week, before it and above the dream entry's ceiling (the synthesis of a call).
  • promises never reads a line you pasted back into your own turn under an agent's own name (Claude: …, Claude Code: …) as your promise: it is the agent's, as a line under assistant: already was.
  • claude-sessions: an older copy of a session (a backup, an earlier export) added after a newer one is never written back over it; it writes nothing, as an unchanged session does.
  • export crossing builds every bundle in a fresh folder beside --out DIR, checks it against its own manifest and renames it into place, replacing DIR whole. A second export into the same folder used to overwrite only the files it wrote, so a tier-1 crossing into the folder of an earlier --tier 1,2 one left the earlier resolution.jsonl and tier-2 attachments beside a manifest that said there were none. The manifest now lists every file of the package under files (path, sha256, bytes). A DIR that exists and is not an earlier bundle is refused before anything is written, unless --force; the record, a folder that holds it and any path in it outside export/ are refused even then. A failed export leaves DIR as it was. export trip-bundle writes the same way and takes --force too (the crossing).
  • A portfolio typed in an org's status form comes back typed, in its field, when the form is sent again after a busy 409; it came back hidden.
  • The dream, transcript synthesize and the doctor --packet probe can now use a model that refuses any temperature: LOGBOOK_DREAM_TEMPERATURE=none sends the request with no temperature field, a number from 0 to 2 is sent as given, and unset keeps 0.2, so an existing setup sends what it sent before. Anything else is refused, naming the variable. An HTTP 400 that names the temperature now says set LOGBOOK_DREAM_TEMPERATURE=none for a model that takes no temperature; the request is never retried without one on its own. The packet's dream endpoint section names the temperature that will be sent.
  • A draft follows the dream entry of policy/crossing.json, not only the head: a draft above the entry's max_tier today (the ceiling lowered, the until passed, the entry removed) is no longer shown on the Day, on serve's Day page or through the MCP door, though no line was appended. The Day says superseded by policy and why in one row, and nothing of the draft's text (draft_withheld under --json); the door holds it back from every tool and counts it with the lines above its ceiling; doctor warns, naming the days. Every draft now records the version of the entry it was dreamed under (extra.policy_version, the SHA-256 of the entry's max_tier, until and model), and dream --catch-up dreams a day again when its draft is above the entry or was dreamed under another version of it, superseding the old draft; an expired entry still dreams nothing. The old draft stays in the record (the dream, When the entry changes; ADR 0016).
  • A source's first scheduled run reads its last 14 days, not its whole history. A live source added to the schedule started from nothing, so the first sync --scheduled walked everything it held (a Drive activity walk of 1.25 million entries spent the account's API quota for the day). Now a source with no watermark yet reads the record's last 14 local days on its first scheduled run, keeps its watermark, and says so in one line with the logbook sync <source> --since <date> that reads the rest. The next scheduled runs carry on from the watermark, or from the same instant while there is none, so nothing is skipped or written twice. sync <source> and sync --all by hand start where they always did, and --since always wins. doctor notes first run bounded to 14 days; history not read on the source's sync: line until a run reads back past it (--since, --restart) (the schedule). ais, adsb, telegram and weather read no history and are never bounded.
  • A dry run stops on one line at the source's quota or rate limit instead of waiting it out: sync: drive: dry run stopped at the source's limit after 0 lines: HTTP 429: …, exit 1, nothing written. The Google sources, notion, github, granola and adsb say so; a run that writes waits the limit out as before.
  • sync mail --since on a folder with no mark yet and no message from that day on marks the folder at its last message, so the next run no longer reads the whole folder; sync github --since marks a repo with nothing from then on at that time, so the next run no longer reads it from its beginning; a first sync gmail --since that finds nothing keeps its time as the newest date, so a later list by date (after Gmail drops the history id) starts there, not at the first message.
  • The health export reader (the CSV reader the Withings, MyFitnessPal and Google Takeout Fit adapters share) no longer emits an empty row for a degenerate file. A row with no text under any column the header names — its only text past the header, or under a blank name — is skipped as a blank row is, so such a file reads as an empty export does: no lines and nothing counted, where each such row was counted as a bad date or a bad start. A column name the header repeats keeps the last cell with text under it; a blank or missing cell under the repeat no longer covers the text. Found by the reader's property test.
  • review idea no longer counts a Notion row's relations line (sync notion --relations-backfill) as one more line of its idea: a relations line links a row to others and touches nothing. The observed table is rebuilt once.
  • One email is one line, whichever road brought it: add mail (a Takeout mbox), sync mail (IMAP) and sync gmail each skip, before they write, a message the record already holds by its Message-ID from any of the three, and say so per mailbox (3,412 already in the record from mail (an import without --account)), dry runs included. A Takeout added without --account was keyed <Message-ID> and the live roads <account>:<Message-ID>, so a sync over a period the export covered wrote every message a second time. payload.message_id is now the id normalised (brackets and surrounding whitespace off, the domain part lower-cased, the part before the @ as written) and a message the record holds under another spelling is found among the lines of its days; a copy in another of your mailboxes is still a line of its own (RFC 0015 rule 1, amended). Nothing written is touched; a message without a Message-ID is keyed by its bytes and dedupes on its own road, as before, and so is one whose id has no @ (unknown), never a key across roads. Message-ID: <> now counts as none instead of folding every such message into one line: a Takeout holding such messages, imported before, writes each of them once more on a re-import, one of them a second copy of the line the old key kept (Mail).
  • The health row lost the record's day_start for every line read after the first sleep stage.
  • Under a day_start, the Day showed no weather: a weather line starts at midnight, on the page of the day before. The Day now takes it by its own day.
  • The Day shows a Notion row once when sync notion --relations-backfill saw it again: the backfill's relations line folds into the page's own line on the day, which stands for both (--json lists both ids under lines, notion its one source). It showed as two rows in day and on the Day page of logbook serve, and counted twice in a stay's attachments under days. show lists both lines, as it lists every line (the Day).
  • logbook sync notion no longer stops at a page that holds a block Notion's API withholds from integrations, such as an AI block: reading its blocks answered 400 validation_error ("Block type ai_block is not supported via the API for your bot type") and the whole run aborted, on a real workspace a thousand pages in. The page's line is written with extra.body {"unavailable": "withheld"} in place of the digest and word count, never a digest of part of the text; the summary, the dry run's too, says also N pages with blocks the API withholds; the block type is named once a run on stderr, never the page. A block deleted while a page is read (404) marks the body {"unavailable": "not_found"} and is counted as pages with a block deleted while they were read, where before the body was left off without a word. Any other 400 still stops the run on one line with the watermark kept. words_delta counts against the page's latest line that has a word count.
  • scripts/check_pii.py reads a commit range: run by pre-commit run --from-ref A --to-ref B, as a merge desk runs it over a pull request, it checks the lines git diff A..B adds instead of the staged diff, which is empty then, and no longer reports Passed having checked nothing. --tree REF checks every line of every file tracked at REF, for a sweep of a whole branch. Every run ends with one line of counts, check-pii: 18 patterns, 9879 lines, 0 matches in …, shown on a pass too; no patterns file, a file of comments only, or nothing to read is that line as a warning. A match names the file, the line and the pattern (its first named group, or its line in the patterns file), never the text.
  • seal and migrate now refuse a record whose original hashes do not verify: key seal --all and repair migrate check every hash, under the rule the record was written with, and every link across the whole record before a line is rehashed, verify the new files before they replace the old, and on a failure name the first failing line and its id and change nothing.
  • A day signed again keeps your confirmations: day sign DAY and the MCP tool sign_day, without --confirm, keep what the standing signature confirmed, its dispositions and its note, as the Day page's Sign again and day reflect --sign already did; a line added since stays unconfirmed. --confirm all confirms the whole page (RFC 0034 amendment 4).
  • A line superseded twice reads alike everywhere (#321): a superseder that is retracted supersedes nothing, and a line stays superseded while any superseder not retracted stands, in the index and so in show, review speakers, the voiceprint registry and every reader that asks it; the MCP door marks a transcript heard again as show does.
  • logbook serve: when a sync moved the head and left the index stale while the server ran, requests that arrived together each started their own rebuild of the index and all but one failed with database is locked. The index is now brought to the new head once, under a lock, by the first request after the head moves, and the others wait for it.
  • day sign --at (and sign_day and day reflect --sign, which sign through the same code) checks the moment against the day's start under day_start, by the rule the index puts every line on its day by, rather than against midnight: with the day beginning at 06:00, a moment at 01:30 signs the day before and is refused for the date it falls on, which has not begun, so a signature never covers a page that starts after it. A signature already in the record is never checked again.
  • status KIND ENTITY DISPOSITION --reason "…" for an idea, a place or an asset writes the reason's note/v1 first and then the status/v1 line, whose note names it, as RFC 0037 §10.5 says; it wrote them the other way round, the note naming the status under extra.status and carrying the disposition. The note now carries the words and the entity only. A pair written the old way is read the same, and status list --json names each status's note (note). An org's status is unchanged: one tier-3 line, the reason on it, no note (the profiles).
  • A crash between the fsync of an appended line and the replacement of logbook.json (SPEC §3, write order) left the files one line ahead, which verify reported; the recovery this documented, repair index then append, then wrote a second line of the same seq, the index refused it with UNIQUE constraint failed: lines.seq, and the record held a fork. append and append_many now refuse under the writer lock while the files end past logbook.json, or at its seq under another head, in one sentence naming logbook repair tail, and write nothing. repair tail checks every line past the head as verify does (envelope, seq, prev, hash, timestamps, a sealed line opened when the identity is here) and only then sets logbook.json to the last of them and extends the index, in that order; --dry-run lists the tail and what would be done; a line that does not verify, the files behind logbook.json, or the same seq under another head makes it refuse with the first failing line and change nothing. The gate of key seal --all and repair migrate checks timestamps too now, as verify reports them.
  • A writer waiting for state/writer.lock no longer dies with FileNotFoundError when the holder's release removes state/ between the waiter's making the folder and creating the lock: it makes the folder again and tries again under the same rules, so a lock another writer took in the meantime is still waited for, or refused under --no-wait. Seen once on Windows CI.
  • day and serve show one calendar entry once when two calendars carry it (ios-calendar and ics, or two calendars gcal writes as ics): starts less than a minute apart, the same duration or one side all-day, the same title or flight. The richest line stands and names the others, ×2 sources (ics, ios-calendar); the fold is at read time, every line stays (docs/day.md).
  • A move names an airport pair (OSL → ZRH) only when it is a flight: its speed and distance are a flight's, or a flight line covers it. A car move between two points near an airport no longer prints ZRH → ZRH.
  • verify walks the attachments the lines name (SPEC §1.1), as it always said it would and never did: a file the store does not hold is listed under attachments: with the first line that names it and is not an error; a present plain file whose bytes do not hash to its name is an error naming the line, hashed by default (--no-attachment-digests leaves present plain files unhashed on a large store); with the identity, a sealed file is opened and a plaintext that does not hash to its name, or a file that does not open, is an error, which no flag skips. A missing file, a corrupted plain one and a sealed one swapped for valid ciphertext of other bytes all passed before. doctor looks for the same files and counts the missing ones in its record line, without hashing them.
  • Timestamps must be RFC 3339 instants. append took any at, end or recorded_at ending in Z, so not-a-dateZ was written, verify said nothing, and the index rebuild then failed; it refuses one now, and verify reports one a line already carries as an error naming the line. A valid stamp is still written exactly as given (it is hashed as written), and one with a numeric offset is still converted.

Adapters

  • telegram: logbook add telegram-export <folder> reads Telegram Desktop's JSON export of your bot chats (and nothing else: a chat with a person, a group or a channel is counted and never read) → one message/v1 line per message, your words as yours and the bot's marked extra.machine, the bot as every line's counterpart (extra.counterpart, an observed entity of kind agent), media referenced by its path and digest and never copied, a forward marked as one. logbook sync telegram reads your own bots over the Bot API (LOGBOOK_TELEGRAM_BOT_TOKENS, LOGBOOK_TELEGRAM_OWNER_ID), read-only: getMe, getWebhookInfo, and getUpdates only when something is pending, never an offset (no update is confirmed, so your bot still gets every one), never a method that sends or changes; a message from anyone but you is counted and never written; a bot on a webhook is one line and is left alone. Both write the same line under one key, since Telegram gives one message two ids, yours and the bot's.
  • claude-code: logbook add claude-sessions ~/.claude/projects → one transcript/v1 line per Claude Code session, your turns as owner and the assistant's as a participant marked machine, the text stored once under its digest; tool calls counted by name and their output never kept, nor a subagent's conversation, a compaction summary or thinking; words counted per side; the session, project and working directory under extra. A session that grew is a :v2 line that supersedes the one before.
  • immich.place asks the server for one asset's place by id, and apple_photos.places reads the places Photos named for given assets from a library, its schema confirmed first.
  • takeout-location reads the Semantic Location History of a Takeout archive (placeVisit, which carries the place's name and address, and activitySegment), and the iPhone's own Timeline export (location-history.json, a top-level array); the docs give the steps to export Timeline from the phone.
  • immich keeps the city, state and country Immich gave a photo under extra.place; apple-photos keeps the address, city and area names Photos gave it (ZREVERSELOCATIONDATA) under extra.place.

Changed

  • An agent is never a person (docs/adapters/agents.md): people, person, drift, the company of a stay and people review pass over a conversation with one of your agents and a transcript participant marked machine, whatever its name; promises reads only your own words in it (a bot's message and a forwarded one are counted under skipped); the dream marks an agent's words for the model and its prompt says agents are not people (dream-day/3).
  • The MCP tool note_day writes through the same note path as day reflect (logbook/core/notes.py); what it writes is unchanged.
  • doctor checks five extras: extra:speakers joins ais, crypto, sealed and transcribe, a pass when pyannote.audio is installed and a warn with pip install "openlogbook[speakers]" when not. It is asked by the installed distribution, so neither pyannote nor torch is imported to find out. A machine with [transcribe] and without [speakers] now has that one warn (the doctor).
  • The notion entry's example in export for Notion has no write key, as the refusal that names the entry has none: left out, write is the empty list it must stay, and an entry that spells out "write": [] is read the same.
  • people review --reject writes an entity-review/v1 line of type person; a people-review/v1 line is read as the same no, forever.
  • setup places review --reject, and the Places page of serve, write the pair as an entity-review/v1 line of type place, and state/places-review.json is a cache rebuilt from the lines. --migrate-rejects writes the pairs the file held before as lines, once; until then review says how many are not lines yet.
  • What the sources saw is one table in the index, observed_entities; observed_people and observed_places are views over it for one release. The index is rebuilt once, on the first command after the upgrade.
  • sync github and add github-export: a line from a private repository is tier 2, with the reason on the line (extra.tier_reason: private repository), so an issue's text, a review and other people's comments in a private repository no longer go wherever tier 1 crosses by default; a public repository's lines stay tier 1. The live sync reads each repository's own private and visibility from the answer it already asks for (GET /repos/{repo}, or GET /user/repos with --all): public only when the API says so, so an internal repository is private too. The account export's mark per repository is used where it exists; a clone says nothing of its visibility, so its lines, and those of a repository the export does not mark, are tier 2 (repository visibility not known) unless you pass add github-export DIR --public for that run, which never overrides a repository the export marks private. A visibility that changes applies to the lines written from then on; a line already in the record is never rewritten, and the same commit or issue read again at the other tier is the line already there, never a second one. In a record that seals (RFC 0029) both need the identity to write, a tier 1 line too, since only the identity sees an act the record holds sealed; without it they refuse on one sentence before asking anything (--dry-run needs none).
  • One Google sign-in for every Google source (service_account): the key file and the user from the two existing variables, a read-only scope per call, an hour's token held in memory and never written to disk; no refresh token anywhere. The tour's new Google, on one key names the five scopes, gives the one setup and says which sources it covers; the mail page says when to use IMAP (any mailbox) and when sync gmail (Gmail on your own Workspace).
  • doctor's sync:<name> line names the variables a source reads, and a source with two ways in (gcal) says what to set in words.
  • sync --all runs meet and gaudit after gtasks whenever the Google key is set. A key delegated before this release lacks their two scopes: add them in the Workspace admin console (the tour, Google, on one key, step 4) or switch the two sources off in policy/import.json, or each scheduled run reports them failed.
  • review idea sees a repository in two more places: an act sync github wrote (its own link, else its repository on github.com: a commit, a README's version), and a task's own url beside its links.
  • A bot's line is nobody's (the owner's decision of 14 October 2026): a line whose actor is a bot (sync notion's bot, sync github's Bot) or whose words an agent wrote (extra.machine) is never a touch of an idea in review idea, never a person seen on one, and adds no words to one; an agent among a call's participants is nobody, whatever address it joined under.
  • RFC 0037 §4.3, amended 2026-10-16: a database row is its own root. A row of a Notion database (its lines carry the row's database) is an idea of its own in review idea, never folded into the page above the database; a page under a row is the row's.
  • review idea proposes a Notion database row as an idea only when its Type select says Idea (the owner's decision of 14 October 2026), as the row's latest line with extra.properties has it; a page under a row of another type is not proposed either, and a page that is no row is proposed as before. idea_rows in policy/entities.json names another select and option ({"property": "Kind", "value": "Spark"}, case aside). sync notion already writes the select's name and option on the row's line, and nothing else of it.
  • serve answers a busy record one way: while another command holds the writer lock, every act of the Library (the Places, Journeys and People forms, the Manifest's review and status, the Day's Reflect, Sign, star and with…) is a 409 with one sentence, Another command is writing to the record; nothing was written. Try again in a moment., the command that holds the lock, and the form you sent kept to send again (a recording is chosen again). Nothing is written.
  • Every page serve serves fits a phone's 400 px column: on the Day, the days, trips, places, assets and gaps a wide table scrolls inside its own box, and the Places queue's maps and the World page's canvases keep to the column. One test walks every page from / and holds each to it, the Day among them.
  • serve's navigation wraps on a narrow screen and names journeys and people (/trips stays, from the front page). A draft of a journey (RFC 0036, unit journey) is read by its id: a subject that is the trip's id, or an array naming it. It follows the dream entry as a day's draft does: one above the entry's max_tier today is not shown, and the journey's row and page say superseded by policy and why, nothing of its text.
  • logbook serve's navigation wraps on a narrow screen instead of pushing the page wider than a phone's 400 px column; the Day page, its new forms included, holds that column without scrolling sideways.
  • logbook day sign reads the page and appends under one hold of the writer lock and re-reads the head before it appends, refusing when another writer moved it.
  • logbook sync weather asks nothing unless LOGBOOK_WEATHER=1 is set, by name as in sync --all: it is the source's one setting. Unset, the command says so and exits 2 without a request. The first run asks about yesterday alone, no longer the record's whole history (--since backfills), and the week's lookback never reaches before the first day a run covered (docs/adapters/weather.md).
  • logbook sync notion records a database row's database and its relations. Every line of a row carries extra.database ({id}), so a reader can tell "a row of Notes" from the record alone; the line that holds the row as it is (the one with the body's digest) carries extra.relations, each relation property as {name: [page id, …]} — the ids of the rows it links to exactly as Notion gives them, in its order, never their titles, bodies or rollups, and no related page is ever looked up. RFC 0009 has no field for links between entries, so they go under extra. A relation is a change like any other: an edit that only links or unlinks writes its one line, with extra.relations_changed ([{name, added, removed}]) saying which relation gained and lost which ids since the row's latest line with relations; a reorder is no change, and a re-sync of an untouched row writes nothing. A relation of more than 25 links, which Notion serves cut short, is read whole from the page property endpoint; when that fails the field is left off the line and the row counted (rows whose relations could not be read whole), never the first 25 alone. Lines written before keep no relations; a row gets them with its next edit.
  • logbook sync notion --relations-backfill [--since DAY] [--dry-run] writes them now: one line per database row whose relations the record does not hold yet (or whose links changed from the other side of a relation with its edit time left alone), extra.action relations, dated at the row's last edit, raw_id <page id>/<day>/relations, with the row's reference, path, parent, database and its relations as the backfill reads them, and no body, property or actor. --since takes a local day; --dry-run counts the rows. A row the record holds no line of is left to the next sync; the watermark is never moved. The same pacing as the sync, three requests a second; a rate limit that does not lift stops it on one line, exit 1, the lines already written kept, so running it again finishes the job. A backfilled row shows once more in its Day, at its last edit.
  • review org sees an org in two more places: a transcript participant's address, and an act sync github wrote (its own link's code-host org, else its repository's on github.com). A calendar's rooms and a code host's relay (resource.calendar.google.com, users.noreply.github.com) name no company, and your own code-host account (a github: handle in policy/owner.json) is yours, never an org. A person's own account is hinted personal, and a family's domain is one whose names are each a given name the address itself spells (kari@ "Kari Nordmann"), so a newsletter in its own name ("Nordmann Nytt", news@) is a company. The observed table is rebuilt once.
  • The diarizer is its own extra, openlogbook[speakers] (RFC 0038, open question 13): openlogbook[transcribe] brings the Whisper engine and nothing of pyannote.audio, torch's diarization stack or CUDA; voices need openlogbook[transcribe,speakers]. Without it derive transcripts transcribes as before and says speakers: not separated (install openlogbook[speakers], then logbook setup speakers --fetch-model); setup speakers and derive speakers exit 2 with that sentence. A machine that installed [transcribe] from main for its voices adds speakers.
  • SPEC 0.4: §3.2.3 rule 5 says what #263 made the reference do. An event makes a stop a stay only when it happened somewhere: it comes from a calendar (ios-calendar, ics) or Google Home's history, or it carries a location or attendees. A page edited or a file changed promotes nothing and is not counted in attached; transcripts, notes, calls, messages and photos promote as before (ADR 0023). A reader's rule, not the format: a record still names logbook/0.3, and no conformance fixture or head changes. SPEC gains a version history.
  • logbook --help lists 31 commands on 48 lines: star, unstar and with join the write group.
  • export crossing carries a star only beside its line, as export share day and the trip bundle do; and every crossing carries a photo's memory keeper (your star on it, or the library's favourite) only beside its photo, so a favourite whose photo stays home stays home too.
  • A keeper that names an earlier one in supersedes replaces it, as SPEC §3.2 defines a standing line.
  • A live source's pull may take recorded (its own lines from the day before since on, for a source that folds several items into one line or writes snapshots), and a live adapter that writes under a file adapter's source names it as SOURCE, which sync then reads its own lines by.
  • A live source's pull may take existing (which of a batch of keys the record holds), owner_emails and notice, and may keep a lasting resume state through the checkpoint keeper (RESUMES), described per folder after the summary.
  • The test suite drops every LOGBOOK_* variable the shell exported before a test runs (the live sources' hosts and keys, the dial prefix, the notifier's token, a backup password), so a developer's shell can no longer change doctor's output under a test.
  • A live source's pull may take previous: the payloads the record holds under a raw_id prefix, in chain order, for a source that keeps no history of its own.

Added

  • claude-export: logbook add claude-export <zip> reads the Claude apps' data export (Settings → Privacy → Export data; the zip as it came, the folder it unpacks to, or its conversations.json) → one transcript/v1 line per conversation in the shape and tier of a Claude Code session: your turns as owner and the assistant's as a participant marked machine, the text stored once under its digest, words counted per side; the conversation's id, its name as the title, its project's name and its created and updated times under extra. Files you gave or uploaded are named and counted, never copied (the text the apps extracted from them never read); tool calls counted by name, their input and output never kept; thinking never kept; users.json never opened; only the branch a conversation stands on when the export links its messages; the thinking and the artifacts an older export writes inline are dropped, never kept. A conversation that grew is a :v2 line that supersedes the one before; an unchanged one writes nothing, nor does an export older than one already imported; a malformed one is skipped and counted; --dry-run says how many conversations, new, grown, unchanged and older. people, promises and the dream read these lines as they read Claude Code's: your words count, the assistant's never (docs/adapters/agents.md).
  • The Day page of logbook serve shows a row's photos as a strip under it, starred first: a thumbnail for each photo whose pixels the record's own attachment store holds (/photo/ID), the rest counted, never a broken image, and nothing fetched from a photo library (In a browser).
  • A photo review at the foot of the Day page: the day's photos with no star, each with Star (its memory keeper) and Not a keeper, which stops the review asking and writes no line (state/photo-review.json); both answer 409 while another command writes, as every act does.
  • The Day page draws the day's track from the stays' own coordinates, an inline drawing with no map tile; links every row that is a line to /line/ID, the line as written, read-only and through the page's tier gate; shows the week's draft on its Sunday and links to it from the other six days; and says in one sentence under the header what crosses where.
  • Many edits of one Drive file read as one row on the Day page, the file's name and what was done to it counted (Budget 2027 · 5 edits, 2 comments); logbook day lists each line as before.
  • logbook with DAY NAME… and the Day page's with… field say who was there on a day no device saw, the night the phones were off: the same line from either, and the page says why it saw nobody.
  • logbook day reflect YYYY-MM-DD: close the day in your words. The reflection is typed (--text), heard on this machine (--audio FILE, the openlogbook[transcribe] extra, refused with the install hint without it), recorded from the microphone on macOS (--mic SECONDS, with ffmpeg), or the day's Wispr Flow dictation that begins with the word "reflect" (offered as a draft and written only when you confirm it, or with --from-wispr [SEQ]). It is one note/v1 line on the day, tier 2, source reflect, reflection in its labels, printed back a sentence a line. Rules only, no model, read it with the cue tables of promises: your commitments, delegations to a named counterpart ("ask Ola to ...", "Ola should ...", "Ola soll ..."), and what became of the commitments on the day's page (kept, missed, dropped, carried; matched by token overlap at 0.5), all printed as numbered proposals and none written until you accept it. --sign with --accept N,N (or one y/n each on a terminal) writes the accepted delegations as note/v1 lines labelled delegation and signs the day through signing.sign, the reflection among the lines confirmed, the accepted dispositions in the signature and --at the moment you spoke; a day signed before is signed again, keeping what its signature said. --dry-run writes nothing.
  • day and the Day page of serve show the latest reflection in a section of its own, below the header and above the timeline; day --json carries it under reflection, a key present only on a day that has one.
  • day_start (RFC 0036): logbook setup day_start 06:00 writes "day_start": "06:00" to logbook.json, and from then on a line whose local clock is before 06:00 belongs to the day before. Every reader that puts a line on a day goes by it, from one rule: the index, show, day and days, the nights before and after a day, trips, doctor sources --gaps, the digest, the signed day's page and the crossing of signed days, promises, the rollups, the Year, people, the vault, the printed pages, the shared page, the MCP tools' days and serve's pages, /today included. The comparison is on the wall clock, so the night the clocks change moves no line; no line, hash or month file changes. The Day's header says 06:00 to 06:00 the next day and its JSON carries day_start when the day does not begin at midnight, and only then. Setting it rebuilds an index that exists and counts the signed days whose page moved; a value that is not a clock HH:MM is refused by every reader that groups by day, naming it (docs/settings.md).
  • logbook doctor has a day-start line when the day does not begin at midnight, warns when the index was built under another boundary, and fails a value that is not a clock.
  • The schedule runs four times a day: sync --scheduled at 00:00, 12:00 and 18:00 local, and sync --scheduled --close at 06:00, which runs dream --catch-up after the sync when this version has the dream and policy/crossing.json a dream entry (else one line saying why not), then the rest of the run and one summary line. Two launchd agents or two systemd user timers; sync --install-schedule --system writes daemons or system units for a machine nobody logs in to and prints the two sudo commands that install them, as serve --install-service --system does. Installing again moves a schedule of two runs to the four; --uninstall-schedule removes them all. The Sunday message comes from the 18:00 run.
  • logbook export site writes a Day page for each of the Year's twelve picks, days/<day>.html: serve's Day page written down with every toggle open, nothing to submit, the site's navigation above it. The pick's row in the Days index links its page; any other day stays a row, which a Day page's neighbours link. About twelve pages a year, never one per day. The site's pages in serve's stylesheet, the Day page among them, need no sideways scroll on a phone: a table wider than the column scrolls inside itself.
  • logbook doctor --packet [--out FILE]: a plain-text diagnostic to hand a collaborator when something fails, with no line's content, no name, no path under the home directory and no value of a variable in it (docs/doctor.md, "Sending a diagnostic"). It holds the OS and its version, the architecture, the RAM, Python, openlogbook and the extras installed; the record's line count and head; each source's last-run result and watermark date; the schedule, the last scheduled run and the serve service; the dream endpoint's host and port and model with one probe, the fixed prompt Reply with the single word ready. sent once, and the reply's HTTP status and body as they came; the names of the variables set; and the last 40 lines of the sync and service logs. What it quotes is scrubbed: the home directory becomes ~, the record's folder [record], the owner's names, handles, addresses and numbers from policy/owner.json (a number however it is spaced) and the login name [owner], the machine's name [host], places and assets [place] and [asset], a variable's value its name in brackets. The probe is the packet's one network call, made only when LOGBOOK_DREAM_ENDPOINT is set and a model is named.
  • dream day YYYY-MM-DD [--dry-run] [--show-prompt]: a model reads one day under the dream entry of policy/crossing.json (max_tier, until, optional model; no entry or an expired one refuses in one sentence) and writes one draft/v1 line (RFC 0036): the day in a paragraph, the threads it moved, two questions, the people and promises it proposes, every segment with the ids of the lines it rests on or marked unsupported. The model is any OpenAI-compatible chat completions endpoint, LOGBOOK_DREAM_ENDPOINT, LOGBOOK_DREAM_MODEL and, when it needs one, LOGBOOK_DREAM_KEY, through one small client with a timeout and one retry and no SDK. The material is the Day under the ceiling, messages by counterpart with their count and text, notes, commitments and the signing note, never a raw line above the ceiling; the prompt is logbook/contrib/dream-prompt.md (docs/dream-prompt.md) and says which language to write in, the language most of the day's lines are in. An evidence id the day does not have makes the segment unsupported; more than 30 % unsupported refuses the answer and nothing is written. The draft's tier is the highest tier it read; read_head and read_count say what it read; dreaming a day again supersedes the standing draft; the whole run holds the writer lock and a head that moved is HeadMoved, nothing written. dream --catch-up [--days N] dreams each of the last N days that has no draft or whose lines changed, one line per day (docs/dream.md).
  • The Day shows the standing draft between the header and the timeline, above every note, headed with the model, the head and count it read and dreamed N×, last on DATE; an unsupported segment set apart with ~ and the word; day --no-dream leaves it out and --json carries it as draft; serve shows the same. show lists a draft line on the day it was written. doctor lists the dream entry on its crossing line with the model it names.
  • dream journey ID drafts a journey once it has come home, and the first 06:00 close after it does dreams it: the trip as a whole, its days, places with their hours, who was on it, what was decided and promised, the photos it would star and one name it proposes. show trips and show trip carry the draft (draft or draft_withheld under --json, when it has one).
  • dream week [DAY|YYYY-Www] drafts an ISO week from its seven days and their drafts once its Sunday is over, and the close of each Sunday dreams it: the time by place, person and thread, sleep and training when the health lines cross (else no data), who moved against the week before, the promises open both ways, a review proposed for each open goal, one proposal for next week and a personal part. Every figure is computed from the lines, with their ids; a sentence that writes another is marked unsupported. day of a Sunday carries it (week, week_draft, week_draft_withheld under --json).
  • Both follow the dream entry as a day's draft does: read under its ceiling, the version recorded, withheld by the readers when the entry no longer allows them, dreamed again by --catch-up when their lines or the entry change.
  • The dream proposes events: beside its segments, dream day asks the model for the events the day held ({title, start, end, place, people, evidence}; the prompt is now dream-day/2) and keeps them inside the draft/v1 line under proposals, kind event, never as event lines. A stay at a restaurant with two photos and a recording is a dinner with the people in it. The material gives each stay its place (a named place's name, or place:<lat>,<lon>) and the day's canonical people by id; a proposal with a time, a place, a person or evidence not of the day is dropped and counted under extra.dropped, an unresolved person among them (docs/dream.md, Proposed events).
  • day sign and day reflect list the proposed events, numbered; --accept N writes one as an event/v1 line, the calendar adapter's own mapping of its fields, source owner, tier 1, extra.from the draft's id, under the writer lock the signature takes and confirmed in it. Nothing is written without --accept.
  • The Day shows a proposed event greyed (? and proposed in text) and a confirmed one as an event of the day; day --json carries them under draft.proposals, each with confirmed.
  • Proposed events follow the policy with their draft: a draft the dream entry no longer allows is withheld with its proposals, so the Day shows none of them and day sign/day reflect list none and refuse --accept for them with the reason; the draft the entry still allows, shown in its place, brings its own. An event confirmed before the entry changed stays in the record.
  • logbook review KIND (RFC 0037): one sitting for the five kinds of thing the record names — person (= people review), org, idea, asset, place (= setup places review), the two old commands printing the same as before, byte for byte (review). The org queue is the registered domains of your mail and calendar (a public provider and your own domains name nobody's org), the code-host orgs of the pages and tasks, the group chats and the recurring merchants; the idea queue the Notion roots, the repositories and the recurring titles; the asset queue the track subjects and aircraft registrations the registry does not name; each proposed against what you named with the evidence, or as a new one. --accept, --name N "…", --reject, --all-above; nothing written unless told, nothing looked up. review alone lists every queue.
  • logbook status KIND ENTITY DISPOSITION [--reason "…"] [--at DATE]: what you decided about an org (hold, add, sell, let-go, exited, passed), an idea (spark, exploring, build, built, killed), a place (let-go) or an asset (sold, let-go), one status/v1 line, no money on it, tier 3 for an org (its dispositions describe a position in money) and 2 for the rest; --reason puts your words on the line, and for an idea, a place or an asset also as a note/v1 at tier 2; an org's reason stays on its tier-3 line, never a note. A place let go and an asset sold close their registry entry with until and keep it. status list KIND says the current status of each, the stale ones and the proposals muted for a year by a status you gave a reason.
  • Three profiles in draft with RFC 0037 (the profiles): entity/v1 (an org, an idea, an asset or a place, and the refs that are it; tier 2, never citing a tier-3 line), entity-review/v1 (every no, for every kind) and status/v1. A resolution/v1 of type company is read as an org. policy/entities.json holds the public mail providers and the review's thresholds.
  • export notion FOLDER [--since DAY] [--include-unsigned] [--dry-run]: the record's facts for the program that keeps your Notion, as a crossing. Persons you had contact with in the window, by their emails, phones and handles: the last contact and its kind, the days together, the promises open both ways (the sentence, its day, its line), and the page in German, emitted whole; ideas with a Notion page: the status, your reason note quoted as written, a dated German entry per status; orgs by domain: the days they were touched, and nothing else. Anything without a key is left out and counted, and so is a sentence that names money. Nothing leaves without the notion entry of policy/crossing.json; signed days only unless the entry says "include_unsigned": true and you type --include-unsigned; tier 3, an org's status and money never. The folder is written fresh each run and one crossing/v1 line says what left; nothing is asked of or created in Notion (export for Notion).
  • logbook export world [--out DIR] [--from DATE --to DATE] [--tier 1|1,2|1,2,3]: the record as one self-contained HTML page, a globe you can scrub (the world). On a canvas, with no WebGL and nothing fetched: the world's outline from Natural Earth's 1:110m land (public domain, bundled under 48 KiB as logbook/tables/land.json, written by scripts/make_land.py), the places of places.json as anchors, the assets of assets.json as dots moving along their own tracks, your stays as dots (aboard, you ride with the boat), the journey/v1 lines as tracks, and a time scrubber at the bottom that moves everything, the standing chapter/v1 lines as bands on it. Clicking an anchor or an asset opens its summary: nights, journeys, photos, the first and last day. The record's part of the page is one JSON block under 1,000,000 bytes, the tracks thinned to fit (never the counts); every id it refers to is checked before the page is written, and no coordinate is more precise than the record's own (a stay's centre to the fewest decimals of the fixes inside it, four at most). Tier-gated like an export: tiers 1 and 2 by default, under a new world entry of policy/crossing.json (2 when the file does not name it); every export appends one crossing/v1 line, and a re-run over an unchanged record rewrites nothing.
  • logbook serve: the same page at /world (?from=&to= narrows it), its one script named by its hash in the page's Content-Security-Policy, and world in the Library's navigation.
  • goal add TEXT --horizon life|year|quarter [--from DAY] [--until DAY] [--supersedes GOAL] writes one goal/v1 line (RFC 0036) in your words, tier 2 and source manual; a goal reworded is a new goal that supersedes the old, and the chain is one goal. goal review GOAL advancing|stalled|done|let-go|superseded [--note TEXT] [--at DAY|RFC3339] [--period day|week|month|quarter|year] writes your verdict as one review/v1 line on the day it is about, recorded_at saying when you wrote it; one verdict per goal, period and day, never in the future or before the goal's first day. goal list [--open] [--json] lists every standing goal with its latest review. goal import FILE is the first backfill: one goal per line of a text file (text | horizon | from), and --review let-go --at 2026-08-31 applies one verdict to all of them, every line checked before any is written (docs/goals.md).
  • chapter open NAME [--from DAY] [--to DAY] [--rules TEXT], chapter close [--to DAY] and chapter list [--json]: a named stretch of your life as one chapter/v1 line, tier 2; chapters do not overlap, the same name from the same day is written once, and closing writes the chapter again with its last day.
  • Every one of these writers holds the writer lock for its whole run and reads the head again before it appends: a head that moved under it writes nothing, exit 2; --no-wait refuses while another command writes.
  • The Day names the chapter a day is in, in its header after the signed state, lists a row per goal review on the day the verdict is about with the goal's current text and written <when> when it was written later, and lists the goal and chapter lines written on the day, marked when superseded; under --json as chapter, reviews, goals and chapters, each only on a day that has one. show and the serve Day page show the same; under a ceiling of 1 none of it is there.
  • logbook sync gmail: a Gmail mailbox over the Gmail API v1, read-only (gmail.readonly), on the one Google service-account key → mail/v1, tier 2, source mail: the line logbook sync mail (IMAP) writes for the same message, through the same parser and with the same dedupe key (<account>:<Message-ID>), so a mailbox synced by IMAP yesterday and by the API today is written once, and a Takeout imported with --account dedupes against both. Labels in the profile's slot as IMAP spells them (Inbox, Sent, Important, Starred, your own by name; UNREAD and the category tabs dropped), the thread id in decimal; the body as the mail source stores it; attachments named, sized and digested, never stored. Drafts, Spam and Trash are counted, not written. Headers first: no body the record already holds is fetched. The state is Gmail's history id, else the newest internal date less a day when Gmail no longer keeps the history; --since, --dry-run, --restart, paging and backoff. sync --all runs it after mail.
  • logbook sync gcal on the service account: with LOGBOOK_DRIVE_SA_KEY and LOGBOOK_DRIVE_USER set it reads the calendars you own over the Calendar API v3 (calendar.readonly), each event turned into the VEVENT its iCal feed carries and read by the same ics reader, so the line, its raw_id and its source are the ones the feed and an export give. An existing gcal watermark carries over and nothing is written twice (the tour, Google Calendar, has the migration note). Without the two variables the iCal feeds are read as before.
  • Drive lines carry the folder path of their file, root first (["My Drive", "Boat"]), with the drive.metadata.readonly scope: each folder's name asked once and kept in state/drive-cache.json for a week, never in the record. Without the scope the lines carry none and the run says so; lines already written are never rewritten.
  • doctor shows one google line: the key present, the user set, and which of gmail, gcal, drive and gtasks are on it and enabled; it asks Google nothing.
  • logbook people review --from-google: your Google contacts and other contacts (People API, contacts.readonly and contacts.other.readonly, on the one Google key) as a name source for the review. A contact that holds an observed address or number and a canonical person's own is evidence for that pair; one that touches no one the record names proposes to name the observed person as a new person (same email, same phone, same name); contacts that share an address or a number are proposed as one, to merge in Google Contacts. Nothing is merged unless you say so, and no contact becomes a line: accepting writes the name and the identifiers the record already saw, rejecting writes no line. The contacts are cached in state/google-contacts.json for 24 hours and never printed.
  • logbook sync meet: your Google Meet calls from the Meet REST API (meetings.space.readonly), one event/v1 line per call that has ended (tier 1, the participants as Meet names them, the conference record as the reference), and when Meet transcribed it one transcript/v1 line built as Granola's is (tier 3, the words in attachments/). A Granola transcript of the same call stays its own line.
  • logbook sync gaudit: your own sign-ins from the Workspace's login audit log (Admin SDK Reports API, admin.reports.audit.readonly), one event/v1 line per sign-in event, tier 1, with how and the place Google derived; the IP address is never in a line, not even as a digest.
  • doctor's google line names meet, gaudit and what people review --from-google reads.
  • logbook show ideas and logbook show idea NAME (RFC 0037 §7, §11): the ideas you named by stage (build, exploring, spark, built, killed, no status), the most recent touch first, each with its reason (a killed idea that sparked again keeps its old one, said with its day), the words written this year (--year), its repositories, how many people it was discussed with and never their names, the days since its spark, its latest titles and the stale ones said (an exploring over two years with nothing since); one idea's page with every touch newest first, the people by name, its Notion pages and repositories as references (a README's versions), its title thread, the words by month and every status line (ideas read back). A touch is a line that resolves to the idea as review idea finds it; a bot's, an agent's and a relations line are none.
  • The Ideas shelf under logbook serve (Ideas): /ideas, the ideas you named by stage, the most recent touch first, the stale flagged, each with its reason and its evidence folded, the people it was discussed with counted and named only on its own page, and below it the review queue of review idea; /idea/ID, one idea with its status form, first said, every touch, the people by name, its documents, its title thread and its words by month. Accept, Name and No write what review idea --accept, --name and --reject write, the status form what status idea writes (with a reason, the note first), through the same functions, byte for byte; from this machine only, and while another command writes the record an act is a 409 and nothing is written. One column, phone first; an exported site has no Ideas.
  • logbook lab hold census files PATH…, senders and drive: Hold v0, read-only censuses of what you hold (Hold, RFC 0042 draft). files walks the folders you name, never through a link and never into a system or Claude folder: counts and sizes by type and year, duplicates by SHA-256, the 50 largest, folders untouched for two years. senders reads the record's mail lines: senders by count and last seen, the ones never answered, newsletters when a line holds the List-Unsubscribe header. drive reads the record's Drive lines. Each writes a report under state/hold/; the names stay in it, the terminal gets counts, and nothing is moved, renamed, deleted or appended.
  • logbook serve has two new shelves, phone first (a 400 px column), every derived row with its evidence folded (what it rests on, the day, the line ids). Journeys (/journeys?year=): the trips that began in a year, the latest first, each with its name or dates, nights away, return day, route, photos, places, the people the record names (the unplaced counted, a link to the review) and the journey's draft folded; one journey (/journeys/FIRST/LAST) with its stays as dots on a plain canvas drawn by the server (no tile host), its days one row each linking the Day, and the promises made on it (serve). People (/people?year=): the people the record names, by days together this year, then the last real contact; one person (/people/ID) with days together by year, the last real contact and what it was, drift and why, promises both ways, the coming month's anniversaries and the places shared (serve).
  • logbook add --trip ID-OR-DAY "NAME" names a journey (ADR 0019): one note/v1 line in your words, label name, the id under extra.trip, dated inside the journey. The Journeys page's Name this journey writes it through the same function, byte for byte.
  • The People page carries the review queue of people review, the one place an observed person appears: Merge writes what --accept N writes and Not the same person what --reject N writes, through the same functions. Like the Places page's form, both acts and the naming are answered from this machine only (a loopback client, an Origin of 127.0.0.1), one at a time, under the record's writer lock without waiting for it: another command writing is a 409, nothing written.
  • logbook serve's Places page asks you to name the places you return to: the named places first (nights, last visit), then the review queue of setup places review in its order, twenty a page, each cluster with a dot on a plain canvas drawn by the server (the spot, its radius, the nearest named place and distance; no tile host), its facts, its evidence folded, a field prefilled with the best proposal, and Name, Skip and Not a place (Enter, Space, n). Name and Not a place go through the review engine's own accept and reject, so places.json, the naming note and state/places-review.json are byte for byte what --name, --accept and --reject write; the page is read again after each write. The Library's first write act: the form is answered only from this machine (a loopback client, and a browser Origin of 127.0.0.1 when one is sent), else 403 and nothing written (serve). A Day's stay printed as coordinates links to its cluster there (name this place).
  • setup places review folds its evidence: the addresses one source wrote along one street are one line (dawarich: "Plattformveien" (38 addresses, 217 stays)), three lines are shown and … and N more counts the rest; --verbose prints every name as before. The Places page shows the same folding, from the same code.
  • logbook serve's Day page closes the day: Reflect and sign at its foot. Reflect writes your reflection through day reflect's own function, byte for byte its note/v1 line; the day's Wispr Flow "reflect" draft is offered prefilled and taken only when you click; the field is in the language of the day's own words. Where this machine can hear (openlogbook[transcribe] and its model, asked once when serve starts), a recording, a file or a phone's recorder or a Record button where the browser can record, is heard through the day reflect --audio path and never fetches a model. The proposals are boxes, none ticked; Sign signs the day through the code day reflect --sign runs, the ticked delegations written and the ticked dispositions in the signature, byte for byte the command's line, and a signed day is signed again, superseding its signature. Afterwards the section opens with the signature, and the Day's header carries it with the page digest whole. From this machine only (a loopback client, an Origin of 127.0.0.1), a form older than the record refused, another writer never waited for. The policy's MCP write list is never read and may stay empty: the page is the owner's own Sign path, and the door is for an orchestrator elsewhere (serve).
  • The Day page's footer says No model touched this page. What a model drafted is marked as a draft.
  • logbook serve mcp gains two write tools that the owner allows by name (ADR 0022): sign_day signs a day as logbook day sign does, through the same code, the same checks and supersession, writing the same line byte for byte; note_day appends one note/v1 line to a day, tier 2, source mcp, at most 4000 characters, its kind (note, proposal, reflection) in labels. Both are refused unless the mcp entry of policy/crossing.json names them under "write": ["sign_day", "note_day"]; an expired entry allows none, a day outside write_window_days (default 60) is refused, and --allow-tier-3 has no effect on them. Both hold the writer lock without waiting and log the tool, the day and counts, never text. logbook doctor shows the write tools on its crossing line, and serve mcp --inspect lists them. RFC 0034 amendment 3.
  • The Night line: day has a night row under the night before when a night ends on the day, slept 23:10–06:40 · 7 h 20 min · training 45 min, derived at read time from the health-sample/v1 lines already in the record (sleep stages and workouts); nothing is written. A night is one device's asleep stages with no gap over two hours, on the local day its last stage ends in under day_start, so a night across a 06:00 boundary is one night, never split; the longest device, never a sum. Training is the union of the day's workout spans. The JSON carries night only on such a day. The Day's text says the sleep once, on that row: the health row keeps the steps and the resting heart rate, and sleep_h stays in the JSON (docs/day.md).
  • day says the weather in short beside the place of the night after, Home · home · 4° · rain.
  • An org's portfolio (RFC 0037 §10.2, amended 15 October 2026): logbook status org ORG DISPOSITION --portfolio "Fund I" names which portfolio holds the company, free text, in the portfolio field of the org's tier-3 status line; --portfolio "" clears it, and a status without it leaves it as it stood. Only an org's status takes one: a portfolio for an idea, a place or an asset is refused in one sentence and nothing is written. A status equal to the standing one is written when it moves the portfolio, and keeps the day the status took effect (since) unless you give a new reason. show org NAME, the org's page and status list org say it; show orgs --portfolio TEXT and the Manifest's filter (/manifest?portfolio=) list the orgs in one, case and spaces aside; the org page's status form carries it through the same writer, byte for byte. It is tier 3: no crossing, shared day or Notion folder carries it, and through a gate without tier 3 nothing shows it and a filter lists no org (the profiles).
  • logbook show orgs and logbook show org NAME (RFC 0037 §7, §11): the orgs you named under their current status (holding, exited, passed, let go, no status), the most recent touch first, the stale ones said (a hold over three years with nothing since, stale_days in policy/entities.json), the passed with their reasons in full, and the people who appear with more than one org; one org's page with every touch, its people, who introduced whom, its documents as references and every status line. A touch is a line that resolves to the org through one of its refs, a ledger line through its merchant among them; its figures only with --money (--year for the shelf). An org's status, its reason and the money are tier 3 and read through the gate of whoever reads (orgs read back).
  • The Manifest under logbook serve (the Manifest): /manifest, the orgs you named under what you decided about them, the most recent touch first, the stale flagged, the passed with their reasons, each row's evidence folded, and below it the review queue of review org; /org/ID, one org with its status form and every touch, the money only when you ask; /manifest/people, who appears with more than one org. Accept, Name and No write what review org --accept, --name and --reject write, the status form what status org writes, through the same functions, byte for byte; from this machine only, and while another command writes the record an act is a 409 and nothing is written. One column, phone first; an exported site has no Manifest.
  • people drift [--min-days N] [--quiet-days M] [--year YYYY] [--show]: the canonical people with at least N days together in one year (default 20) whose last real contact is more than M days ago (default 365), most days together first, then the longest silence; each with the best year and its count, the last real contact and what it was, and the open promises both ways; --show the days together, never a word of a message. A real contact is a day together, a timed meeting attended or a transcript spoken in, an answered call, or a message in a direct chat either way; never a mail, a line in a group, a missed call or a tagged face.
  • people nearby PLACE | --journey ID | --days FROM TO [--radius KM]: the canonical people seen on a day together at a stay within 50 km of a place (lat,lon, a place of places.json, a city or code of the airports table), of where a journey or flight line goes, or of each place planned on those days (located calendar entries, flights, journeys, home left out), ranked by days together there, then overall, with the last day there and the last real contact.
  • day names the days together exactly 1, 2, 3, 5 and 10 years before with the same canonical person, five at most, as anniversaries (under --json only on a day that has one); --no-anniversaries leaves them out.
  • logbook setup places review --ask-photos: the places the review proposes as blanks get the names your photo libraries hold for the photos already in the record, counted by photo and named by source (immich ×12: Havbyen, photos ×3: Plattformen) (Ask the photos). Immich is asked by asset id through the client sync immich uses (GET /api/assets/{id}, your own server and key, at most 10 a second); Photos is read from the library on this machine (--photos-library PATH). Your photos' asset ids go to your own Immich server and nothing else leaves the machine: no coordinate, no name, never a geocoder; no line is written. The 50 photos nearest each place's centre from each library (--limit N); --all asks about the places that have a name too. Before anything is sent it says how many photos it will ask about and where; a library that fails is said once and the review goes on. Answers are kept 30 days in state/places-photos.json. --accept and --reject work as before, on the same numbers; without the flag the review is unchanged.
  • logbook setup places review [--top N] [--near PLACE] (logbook places review still answers): the places you return to, named in one sitting from what the record already knows, offline (places). An observed place is a cluster of your stays within 75 m (--radius), with its visits, nights, first and last visit and hours, ranked by nights then hours; a derived table in index.sqlite, rebuilt when the record or places.json changes, never a line. Each is proposed with the name its sources already gave it — a Google Timeline place visit's name and address, a home or work type, the place a photo's library named, a calendar entry's location held during the stay, a name Dawarich's geocoder wrote on the stay's points — and which source said which name how often; a blank where none did. --accept N[,N] writes the place into places.json at the cluster's centre with a fitted radius and puts the naming in the record as places name does; --name N "…" uses your own name; --reject N[,N] records the pair in state/places-review.json so it is not proposed again. On a terminal it asks y, n or a name for each. Nothing is accepted on its own, no geocoder is asked, and no coordinate leaves the machine.
  • EXPERIMENTAL: the relationship reader asks a real model. people ask NAME QUESTION [--show-prompt] sends one person's lines to the model the dream uses (LOGBOOK_DREAM_ENDPOINT, LOGBOOK_DREAM_MODEL, LOGBOOK_DREAM_KEY) under its own entry, relationship in policy/crossing.json, with a max_tier of 1 or 2 (3 is refused while the model is a cloud one), a required until, an optional model and an optional include_unsigned; without the entry, or after its day, nothing is sent and one sentence says so. Only lines at or under the entry's max_tier cross, only of signed days unless the entry says otherwise, each as a reference with the promises read in its words, and the names that say whom a line is with are held to the same ceiling. Every claim of the answer cites lines of the person or is listed under unsupported; the answer is never written. The key is never said in an error (the relationship reader). Slice 0's people ask, which refused for want of a model, now asks this one.
  • dream person NAME [--window FROM TO]: one draft/v1 line of unit person (RFC 0036 amendment 1), written as the day's draft is (policy_version, evidence of the person's lines only or unsupported, supersedes, nothing written twice at the same head over the same window), under the relationship entry and refused without it.
  • EXPERIMENTAL: the relationship reader, slice 0 (logbook/contrib/relationship/, its README states the boundaries). people ingest NAME --window FROM TO reads one canonical person's authorized input set under the new relationship entry of policy/crossing.json (max_tier and until, both required): the lines where they are a counterpart, an attendee or a speaker (RFC 0036 amendment 1), never a line that merely mentions them, in the window, not retracted, at or under the ceiling; and writes a disposable store under state/relationship/<person>/, each line attributed to the peers who spoke it, one peer per canonical person and none for an unresolved one, with the line-id map. people ask NAME QUESTION answers from the store with every cited id resolved against the set read again from the record, or marked unsupported, and writes nothing; a store serves only under the head and the entry it was read under, and an expired entry refuses. No model is wired yet: people ask refuses until a later slice wires one.
  • docs: RFC 0036 amendment 1: a person unit for draft/v1 (one canonical person over a stated window; the model reads only the lines where they are a counterpart, attendee or speaker, never a line that merely mentions them, and evidence outside that set is invalid); the writers of goals, reviews and chapters, goal add, goal review (its at may be backfilled), chapter open and chapter close, under the writer lock with the head read again before the append, as day sign; draft/v1 rule 7, a draft follows the policy, not the head (the entry's version under extra.policy_version, superseded by policy where the page would show it), held for a draft of every unit, a person's included, and through a crossing to that crossing's current ceiling as well; and how goal/v1 and review/v1 relate to RFC 0037's status/v1. A document only: nothing in the code, the envelope or the conformance samples changes.
  • docs: RFC 0036 draft (docs/rfcs/0036-goals-reviews-drafts-chapters.md): four payload profiles with a page each under rfcs/, goal/v1, review/v1, draft/v1 and chapter/v1; the day_start setting of logbook.json; and signed_within_days on a crossing-policy entry. A document only: nothing in the code, the envelope or the conformance samples changes.
  • RFC 0037 (draft), Entities, with its twelve questions decided by the owner (the body says each, and a Decided section lists them): one road per kind, a person through resolution/v1 and an org, idea, place or asset through entity/v1 only, with company resolution lines read as orgs and never rewritten; entity-review/v1, the owner's no for every kind, which people review and setup places review will write (the place nos in state/places-review.json become lines once, by --migrate-rejects, and the file a cache); status/v1 for orgs, ideas, places (let-go) and assets (sold, let-go), a reason kept as a note/v1 labelled status, a hold with a reason muting the proposal it answered for 365 days, and staleness as a reader's rule; one observed_entities table with a ranking-only hint; how a status differs from RFC 0036's goal review and RFC 0034's dispositions. RFC 0035 gains amendment 1 (the no is entity-review/v1; people-review/v1 is read forever) and ADR 0018 rule 4 an amendment (registry entries are never deleted; a status line closes them with until). Documentation only: no command, line or reader changes yet (rfcs/0037-entities.md).
  • RFC 0038 (draft), Speakers: who spoke, and who they are: anonymous speaker labels on transcript/v1 from diarization in the transcribe extra, on this machine (speakers, diarization and a spans file, additive to the frozen profile; a transcript without them stays valid), the model fetched only by setup speakers --fetch-model; one resolution/v1 line per voice on a new speaker ref, written only by the owner through review speakers in RFC 0037's shape, the model proposing and never binding, the transcript never rewritten; a sealed voiceprint registry beside places.json, a cache rebuilt from the audio and the attributions, part of no crossing and ignored by verify; text-only proposals as draft/v1 when the audio is gone; consent as the owner states it; exclude_people and hold_unattributed on a crossing-policy entry; tiers, dedupe keys and fifteen open questions. Documentation only: no command, line or reader changes yet (rfcs/0038-speakers.md).
  • The schedule runs doctor and says when something is wrong (docs/schedule.md). sync --scheduled is what sync --install-schedule now installs: sync --all, the restore test on the first Sunday of the month, then doctor, the outcome in state/last-run.json (when, the lines per source, the doctor's counts and the names of the checks that warned or failed, the first failing line). doctor gains a last-run line (a warn when the last scheduled run is older than 26 hours or failed) and a restore-test line (a pass when a restore test passed within 35 days, a warn otherwise saying what to do, a fail when the last test failed). With LOGBOOK_NOTIFY_TELEGRAM_TOKEN and LOGBOOK_NOTIFY_TELEGRAM_CHAT in ~/.config/logbook/sync.env, the scheduled run sends one Telegram message only when a source failed or doctor warned or failed, and once a week on Sunday evening with the week's counts; counts, source names and check names only, never content; without the variables nothing is sent and nothing is said.
  • backup --restore-test [DEST] [--to DIR]: the latest snapshot of the last backup restored into a temporary folder, verified there (every sealed line opened, when the record seals), compared with what the record said when the backup was taken (state/last-backup.json, which backup DEST now writes) and with the live chain, deleted again, and the outcome in state/last-restore-test.json. Skipped, with the line that enables it, when no backup is recorded or a sealed record's identity is not in the agent's environment; never a prompt.
  • logbook serve --install-service keeps the pages at http://127.0.0.1:8765/ running without a terminal open: a launchd agent (~/Library/LaunchAgents/org.logbook.serve.plist) on macOS or a systemd user service (~/.config/systemd/user/logbook-serve.service) on Linux, installed as you, as sync --install-schedule installs the schedule; it runs the Python that installed it on the record found now (LOGBOOK_HOME, and LOGBOOK_IDENTITY_FILE when set), starts at load, is started again when it fails, and logs beside the sync log (~/Library/Logs/logbook-serve.log, or the journal). --port N and --airports FILE are carried; the plist or unit is printed before it is written, from the same renderer as the schedule's. --system is for a machine nobody logs in to, such as the record's home (ADR 0022): a launchd daemon or a system unit that runs as you from boot, written to your home directory, with the two sudo commands that install it printed and never run (refused as root). --uninstall-service [--system] is the reverse; serve --status says whether one is installed and answers (exit 0, 1 installed and silent, 3 none). The server still binds 127.0.0.1 only and the service never passes --host; reaching it from another device (an SSH tunnel, a tailnet's own HTTPS proxy on the same machine) is documented as the owner's business in docs/serve.md, "As a service".
  • logbook serve pages carry an ETag from the record's head (and a digest of the settings and received pages they read), sent with Cache-Control: no-cache, so a phone's reload at the same head is a 304 that reads and renders nothing; /assets and /gaps, which the clock moves, carry none. /today redirects to the Day of the current date in the record's timezone, and the navigation links it.
  • logbook doctor has a serve line: no serve service (a pass, saying how to install one), installed and answering on its port (a pass), installed and silent (a warn naming its log), or two on one port (a warn).
  • Three more shelves in logbook serve, read-only, after Ideas: Promises (/promises: the open ones first, then kept and dropped, who, what, when it was said and the line it was read in, the local model's verdict where promises --judge already gave one, ?person= for one person; /promises/ID links its transcript line), Goals (/goals: the chapter you are in and your goals by horizon with the latest verdict and its day; /goals/ID the review thread) and Agents (/agents: your sessions with Claude Code, Claude and your Telegram bots by day, their length, your words and the agent's apart, the agent's own summary, and the goal a session served when a review of that goal names the session in extra.lines, provisional). Each page reads through the server's tier gate and opens no connection (The shelves).
  • Speakers, build 1 of RFC 0038: derive transcripts separates the voices of each recording on this machine when the diarizer (pyannote.audio, the speakers extra) and its models are here, and the transcript/v1 line gains speakers (anonymous labels S1, S2…, or mic and system for a call whose source keeps its sides apart, from_me on the microphone's one voice) and diarization, with a spans file in the attachment store; without the models it transcribes as before and says speakers: not separated (logbook setup speakers --fetch-model); --no-speakers turns it off. The two fields are a dated, additive amendment to RFC 0004, schema/transcript-v1.schema.json.
  • logbook derive speakers [--since DAY] [--speakers N] [--dry-run] hears again the transcripts heard before, each into a new line that supersedes the old, and says first what that changes (signed days, closed promises).
  • logbook setup speakers says what separates voices here; --fetch-model is the one download, with HF_TOKEN read for those requests only, never written or printed.
  • sync granola labels the microphone's and the system audio's voices from Granola's own marks.
  • show, the Day and serve name a transcript's voices; day --json gives them under speakers.
  • Speakers, build 2 of RFC 0038: logbook review speakers names the voices of your recordings, and only you do. The queue keys a voice by the far end's number or address, the name its source displayed, else its label; it scores the far end of a call, the calendar entry, the participants, the source's name and who was seen that day (no voiceprint yet: context alone scores 40 at most, and two close candidates are both shown and neither taken). --accept, --name N "…" (me for your own voice; a new name mints a person), --unnamed N [--same-as M], --reject, --consent N=yes|no|unknown, --all-above, --play N (the voice alone, here, nothing written); each answer is one resolution/v1 line per voice with a speaker ref and its basis, a dated additive amendment to RFC 0006, schema/resolution-v1-speaker.schema.json. --named --recording ID|--day DAY corrects a wrong answer with a line that supersedes it; repair retract returns a voice to the queue.
  • The readers join who spoke: the Day (Middag · you 31 min · Kari Nordmann 14 min · 1 unnamed · recorded with consent: unknown, and person, basis, consent in day --json), with (a voice you named is company where it was recorded; the far end of a call never is; the unnamed are counted, with.unnamed), people (spoke_s on the transcripts channel; and 1 unnamed and the voices not yet named in the head), rollup people, promises (a sentence's speaker from its voice) and the digest.
  • Speakers, build 3 of RFC 0038: the voiceprints. voiceprints.age, in the record folder, is one file sealed to the record's recipients and written whole: per person the centre of their voice's embeddings from clean speech (two seconds alone at least, min_clean_s in all), and the voices not yet named; no audio, no words, no names. It is a cache made from the record: derive transcripts and derive speakers add what they separate, every answer in review speakers updates it without the model, a retracted or superseded answer leaves it at the next write, a new model makes it again, and logbook setup speakers --rebuild makes it from the audio and the answers that stand. Your own microphone's voice and every voice you named yourself are your voiceprint, without a line. A record without recipients keeps none: the review hears what it compares for the run, in memory.
  • review speakers scores the same voice, up to 70 points at match, none at floor, beside the context, yours as anyone's, so your row comes first and a guest named once is recognised the next time; voices that sound alike are one row of several recordings. policy/speakers.json sets match, floor, min_clean_s, text_confidence_cap, enrol_unnamed (off: a person you would not name is not recognised either) and forget (never kept, never proposed), each refused in one sentence when it is not the shape.
  • The registry never leaves: no crossing, shared page, trip bundle, vault, site, MCP answer, dream, backup or export carries the file or a vector of it, and a test looks in every one. verify ignores it; doctor and setup speakers say when, with which model and for how many people it was written, never what is in it, and warn when the model is not the configured one.
  • logbook key add-recipient and key remove-recipient seal the registry again with the record, in the same hold of the writer lock: before the record's lines when a recipient goes, so a removed identity opens no copy of it even when the change stops half way; a registry that cannot be sealed again is removed, to be made again.
  • logbook star LINE [--note TEXT] marks a line worth keeping, and logbook unstar LINE takes the mark back. A star is one star/v1 line (RFC 0041, a draft) at the starred line's own time and tier, so it is on its line's day and travels where the line does: export share day carries the stars on the lines it carries and never a star without its line, and export trip-bundle carries the stars on its photos and flights. A photo's star is a memory keeper (RFC 0024, amended with the star's note): the Day's hero photo and the photo the press picks for --print, the note printed under it as its caption. Starred again with another note, the new note supersedes; unstar is a retraction at the star's tier (the acts). A model's draft (the dream's draft of a day, a call's synthesis) takes no star: it is a proposal, not yours to keep; and no reader shows a star beside a line it does not show, so a star never reveals a line above a reader's tiers or a draft the policy withholds.
  • logbook with DAY NAME [NAME…] [--at HH:MM] says who was there when the record could not see: one note/v1 line per person, with <name>, labelled with, which the people reader and the Day already read as company. A name is what people NAME opens; one the record does not place refuses the whole statement with the people review hint. Without --at, noon of a past day, or now today.
  • The Day marks a starred line ★ and, on a day you said who was there, lists the day's company in a with row with your word marked (you said); day --json gains stars and stated, each only on a day that has them.
  • The Day page of logbook serve carries both acts beside Reflect and Sign: a star on every row that is a line (events, notes, calls, mail, flights, unplaced items, all-day entries, each photo of a row, now named, your goals, reviews and chapters, and a proposed event once you confirmed it; never a draft's sentences, a synthesis or a row the policy withholds) and a with… field in the header, whose names are completed from the people the record names. Both post through the functions the commands run, are answered from this machine only, and never wait for another writer: while a command holds the record they answer 409 with one sentence and write nothing, as Reflect and Sign do. The Days page lists the window's stars under Starred (serve).
  • beeper live adapter: logbook sync beeper reads every chat Beeper Desktop bridges (WhatsApp, Signal, Telegram, Instagram, Messenger, LinkedIn, X, …) through the app's local HTTP API, read-only → message/v1 (RFC 0008), one line per message under source beeper-<network> so readers tell the networks apart: raw_id <account>/<chat>/<message id>, from_me from the account's own user, the sender as a source-native hint from the chat's participants (phone, email, else the Beeper user id as a handle) with the name the app shows, the chat as direct or group with its title, text, reply_to, attachments referenced by Beeper asset id, size, media type and file name under extra.media and never downloaded; reactions, hidden messages and events with neither text nor attachment skipped and counted. LOGBOOK_BEEPER_TOKEN (made under Settings → Developers → Approved connections; it reads everything and can send as the owner, so it is a password), LOGBOOK_BEEPER_URL (default http://localhost:23373); an address that is not this machine is refused on one line unless LOGBOOK_BEEPER_ALLOW_REMOTE=1. The client issues GET and nothing else, and a test with a fake Beeper holds it to that. Each chat keeps its own watermark (marks in state/beeper.json, a lookback of 24 h), --since is used as given for every chat, --dry-run writes nothing, and --all runs it among the quick sources: an app that is not running is one line, exit 1, and the next source still runs. --networks whatsapp,signal chooses the networks; the default is every one but imessage, which sync imessage reads from this Mac. Known overlap, documented: a message another source already holds (iMessage from chat.db, WhatsApp from an export or backup, the Beeper cache of an iPhone backup) is a second line here, under another source and raw id. logbook doctor lists sync:<name> for a source whose variable is set too, and for beeper says whether the app answers (GET /v1/info, the one call it makes). sync gains marks, the watermark per conversation an adapter may keep in its state file.
  • logbook sync drive: what happened to your Google Drive files, from the Drive Activity API v2, read-only (drive.activity.readonly) → event/v1, tier 1 whoever acted, source drive. Created, edited, renamed, moved, shared, commented on, trashed, deleted and restored, folded per file, per UTC hour and per activity into one line with a count (Edited Budget 2027 ×14), written once the hour is over. A line holds the file's name, type, id and a link that opens it, the actors (the user it reads as as owner, anyone else as the API's people/… name), a share's role and with whom, the folder a move names, the old and new name of a rename, and the ids of the activities it folds; never the content, a comment's words, a size or a time the activity scope does not give. Someone else's activity on someone else's file is left out and counted. Dedupe by activity id: a pull leaves out every activity a line of the record already holds, so a re-run writes nothing and a late activity is a line of its own, never a second count. Watermark on activity time with a day's lookback; --since, --dry-run, paging and backoff.
  • logbook sync gtasks: your Google Tasks from the Tasks API v1, read-only (tasks.readonly) → task/v1 (RFC 0016), tier 2, through the Takeout Tasks adapter's own mapping (ADR 0017): source google-takeout, raw_id <task id>@<updated>, so logbook tasks reads them and a Takeout export of the same tasks writes nothing, in either order. One line per task each time it changes (a snapshot, rule 2), superseding the task's earlier line; a done one carries how long it was open (extra.open_for_s, from the first open snapshot the record holds). The notes are a digest and a word count (extra.notes), never the words. Watermark on the task's updated time with a day's lookback; --since, --dry-run, paging and backoff.
  • Both sign in with one Google Workspace service account and domain-wide delegation, by the environment alone: LOGBOOK_DRIVE_SA_KEY (the JSON key file, ~ expanded) and LOGBOOK_DRIVE_USER (the address it reads as). Each run signs an assertion for its one scope and uses the hour's token it gets for that run only, never written anywhere: no refresh token to rot in a scheduled job. 429, 5xx, rate-limit 403s and lost connections are retried with a doubling wait, Retry-After honoured; unauthorized_client says which scope to delegate. Signing uses the crypto extra. doctor shows sync:drive and sync:gtasks, reads the key and warns when others can read it, and asks Google nothing; sync --all, and so the schedule, runs both once the two variables are in ~/.config/logbook/sync.env. The tour's Google Drive and Google Tasks sections give the setup in steps.
  • logbook sync github: what happened in your repositories, one event/v1 line (RFC 0009) per commit on the default branch, per issue and pull request created, closed or merged, per review and per comment, read-only over GitHub's REST API (GET and nothing else). The text is kept in full — a commit's message, a body, a review, a comment — because event/v1 has notes, the description body; a public repository's lines are tier 1, whoever wrote the words, as RFC 0009 says of an entry whose notes carry someone else's words, and a private repository's are tier 2 (under Changed). Each line names who acted (login, id, type, a commit's author name) and marks them owner or other; a person's login is the line's organizer, github:<login>. A line whose own text carries an agent session's marker (Generated with Claude Code, a claude.ai/code/session_ link, a Claude-Session: or Co-Authored-By: Claude trailer) is agent: true; a pull request's body flags every line of it. raw_id is commit/<sha> for a commit and <repo>/issues|pull/<n>/<action>, …/reviews/<id>, …/comments/<id> for the rest. Configured by the environment alone: LOGBOOK_GITHUB_TOKEN (a fine-grained token, read-only), LOGBOOK_GITHUB_REPOS (owner/name or links, or --all for every repo the token sees but the forks), LOGBOOK_GITHUB_URL (a GitHub Enterprise Server). A watermark per repo, read back a week; a repo with no mark is read whole; --since, --dry-run; every list paged by its Link header, never to another host; GitHub's secondary limit waited out as Retry-After says, its hourly limit until its reset, a 5xx backed off doubling, and a wait too long stops the run on one line with the watermark kept. How many files a commit changed, who closed and who merged are asked only for lines the record does not hold. doctor lists sync:github by name only; sync --all runs it.
  • logbook add github-export DIR: an old project's clone (a working copy or a bare repository, from GitHub or anywhere) or GitHub's account export, read once. A line per commit from the git log with its message in full, and a line per version of a README or a doc with its blob, digest, length and word count, never its text, so an old project's ideas have a first-said date. The account export's issues, pull requests, reviews and comments are the lines sync github writes, so the same commit (by sha) and the same issue (by number) read both ways are one line. Git runs read-only and never fetches; a clone is never called deletable.
  • policy/owner.json lists handles: your logins (ines-example, @ines-example, github:ines-example), by which sync github and the export mark your own acts. Optional, as the other keys are; init writes it empty.
  • people review: a GitHub handle is an observed person, keyed by github:<login> after an email and a phone, named by the name a commit gives, and proposed to the person of that name; your own handles are never listed.
  • logbook sync mail: the mailbox live over IMAP, read-only — folders opened with EXAMINE, bodies fetched with BODY.PEEK[], never a STORE, COPY, MOVE, EXPUNGE, APPEND or flag change, which the tests assert on a fake server's command log. Configured by the environment alone: LOGBOOK_IMAP_HOST, LOGBOOK_IMAP_USER (the mailbox address, the account on every line), LOGBOOK_IMAP_PASSWORD (an app password, never logged, never written), optional LOGBOOK_IMAP_PORT (993, TLS always) and LOGBOOK_IMAP_FOLDERS (default: the folder flagged \All, Gmail's All Mail, else INBOX and the \Sent folder). Every message goes through the mbox adapter's own parse_message, so a Takeout import with --account and the live pull of the same mailbox never write a message twice; headers are fetched first and the record asked which Message-IDs it holds, so no body the record would refuse is fetched. Per folder a mark of UIDVALIDITY and the highest UID, written only once the lines up to it are in the record (state/mail.json): a lost connection resumes from the last batch written, a UIDVALIDITY change reads the folder again and writes nothing new, --since searches from that day, --restart drops the marks, --dry-run counts and writes nothing. With Gmail's extension the labels and the thread id are taken once at ingest, as the import takes them. doctor shows sync:mail; sync --all runs it among the quick sources.
  • logbook sync notion: what happened in Notion on each day, never what the pages say. One event/v1 line (RFC 0009) per page, local day and action — created, edited, moved, archived — with the page's title, the titles above it, its id and url, and who acted (id, name, person or bot, and owner or other); raw_id <page id>/<day>/<action>, so a page edited twice on one day is one line. The body is never stored: the line holds its SHA-256, its length, its word count and the words since the page's previous line, so the Day can say "+340 words" without the text. A database row also carries its status, select, multi-select, date and checkbox values and, for each that changed since the page's previous line, the old and new value; never text, a number, a person, a phone, an email, a url, a file or a relation. A move carries where the page was. Tier 1, as SPEC §4 and RFC 0009 give event/v1, whoever acted. Configured by the environment alone: LOGBOOK_NOTION_TOKEN (an internal integration's secret; share the top-level pages with it), LOGBOOK_NOTION_ROOTS (page or database ids or links to limit to; default everything the integration can see), LOGBOOK_NOTION_OWNER_ID (used only to mark the owner's own actions; else the integration's owning user when Notion names one). Read-only — GET, and POST only to Notion's search — at most three requests a second; a 429 or 503 waits what Retry-After says, another 5xx backs off doubling, and a limit that does not lift stops the run on one line with the watermark kept. The watermark is the newest last_edited_time seen, read back two hours; --since and --dry-run as for every live source. doctor lists sync:notion by name only and asks Notion nothing; sync --all runs it among the quick sources; setup says where the token comes from.
  • review goal: each open goal is asked once a week in the review sitting and answered with --say N advancing|stalled|done|let-go|superseded [--note N TEXT], the line goal review … --period week writes, byte for byte (RFC 0036 amendment 1).
  • dream week asks one stale question a week about the stalest holding or idea (RFC 0037 §10.6), kept in the week's draft as extra.question: never a line of its own, never a status, never above the draft's tier.
  • The call synthesis proposes up to three ideas the call put forward, new or refining one you named; they wait in review idea, marked [call], and reach the Ideas shelf only when you accept one.
  • With the Telegram notifier set, the schedule sends "Your Day page for is ready" after the 06:00 close (LOGBOOK_NOTIFY_LINK_HOST adds the link) and the evening question at LOGBOOK_NOTIFY_EVENING_HOUR: one message each a day, nothing of the day beyond the date, the count and the question.
  • doctor warns on lines dated outside their source's plausible range (calendars 1970 to now plus 5 years, mail 1990 to now plus 1 day, the rest 1970 to now plus 1 day), per source with the earliest and the latest; doctor --implausible lists the line ids; policy/plausible.json overrides a range per source. Nothing is deleted or hidden (docs/doctor.md).
  • transcript synthesize ID|--day DAY [--dry-run] [--show-prompt] [--again]: a model reads one call through the dream's engine, under the same dream entry of policy/crossing.json, and writes one draft/v1 line (unit event, subject the transcript line's id): the actions proposed on top with assignee and due hint, the topics consolidated across the whole call, the decisions (settled, not discussed), the open threads and a short personal part. The schema and the work-only rule are the prompt's (logbook/contrib/synthesis-prompt.md, docs/synthesis-prompt.md), never a filter in the code. Utterances are not lines, so every segment's evidence is the transcript line and the utterances it rests on, with their time into the call, are kept under extra.segments; a reference the material did not give makes the item unsupported and more than 30 % unsupported refuses the answer. A call above the entry's max_tier stays home (the granola and transcript adapters write tier 3); one the same model synthesized is unchanged and nothing is sent; another model or --again supersedes (docs/transcript-synthesis.md).
  • dream --catch-up, and so the 06:00 close, synthesizes each call of the days it covers that has no synthesis yet, and counts the calls the ceiling held back.
  • The Day shows a call's synthesis as one collapsed row under the call's own row, beside the day's draft and never in its place (one draft per unit, RFC 0036 amendment 1); serve opens it behind a toggle, actions on top; day --json carries the items under syntheses; --no-dream leaves them out.
  • A call's synthesis follows the policy like any draft: it records the dream entry it was made under (extra.policy_version); one above the entry's max_tier today is withheld, the Day saying superseded by policy under the call (syntheses_withheld in JSON) and nothing of it; one made under another version of the entry is synthesized again by transcript synthesize and dream --catch-up.
  • The family's home videos as a source (Videos, RFC 0040). logbook sync drive --videos writes one tier-2 video/v1 line per video file in the Drive folder LOGBOOK_DRIVE_VIDEOS_FOLDER names and its subfolders, from Drive's metadata alone (id and path, size, length, frame size, the md5 Drive reports, Drive's created and modified times kept as the upload's under extra, never as when anything was filmed); the line's at is when it was imported; no byte is downloaded, the photos beside the videos are never listed, a quota answer stops with one line and the watermark kept, and each Drive id is written once.
  • logbook videos fetch [--limit N] [--again] [--cache-gb N], the only command of the videos that uses the network: the next files nobody has inferred, one at a time, into a bounded cache under state/videos/ (8 GB unless you say, kept for the next run), each verified against Drive's md5 and resumed from its byte when a download drops; a file bigger than the cap is refused and said so; --again fetches the inferred files too, to infer them under other models or settings. --models fetches the speech and vision models once. Needs drive.readonly delegated to the Google key.
  • logbook videos infer [--since DAY] [--limit N] [--keep] [--dry-run], on this machine with no socket opened: each cached file cut into scenes (one continuous recording each: a cut in the picture, a weak cut with a break in the soundtrack, or a gap of silence; breaks closer than 3 s merged), each scene's speech heard by the transcribe extra and three of its frames looked at by the describe extra; one transcript/v1 line per file (WebVTT, the cues' times the file's; no call, so the 06:00 close and promises leave it out, and transcript synthesize refuses it by day or by id) and one draft/v1 per scene proposing a place from your places.json and assets.json (a sign, a boat's name, what was said) and a date no more precise than a burned-in camcorder stamp or a year written or said, every sentence citing the frames or the speech it rests on, a scene with nothing to go on saying so. Needs ffmpeg on the PATH. The file leaves the cache once inferred; a file inferred again supersedes its earlier draft of each scene cut the same way.
  • logbook review video, one more queue of RFC 0037's one review sitting, listed with the others by review alone: one scene at a time, the surest first, with the frames and speech the proposal cites and, for a proposed day the rules trust, where the record had you and your assets; --accept writes one attribution/v1 line binding the scene to the place and/or date or range (the video's own line is never touched), its own options --place and --date (refused for every other kind) confirm with your own, --reject writes the scene's no, one scene-review/v1 line of its own (RFC 0040 §5, never RFC 0037's entity-review/v1, so no place's or asset's queue reads it), and the proposal does not return while the no stands, --ask keeps the scene in an open task for a later page for the family. doctor gains a videos line: files, fetched, inferred, scenes proposed and confirmed, the cache against its cap.
  • logbook export world --style chart: the record on a period chart, beside the globe in the same folder (world-chart.html; the chart). Mercator's sea chart drawn on the canvas with no image in it: sepia paper, the coasts of the same Natural Earth land hachured, a compass rose and its thirty-two rhumb lines, the graticule engraved with a graduated border, names and dates in the system's serif; stays as pricked positions, journeys as dashed tracks with day marks, assets named along their tracks; the globe's scrubber, line for line; the paper stays light in dark mode. The track is evidence: the page's record JSON is the globe's byte for byte, a track is the straight segments between its own fixes, an asset is at its last fix (never between two), and a day mark is at a recorded position, dated by the record's own days.
  • export world --chart FILE --control-points FILE --chart-credit "…": your own scanned chart (PNG or JPEG) as the paper. Three or more control points (pixel → lat, lon) fit an affine transform (a scan), or with six or more a projective one (a chart photographed at an angle); each point's leave-one-out residual is shown in a corner, and a fit worse than 1 % of the image's diagonal is refused, as are points in a line or a mirror image. The image is carried in the page (at most 4 MiB; a PNG over it downscaled, a JPEG refused), with its EXIF, XMP, text, profile and anything after its end left out, and nothing is fetched: the page's policy stays default-src 'none'. The legend credits the chart in your words.
  • export world --journey ID: one page per journey, in either style — a trip as show trips names it (trip:FIRST:LAST, its days to the return day) or one journey/v1 line (its days, it alone) — each its own file and its own crossing/v1 line.

Docs

  • The demo site, bighydro.github.io/logbook/ines/, is exported at tier 2: Ines Nordmann does not exist, so her notes and messages are shown. The docs workflow writes the site entry into the demo record's policy/crossing.json and runs export site --tier 1,2; her health and money, tier 3, never go to a site. One of her days is the way in, at the same path on every build: days/2025-06-14.html, a night at the cabin with Ola. docs/site.md and docs/demo.md say so.
  • docs/home-server.md: running Logbook on a home server, a runbook to follow in an hour. Two users (records holds the record and runs every writer, owner runs the sudo lines Logbook prints), where the record lives and why no synced folder may hold it, serve --install-service --system and sync --install-schedule --system with what each prints, the env file written with read -s, day_start, one writer with an ssh alias and read-only checkouts on the laptop, backups and the monthly restore test, the local model as a daemon of its own and the dream entry, the pages on a phone over a private network, what doctor shows when all is well, and a troubleshooting table. Linked from docs/index.md and the site's navigation.
  • docs: the manifesto, the ten rules, and Letter 0 — why I built it.

Tests

  • tests/test_no_network.py runs every reader logbook --help names under the guard that refuses every connection, 147 forms where there were 46: promises and promises tasks, goal list, chapter list, review and each of its kinds, status list, people with merge, review, drift and nearby, show person, asset and place, lab introductions and lab chapters, setup places propose and review, setup assets list, setup questions list, setup day_start, doctor (with --implausible and --packet), doctor sources, import inbox list, import attachments status and verify, key show, backup list, and the dry runs of derive flights, keepers and descriptions, day reflect, repair, export crossing and export trip-bundle; and show orgs and show org NAME on the orgs of tests/orgs_record.py, since the demo names none. Every page serve answers is read under it too: /journeys and one journey, /people and one person, and /world join the eight there were, the Manifest, its people and one org's page read the orgs record, /today is held to its redirect and /favicon.ico to its empty answer. And day reflect DAY --audio FILE, with the Day page's recording form, is heard under it (tests/test_day_reflect.py). No reader or page asked for a connection; no code changed.
  • SECURITY.md, Nothing leaves: dream and transcript synthesize join the commands behind which a socket opens, for the model endpoint the dream entry allows.

Profiles

  • star/v1 (RFC 0041, draft): the owner's star on a line, line, kind, note, supersedes, at the starred line's at and tier. keeper/v1 gains the MAY field note by a dated amendment of RFC 0024; RFC 0030's trip bundle carries the stars on its lines by another. No envelope change.

0.6.1 — 2026-10-10

Fixed

  • doctor, verify and every reader of the chain hold at most a handful of month files open at once, however many the record has: the chain-order merge (Logbook.lines), the sorted fallback, the index's reads, migrate, seal and append_many each keep a bounded set of handles and reopen a file where they left off. A record of a few decades (hundreds of month files) failed doctor and verify on macOS with [Errno 24] Too many open files under the default limit of 256.
  • logbook sync immich says what it is walking before it starts and never a number that reads as the total unless it is one: the first line is immich: N assets on the server, M already in the record (N from GET /api/assets/statistics, the key's own count, else the server's GET /api/server/statistics; total unknown when neither answers; M through the index), then one page line as x of N assets (x assets since <watermark> on an incremental pull, x assets so far (total unknown) otherwise). A first walk of a 426,121-asset library printed an opening line that was read as a total of about 85,000 and then counted past 467,000, and was stopped as a suspected loop.
  • Each asset is fetched once: pages are ordered by fileCreatedAt, which is not unique (a burst, a live-photo pair, a batch of scans or received files stamped by the importing device share a second), and the cursor names a stamp, not an asset, so the page after a boundary inside a run of equal stamps began at that stamp again and served the run's earlier members a second time — about 41,000 more fetches than assets over that library. The adapter keeps the ids of the previous page's last-stamp run and drops them when they come again; the summary says also N served again by the server at a page boundary, counted once. A run longer than a page grows the page (up to Immich's 1,000) and one longer than that stops the walk with one clear error naming the stamp, never a loop. The record's dedupe by (source, raw_id) stays the safety net.
  • An interrupted walk resumes: after every page the adapter tells sync where the walk could continue, and sync writes that checkpoint (cursor, assets so far, the boundary ids, the watermark so far) under walk in state/immich.json at every checkpoint of the record, never ahead of the lines on disk; the next run says resuming where the last run stopped, at x of N assets and asks for nothing before the saved cursor. The walk's watermark is written only once the walk completes and is never later than the moment the walk began, so what the server changed meanwhile is pulled next time. --restart walks the whole library again; --since begins a new walk; a dry run resumes too and saves nothing.
  • logbook sync --all runs the quick sources first and immich last, and its first line says the order (running dawarich, imessage, …, then immich last), so a photo walk of hours never holds up the messages, the calendar, the positions or the weather. --all refuses --restart as it refuses --since.
  • logbook add <mbox> --dry-run counts a message that appears twice in the same mbox (Takeout writes one under every label it carries) as the real run does — written once, the repeat refused — and says 1 repeated in the input beside what is already in the record, instead of counting both as lines it would add. The counts of sync's summary line carry thousands separators.
  • One writer at a time (#234): append and append_many, and add, sync and import backup for the whole of their run, hold state/writer.lock in the record folder, so a sync's walk is inside it. A second writer prints another logbook command is writing to this record (<command>, since <time>); waiting and waits, or with the global --no-wait refuses with exit 2; a lock whose process is gone is taken over with one line saying so; a reader never takes it. The guard behind the courtesy: before every batch is written, append_many reads logbook.json again and refuses (HeadMoved, one sentence, exit 2, nothing written) when the head moved since the batch was computed, so a batch chained from a stale head can never reach the files. A long sync whose head another command had moved past used to lose its batch with sqlite3.IntegrityError: UNIQUE constraint failed: lines.seq from the index, after the month files had taken it.

Added

  • logbook serve mcp gains three read tools behind the same mcp ceiling of policy/crossing.json as the nine before (docs/mcp.md): day_lines(day?, kinds?) is logbook show DAY as one object per standing line, in time order, with the line's id, kind, profile, local time, counterpart and the text part of the row show prints, kinds keeping only the profile families asked for (mail, message, transcript, note, location, photo, calendar); line(id) is one line in full, the row, the payload and the text, a transcript's turns read from the attachment store as promises reads them; digest(period?, date?) is the text logbook digest DATE prints, or the seven digests of the ISO week that holds the date. Lines above the ceiling are left out of day_lines and counted in above_ceiling with nothing of them crossing, not even an id; line refuses one naming its tier and nothing else; the digest is read through the gate, so at a ceiling of 1 it is the digest of a record that holds only tier 1. An agent on this machine could search a day's lines but not read them without a word to search for, read a transcript's summary but not its text, and not get the digest; now it can, under the ceiling. The server logs one line per call on the logbook.mcp logger (stderr): the tool, the day or id, and counts — never content. The row show prints for a line moved from logbook/commands/rows.py to logbook/contrib/rows.py so a contrib reader can print it (the commands import the same names); nothing any command prints changed.
  • logbook people review (logbook/contrib/people_review.py, docs/people.md): the record's people in two layers. An observed person is what one source saw, keyed by its strongest identifier — the email address, else the phone number in E.164 (a WhatsApp JID read as the number it spells), else the folded name — never by a per-observation id, so an address seen under three display names is one person; they are a derived table in the index, observed_people, built from the standing mail, message, transcript and event lines, stamped with the head and rebuilt when the record grows, nothing stored in the record. A canonical person is one the resolution lines name, as people lists them. The command proposes each observed person not yet placed against the canonical people, ranked by the evidence (same email 60, same phone 50, same name 20 and +5 per further source, together on the same days 2 per day) and numbered; --accept N[,N] writes the alias line people merge writes, one per identifier as the lines wrote it; --reject N[,N] writes one people-review/v1 line (RFC 0035, draft) saying the two are not the same person, so the pair never comes back; --all-above SCORE accepts at or above. Nothing is promoted on its own; every number is checked before the first line is written; --json carries the queue, the unplaced and a stable id per pair.
  • logbook people --priority [--year YYYY] ranks the canonical people heard in the last year by a plain sum printed beside each name: 3 per day together, 1 per message exchanged (the smaller direction, up to 50), 2 per meeting, 10 when the last real contact is within 30 days and 5 within 90. No model.
  • logbook promises reads mail and messages (docs/promises.md): every mail/v1 and message/v1 line beside the transcripts and the notes, by rules alone, in two sections. I promised is every commitment cue in a line you wrote (a mail from one of your addresses, a message with from_me, your turn of a transcript, a note); I was asked is every request cue in a line you received. Who wrote the line decides, from owner_emails, policy/owner.json and the resolution lines, never the words: a request in your own mail is you asking and is not proposed, a commitment in someone else's is theirs and --all lists it apart. Each row carries the day, the counterpart (to Ola Nordmann, by Kari Nordmann: the person the record resolves behind the address, the number or the chat), the sentence, the due hint, the proposal's id for promises done and the origin line's id, which logbook day sign DAY --confirm takes (RFC 0034). New flags --mine, --theirs and --source mail|message|transcript|note; --since as before. The cue list, documented in full, gains the terse forms of both languages (will do, on it, mach ich, schick ich dir, erledige ich, versprochen, a short by Friday or bis Freitag on its own) and the requests (can you, could you send, would you mind, please confirm, let me know, don't forget to, kannst du, könnten Sie, schick mir, sag mir Bescheid, vergiss nicht). A mail body is read up to its first reply header or signature delimiter with the quoted lines left out, so a reply that quotes a promise never proposes it again. The rules show by default; the judge stays opt-in (--judge), reads your commitments only (never a request), and a verdict of no, or below 0.6, sets a candidate aside, which --all still lists. Under --json every proposal carries role, counterpart and line; the report carries sources, mine_only, theirs_only and all where it carried judged_only. Recall test on a synthetic fortnight of the Oslo persona (24 planted commitments, 12 planted requests, 60 distractor lines across mail, iMessage, WhatsApp and one transcript; tests/test_promises_wider_net.py): the rules read 22 of 24 and 11 of 12 at precision 0.97; the test holds them to 20, 10 and 0.8.
  • logbook repair fork [--apply] (logbook/core/fork.py, #234): a record whose month files hold two chains forked at one head — a long sync wrote its batch chained from a head another command had moved past, and the index refused it after the files took it — is diagnosed (the fork, each orphan chain's count, seq range, sources and files, logbook.json against the record's chain; counts and hashes only, nothing written) and with --apply repaired: every orphan line is copied in order to repair/<stamp>-removed.jsonl in the record folder with a repair/<stamp>-report.json, each touched month file is written again without them with every kept line byte for byte, logbook.json is set to the record's head, the index rebuilt and verify run. The record's chain is the one the index agrees with, else the longer one, else the command refuses; --keep-head <hash> (a full head as the dry run prints every chain's, or a unique prefix) names it and overrides both rules, and without an index the dry run says it is the safer choice; it also refuses a break that is not a fork, a torn month file, a sealed orphan line it cannot open, and a folder under a sync client. doctor's record check names it beside logbook verify; docs/recovery.md is the page.
  • logbook day sign YYYY-MM-DD takes --confirm none and --at RFC3339, RFC 0034 amendment 2 (docs/rfcs/0034-the-signed-day.md, docs/signed-day.md). --confirm none signs a day with nothing confirmed: the signed-day/v1 line carries an empty confirmed, the page digest is still over the page as shown, the header says signed and the day's lines cross as those of any signed day; the word goes alone, and none beside an id or with --kept, --missed, --dropped or --carried is refused in one sentence. --at is the moment the owner clicked rather than the moment the command ran, an RFC 3339 moment with an offset or Z, stored in UTC and shown in the header in local time; a malformed moment (refused with an example), one more than five minutes ahead of this clock, or one before the day signed starts in the record's zone is refused and nothing is written. Without either flag nothing changes.
  • Dispositions on the signed day, RFC 0034 amendment 1 (docs/rfcs/0034-the-signed-day.md, docs/signed-day.md): logbook day sign YYYY-MM-DD gains --kept ID,ID, --missed ID,ID, --dropped ID,ID and --carried ID,ID, and the signed-day/v1 line an optional dispositions object, a confirmed line's id → one of the four words; a line given one is confirmed by that, and an unknown id, a retracted line, a line given twice or a flag that names no line is refused in a sentence. day DAY prints ✓, ✗, – or → before each line the signature disposed of and carries the map under signed.dispositions; show counts them on the signature's row; promises treats kept and dropped as closed, missed as closed and flagged (missed on <day>), carried as still open, and carries disposition in its JSON; export crossing carries the field with the line. The field is optional: every signature written before, the conformance samples' 32nd line included, is valid and its hash unchanged.
  • The signed day, RFC 0034 (docs/rfcs/0034-the-signed-day.md, docs/signed-day.md, logbook/core/signing.py): logbook day sign YYYY-MM-DD [--note TEXT] [--confirm ID,ID] appends one signed-day/v1 line, tier 1, source manual, saying the owner read the day's page and these are its facts — the day, the owner as subject, the ids confirmed (every line on the page by default, else the seqs or ids named), the digest of the page as shown (the SHA-256 over the hashes of the lines the page listed, in order, so any implementation recomputes it) and an optional one-line note. Nothing is rewritten; a day signed again is superseded by the later line, and a retracted signature leaves the earlier one standing. Only the owner signs: the MCP server has no such tool. show DAY says signed <when> or unsigned in its header and lists a signature as a row on the day it was written; day DAY says the same after the weekday, , the page has changed since when the day grew after signing, and carries it under signed in --json. The conformance sample gains a 32nd line, the first day signed on the last evening (new heads in conformance/README.md).
  • logbook export crossing crosses the lines of signed days only, by default (RFC 0034 rule 5): a line's day is the local day of its at, a signature crosses with the day it signs, the console says how many lines were held back on unsigned days, and --unsigned crosses them too. The manifest's policy carries signed_days (only or any), counts gains held_back_unsigned, and the crossing/v1 line's policy gains signed_only. The shared page, the trip bundle, the vault and the site keep their own selections.
  • Readiness (logbook/core/readiness.py): logbook day DAY gains a readiness row, and --json a readiness block, saying for each class of source — mail, message, meeting, location, photo, calendar — whether the day has lines of it, from which sources, and which usual sources (a line of the class on four in five of the logged days of the last four weeks, not disabled in policy/import.json) have not delivered; from the record and the policy alone, no connection opened, nothing written.
  • ADR 0022, the record's home (docs/adr/0022-the-records-home.md): one machine holds the only writable copy, runs the sync schedule, the MCP server and the local models, and serves the Day page over the owner's own network; every other device is a reader; an orchestrator elsewhere reaches the record only through the crossing; sources come to the home; a collaborator is an OS user on it; and every cloud model or service that may see record content has its own entry in policy/crossing.json. logbook sync --install-schedule names this machine the home in state/home.json (hostname and date; a second install on the same host keeps the date). doctor gains a home line (pass on the home or when none is set, a warn elsewhere: writers belong on the home) and a crossing line listing every destination's ceiling as it counts today.
  • policy/crossing.json: an entry may carry "until": "YYYY-MM-DD", the last day it holds; from the next day it counts as max_tier 0 for export crossing, export vault, export site and the MCP server, the refusal says when it expired, and doctor names it. An until that is not a date is refused naming the file.

0.6.0 — 2026-10-06

Twenty-two commands where there were forty-nine, and logbook --help on one screen; every old name still works and says the new one. One package in three tiers, core, contrib and labs, with a thin command line that loads no adapter until one is asked for. Tiers 2 and 3 sealed at rest with age (SPEC v0.3, RFC 0029): the chain still covers the real payload, so a keyless verify holds. Property tests of the format, the chain, the tiers, time and identity, and a strict reader that reports the last whole line of a torn month file. The profile freeze (RFC 0031): nineteen profiles frozen with one conformance fixture each, two withdrawn, trip/v1 written as journey/v1. Mail at scale, read through the index. The paper products: a year on one sheet, a week on four pages, a trip page that prints. Local models for transcripts and photo descriptions, nothing leaving the machine. The manifesto, the rules, the open problems, governance and the roadmap, with the first letter to builders. A synthetic forty-year record published with the docs, and logbook demo for trying every command on nothing of yours. Issues closed on the way: #83, #96, #98, #118, #121, #122, and tonight #79 (add says what the record already held) and #123 (show orders a day by the instant).

Breaking, and the migration. The old command names (year, trips, infer, import-backup, person, …) still run, print one line naming the new command, and will be removed in 0.7. The 0.5 import paths (logbook.store, logbook.adapters.*, …) work through shims with a DeprecationWarning until 0.7; docs/migration-0.6.md lists every move. A format 0.2 record is read unchanged and never migrated; it becomes 0.3 only when it is given recipients and sealed.

Added

  • Reading never opens a connection, now a test (tests/test_no_network.py) and a paragraph of SECURITY.md: the no_network fixture of tests/conftest.py replaces the socket, urllib, http.client and, where installed, the httpx, requests and websockets request paths with ones that record and refuse every connection; day, days, show, trips, trip, rollup (every kind), derive stays, year, digest, stats, ledger, keepers, places list, people, assets status, sources --gaps, search and verify, each in its text and --json forms, run against the demo record under it, as do every page of serve through its Site and mcp --inspect, and the list of attempts must be empty afterwards, whatever the command printed or caught. The same run holds verify on conformance/sample-logbook to the head conformance/README.md documents. No reader attempted a connection; no code changed.
  • apple-podcasts from an iPhone backup, with completed and the feed's transcript URL (docs/adapters/listen.md): import-backup --only podcasts is a new source — the Podcasts library, Documents/MTLibrary.sqlite under the app group group.com.apple.podcasts, is copied into inbox/ios-backup-<udid>/apple-podcasts/ with its -wal/-shm and read by the same adapter as a copy or the Mac's own store, so the phone and the Mac dedupe each other. Every listen/v1 line now says completed: the playhead within 30 s of the duration, or rewound to zero with a play counted, as the app leaves an episode it played to the end; absent when the store has no playhead column, false when it cannot show either, never a guess (RFC 0019 gains the field; rule 3 reads it first). Where the store keeps the URL of the transcript the episode's feed publishes (<podcast:transcript>; the columns are discovered by PRAGMA, none required) it lands under extra.transcript_url — the URL alone, never fetched: a reader never touches the network, and Apple's own transcript identifiers, which are not public, are never recorded. Fetching them, as an explicit logbook fetch transcripts, is the follow-up noted in the docs and not written. rollup listen gains a podcasts section per year: the episodes' hours by show (as the services spell them, by hours then episodes) and by month, printed only for a year with an episode; under --json as podcasts with by_show, months and the line ids. Synthetic fixtures only.
  • logbook rollup people --drifting [--until YYYY-MM-DD] [--window 365] [--min-contacts 3] [--json] (logbook/drifting.py): for every person the record resolves, the contacts in the recent window — --window days ending on --until, the record's last day by default — against the same number of days before it, and the people whose frequency fell most, the larger share lost first. A contact is a direct message either way, a call answered or not, a calendar entry attended, or a stay the with module confirms them at (together); mail and a tagged face are not one. Per person the two counts by channel, the fall, the days from the last real contact to the window's last day, the channels that went quiet and the last shared place; under --json every number carries its line ids. A person with fewer than --min-contacts contacts in the earlier window is not listed. Two readings of logbook people's reader, one per window, compared and never written; it says what the record holds and suggests nothing. Documented in docs/rollups.md with the method and its blind spots (a person met in person daily with nothing logged about it looks drifting; a source not brought up to date reads as silence; a record younger than the two windows undercounts the earlier one, and the rollup warns). The people reader's Channel keeps the ids of its lines (ids), not in its JSON; nothing else changes. Synthetic fixture: two fortnights of the Oslo persona's circle.
  • The digest's closing question comes from the record (logbook/questions.py, RFC 0027, docs/rfcs/0027-reflection.md): policy/questions.json lists the questions — id, text (English, optional text_de), kind (gratitude, savouring, people, place, body, open), when (the day's facts that must hold: travelled, aboard, night_away, reunion for someone seen after ninety days, !photos, long_sleep, ...; the table is in the RFC), weight and source (a free-text citation, empty in the defaults) — written with its defaults the first time and never overwritten. logbook digest reads the day's facts from the parts it already has, draws one of the questions whose conditions hold by weight (a {proposed}, {missing}, {promise} or {event} in the text filled from the day), never the same id two days running, and remembers the last seven in state/questions.json — bookkeeping beside the record, never a line; a day's question stands when the day is read again. The defaults are the seven nudges the digest used to choose in code, each as a question with its condition, plus three placeholders; the content of the bank is explicitly left to a future author (the RFC's The question bank — to be written). logbook questions list|add|disable manages the file; a bank that is not the documented shape stops the digest naming the file. Under --json the digest's question is {id, kind, text, facts} where it was {about, text}. Tests for the facts, the weighted choice and the no-repeat rule (tests/test_questions.py).
  • logbook setup (logbook/setup.py): the guided first run, for someone who has never used a terminal. Six steps, one question at a time, each with its default in brackets and a Why: line: where to keep the record (a folder iCloud Drive, Dropbox, OneDrive or Google Drive syncs is refused with the reason, doctor.cloud_folder, and so is a code checkout; a record already there is kept), the timezone (validated against this machine's zone database, never swapped), who you are (names, emails and phones into policy/owner.json, added to what it lists, the emails as owner_emails in logbook.json too, so you are never your own company), your home place (coordinates pasted from a maps app, never an address: one entry of kind home in places.json and the naming as one note/v1 line, as places name writes it), what is on this machine (a Google Takeout under ~/Downloads, each product an adapter reads listed and the ones policy/import.json switches off said, a zip named and left to unzip; an iPhone backup under MobileSync, always imported with --only the stores found, never bare; an encrypted one names LOGBOOK_BACKUP_PASSWORD and read -s and is never asked for the password; Messages on a Mac through sync imessage; each offered with a dry run first and its counts shown before anything is written; then the live sources by the names of their variables and where each key comes from, never a value), and doctor. Enter takes the default, s skips the step, q or the end of the input stops; the steps answered are kept in state/setup.json (bookkeeping beside the record, like every file under state/) and logbook setup again continues where it stopped; --step NAME runs one step again, --again every step, --yes takes every default and asks nothing (tests, scripts). Nothing printed spells the home directory (~/…), nothing printed or asked for is a secret. Logbook.set_timezone and Logbook.set_owner_emails (logbook/store.py) are the two settings it writes to logbook.json. docs/first-hour.md is the human companion: what to expect in the first hour, with the screens the wizard shows, in the docs nav; the README points at both.
  • Four more Google Takeout products, each its own sub-adapter in logbook/adapters/takeout/ and sniffed by logbook add from its folder, each with a docs page under Adapters (Tasks, Maps, Home App, YouTube): google-takeout-maps (Maps (your places)/): Reviews.json, in both spellings Google has used, becomes one highlight/v1 line per review — the place as the title, the owner's words as the quote, stars and no words a bookmark of the place, the rating, Maps url, point and country under extra; Saved Places.json is never a line (a saved place is a name for coordinates, not an observation) but counted, and logbook places propose --takeout PATH feeds the saved places — name, coordinates, the list they were saved to, the day they were saved — as candidates: one within 300 m of an unnamed stay is shown under it and becomes the suggested name (--write, Enter adopts it), the rest are listed for places add; under --json each proposal carries saved and the object saved_elsewhere. google-takeout-home (Home App/HomeHistory.json): a member's arrival, a departure, the alarm armed (home or away) and disarmed are one event/v1 line each at tier 1 (calendar Google Home, the home as location, the activity, device, member and words under extra), read by what the keys say so a renamed key still reads; sound events, alarm clips, other events and SoundSensing/ and SecurityAlarmClips/ are never read, counted where they are events. A Home line inside the owner's stay at home is evidence the Day attaches to the night's stay and that promotes a short cluster to a stay; it does not yet stand in for a track with no points (a Day rule, SPEC §3.2.3). google-takeout-youtube now reads Takeout's default HTML (watch-history.html, search-history.html, the outer-cell/content-cell cards, streamed through the standard library's parser) beside the JSON, with the same mapping; the HTML's clock in the owner's zone by abbreviation is read in UTC, or in the record's zone when that zone uses the abbreviation at that wall-clock time (takeout.times.parse_in_zone), else counted as an unknown zone and never guessed. google-takeout-tasks is unchanged and gets its page. The saved-places reader behind places import-takeout learns the day a place was saved and skips review features. Synthetic fixtures for all four.
  • The paper edition: logbook year YYYY --html PATH --print and logbook trip ID --html PATH --print (logbook/print_page.py) write one HTML document designed for A4 and US Letter with CSS paged media — a cover (the owner's name from policy/owner.json, else a resolution's label, else the owner email; the year or the trip's dates), a contents page (the months with their days, nights away, flights and keepers, and the year's trips; or the days of the trip, then its route with the trip page's map on a page of its own), and one spread per month of the year or per day of the trip: the facts (the nights, the places by nights numbered to the map, the people confirmed — never a proposal — the flights, the sleep and the steps when the record has them, the keepers by lane) beside a map drawn as an inline SVG from the location lines themselves, the owner's and the asset's while aboard, with no tiles; then the keepers (RFC 0024) as hero photos sized to the page, one to a page, two stacked, up to six in a grid, more on another page, and no photo page when the span has none. Page numbers come from the page counter. Photos are referenced where they are, never copied: the attachment under the record when the pixels are stored (a §1.1 reference under content or attachment), else the original path the library wrote (path, original_path), else a frame with the photo's name. One inline stylesheet, no script, no link, nothing fetched. Every typographic constant — margins, text block, grid, type scale, faces, ink, map box, photo heights — is in logbook/print_layout.py, whose stylesheet() builds the CSS, so a designer rethemes without touching logic. Fixtures: the demo record's 2026 and its yacht week (tests/fixtures/demo/print_*.html, scripts/make_print_fixtures.py), pinned byte for byte and checked structurally (every tag closed in order, every src an img's with alt, nothing from the network), and a day with no photos lays out. Docs: docs/print.md, with how to make the PDF in a browser or with headless Chromium. --print without --html exits 2.
  • story/v1, RFC 0028 (rfcs/0028-story-v1.md, a draft left unfinished on purpose, with Open questions for the author for the non-technical co-author who will finish it): a told story, as distinct from an observed event — the thing told, refers_to (the time it is about, as told and as a span: a year, a month, a day, a decade, or a phrase such as before the war that is on no day), told_at, teller and listener as RFC 0006 refs with the label known at the time, confidence as the teller states it (sure, fuzzy, disputed), source (conversation, voice memo, interview, letter) and the transcript attachment it came from. Tier 2 by default: it carries someone else's words. The RFC says why a story is on the day it was told and never on the day it refers to, and how show person and a future year --print may list stories apart. logbook add story <file>... --teller <ref> --listener <ref> [--refers-to 1961|1961-05|1961-05-04|1950s|<words>] [--confidence sure|fuzzy|disputed] [--at …] [--tier 2|3] (logbook/story.py) writes one line per file from a text or Markdown file (a front-matter block may carry the same fields; a flag wins) or a transcript/v1 JSON (the text is the transcript's, its bytes go to the attachment store, transcript_line names the transcript/v1 line when the record has it); a ref is kind:value, an address, a + number or a name the record's resolution lines make one person; raw_id is story:<sha256 of the file>, so a file added twice is one line; tier 1 is refused. show prints a story on its told day as 📖 refers to <when> — told by <name> to <name> (--raw: the refs). day <date> lists the standing stories whose refers_to covers the date under Stories about this day, after what is unplaced and never in the timeline, each with its confidence, told day and first line; --json carries them under stories. Story text is in the search index. Fixtures: Ola Nordmann tells, Kari Nordmann listens; neither exists.
  • Launch kit, docs only: docs/launch-post.md (Your life in a folder, the post for Show HN, Lobsters and r/selfhosted: the demo three-liner, the file-is-the-format argument, what the project refuses to do, what is rough, the ask; synthetic throughout), docs/adapter-bounties.md (the adapters not yet written — Telegram, Signal, Slack, Teams, Strava, Garmin, Oura, Notion, Mac Screen Time, HomeKit, bank CSVs by country — each with its export format, target profile, tier and a good first adapter mark), and four sections in CONTRIBUTING.md: the synthetic-data rule, the scrub rule, the clean-room rule for logbook-ts, and one session per worktree. Both pages are in the docs nav.
  • mail at Takeout scale (docs/adapters/mail.md): logbook add mail reads a 20 GB All mail Including Spam and Trash.mbox in 8 MB chunks with one message in memory at a time, the headers parsed by hand, the MIME tree walked by byte offsets, and no attachment ever decoded or copied — well over 40 MB/s on a laptop, where the standard library's parser managed 13. The body is read from at most 64 KB of its part (BODY_CAP); a longer one is cut and flagged extra.body_truncated (counted with the body cut at 64 KB). Every 10,000 messages a line on stderr gives the messages read, the megabytes and the rate (run takes progress(messages, bytes_read, elapsed); cli._read_progress). Resumable: the inbox manifest, inbox/manifest.json (logbook/inbox.py, Cursor), keeps per file and per set of options the byte offset of the last message the record holds — the adapter tells the cursor how far each file is read before every draft, append_many gains committed(taken), called after every checkpoint, and add passes it on — so an interrupted import picks up where it stopped (resuming at 8,421,113,344 of 21,474,836,480 bytes) and a finished one reads nothing (read to the end already). The cursor holds only while the file is the same (the digest of its first 4 KB and its size); add --restart reads from the first byte again, other options are another import, a dry run writes nothing. Threads, dedupe by Message-ID, --only-labels/--skip-labels on X-Gmail-Labels and --since are as before. Senders and recipients stay {email, name} in the line, the candidates for people merge; the adapter writes no resolution line. tests/test_mail_scale.py generates a 500 MB synthetic mbox (fictional senders at example.org; tests/synthetic_mbox.py) and asserts the rate and a flat peak RSS under LOGBOOK_SLOW=1; its quick tests check every message the standard library's mailbox finds is a line here, on 4 KB chunks.
  • logbook demo --years N (logbook/labs/demo_life.py, on the month's logbook/contrib/demo.py): the Oslo persona's whole life, from her birth N years before the day after 30 June 2026 to that day, deterministic from --seed, in phases by age that change the shape of the data — a childhood in Bergen of scanned photos, family entries and stories told about her by Kari and Ola (notes in their voice); school, where the calendar fills and Mia and Jens appear, with a phone from 14 (a thin track, iMessage texts, calls, the first flights declared from memory, the family's cabin weeks as trips); university in Copenhagen (lectures with Hanna and Freja, mail, a term in Barcelona of 131 nights); work (meetings, a monthly transcript, mail three times a week, Zürich twice a year, a month in Lisbon, the flight tracker from 30, Ola back at 29); the move to Oslo at 32 (the office, the cabin weekends, the Copenhagen visits); the watch at 34, so health lines start there; the boat at 35 with a July cruise and day sails on its own AIS track; three weeks in Rome at 37; and the default month at full resolution as the last month of a life of 36 years or more. People drift in and out (Jens last heard in 2005, Mia in 2011, the grandmother Solveig in the photos until 2014, Hanna once more in 2019, Ola out through the university years and back). Old years are thin: forty years are about 115,000 lines, every profile present and the chain verifiable; the month record is unchanged. --days and --years are one or the other. event, message and photo of the story take a source or provenance; demo.generate takes years; demo.write writes a story to disk. Docs: docs/demo.md (the phases, the knobs, the sizes, what to try). Tests (tests/test_demo_years.py): every profile and schema on forty years, trips in 2001 and 2025 and the Barcelona term, flights declared in 2000 and tracked in 2025, health from the watch's first day, the move read from the points, a baby's one-year record, people with Jens and Mia a decade gone — read from the channels alone, since people._together asks for the night of every day against every stay of the window and takes minutes on forty years.
  • logbook describe keepers [--since DAY] [--limit N] [--photos DIR ...] [--model NAME] [--fetch-model] [--dry-run] [--json] (logbook/labs/describe.py, docs/describe.md): a local vision model looks at each keeper's photo (RFC 0024) and writes one factual sentence and a short list of the visible things, as a derived note/v1 line (RFC 0010) on the photo's day — source description, tier 2, raw_id the photo line's id so a photo is described once however many lanes it is in and however often the command runs, extra.derived true, extra.engine and extra.model naming what wrote it, extra.photo the photo as the keeper names it, extra.keeper, extra.things; the text is the sentence then Visible: …, so search finds the things. The model sees the pixels and a fixed prompt only — never a name, a date, a location or a face — and is told never to name a person (faces are the library's job, keepers --people) and never to guess a place; an answer carrying any word of a face's name the library gave on that photo is refused and counted, never written. The file is found in the record's attachment store (a §1.1 reference under media, attachments, file or content) or under --photos: an Apple Photos library by the asset UUID under originals/, any other folder by file name, case aside, walked once; a keeper whose file is nowhere is a counted skip. The engine is mlx-vlm on Apple silicon with pillow-heif for HEIC, the new extra openlogbook[describe], default model mlx-community/Qwen2-VL-2B-Instruct-4bit, temperature 0, the hub offline while it runs; without the engine or the model the command prints the install and fetch lines and exits 2, and --fetch-model is the only network use, as transcribe and promises --judge have it. show <day> prints the description under the first keeper row for its photo, indented to the text column; with no keeper standing it is a row of its own. Synthetic fixtures: the Oslo persona's keepers with a faked engine; a test asserts no socket opens during a run.
  • logbook export site <folder> [--tier 1|1,2] (logbook/site.py, docs/site.md): the readers as a folder of static HTML — a Year page per year (the page logbook year --html writes), every Trip page (logbook trip --html, the map inside), a Days index per year (serve's /days table, one row per day the record covers, each an anchor), the places (/places), the people (an index by days together, and a page per person with the years together and the trips) and a root page — written as plain files with relative links, one inline stylesheet each, no script, no image, nothing fetched, so the folder reads the same from a file manager, under any prefix on any web server, or in twenty years. serve written down: serve.Site takes tiers, href, nav and footer and renders a static page through them, year.html and trip_page.html take nav and links, and the rendering is the same either way. Tier-gated exactly like the vault (ADR 0016): the day, days, year and trip readers read the record through reading.read(..., tiers), so a line whose tier is not in --tier is in no page, no stay, no night, no companion and no count; the resolution lines (the name overlay) are read whole, as the vault reads them, so a tier-1 site names whoever a tier-1 line confirms present; the ceiling is the site entry of policy/crossing.json (policy.site_ceiling), tier 1 when the file does not name it; tier 3 is refused. Every run appends one crossing/v1 line (RFC 0011) with destination site, the window, the counts, the ceiling and the digest of the folder as written; re-running rewrites only the files whose content changed and deletes nothing.
  • The demo persona's forty years, browsable without installing anything: the docs workflow (.github/workflows/docs.yml) now runs on every push to main, generates logbook demo --years 40 --seed 1, exports it with export site at tier 1 into docs/ines/ and publishes it with the docs at /ines/ on GitHub Pages — the same gh-pages branch, the same deploy. Before the build, scripts/check_synthetic.py fails the workflow if any page carries an identifier outside CONTRIBUTING.md's synthetic allowlist (an email at a domain other than example.org, a phone number outside 07700 900xxx and +47 9000 000x, a nine-digit number in an assigned MMSI range, a URL of any kind) or anything the owner's pii-patterns file names, printing file:line and a count and never the text: the scrub rule, applied to the rendering.
  • logbook export vault <folder> [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--tier 1|1,2] (logbook/contrib/vault.py, docs/vault.md): the record as a folder of plain Markdown an Obsidian or Logseq user opens as a vault — one page per day (the Day with YAML front matter: date, weekday, country, the nights either side, places, people, trip), one per named place in places.json, one per person confirmed present, one per trip, one per year and a root page, every page linked to the others with wikilinks, so the graph view shows the record's shape: home at the centre, days hanging off their places and people, trips as short chains, a year gathering all of it. Tier-gated exactly like a crossing (ADR 0016): a line is in the vault when its tier is in --tier and shows only as a count when it is not (held back: 1 note), so the default, tier 1, is the shape of every day with no text of any note, message, transcript or mail, and a person a tier-2 note names is not on the page until tier 2 crosses; the ceiling is the vault entry of policy/crossing.json (policy.vault_ceiling), tier 1 when the file does not name it; tier 3 is refused. Every run appends one crossing/v1 line (RFC 0011) with destination vault, the window, the counts, the ceiling and the digest of the folder as written (one <sha256> <path> line per file, hashed), so the record shows it left. Every page is a function of the record's lines and settings alone, so re-running rewrites only the files whose content changed and deletes nothing. Read a calendar year at a time, as logbook year reads it.
  • Install is one line on each platform (docs/install.md, written for someone who has never opened a terminal, with what each step prints): brew install bighydro/logbook/logbook on a Mac, from the new Homebrew formula in homebrew/ (homebrew/README.md says how it is published as the tap bighydro/homebrew-logbook and bumped on each release, step 6 of docs/releasing.md); pipx install openlogbook or uv tool install openlogbook everywhere Python is, Windows included, in Terminal. The README's sixty seconds open with one install line per platform. CI builds the formula from source on macos-latest, runs its test block and audits it (the new homebrew job; the test matrix is unchanged).
  • The lab (docs/labs.md, logbook/labs/): readers still finding their shape, run as logbook lab <reader>; read-only, no network, not in SPEC §3.2, their JSON free to change. logbook lab introductions [--json]: for every person the record confirms present at a stay with the owner, the first day it does, where and by which source, and who else was confirmed present that day — those known before as the likely introducers, those also new as met together, each marked same_stay — with the line ids; the blind spots (the record's first weeks, proposals that do not count, co-presence as a guess) are printed with the rows and carried under blind_spots. logbook lab chapters [--min-trip-nights N] [--min-gap-days N] [--min-home-nights N] [--json]: the record cut into chapters by home-region changes (a home entry in places.json may now carry since and until; without dates the nights decide), runs of days with no location line, and trips of 21 nights or more, printed as a table of contents with dates, nights, the top places and the top people per chapter. Synthetic fixtures only; nobody in them exists.
  • logbook year YYYY --poster [--sheet A2|A3] [--html PATH] (logbook/year_poster.py, docs/print.md): the year on one sheet — twelve columns of thirty-one squares, one a day, each in the ink of where the night was: home, away, aboard, in transit, the four night tokens now in logbook/print_layout.py; a day the record has no night for shows the paper; the countries of the year with their days as one footer line; no name of a person, a place or an asset, no photo, no map, nothing fetched. One inline SVG drawn in millimetres of A2 and scaled to the sheet, so A2 and A3 are the same drawing; to --html PATH, else stdout.
  • logbook digest --paper [--week YYYY-Www | YYYY-MM-DD] [--html PATH | --json] (logbook/week_paper.py, docs/print.md): the week as four pages of A4, set from the Year's typographic constants — the days with their one line each (the line days prints), the people confirmed present and the week's keepers, the open promises due in the week, and what was read: the browse lines of the week, titles only, never an address. An ISO week, Monday to Sunday; without --week the week of the day given, else of today. Composed from the readers, nothing written. Both render from the demo record as fixtures under tests/fixtures/demo/, checked structurally.
  • logbook key init [--recovery] [--recipient age1…], key show, key add-recipient, key remove-recipient (logbook/core/sealing.py, logbook/store.py, RFC 0029 §6): this machine's identity is written to ~/.config/logbook/identities/<owner_id>.txt (%APPDATA%\logbook\identities\ on Windows, or where LOGBOOK_IDENTITY_FILE or the global --identity-file PATH point), readable by its owner only, never in the record and never in a variable on disk; --recovery prints a recovery identity once, for paper, and stores it nowhere; init refuses to seal with fewer than two recipients; add-recipient and remove-recipient reseal every sealed line and file to the new list with no hash changed and append one rekey/v1 line. From then on every tier 2 or 3 line appended is sealed (Logbook.append, append_many), a tier-1 line never; a writer without the identity refuses tiers 2–3 in one sentence (it cannot dedupe through the blinded index) and writes tier 1, so an unattended sync ais needs no key. Needs the new sealed extra (pyrage); without it the first seal or open names it. doctor checks it.
  • logbook seal --all (RFC 0029 §10.2): seals the tier 2–3 lines written before the record had recipients and the files they name, the ADR 0014 way: new month files under a temporary folder, prev and hash recomputed from the first changed line, format 0.3, a lineage entry, the index dropped, one migration/v1 line with from_head, sealed_lines and sealed_attachments. The plain files are replaced, not kept beside the record, and the command says once that a backup taken before still holds the plaintext.
  • logbook verify reports sealing: sealed: N lines, every one opened and checked against its digest, or not opened (no identity at …), and plain at tier 2 or 3: N lines; logbook seal --all seals them; --keyless never opens, so a keyed machine can show what a keyless one sees. The first line, valid — N lines, head …, is unchanged, so the cross-implementation job still compares it.
  • logbook export FILE writes sealed lines opened by default (the interchange form a line re-enters by, ADR 0017) and verbatim under --sealed; without the identity it refuses and names --sealed. show, day and every reader through the index get opened lines; a reader without the identity lists the day and prints [sealed note/v1; no identity to open it] for such a line.
  • export crossing (RFC 0005, new section Sealed lines): policy/crossing.json may give a destination a recipient; a sealed line crosses with payload_enc resealed to it, or under --open with payload_open = {payload, salt} in its place; its hashed fields are the owner's verbatim either way, and the manifest's sealing says which. Sealed files are opened, checked and resealed or copied opened. Without a recipient or --open, or without the identity, the export refuses.
  • The shared trip (RFC 0030, docs/trips-shared.md, logbook/contrib/trip_bundle.py). logbook export trip-bundle <trip-id-or-day> --to <member> [--tier 1|1,2|1,2,3] [--attachments] [--out DIR] [--dry-run] writes a crossing package (RFC 0005) cut to one trip, under the destination's ceiling in policy/crossing.json (ADR 0016): the trip's photo/v1 lines (hashes; the files only with --attachments) and standing flight/v1 lines verbatim in entries.jsonl, the derived rows in trip.json (trip-share/v1: the stays away from home with their nights and labels, the moves, the flights, the people confirmed present with the refs that name them; never the home stay, never the points), and the resolution lines those refs walk through in resolution.jsonl. The people, the sender's own refs and the overlay are tier 2, so the default --tier 1 crosses places and photos and counts the names held back. Every real export appends a crossing/v1 line naming the trip (crossing.record, now shared with export crossing). logbook import trip-bundle <folder> [--dry-run] checks every digest and every line's hash, refuses a bundle of the record's own, and appends each line as a received line — kind received, source received, the sender's line verbatim under payload.line, extra.from the sender's owner id — plus the page as one received line keyed by the bundle id; a raw_id the record already holds, as its own or received before, is skipped and counted (Index.holders), and the files go into the store. No derived reader takes the kind, so a received photo is nobody's photo and a received resolution names nobody. logbook trip <id> gains shared: per sender, who was there according to each record (matched through shared refs, else by name; the owner is you), the places the records agree on (within 300 m), and a seen only by column, in the text, the JSON and the HTML page; show lists a received line as from <sender>: <kind> <source> · …. Synthetic fixture: Ines's and Ola's records of one cabin weekend (tests/cabin.py); nobody in it exists.

Changed

  • ios-wallet is replaced by apple-wallet (above): the 0.5.0 adapter decoded the IATA BCBP barcode — which carries the passenger's name and the booking reference — to read the flight as tracked; the new one reads pass.json's fields and never the barcode, and writes declared, since a boarding pass is a plan. --only wallet, --only ios-wallet and logbook add wallet all name the new adapter; lines a record already holds with source ios-wallet stand as they are (flights.EVIDENCE_OF keeps their rank), and a pass imported again under the new source is a new observation that merges into them. import-backup copies the passes below apple-wallet/ now, not ios-wallet/.
  • mail/v1 attachments (RFC 0015 rule 5): an attachment is {filename, media_type, bytes} by default, its length counted from the base64 text without decoding it; sha256 and path are present only with --attachments, the one time the bytes are decoded. Before, every attachment was decoded and hashed on every import, which is most of the bytes of a mailbox.
  • logbook ledger [--month YYYY-MM | --trip ID] [--json] (logbook/ledger.py): the transaction/v1 lines (tier 3, never crossing) read back in context. Each transaction is placed at the stay the owner was in at its instant, from the same derivation the Day and the trips read — the place's name at a named place, aboard <asset> aboard one, else the coordinates with what is near — with the stay's country by the countries rollup's rule; a transaction the source files by the day only (date given, at that day's local midnight) is placed by the day's longest stay and says (by day); one the track does not cover is nowhere. Each is in its trip when its day is one of the trip's (first day to return day), and the window's trips are listed with their spend; --trip takes the id trips --json prints and reads only its days. A shared expense's shares are shown per person, each member resolved through the record's resolution lines, else the app's name, the owner as you; a face tag is never a resolution. Amounts stay in the line's currency, totals are per currency, nothing is converted; a transaction the source marks deleted is listed, marked and never summed; a correction that supersedes a line stands in its place. rollup money [--year] sums the same entries per year by month, by country and, when any line has one, by the source's category. day gains a spend line when the day has a transaction: totals per currency, the count, the merchants (spend under --json, null when none). Synthetic fixtures: the Oslo persona's fortnight with invented merchants in NOK and EUR. Docs: docs/ledger.md.
  • logbook attach import-backup <backup> --only whatsapp,imessage,photos [--since YYYY-MM-DD] [--dry-run], logbook attach status and logbook attach verify (logbook/attach.py, docs/attachments.md): the SPEC §1.1 content-addressed store filled from an iOS backup, counted, and checked. The pass reads, through the index, every standing message and photo line of the sources named (not a retracted one; from --since on), finds each file the line names under extra.media in the backup's Manifest.db by the source's domain and the path below its media folder, and streams it — decrypted on the way when the backup is (ios_backup.plain_chunks, over the new ios_backup_crypto.decrypt_chunks), the password from LOGBOOK_BACKUP_PASSWORD as import-backup takes it — into attachments/<sha256> through attachments.write_chunks, which hashes the bytes on their way into a temporary file and refuses a stream whose digest is not the one the line names (DigestMismatch: nothing under the name, one line on stderr naming the file and both digests, exit 1 at the end). A file is never held whole; a digest already present is skipped unread, so a stopped run is resumed by running it again; the same bytes named by several lines or two sources are one file; a file the backup does not hold is counted; a line whose media was missing at import names no digest and is counted without a digest. --only is required and a disabled source is skipped; --dry-run counts and writes nothing. Nothing is appended: the lines already point at the bytes, and until the pass fills them in they are missing attachments, which SPEC §1.1 allows and status counts. A progress line every 500 files on stderr. status counts, from the index alone, the digests each source's standing lines name (the one attachment a line points at, as stats counts), present and missing, and the store's files and bytes, the files no line references and the entries under another name (--json too). verify streams every file whose name is a digest through SHA-256 and lists the ones whose bytes are not what their name says, exit 1 (SPEC §1.1); another name is counted and ignored. No thumbnails (ADR 0015). Tested on the synthetic backup: four references, three files (two references share one content), a damaged blob refused, a resume, an encrypted backup, a retracted line left alone.
  • apple-photos: the line carries where the phone keeps the pixels below Media/ as extra.media.local_path (ZDIRECTORY/ZFILENAME; a store without the column names no path) and, when the import can reach them, their digest and size under extra.media and the digest as RFC 0002 content_hash, the same shape whatsapp and imessage write, so attach import-backup --only photos finds the bytes and checks them against the line. run takes media_digest, a callable that hashes the file at such a path; import-backup builds it over the backup itself (ios_backup.digest: read from the stored blob, decrypted on the way, never copied), a file not in the backup is extra.media_missing and counted; LOGBOOK_APPLE_PHOTOS_HASH_MEDIA=0 skips it. logbook add photos <store> on a bare copy of the library writes the path alone.
  • logbook share day DATE --to NAME [--tier N] [--out FILE], logbook receive FILE [--from NAME] and logbook circle [add NAME KEY | key] (logbook/share.py, RFC 0025 at docs/rfcs/rfc-0025-shared-page-bundle.md): a shared page, the bundle of ADR 0009 — one local day of the record for one person in the circle, as one zip: the day's lines verbatim (SPEC §2 envelopes, so the receiver recomputes every hash), the attachments they reference under their own digests, the day-package/v1 of those lines, and manifest.json (shared-page/v1: from owner id, to, date, tz, created, max_tier, the line count and the count held back, the digests of the two files and of every attachment, logbook_head, the signing key) carrying an Ed25519 signature over its RFC 8785 canonical form. The sharing key is made on first use at ~/.config/logbook/share/<owner_id>.key (mode 0600) and its public half written to logbook.json as share_key; a record that names a key the machine does not hold refuses to share, naming the file. The tier gate is the destination's ceiling in policy/crossing.json (ADR 0016), tier 1 by default, refused above the ceiling naming the file; a line above the tier, a retracted line and a retraction stay home; every share appends one crossing/v1 line (RFC 0011) with the day's window and the manifest's digest. receive verifies the signature under the key policy/circle.json holds for the sender (circle add NAME KEY, once; never the key the page brought), checks every member name, recomputes every line's hash and checks its tier, day and envelope, checks package.json and every attachment against the manifest, and keeps the page under <root>/circle/<from>/<date>/ with a received.json — outside the chain: nothing is appended, logbook.json and the store are untouched. The same page again is nothing; a newer one replaces the held one whole; an older one is refused. logbook day DATE ends with a from <name> section per page held (lines by kind, tier, when shared, the titles of its notes, events, transcripts, mail and calls; received under --json). The optional extra openlogbook[share] (cryptography) is imported only when these run; doctor lists it. Synthetic fixture: Ines and Ola Nordmann sharing 2026-06-13 both ways (tests/shared_day.py), the two bundles and public keys committed under tests/fixtures/share/ as the cross-implementation fixture; tests include a tampered line refused with or without a re-signature, an over-tier line omitted, and every receiver check.
  • A stay aboard an asset is a container (stays.fold, Segment.inside): the run of the owner's stays and moves aboard one asset is one stay aboard <asset>, from the first's start to the last's end, with the run inside it, so the asset's movement never fragments the owner's stay. Boarding takes twenty minutes: the asset's own location lines within the stay radius of the owner's points for aboard_min_s (1200 s by default, a new key of policy/stays.json) or longer; a boat that passes the quay once no longer boards the owner. Under way the asset's position at an owner's instant is read between its two fixes around it when they are at most twice aboard_window_s apart, so an AIS fix every ten minutes still places a passage. The overnight rule counts the stay aboard whole — a passage through the night is a night aboard, never in transit — and the night names the asset and carries the asset's position, the inner stay that held the longest part of the night (Night.inside, Night.position). derive stays prints the container with its run indented and the night with the asset's position (--json: inside on the stay; aboard, inside and position on every night); day builds its aboard row from it, shows the position in the header (night after aboard REDUCE · 59.3400,10.5500 · away) and reads the country from it; trips makes a night aboard a route element aboard <asset> (the asset's name) and counts the trip's nights aboard per asset (nights_aboard; the text says 5 nights (2 aboard Solvind) on a mixed trip); rollup places gains an aboard section, one stay per run aboard with the run's whole hours (the JSON key assets is now aboard), while the anchorages inside it remain unnamed places marked aboard, and a night aboard counts at the anchorage the asset lay at; rollup people and rollup countries read the night there too. Synthetic fixture: the yacht REDUCE (MMSI 970123456, which does not exist) motoring 40 km through a night with the persona aboard, and the control case with the persona ashore at a cabin 3 km away (docs/day.md, Aboard an asset).
  • The encrypted and share extras are one extra, crypto (cryptography was all either needed): pip install "openlogbook[crypto]" reads an encrypted iPhone backup and shares or receives a signed page; logbook doctor reports it as extra:crypto, and the install line printed when cryptography is missing names it. The dev group names the extras it needs (openlogbook[crypto,ais,mcp]) instead of repeating their packages.
  • The adapter registry is pyproject.toml's logbook.adapters entry points alone: every built-in adapter is listed there, in the order logbook add tries them on a file, and the package keeps no second list to drift from it; tests/test_adapter_registry.py holds the table, the modules under logbook/adapters/ and the installed metadata to agreement.
  • RFC 0025 was two RFCs. The shared page (docs/rfcs/rfc-0025-shared-page-bundle.md) keeps the number; the trip bundle is RFC 0030 (rfcs/0030-trip-bundle-v1.md). The copies of the RFC index, location/v1 and photo/v1 under docs/rfcs/ are gone and the docs site links to rfcs/ instead; activity/v1 and decision/v1, never written, left the RFC index; ARCHITECTURE no longer says layer 1 depends on ijson (the Takeout and Dawarich adapters do).
  • tests/test_demo_years.py (forty synthetic years) is slow: it runs on push to main and nightly, not on a pull request. Property tests for the Dawarich adapter, the Takeout Calendar/ folder, the shared health-export reader and the phone-number normalisation: any input yields only valid lines.
  • One package, three tiers: the modules of logbook now live under logbook/core/ (the format and the readers a second implementation is held to), logbook/contrib/ (the adapters, import-backup, sync, the exports, the derived readers whose output is a reader's own) and logbook/labs/ (everything that runs a model), with the commands one module per family under logbook/commands/. Nothing a user runs changes: every command prints the same bytes. Every 0.5 import path (logbook.store, logbook.adapters.immich) still imports the same module, with a DeprecationWarning, until 0.7; docs/migration-0.6.md lists the moves. logbook --help loads no adapter and no model code, and import logbook.cli is thirteen times cheaper than before.
  • ijson is the extra openlogbook[stream], not a dependency: the five adapters that stream a large JSON export import it when they read one, and logbook add names the extra when it is missing. [share] is an alias of [encrypted]: either installs cryptography. The logbook.adapters entry points list every built-in adapter, in the registry's order, and a test keeps the two lists equal.
  • index.sqlite lives in the user's cache directory, ~/.cache/logbook/<owner_id>/index.sqlite (~/Library/Caches/logbook/ on macOS, %LOCALAPPDATA%\logbook\cache\ on Windows, or LOGBOOK_CACHE_HOME), not in the record (RFC 0029 §8): a copy of the folder, by any tool, carries no locator. A sealed line's payload columns come from its opened payload; its raw_id is stored as an HMAC under a key kept in the index's meta sealed to the recipients, so dedupe and line_id match either form and a chat id cannot be read or confirmed from the file; the search table holds no words of a sealed line (logbook search does not search sealed lines). An index built without the identity records so, and the first keyed reader rebuilds it. Schema 7. A stray index.sqlite left in a record by an earlier version can be deleted.
  • Logbook.attach(data, tier=None) and attach_file: in a record with recipients the file is sealed unless the caller says tier=1; attachment_bytes and attachment(sha256) give readers the plaintext; backup --verify checks a sealed file when the identity is here and counts it unchecked when not.
  • 22 commands where there were 49, and logbook --help on one screen (39 lines, seven groups, one line a command), Decision 1 of docs/audit-2026-10.md. Every old top-level name still works, hidden from --help: logbook person Kari prints `logbook person` is now `logbook people` on stderr and runs logbook people Kari with the same arguments, the same output and the same exit status. The moves: import-backup, inbox, attach and receive are import backup|inbox|attachments|page; year, trip, trips, days, keepers and stats are show year|trip|trips|days|keepers|stats; person NAME is people NAME; infer flights|keepers, transcribe and describe are derive flights|keepers|transcripts|descriptions; places, assets and questions are setup places|assets|questions; ledger is rollup ledger; tasks is promises tasks; seal and circle are key seal|circle; share day is export share day; retract, migrate and index are repair retract|migrate|index; sources is doctor sources; mcp is serve mcp. Nothing any command prints changed. docs/commands.md lists the 22 and the old-to-new table, written from logbook/commands/aliases.py by scripts/command_aliases.py; logbook <command> --help now opens with the command's description.

Spec

  • SPEC §3.2 Readers now covers every reader the reference ships, not only show: for derive stays, the standing set of flights and infer flights, the with module, trips, day and days, the rollups, keepers, promises and sources --gaps, the inputs, the rules in prose with their constants (the settings of policy/stays.json and their defaults; 20 min for a stay and for the shortest inferred leg, 400 m to a home place, 2 km and 3.5 km to an airport, the 22:00–08:00 night, 30 min for a codeshare, 150 km for an inferred flight, 1,000 m and 3,600 s for a calendar entry held at a stay, the confirmed/proposed split of "with"), the shape of each --json output, its derived ids, and what is a reader's own (the text, the extractor, a confidence). Two words defined for all of them: standing (not retracted, not superseded by a later line of the kind) and the record's zone (every reader localises in logbook.json's timezone, never a line's tz). show gains the calendar fold and the hero line, and a flight with no number reads as its route. New §6.1 names the readers the cross-impl job compares on the demo record (logbook demo --days 30 --seed 1) and the fields dropped first, with the honest status that no second implementation of a derived reader exists yet. Of logbook-ts's SPEC-QUESTIONS this settles 28, 35, 36, 38, 39 and 41 by rule, and closes 23, 29, 30, 32, 33, 34 and 37 as a reader's own; 24, 25, 27 and 40 were closed by the show fixes below. No format bump, no hash-rule change, no code change.
  • logbook add passages <csv> --asset <id> [--routes <dir>] [--dry-run]: a ship's deck log transcribed as CSV (dep_local, dep_place, arr_local, arr_place, tz, note, check; clocks may be missing, the arrival may be empty) → one declared trip/v1 sea leg per row (RFC 0020, amended: mode passage, subject the asset, evidence declared, name Cannes → Genoa Molo Vecchio, the route as geometry) and a location/v1 line of the asset at each end that can be positioned, so assets status, derive stays, day, days and trips read the legs as the vessel's own movement (ADR 0018). Positions come from the ECDIS route files in --routes (RTZ 1.0; a route matches a leg by the words its name shares with the two places, case, accents and punctuation aside, in either direction), else places.json, else a bundled gazetteer of about 250 Mediterranean, US East Coast and Bahamas ports (logbook/tables/ports.csv, public positions, nothing invented), else the name stays and the run reports it. An empty arrival is an open leg with a departure line; a check value rides under extra.check; the dedupe key is the asset, the departure time and the departure place. add gains --asset, --routes and --dry-run (the count against the record, nothing written); an adapter's run may take places (the record's named places) and report (lines printed after the counts). docs/adapters/passages.md.
  • SPEC §5 says what frozen, parked and deleted bind for a payload profile, as RFC 0031 decided; §6.1 says that a frozen profile's fixture under conformance/profiles/ is part of conformance and which parts of it are compared today; §3.1 says migration/v1 is part of the envelope's own section, frozen with it; the Status lines of §6 and §6.1 say what the two implementations are compared on now. Spec text only: no envelope change, no version bump.
  • Tiers 2 and 3 sealed at rest (SPEC v0.3 §1, §1.1, §2, §3, §3.1, §4, §6; RFC 0029, adopted; ADR 0020). A sealed line keeps a plain payload that is a reference, {"schema": "sealed/v1", "of": "<the real schema>", "digest": "<sha256>"}, and carries the content in payload_enc, outside the hash as id is: the RFC 8785 text of {payload, salt} (16 random bytes), age-sealed (X25519, binary, standard base64) to every recipient logbook.json names. The pre-image of §3 is unchanged, so verify checks the whole chain without any key, counts the lines it did not open, and, with the identity, opens every sealed line and fails on bytes that do not hash to their digest. format is logbook/0.3; a 0.2 record is read and written as it is, never migrated, and becomes 0.3 when given recipients. Attachments a tier 2–3 line names are sealed under their plaintext digest (the age header is the marker; raised, never lowered). The format's answer to RFC 0029's three options, the key handling, the migration road and what logbook-ts must implement are in the RFC; §15 says where the implementation parted from the draft. Level 2 conformance: conformance/sample-logbook-sealed with the published fixture identity conformance/identity.txt, head c625fd32d553… in expected-sealed.json, verified keyless and keyed in CI; the Level 1 sample stays a logbook/0.2 record and its head does not change.

Fixed

  • Three Google Takeout adapters skipped every row of a current export as without a timestamp: the CSVs Takeout writes today spell the time 2026-10-01 06:59:59 UTC (a date, a 24-hour clock, the zone's name), which takeout/times.py did not read. It reads it now, with or without fractional seconds and with a +02:00 offset after a space, beside RFC3339 and the two English forms it knew; the spelling is still kept whole in every raw_id. google-takeout-access-log reads the 2026 header (Gaia ID, Activity Timestamp, IP Address, Proxiedhost IP Address, Is Non-routable IP Address, Activity Country, Activity Region, Activity City, User Agent String, Product Name, Sub-Product Name, Activity Type, Gmail Access Channel) and the older one alike: one event/v1 line per row, the product, sub-product, activity and Gmail channel under extra, the country, region and city as the coarse location text (Nesodden, Akershus, NO) and under extra, never a coordinate — and the IP addresses, the user agent and the account id are never written: the address and the browser are hashed into the id only, as before, so two accesses in one second from two addresses stay two lines; a record that holds lines from the older reader keeps the same ids. The folder's Devices - A list of devices (…) used to access.csv is not the log and is never read. google-takeout-meet finds its columns under the 2026 names too (Start time (UTC), an End time (UTC) in place of Duration (seconds), Organiser), reads a duration as seconds, a clock (0:30:12) or words (1h 2m 3s), and takes the end less the start when there is no duration; its sniff accepts a history with an end time and no duration. google-takeout-pay reads the time under Time or Date, a bare amount with its code in a Currency column, and keys a row without a transaction id by its time, merchant and amount (pay:<time>:<digest>, counted without a transaction id). Synthetic fixtures for the 2026 shapes under tests/fixtures/takeout-2026-10/; tests/test_takeout_times.py pins every clock. (Google's Takeout documentation does not list these columns; the 2026 access-log header is from a real export, the Meet and Pay variants are the renamings seen since, and the readers find columns by header words so a further rename reads too.)
  • Takeout photos, imageViews: a sidecar whose count is a digit character that is not decimal (a superscript, str.isdigit() true, int() refusing) no longer raises in the reader; _int reads decimal digits only and gives None otherwise.
  • Every reader on a record whose timezone (logbook.json) this machine's zone database does not know — a name a newer edition of the database has, say — exited with a traceback (ZoneInfoNotFoundError) from wherever it first localised a time. SPEC §2 says a reader that does not know the zone says so and never substitutes another: logbook <command> now exits 2 with the zone's name and the reason, one place in the CLI entry point for every command. Found by the reader fuzz (demo --days 2 --seed 5, timezone set to a zone the host lacks).
  • promises, who said it: a line of a note, or of a turn a diarizer gave the owner, that begins Speaker 2: (or with the name of a participant, of a person the record resolves, or of the owner) belongs to that speaker, never to the owner; the owner is you only when the label resolves to one of their identities (promises.relabel). Before, every note was the owner's whole, and a mixed turn kept the source's label. A word before a colon that names nobody (Plan:) stays text.
  • Every reader piped into head, or into a consumer that quit already: quiet, status 0. The CLI caught a pipe that broke on a write in the middle of a long listing; a short one — a fortnight of days, one day, stats — sat in the buffer until the interpreter's final flush and reported Exception ignored in: <_io.TextIOWrapper name='<stdout>'> BrokenPipeError with status 120. main now flushes before it returns, and before a command's own exit status (sources --gaps exits 1) is passed on, so the pipe is met there and stdout turned to the null device (tests/test_broken_pipe.py, every reader).
  • days and day, the night: a night whose stay centre is within 400 m of a place of kind home (stays.HOME_NEAR_M, the night rule trips already followed) names that place — Home — where the row printed the coordinates of a stay at home; an unnamed stay within 5 km of a named place reads 59.9200,10.7400 near Home, 1.0 km, the route's rule (trips.coordinates_label, now shared by trips and the Day; the Day printed the bare coordinates); and days prints no location instead of in transit when the day has no location line at all (night.located under --json), since nothing then says the owner moved — in transit is for a day on the road with no stay reaching the minimum.
  • rollup health, stats --health and the Day's health line: HRV is reported in ms, always. health.ms reads a line as stored — a value in s is multiplied by 1,000, one in ms is taken as it is — as health.bpm already read a resting rate in count/s; a single 45 ms sample is hrv 45 ms (1 day). repair health-units stamps every corrected line with the profile's unit (repair.HEALTH_UNITS: bpm, ms). The Apple Health adapter already wrote HRV SDNN (type 183) in ms unscaled; a test now holds it to that.
  • trips and day, a stay at an airport: labelled by the airport's IATA code and city — ZRH, Zurich (trips.airport_label; the code alone when the row names no municipality) — where the route printed the row's name and the Day the bare coordinates. An airport with scheduled traffic (the airports table's new type column, OurAirports' own: large_airport, medium_airport; Airport.scheduled) holds a stay within 3.5 km of its reference point (trips.SCHEDULED_AIRPORT_KM), since the row marks the runway midpoint and a terminal often lies 2–3 km off it, so a stop at a large airport read as coordinates with the city in parentheses; every other row keeps 2 km (trips.airport_at is the rule, Airports.within the lookup). Every built-in row is large_airport, as the generator's filter has always kept; scripts/make_airports.py writes the column; an override file may carry it or leave it out. Tested on a synthetic field whose terminal is 2.8 km from the reference point.
  • show, three places the reference did not read the record as SPEC §3.2 says, found by logbook-ts diffing the conformance sample against it (its SPEC-QUESTIONS 24, 25, 27 and 40): a collapsed run of location points now ends at the last point's end when it has one, else at its at (it ended at the at regardless; one point is still a row of its own and prints its at); a payload without a renderer, the key=value row, spells a number as RFC 8785 writes it, by value and never by the text the writer stored — 100000000000000000000, not 1e+20; 0.000001, not 1e-06; 120, not 120.0 (chain.number_text, the serialiser the chain already uses) — while a nested object, list, string, boolean and null keep Python's spelling; and a message/v1 line whose chat is a string, the shape before RFC 0008 that the conformance sample carries, reads as a direct chat of that name instead of raising, and a chat of any other non-object shape is read as no chat. Every day of conformance/sample-logbook now prints, and 2026-03-01 and 2026-03-06 are pinned whole in tests/test_show.py as the cross-implementation fixture; expected.json is unchanged, since it carries seq and head only.
  • day, trips, the pages and rollup people, "with" from a note: a name a note says with counts only when the record resolves it to a person, the rule transcripts already follow (present.from_notes); with US, with XYZ, a country, an acronym or a name no resolution line knows names nobody, where before it was kept as written. (A real record listed US as company.)
  • show and day: one calendar entry several sources carry — two or more event/v1 lines from different sources (ics, ios-calendar, gcal) with the same start and end, naming the same flight in the title or carrying the same title, case, accents and whitespace aside — is one row, ×N sources (logbook/events.py, fold): the same flight in four calendars in two languages reads once, ×4 sources. show folded within five minutes before and printed ics+ios-calendar; it now folds on the exact times, as day does. Under --json the Day's event carries sources and every lines it stands for; the sources line still counts every calendar's lines.
  • day: a stop with nothing attached reads nothing attached after its place and duration; the kind column already says stop, so the row never read stop · stop.
  • trips and day, an unnamed stay: when it is at no large airport (2 km) and near no named place (5 km), the coordinates carry the city of the nearest large airport within 30 km in parentheses — 53.5998,10.0130 (Hamburg), the city only, never the airport's name — so a reader sees where a hotel is. The city is the airports table's new municipality column (OurAirports' own text, Oslo (Gardermoen); Airport.city keeps the part before a parenthesis or a comma; scripts/make_airports.py writes it, and the table is regenerated with no other row changed). The airport-name helper #132 left unused is gone with its test.
  • flight/v1 (RFC 0013 rule 1): a codeshare pair — two lines on one date and route whose departures are within 30 minutes, the operating carrier's number and a marketing carrier's (XY 123 and XY 9123) — is one flight: reconcile merges the second into the first under merge-and-supersede, keeping the operating carrier's designator when a producer marked it (extra.operating true), else the one first seen; standing folds a pair the record already holds unmerged the same way, so rollup flights and trips show it once (in XY 561 OSL → ZRH, not twice). Before, only identical numbers merged.
  • infer flights never copies a flight number onto a leg that is not the flight the calendar entry names: when a tracked or declared flight in the entry's window already holds the entry's designator on another route, the leg is written with neither carrier nor number, keyed by date and route ((date, "", "ZRH>IST")); show, rollup and trips print such a line as its route alone. Before, a two-day entry naming the tracked outbound put that number on the next day's onward leg.
  • infer flights emits nothing for a leg between airports under 150 km apart (MIN_KM): the points left one airport and reached the other, but it was a drive.
  • infer flights emits nothing for a leg a tracked flight on the same route already covers under another key — a flight landing after local midnight, a stale point at the origin after departure — counted as covered ("legs a tracked flight already covers"). The same key still merges into the tracked flight as before.
  • logbook add says how many of an export's rows the record already held (same source and raw_id) beside what it added, where it skipped them silently before: added 0 lines from dawarich is followed by 40 already in the record (same source and raw_id), nothing written twice (#79).
  • show orders a day by the instant of at, then seq (SPEC §3.2), never by the text of at: a line at 10:00:00.5Z sorted before one at 10:00:00Z. logbook-ts already ordered by the instant (#123).
  • google-takeout-photos, a sidecar number that is Infinity, -Infinity or NaN (Python's json reads and writes them): a coordinate, altitude, view count or timestamp that is not finite is left out of the line as a value the sidecar never had, never written, so the line canonicalises and appends; geoDataExif stands in for a geoData with an infinite coordinate, the creation time for an infinite taken time. The adapter already did this (_finite, _stamp, _int); it is now pinned by a test. The property test over albums (test_any_album_yields_only_valid_lines) wrote its own sidecar with allow_nan=False and crashed (Out of range float values are not JSON compliant: inf) before the adapter ran whenever Hypothesis drew an infinite timestamp; it writes them as Python spells them now, and draws non-finite coordinates and timestamps on purpose.
  • verify on a month file cut inside a line (a crash while writing, SPEC §3) reports the lines before the cut and their head, naming the cut line by file and line number in one plain sentence; it reported seq 0 and GENESIS and forgot every line before the cut. logbook verify prints the seq and head of the lines read on its INVALID line. SPEC §3 (truncation) and §6 now say so; the envelope and the hashes are unchanged.

Adapters

  • apple-wallet (logbook/adapters/apple_wallet.py, docs/adapters/wallet.md; logbook add wallet <folder|.pkpass>, or sniffed, or import-backup --only wallet): Apple Wallet passes → flight/v1 and event/v1, from pass.json alone. An air boarding pass is one flight/v1 line, evidence declared (RFC 0013, whose producer row changes with it): the airline's word for a seat it sold, not a tracker's record of a flight that flew. Field keys differ per airline, so every value is found by its field's key or label (origin/from/dep and destination/to/arr for the route, with the three-letter code the airports table knows in the value, else the label; flight/flightNumber for XY 561, YZ0562 or a bare number with the carrier from an airline field; date/departureDate for the day), or from the pass's semantic tags; the date is the local date of the scheduled departure when the pass names one, else relevantDate's, else a dated field's, and a pass with none is counted (skipped_no_date); the seat and the class go under extra; relevantDate is kept under extra.relevant_date and is the line's at when no schedule is known, never a scheduled time. A train, boat or bus pass is an event/v1 line titled origin → destination with extra.transit_type; an event ticket one with its name, venue and start; a coupon, store card or generic pass one named after the issuer only when it carries a relevantDate, else counted. The barcode is never decoded, the back fields, the images, nfc, the tokens and the Passes database (nav.db, passes23.sqlite) are never read, and no field is copied wholesale, so the booking reference and the passenger's name cannot reach a line; the doc lists what is read and what is deliberately not. raw_id is wallet:<16 hex of pass type and serial>@<digest of the mapped line>: the same pass again appends nothing, a pass the airline updated (same serial, a new relevantDate or seat) supersedes the standing line through flights.reconcile, and a Flighty export of the flight supersedes both. Three fictional airlines' pass styles, two transit passes, two tickets and the skipped kinds are fixtures under tests/fixtures/apple-wallet/.
  • spotify (logbook/adapters/spotify.py, docs/adapters/listen.md): Spotify's extended streaming history — the folder Spotify Extended Streaming History/ of Streaming_History_Audio_*.json and Streaming_History_Video_*.json, or one of them — → one listen/v1 line per stream (RFC 0019): at when playback started (Spotify's ts is the stop; the milliseconds played are taken off it), end the stop, media track or episode, the track's name, album artist and album or the episode's name and show as Spotify spells them, url the open.spotify.com page of the URI, played_s, service spotify, and under extra ms_played, skipped, device (Spotify's platform), reason_start, reason_end, shuffle, offline and country; raw_id spotify:<URI without its prefix>:<ts as spelled>, so a track streamed twice is two listens and a re-add appends nothing; a stream of 0 ms is a listen with played_s 0 and its skip flag; an audiobook chapter (the profile has tracks and episodes) and a row that names nothing are skipped and counted; an older export without platform or skipped reads with what it has; the IP address and the username are never kept; streamed through ijson. logbook add spotify <folder|file>, or sniffed.
  • apple-music (logbook/adapters/apple_music.py, docs/adapters/listen.md; logbook add apple-music <file>, or add music, or sniffed): the Apple Music CSVs of Apple's data export (Apple Music Activity/), one file at a time by its header, the columns found by name so one the mapping does not need may be missing → listen/v1. Apple Music Play Activity.csv: one line per PLAY_END row — at the start, end the end, the song (or the older export's Content Name), the artist, duration_s, played_s, and under extra ms_played, skipped (a skip true, a track played to its end false, a pause absent), device, end_reason, offline; raw_id from a digest of the artist and title with the start as spelled, the file carrying no track id; a start, a lyric view and the other events counted, not lines. Apple Music Library Tracks.csv: a snapshot per last-played time as apple-podcasts writes — raw_id apple-music:<track identifier>@<last played>, title, artist, album, duration_s, extra.play_count, extra.skip_count; a track never played counted. Apple Music - Play History Daily Tracks.csv: coarsely, one line per track per day at the first hour listed in the record's zone, the day's played_s, extra.hours, the counts. The three files carry three keys and do not dedupe against one another, said in the docs. The Apple ID and the IP address are never kept.
  • screentime (logbook/adapters/screentime.py, docs/adapters/screentime.md): logbook add screentime [--mac DB | --backup DIR] [--dry-run] → one app-use line per stretch an app was in use — kind app-use, tier 2, an event/v1 payload with the app's name as title when known (else its bundle id), the calendar Screen Time, and under extra the bundle_id, app, device, device_name, duration_s and how it was observed. --mac [DB] reads a Mac's knowledgeC.db (this Mac's own without a path, behind Full Disk Access, which a store that will not open names): the /app/usage stream's sessions, each with the device of its source row (mac for this Mac's own); the other streams are never queried, so no window title, URL or document name reaches a line, and a test holds the adapter to it. --backup DIR copies Screen Time's own store, RMAdminStore-Local.sqlite, out of an iOS backup into inbox/ios-backup-<udid>/screentime/ as import-backup does — import-backup --only screentime reads it too, a new source — and reads its hourly blocks: one line per app per hour laid from the top of the hour for its seconds (observed hourly_total, apple_category Screen Time's own), the phone named through ZCOREDEVICE and its apps through ZINSTALLEDAPP when the store has them; Safari's per-domain rows are skipped and counted with the domain never read. raw_id <device>:<bundle id>:<start>, so a re-import appends nothing and a session a store holds twice is one line. Every table's columns are confirmed with PRAGMA table_info; a table or column needed that is missing is one error naming the store. show prints a line as Safari · 25 min · mac. Synthetic fixtures with the real table and column names.
  • apple-photos (docs/adapters/photos.md, new): the names the owner gave the faces in the People album (ZPERSON.ZFULLNAME, else ZDISPLAYNAME; a merged person under its merge target's) ride along under extra.faces, sorted, beside the ids under people, which stay ids as RFC 0002 says — the adapter's extension inside the payload, a proposal of presence a reader never confirms. The favourites and the Art album become keeper/v1 lines (RFC 0024) in the same add photos or import-backup run, right after the photo lines: the photo line's id is looked up by (source, raw_id) through the index, the keeper is keepers.draft of that line and lane, and a (keeper-inference, <line id>:<lane>) the record already holds, retracted or not, is skipped, so a re-import and infer keepers after it write nothing twice; the run says keepers: N new from M marked photos of P (K already in the record), and --dry-run counts them the same way and writes nothing (a module's KEEPERS flag tells add so; every other photo library keeps infer keepers). The synthetic Photos.sqlite the tests build carries the Oslo persona's faces.
  • weather (logbook/adapters/weather.py, RFC 0026 weather/v1, docs/adapters/weather.md): logbook sync weather [--since DAY] [--until DAY] [--dry-run] writes one tier-1 line per local day and place the day was spent at — the overnight stay and every stay of three hours or more, each rounded to a tenth of a degree (about 10 km) and deduped per day, so no exact place leaves the machine — with the day's lowest and highest temperature, precipitation, strongest wind, WMO weather code, sunrise and sunset from Open-Meteo's free archive API (no key; the forecast API for the last seven days), evidence external. One request per place and run of days (split only at a gap over a week), a second's pause between requests, every day of a response cached under inbox/weather/<lat>_<lon>/<day>.json so a re-run never refetches; a failed request is said, the rest still go out, the run exits 1 and the watermark (state/weather.json, the last day covered, a week's lookback) waits. Explicit command only: sync --all and the schedule leave it out unless LOGBOOK_WEATHER=1 is set (~/.config/logbook/sync.env), no reader opens the network, and policy/import.json disables it either way. The clustering and the readers' side live in logbook/weather.py; the tests run the sync against a fake Open-Meteo and check every request URL for a coordinate with more than one decimal.
  • Six more Google Takeout products, one sub-adapter each in logbook/adapters/takeout/, every one answering to takeout-<name> as well as google-takeout-<name> (adapters.TAKEOUT, ALIASES), with synthetic fixtures in Takeout's own layouts under tests/fixtures/takeout/ and the owner's page docs/adapters/takeout.md: pay (Google Pay/Google transactions/*.csv → one transaction/v1 line per payment, RFC 0021, tier 3 and never lowered, provider google-pay, the amount signed from the owner's side — the sign in the text, else negative unless the status, product or description says refund, received, reversal or credit — and the currency from the code or symbol in the amount text, a kr row skipped and counted; Google Pay/Passes/*.json → an event ticket, a transit pass or a flight pass as one event/v1 line, tier 1, with venue, issuer, seat, gate and terminal and never the holder's name, loyalty cards, offers and gift cards counted); chat (Google Chat/Groups/<conversation>/messages.json → one message/v1 line per message, tier 2, the chat direct or group from the folder and group_info.json, from_me from owner_emails or the one user under Users/, the sender as an email ref with the name shown, the first attached file hashed beside the message and stored only with --attachments, reactions and links under extra; raw_id chat:<message_id>); meet (Google Meet/Call history/*.csv → one call/v1 line per call, tier 1, outgoing when the organizer is the owner, the organizer as the counterparty otherwise, service meet, the meeting code and participant count under extra); contacts (Contacts/All Contacts/*.vcf → one entity per card, a person or a company, and one resolution/v1 line per email and phone normalised as ios-contacts normalises them, merged with the people the record already resolves: a card whose ref the record knows takes that entity's id and writes no line for the ref, so a person resolved from the phone's address book is never minted twice; a label folder repeats nothing); access-log (Access Log Activity/Activities - *.csv → one event/v1 line per access to a Google service at tier 3, title <product>: <activity>, the city and country as location, the address, user agent and device under extra); activity (My Activity/<Product>/MyActivity.json → a search or a visited result as a browse/v1 visit with google-<product> as the browser, an app opened under Android as a visit to its Play Store page, a YouTube entry through the YouTube adapter's own mapping so the two sources dedupe, a Chrome entry skipped for the Chrome adapter, ads and other activities skipped and counted). Each CSV is read by what its headers say, not by position; takeout/times.py reads the three clocks Takeout writes to one UTC instant. The YouTube adapter no longer claims another product's MyActivity.json.
  • policy/import.json has a default list (policy.DEFAULT_IMPORT): google-takeout-access-log and google-takeout-activity disabled with a reason (every sign-in to every Google service; every search and app opened; opt in), everything else enabled. init writes it, and so does the first read of a record without the file; the owner removes an entry to opt in.
  • logbook add --dry-run: the adapter runs, the drafts are counted against the record by (source, raw_id) through the index — <name>: N lines would be added, M already in the record (dry run, nothing written) — with what the adapter skipped and why, and nothing is written: not a line, not an attachment (the store callbacks are no-ops), not a note for a sentence.
  • An adapter whose run takes resolved gets {(kind, value): entity id} for every ref the record resolves, from the resolution lines standing through their aliases (RFC 0006), so an import of people can merge with the record instead of minting again (cli._resolved; google-takeout-contacts is the first).
  • google-takeout-fit (takeout-fit), the Fit/ folder of a Google Takeout → health-sample/v1 (RFC 0014) at tier 3, with the types and units apple-health writes, every line naming the device and the app Fit recorded it from (page). All Data/: steps and distance summed into quarter-hour buckets per device, heart rate at its own resolution capped at one reading a minute, weight, body fat, and sleep stages as spans (light as core); the raw streams of a type Google also merged are counted, not read twice; calories, activity segments and the other streams the profile has no type for are counted, never mapped to a near type. All Sessions/: one workout span per session with its aggregates under extra, a sleep session as the night in bed. Daily activity metrics/: a day's quarter-hour file as buckets, and a day-long steps and distance span for a day no stream touched, the day's calories, Heart Points, Move Minutes and heart-rate figures under extra; the coordinate columns never read. The Fit/ folder, each subfolder and any one file are sniffed; Activities/ (TCX) is not read. A quarter hour Apple Health also counted stays a second line under its own source: nothing dedupes across sources yet. Synthetic fixture.

Readers

  • logbook rollup listen [--year YYYY | --since YYYY-MM-DD --until YYYY-MM-DD] [--json] (logbook/listen_rollup.py, docs/rollups.md, docs/adapters/listen.md): the listen/v1 lines standing (RFC 0019; a correction that supersedes a line wins, the latest of several; a retracted line is out) summed up per calendar year — listens, hours played (played_s summed; a line with no playhead, a Shazam tag, is a listen with no hours and counted under untimed), skipped lines (extra.skipped), lines per service, the podcast episodes with their hours, the top ten artists by hours then listens (the tracks' performers as the services spell them, never resolved), and every month the window touches with its hours, listens and skips, a month with no listen an em dash and never a zero. The window is clipped to the days the listen lines cover and read through the index alone, with no reading of the track; nothing is written; under --json every number carries the ids of its lines. In its own module beside rollup.py, in its manner, with rollup.py untouched; rollup lists listen beside the other kinds.
  • logbook rollup attention [--year YYYY | --since YYYY-MM-DD --until YYYY-MM-DD] [--by month|week] [--json] (rollup.attention, docs/rollups.md): the app-use lines standing (a retracted line out, a superseded one out) summed per calendar year, or per month or ISO week with --by, as hours by app and by five categories — communication, browser, media, work, other. An app is its bundle id (the Mac's Safari and the phone's are two rows); a small built-in table (logbook/apps.py) names and sorts the common apps under both their Mac and iOS bundle ids, a word in an unknown id (mail, chat, music, code) sorts it, and the owner's policy/apps.json — {"<bundle id>": "<category>" | {"name", "category"}} — wins over both, read at rollup time and never written into a line, so a renamed app re-sorts a year without a new line; a category outside the five stops the rollup naming the file. Every period the window touches is a row: one with no line is an em dash (by_category null under --json), one with lines carries every category, a category with no app at zero. Under --json each app carries its bundle_id, app, category, hours, seconds, sessions, devices (seconds per device) and lines. Read through the index alone, clipped to the days with an app-use line; nothing is written.
  • logbook keepers --people [--since DAY] [--until DAY] [--lane LANE] [--json] (keepers.people_by_month, docs/adapters/photos.md): who appears on the keepers standing, per local month — the faces the library named on each keeper's photo line (extra.faces) and the people it tagged by id (people), resolved through the resolution lines where a name is exactly a label and listed as written otherwise (no person) — with how many keepers each is on, by lane, and the keeper lines under --json. Every row is proposed: a face never confirms, and the view writes nothing. The keepers' photo lines are joined by id through the index (Index.by_ids, new: the few lines a reader joins by id).
  • present (the with module), the Day, the pages and trips: the names a photo library gave its faces, extra.faces on a photo/v1 line, are proposed company at the stay that holds the photo, confidence 0.5, never confirmed — a note, a transcript or a timed calendar entry confirms, and a face then rides along as a further reason. A name is resolved to a person only when it is exactly the label a resolution line carries, case and spacing aside (present.by_label): Kari alone is not Kari Nordmann, since nobody wrote the name at the stay (the loose first-name rule of a note does not apply); a name the record does not know is listed as written with no person; a face the line names both by id and by name is one entry; the owner's own face is never their company. rollup people, people and the days together still count the confirmed set only.
  • logbook search TEXT [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--kinds note,transcript,message,mail,event] [--tier 1|2|3] [--limit N] [--json] (logbook/search.py, docs/search.md): full-text search over the record through one FTS5 table of index.sqlite (search; schema 6, so an older index is rebuilt once by the first reader). The table holds the words of every line of a kind that carries any — note, transcript, message, mail, event, task, highlight, voice-memo, browse, watch, listen, trip: every string of the payload at any depth but the ids, digests, stamps and types, and a transcript's text read from the attachment store as the promises reader reads it, one Speaker: text per turn — never a location point, a photo or a health sample. It is written beside the line's row by Logbook.append and append_many, in the same transaction, so a line appended a second ago is found with no rebuild, and rebuilt with the rest by logbook index. The query is literal: a word matches itself, case and accents aside (zurich finds Zürich) and never a stem (run does not find running, in English or in German; the tokeniser is unicode61 with no stemmer); a run in double quotes is a phrase in that order; a term ending in * matches by prefix; every term must match; FTS5's operators (AND, OR, NOT, NEAR, a colon, a caret) are words, never syntax, so no query is a syntax error. Ranked by FTS5's bm25 and cut to --limit (50) inside the query — the kinds, the tier and the window are columns of the table, the join to lines one lookup per hit kept, so a name in two million lines answers in well under a second (tests/test_search.py, LOGBOOK_SLOW=1) — then shown grouped by local day, the latest day first, the lines of a day in time order: the row show prints for the line (its local time, kind, source and the profile's summary, with the names the record resolves), under it a snippet of up to sixteen words around the match with each matching word in [brackets], and a count. Tiers 1 and 2 by default; tier 3 — money, health, the transcripts at 3 — only with --tier 3, as export crossing and mcp have it, and a search that finds nothing says when tier 3 was left out. A retracted line is never a hit. --json is the query (with the FTS5 expression it became), the hits by day with rank, snippet and summary, and more. Nothing is written. A SQLite built without FTS5 builds an index with no search table, and the command says so; every other reader is unaffected. The show row's text part is cli._line_text now, shared by both.
  • logbook trip <id-or-date> [--html PATH] [--json] (logbook/trip_page.py, docs/year.md, One trip): one of trips' runs of nights away read back, named by its id (trip:2026-06-15:2026-06-20, which trips now prints as the last part of every row) or by any day inside it, the return day included. Composed from the readers over one reading of the days around the trip (a week either side, widened while the run touches the window's edge, so a week is read from a month): the route as the stays slept at, in night order, each with its nights — the anchorages of a week aboard, one stay each with the asset beside them, where trips folds the week into aboard <asset>; consecutive nights within 200 m one stay; a night in transit a stay with no place — and the legs between them in great-circle kilometres; the days from the leaving day to the return day, one line each as days prints them; the flights in and out; the people confirmed and, apart, the ones only proposed (a person confirmed at one stay is never a proposal at another: trips.companions, which trips now uses for its own list); the nights aboard per asset; the keepers per day by lane with the photos' names; the health of the span as one period (rollup.health_summary, the rollup's own rule lifted out); and the spend, every transaction/v1 line dated inside the span summed per currency with a minus sign for money that left, when the record holds any. --html writes one self-contained page — inline CSS, no script, no asset, everything escaped, printable — whose route section opens with an inline SVG map drawn from the stays' coordinates: an equirectangular projection about the route's mean latitude, one path per leg (dashed across a night in transit), one mark per point with the numbers of the stays at it, a scale bar; no tiles, nothing fetched. A day at home, an id that names no trip and a record without a home place each say so. Nothing is written. Tested on the demo record's yacht week and the persona's Zürich trip, the SVG's one path per leg included.
  • day shows one weather row after the health line when the day has weather/v1 lines — the place of the night when the day has one, else the first, · 2 places when it was spent in more than one; --json carries the row with every place under places — and serve a Weather heading; year adds a weather row and an HTML section with the span's summary (weather.span: the coldest and warmest day, the precipitation summed over the days by the wettest place of each, the wet days at 1 mm or more, the strongest wind, how many of the days have a line); trips says the same for each trip's days, first to return day (weather in the JSON). A record without weather lines shows nothing new.
  • logbook promises --judge [--limit N] [--model NAME] [--fetch-model] (logbook/judge.py, docs/promises.md): a local instruct model reads each candidate the rules found — the sentence marked among the two sentences either side of it in the same transcript or note, across turns, each with who said it; the day, the title, the owner's name and the names the record resolves in that line — and answers one JSON verdict at temperature 0: is_commitment, by (owner, a name, unknown), to, what (the speaker's words shortened), due (YYYY-MM-DD or null) and confidence (0 to 1). The engine is mlx-lm on Apple silicon, the new optional extra openlogbook[judge], with mlx-community/Qwen2.5-7B-Instruct-4bit by default and --model for any MLX instruct model; it is imported only when --judge runs, the hub is offline while it runs (no socket is opened, as transcribe has it), a model not on the machine stops the command naming --fetch-model, and without the extra --judge stops with the message that names it. Never a cloud model. The verdicts are kept in policy/promises-cache.json by candidate id with the engine and model that gave them, rewritten after each one, so an interrupted run keeps what it did and a candidate is never judged twice; an answer with no whole verdict is counted and tried again next run. logbook promises now shows the judged commitments at confidence 0.6 or above (promises.THRESHOLD) and says how many candidates are unjudged; --all shows every candidate; a judged row carries the confidence, to <name> and, for a non-commitment, no; under --json every proposal carries its judgement or null, and the report judged_only, threshold, judge and unjudged. promises done <id> is unchanged and the only write to the chain. Each proposal carries the context the judge sees (Proposal.before, .after, .names). Tested through a fake engine: the prompt's attribution and context window, the cache, the threshold, the limit, the no-socket guard and that nothing reaches the chain but through done.
  • logbook year YYYY [--html PATH] [--json] (logbook/year.py, docs/year.md): one calendar year read back, composed from the readers that exist over one reading of the year's days (the days the owner's track covers, clipped as rollup --year clips): the days per country (rollup countries), the nights home, away, in transit and aboard each asset (rollup nights), the trips in order with their nights, route, flights in and out and companions (trips), the flights with their kilometres and evidence (rollup flights), the places by nights — named, assets, the top unnamed clusters — with the people confirmed there (rollup places), the people by days together (rollup people), the health lines by month (rollup health --by month), the keepers by month and lane (RFC 0024), and twelve picks, one day each: for every month the day with the most evidence — the attachments across the Day's rows plus the people confirmed plus one for a flight or a new place (a named place not stayed at earlier in the year, or an unnamed stay more than 300 m from every earlier one; home never) — of equals the day with more lines, then the earlier; a month with no line is no days. Each pick is read with the day reader (day.read, the night before in it) and printed as logbook day prints it; under --json the Days are inside and every day's evidence is under scored. --html writes one self-contained page — inline CSS, no script, no asset, nothing fetched, everything escaped — that prints with table headers on every sheet and no pick split; --json is one object with the chain head it was read at. Nothing is written. Tested on the 365-day demo record and the persona's fortnight (the month-pick rule, hand-checked).
  • places propose reads the index, not the files (reading.owner_track): the owner's location points and the registered assets', the evidence that promotes a stay and the retracted ids are columns of index.sqlite now (subject, lat, lon, end; schema 5, so an older index is rebuilt once on the first reader), --since/--until are cut in the query, and the clustering runs from the rows — no month file is opened, however long the window, and the cost is linear in the points of the window (half a million lines over two years in four seconds, 2.8 million points in the window in under half a minute, on a small cloud box) where before every line of the window was parsed from the files. The only lines read whole are the Google Timeline visits, found through the index by their raw_id. Same output as before, pinned on the demo record (tests/fixtures/demo/places_propose.*); a generated two-year record of half a million lines asserts not one file is opened (LOGBOOK_SLOW=1). Along the way derive stays attaches evidence and matches an asset's track by binary search instead of a pass over the window per cluster, so a long window no longer grows quadratically; a stay aboard an asset is unchanged. The points propose clusters are the owner's and those of the assets assets.json names: a subject the registry does not name is not read, since nothing of the owner's can be aboard it.
  • logbook days [--from YYYY-MM-DD] [--to YYYY-MM-DD] [--json] (logbook/days.py, docs/day.md): a window of the record read back one line per day, composed from the Day of each (day.of_reading, the Day built from a reading the caller holds; day.health_rows, day.counts, day.health_text and day.distance_text exposed for it, the Day's own output unchanged). Each line: the date and weekday; where the night was spent (the night after: a named place, aboard <asset> or the coordinates with the nearest large airport's city, and the country when the night is away; in transit); the kilometres moved (every move that started on the day, the flights' included; aboard an asset, its passages); the flights (XY 561 OSL→ZRH); the stays (a stay or a run aboard an asset) with how many lines are attached across the day's rows; the people confirmed present; the health triple when the day has one; and a gap marker naming every usual source with no standing line that day — usual: with a line on at least four in five of the window's logged days, counted on the index in one aggregate (Index.source_days, new), so a tracker that fell silent is seen and a calendar that spoke once is not missed daily. The window is read in chunks of a month through one reading.read each (the chunk's days and the day before; the chunk's health lines in one indexed query), so a year is a dozen readings, never one per day, and the lines stream out as each chunk is read: a year of the demo record prints in seconds, the first line within one. Both bounds default to the days the owner's track covers. --json is JSON Lines, one object per day. Nothing is written.
  • logbook rollup health [--year YYYY | --since YYYY-MM-DD --until YYYY-MM-DD] [--by month|week] [--json] (logbook/rollup.py, docs/rollups.md): the health-sample/v1 lines (RFC 0014) summed up per calendar month, or per ISO week (2026-W23) with --by week — sleep (the mean of the nights' hours and how many nights had a line; a night the asleep stages of the night that ends on the day, per device the union of their spans, the longest device, rules 4 and 5), steps (the mean of the days' counts and how many days; a day the larger device per quarter hour, summed), resting heart rate (the mean, lowest and highest of the days' rates in bpm, and how many days) and HRV when the record has any (the mean of the days' SDNN in ms, and how many days). A correction that supersedes a line wins, the latest when a line was corrected more than once; a retracted line is out. Units as stored: a resting rate in count/s is read in bpm (×60), one in bpm or count/min as it is. Every month or week the window touches is a row, and a field no day of the period has a line for prints an em dash and is null under --json, never a zero. The window is clipped to the first and last day with a health line and read through the index alone, with no reading of the track. Under --json every number carries the ids of the lines it came from. --by is refused for any other kind. docs/rollups.md is new: every rollup in one page.
  • logbook/health.py (stats --health, the Day's health line, rollup health): the day rows carry hrv, the mean of the day's heart-rate variability readings in whole ms (stats --health --json and the Day's JSON gain the field; the tables are unchanged); a resting reading is read in the unit its line states (count/s ×60 to bpm), where before the value was taken as bpm whatever the unit; of several lines that supersede the same line the latest stands and the earlier corrections are out with it, where before every correction stood.
  • logbook rollup places [--year YYYY] [--with] (docs/rollups.md): every named place and asset now carries its nights — the days whose overnight stay is there — beside its stays, hours, first and last visit and company; and each year lists the top five unnamed clusters, the owner's stays at no named place grouped as places propose groups them (300 m) and ranked by hours, each under the stay id places name takes, with its label (the coordinates; aboard <asset>; near <place>, x km within 5 km; else the city of the nearest large airport, the trips rule), its nearest named place, nights, stays, hours and company. Each person at a place carries their stays, days and nights there; a night counts for a person when the evidence that put them at the stay is dated the night's day, so dinner on the 16th is that night together, not every night of the stay. --with is the place × person table — one row per person per place, stays, days and nights — printed as a table and, under --json, as with per year; it goes with places only.
  • logbook rollup people [--year YYYY]: the confirmed set of the with module only. A tagged face and an all-day entry's attendee are proposals and no longer a listed person, a counted line or a proposed number: a person the record knows only by a face is not in the rollup (the Day and the pages still propose them); the owner is never listed. Each person gains nights together (the --with rule) and stays shared; an unnamed shared place reads with its city or its nearest named place instead of bare coordinates. unresolved keeps the confirmed names the record resolves to no person.
  • present.Evidence: the window's evidence lines (events, transcripts, notes, photos) bucketed by every local day their span touches, so the company of a stay is one lookup over the lines of its days and never a pass over the whole window per stay or per place; rollup places and rollup people read through it, from one reading of the window through the index and one derivation of the stays.
  • logbook day YYYY-MM-DD [--json] (logbook/day.py, docs/day.md): one calendar day read back. The header — the date, the night before and the night after (a named place, aboard <asset> or the coordinates; home, away or in transit), the country of the day from the night's stay by the rollup countries rule (else the longest stay of the day), the day's all-day entries. The timeline — the owner's stays, stops and moves from derive stays that touch the day, clipped to it for display and keeping their real span, and the flights of the day from the flight/v1 lines standing (flights.standing, the merged set) as rows of their own with their evidence (tracked, inferred, declared); a run of segments aboard one asset is one stay aboard <asset> with the berth, the passage and the anchorage inside it, so the asset's movement never fragments the stay; a move with no points that lasts a silence or more and is not a flight is a gap, said so, and places nothing. Under each row its attachments, named for events, transcripts, notes, mail threads, calls and keepers and counted for messages and photos, and with, the people there split into confirmed (a note's declaration, a transcript's speaker, a timed calendar entry's attendee) and proposed (a face, an all-day entry's attendee), never the owner; a move carries attachments but no company. Then the lines inside no row (unplaced: the calendar's plan where the track has nothing), the health line (sleep hours, steps, resting heart rate) and the sources with their newest line's time, so a tracker's silence is seen. Read through the index from one reading.read of the day and the day before; nothing is written, not even policy/stays.json. Under --json every row carries the ids of its lines.
  • present (the with module): an all-day calendar entry's attendees are proposed (confidence 0.3), never confirmed — the entry names no hour; and only when the entry is located at the stay (its coordinates or a named place within 1 km), since an all-day entry with no location overlaps every stay of its day and places nobody at any one of them; present and company take owner (present.Owner, built by owner_of from owner_id and owner_emails in logbook.json, policy/owner.json and the resolution lines) and never list the owner as company.
  • logbook/health.py: the stats --health summary (sleep, steps, resting heart rate per day, RFC 0014 rules 4 and 5) moved out of the CLI so the Day shares it; a health line another health line supersedes (a repair health-units correction) is out and the correction stands, as a retracted line already was; each row carries the ids of the lines its numbers came from (stats drops them).

Commands

  • logbook add <folder> walks into subfolders — four levels down and no further — so a whole Takeout root reaches My Activity/<product>/MyActivity.json and YouTube and YouTube Music/history/*.json, which a one-level walk never saw. A folder an adapter reads as a whole (Google Pay/, Keep/, the root that holds Google Photos/) is handed to it and the subfolders that adapter also claims are left to it, so nothing is read twice; every other subfolder is walked the same way. A file no adapter reads is counted, not named, unless --verbose (new) is passed; a file given on the command line is still named and still exits 2. The folder's last line names each folder something was read from, relative to the one given: Takeout: read 3 folders — Google Meet, Google Pay, YouTube and YouTube Music/history; 12 files with no adapter (--verbose names them). cli.FOLDER_DEPTH is the bound; hidden files and folders are never exports.
  • logbook backup DEST [--keep N] [--verify], logbook backup list DEST and logbook backup restore SNAPSHOT TARGET (logbook/backup.py, docs/backup.md): the record copied to another disk and verified there. A snapshot is DEST/<owner_id>/<timestamp>/ (UTC, 2026-06-02T071500Z, sortable, no colon), the record's files at their own paths — logbook.json, every file under logbook/, policy/, places.json, assets.json, attachments/, notes/ — and never index.sqlite, inbox/ or state/. A file whose size and modification time are those of the same path in the previous snapshot is a hard link to it, as rsync --link-dest does it, so every snapshot after the first costs the bytes that changed and is still a whole record on its own; a filesystem that refuses the link gets a copy. The copy is pure Python and streams a chunk at a time. It is written under .<timestamp>.partial, verify runs on it by the files alone, its head must be the head logbook.json named when the copy began, and only then is it renamed into place: a copy that does not verify, or a record a line was appended to while it was copied, is removed and the command exits 1 saying so; --verify also hashes every attachment in the copy against its name (SPEC §1.1). --keep N prunes the oldest snapshots of this owner to N after the new one verified. A destination inside the record, or under a folder a sync client owns (doctor.cloud_folder: iCloud Drive, Dropbox, OneDrive, Google Drive), is refused before anything is written, exit 2. backup list DEST shows each owner's snapshots oldest first with the lines and head their logbook.json claims, the size, and the bytes not shared by a hard link with an earlier one; it needs no record. backup restore SNAPSHOT TARGET copies — never links — into a folder that does not exist or is empty, never over anything, verifies the result and prints its head; the next reader builds the index. docs/backup.md carries a launchd agent and a systemd user timer for a nightly run beside sync --install-schedule's.
  • logbook tasks [--open] [--propose-done] [--json] and logbook tasks done <id> [--evidence LINE-ID] (logbook/taskdone.py, docs/tasks.md): the record's tasks read back, every task/v1 line (RFC 0016) as the task it describes — per source id (the raw_id before its last @) the standing snapshot with the newest suffix is the task's state, a retracted line out — with its day, status, due day, list and a sixteen-hex id that is a digest of the source id, the same for every snapshot. --propose-done asks, for each open task, whether the record says it was done: within the fourteen days after the task's at, a mail/v1 subject that carries one of the task's key nouns and confirms something (confirmation, booking, receipt, Bestätigung, Rechnung, as a word or inside a compound) or that the owner sent, an event/v1 title that carries a noun for a task that is an appointment (call, meet, anrufen, a Termin), repeats the task's verb or carries two nouns, or a transaction/v1 merchant that carries a noun; the key nouns are the title's content words in English and German (articles, prepositions, pronouns and the verbs of a task set aside), compared case, accents, English plurals and German compounds aside (Zürich/zurich, Tromsø/tromso, flights/flight, Flug/Flugtickets). By rules alone, no model, no network. Each proposal prints the task, then the evidence's day, time, kind, text, the words shared, ×N sources when several calendars carry the one entry, and the evidence line's id; a received mail that confirms nothing, a line sharing only the task's verb, a calendar entry sharing one place name with a task that is no appointment, and anything before the task or after the fortnight are not proposed. done <id> appends one task/v1 line and nothing else: source manual, tier 2, raw_id <source id>@<now> (the newest snapshot, so --open and --propose-done leave the task out), the title, due and list carried over, status done, completed_at, modified_at, supersedes the snapshot it replaces and extra.evidence the line id when one was given; an unknown task or evidence id is refused with status 2, a task already done is left alone. The matcher is a value — a name, a version and __call__(task, candidate) -> Evidence | None — so the promises judge's engine can replace the rules without changing the report, the ids or done. Index.by_id looks one line up by its id. Synthetic fixtures: a booking confirmation, a German Buchungsbestätigung, a call in two calendars, a payment at the marina, and the look-alikes that must not match.
  • logbook sync --all: every configured live source in turn — configured: at least one of its ENV variables set and its configure taking the environment — each from its own watermark, a source the owner disabled (policy/import.json) or one with no variable set skipped and said so; a failure in one (its exit status, or an error its adapter let through) is said on stderr and never stops the next. Each source prints its summary as it runs; then one line per source (ok, failed (status 1), skipped (LOGBOOK_GRANOLA_KEY not set)) and exit 1 when any failed. A Ctrl-C while a source listens to a stream (ais, status 130) ends the run there, the sources not reached listed as not run, status 130. --dry-run passes through; --since, --listen and --until are a single source's and refused with --all. logbook sync --install-schedule / --uninstall-schedule (logbook/schedule.py, README): sync --all at 07:00 and 19:00 local by the machine's own scheduler — a launchd agent on macOS (~/Library/LaunchAgents/org.logbook.sync.plist, StartCalendarInterval), a systemd user timer on Linux (~/.config/systemd/user/logbook-sync.{service,timer}, $XDG_CONFIG_HOME honoured, OnCalendar=*-*-* 07,19:00:00, Persistent=true). The plist or units are printed before they are written; nothing is written outside that one directory; the agent runs the interpreter that installed it (sys.executable -m logbook.cli) and carries LOGBOOK_HOME for the record found at install time; a live source's keys are never written — both read ~/.config/logbook/sync.env (KEY=value, the owner's file) at run time, so the schedule is harmless until the file exists. The scheduler is then told (launchctl bootstrap, systemctl --user enable --now); when it is not on PATH the command to run is printed; a scheduler that refuses is exit 1 with its words, the files left for a retry. Any other platform exits 2.
  • logbook digest [YYYY-MM-DD] [--json | --markdown] (logbook/digest.py, docs/digest.md): the day in 25 lines at most, what the owner reads of it in the evening, composed from the readers and deriving nothing of its own. The Day's shape in three lines — where (the stays in order, a run aboard an asset as aboard <asset>, and the night after: at home, away or in transit), with (the people the Day confirms, and how many are only proposed), attached (the counts across the day's rows, and how many lines fell inside no row); the flights of the day, three at most and +N more; the open promises due on the day or within seven days after it from the promises reader (promises.extract; a report that carries a judged set, the ids a judging reader holds to be promises, is narrowed to those — digest.due_promises), three at most; the usual sources with no line on the day by the sources --gaps rule (gaps.report with the day as since and the usual sources of the fortnight expected, days.usual_sources), one line; tomorrow's timed calendar entries from the event/v1 lines standing, folded as the Day folds them, with the attendees the record names, three at most; and, last, one closing question the owner can answer in a word, by the first rule that applies — a day with no line asks whether the missing usual source was switched off, else where you were; a night in transit where you slept; a person proposed and confirmed nowhere whether they were with you; a calendar entry inside no row whether it happened; a missing usual source whether it was off; a promise due by the day whether it is done; else Anything to add? — so the day closes itself (ADR 0005). The 25 lines are a hard limit (digest.LIMIT): the parts are capped and digest.fit cuts from the middle, never the header or the question; the JSON holds the whole sets and says how many lines the text has. --markdown prints the same lines as a heading, a bulleted list and the question in bold. Nothing is written, not even the settings file; nothing is sent — delivery is a later decision. A day after today in the record's zone is refused.
  • logbook people [--year YYYY] [--json] and logbook person <name-or-ref> [--year YYYY] [--json] (logbook/people.py, docs/people.md): everyone the record's resolution lines name as a person (RFC 0006), never the owner, and what the record knows of each. Per person: the channels they come through, each with its lines, first and last day, highest tier and last line — messages (a message/v1 they sent, and one the owner sent in a direct chat with them: attributed to the one person who wrote in that chat, else to the person the chat's id names, a WhatsApp JID being a phone number; the owner's lines in a group name nobody), calls (answered or not), mail (from them or to them, by address), calendar (an entry they attend and did not decline, timed or all-day), transcripts (a participant, by ref or by a spoken name the record labels one person by), faces (a tagged face, through the library's person id); first and last contact over every channel; the days together, the with module's confirmed set (the rules of trips and rollup people: a tagged face and an all-day entry are proposals, not a day together); the nights under one roof (the nights whose overnight stay the person was confirmed at on that day); the places shared, by days there, labelled as the rollups label a stay; the birthday when a standing resolution line of one of their refs carries extra.birthday (YYYY-MM-DD or --MM-DD); and the last real contact — the latest message, answered call or day together, with how (message, call, meeting); a mail is a channel and never a real contact, a newsletter being a mail too. The tier of a person is the highest tier of their evidence, the resolution lines included; the report's is the highest of its people. people is one row per person with evidence in the window, most days together first; person is one page — the same numbers, then the shared days, most recent first, each with where, the evidence and night when the night was spent under one roof — found by label, a unique first or last name, entity id, address, phone number or kind:value; several, nobody or the owner exit 2. The window is the record's days of any kind, or --year clipped to them. Read through the index and nothing else: the resolution and retraction lines whole, the owner's stays and nights from the index's columns (reading.owner_track), and the six kinds streamed one at a time over the window (Index.of_kind now takes local-day bounds), each line read once and kept only when it names someone; a retracted line and one another line of its kind supersedes count for nothing. Synthetic fixtures: the Oslo persona's circle of twelve (tests/circle.py).
  • logbook people merge [--propose | --apply ID... | --export-review FILE | --apply-review FILE] [--json] (logbook/people_merge.py, docs/people.md): the same person named twice or more by the resolution lines (RFC 0006) — the phone's address book, a Takeout export and a name given by hand to a calendar attendee, a mail sender or a transcript speaker each mint their own entity — proposed with the evidence and never merged on its own. Every person entity, never the owner, is a candidate with every ref that resolves to it through the alias walk; two are one person when a phone meets (the same E.164 number: a phone ref as written, one entered without a country code read with LOGBOOK_DIAL_PREFIX as the adapters read it, or a WhatsApp JID handle), an email meets (case aside; a handle that is an address counts), or the names are one name — the same words in any order, case, accents and punctuation aside, or a first name spelled by its initial, two words at least, never a word one letter off — and both are heard on one of people's channels; a name alone is never enough. Matches join into one proposal; the primary is the candidate with the most refs, then the most lines heard, then the one minted first; the id is a digest of the entity ids, stable across runs. --apply appends, through Logbook.append and nothing else, one resolution/v1 alias line per ref of a secondary whose own line names it (alias_of the primary's ref, a phone before an address; source manual, method owner, supersedes and evidence the lines replaced, logbook_head, and under extra the proposal id, the two entities and what matched), so the ref and every ref already aliased to it resolve to the primary through the ordinary walk that people, person and the with module take (a chain that would pass MAX_HOPS gets its own line); nothing is retracted, no raw line is touched, and an unknown id exits 2 before anything is written. --export-review writes one CSV row per (proposal, secondary) with an empty apply column; --apply-review merges the rows marked yes, says and skips a row already merged, and refuses a row it cannot place before writing. Synthetic fixture: four people duplicated across five sources, with the near misses that stay apart (tests/duplicates.py).
  • logbook mcp [--root DIR] [--allow-tier-3] and logbook mcp --inspect (logbook/mcp_server.py, the optional extra openlogbook[mcp], docs/mcp.md): the record served to an MCP host on this machine over the process's own stdin and stdout, and nothing else — no TCP, no socket. Nine read tools answer as the commands' --json does — day(date), days(from, to), trips(year), places(), people(), person(name), promises(open), gaps(since) — and search(text, since, until, kinds, limit) finds, through the index, the standing lines of a window of local days and a list of kinds whose payload mentions the text, case aside; two write tools go through Logbook.append and nothing else, add_note(text, at?) (one note/v1 line, tier 2, as logbook add) and promise_done(id) (one task/v1 line, as logbook promises done). Every tool's output passes the crossing gate of ADR 0016: policy/crossing.json names an mcp destination (init writes {"max_tier": 1}; a file that does not name it is a ceiling of 1, policy.mcp_ceiling, the one destination with a default), read on every call and never written; a line above the ceiling is left out of every reading before anything is derived from it (a GatedIndex filters every line, row and aggregate the index serves, so a tier-2 note is in no Day, page, rollup or search at max_tier 1), the answer carries gate.withheld, the count of lines left out, and a retraction passes whatever its tier so a retracted line stays hidden. Tier 3 crosses only when the policy allows it and the server was started with --allow-tier-3. A read appends no crossing line. --inspect prints the tool table and one sample request, with neither a record nor the extra. Tests drive the server through the SDK's in-process client over the synthetic persona; no socket opens.
  • logbook inbox list [--json] and logbook inbox clean --to DIR | --delete [--dry-run] (logbook/inbox.py, adapters/README.md "Delete after import"): every file under inbox/ with its size, the import that consumed it and whether every line it produced is in the record; then moving what is imported in full to DIR (an external disk, the path under inbox/ kept) or removing it, refusing — with its reason — a file nothing imported, one changed since, one imported into another record and one already at DIR, and printing the freed size. A run of add (each file) or import-backup (each source's folder) that reaches its end now appends one entry to state/imports.jsonl — the input, the adapter, lines produced and appended, the seq span and its last hash, the record's owner_id, the input's size — bookkeeping and never the record; a run that stops early records nothing. A store's -wal/-shm sibling is taken with its store by name; a backup's copies.json and Manifest.db go when every other file of their folder has. add and import-backup end with one line saying the input can be cleaned.
  • logbook add <export> --dry-run (any file adapter, named or sniffed, a folder or a file; a .jsonl of drafts too): runs the adapter and prints would add N lines from <adapter> (M already there); dry run, nothing written — the lines append_many would write and those it would skip as already in the record by the same (source, raw_id) rule, a repeat in the stream counted once, through one query of the index — and what the adapter skipped, as a real run does; nothing is written, not a line, the index or logbook.json. A sentence or a declared flight with --dry-run exits 2: each is one line, written or not. (sync --dry-run already existed; add had none.)
  • withings reads the account's data export (logbook add withings <folder>, the CSVs of Download my data, or one of them; logbook add <folder> recognises it): the scale's standings from weight.csv, one health-sample/v1 line per quantity — weight, fat_mass, bone_mass, muscle_mass, body_water, and body_fat_pct or bmi when the export carries them; pounds converted with the entered value under extra.original —; the cuff's pulse from bp.csv as heart_rate with extra.systolic_mmhg and extra.diastolic_mmhg beside it (blood pressure is no type of the profile, rule 8); each night of sleep.csv as an in_bed span with the export's totals under extra; from the raw_<device>_<measure>.csv files the sleep stages as spans, one per run of equal states (0 awake, 1 light → core, 2 deep, 3 rem), heart rate capped at one reading a minute per device, and steps, distance and calories earned in quarter-hour UTC buckets per device (rules 2–4), device the export's own word (tracker, bed); each row of activities.csv as a workout span with the type, steps, calories and distance under extra; height, elevation and the aggregates_* daily totals counted, never mapped. Columns are found by header, so one the reader does not need may be missing or renamed; a file without one it needs is counted. A naive clock is read in the record's zone; raw_id is the instant, so a later export appends nothing. Tier 3. docs/adapters/health.md is new: the three health adapters, the exports' files and columns.
  • myfitnesspal reads the account's CSV export (logbook add myfitnesspal <Nutrition-Summary-…csv>, sniffed too): one energy_intake line per meal per day, value the calories as the export summed them, a span over that local day with extra.all_day (rule 10), the meal, every other numeric column slugged (fat_g, carbohydrates_g, protein_g, sodium_mg, saturated_fat … as the export names them, water_ml when it carries water) and the note under extra; raw_id energy_intake:<date>:<meal>. Date, Meal and Calories are needed, a file without them counted; a row without calories or with an unusable date is counted.
  • A later export that corrects a sample supersedes the line in the record (RFC 0014 rule 12, new; logbook/adapters/health_export.py): logbook add hands an adapter whose run takes existing the record's standing lines by (source, raw_id), batched through the index (Index.lines_of, new), and a draft whose sample differs from what stands — value, span, stage, device, unit or extra — is written with raw_id suffixed :v2 (:v3 … when corrected before, the suffix repair health-units uses) and supersedes the id of the line it replaces, counted corrected; one equal to what stands appends nothing. Nothing is rewritten; health.standing already follows supersedes. withings and myfitnesspal take it, from their stores and their exports alike.
  • logbook add <file|folder> --dry-run (and add <adapter> <path> --dry-run): the adapter runs, and what would be added, how many of its lines the record already has (the dedupe append_many would do, one batched query of the index) and what was skipped are printed; nothing is written, not a line, not a correction. With a sentence or a declared flight it exits 2.
  • logbook sources --gaps [--since YYYY-MM-DD] [--expect SOURCE...] [--json] (logbook/gaps.py): where each source went quiet, from the index alone (Index.activity: three SELECTs over its columns, one a window query for the longest stretch between consecutive lines; nothing read from the files, however long the log). Per source with lines in the range: the lines, the last line's time, the longest silent stretch (between two lines, from the range's start to the first line under --since, or since the last line and still running, since 2026-09-20 21:00) and the local days with no line, folded into runs (2026-09-21..2026-09-30). The range is each source's first day to today in the record's zone, or --since; a line dated after today (a calendar's future entries) is outside it; today is a missing day only once the source has been silent a full day. --expect shows only the named sources, a source with no line among them (no lines), marks one silent a day or more at any point of the range with !, and exits 1 when any is marked, so a cron job can say so. Every line counts, retracted or not. --since, --expect or --json without --gaps, a malformed day or one after today exit 2. The plain sources listing is unchanged.
  • logbook assets status [--json] (logbook/asset_status.py): per asset of assets.json, in registry order, its last known position and how old that fix is — the local time of the fix, lat,lon to four decimals, near <place>, x m|km for the nearest named place of places.json within 5 km (a berth, a harbour, the cabin's jetty), the speed in m/s when the line carries speed_mps, and 3 days 4 h ago; no fix yet for an asset the record has never placed. The fix is the asset's standing location/v1 line with the latest at whose subject is its id (RFC 0001, ADR 0018), the latest by time, not by order of writing; a retracted or superseded line never counts. Found through the index: index.sqlite gains a subject column and a (subject, at) index (schema 4; an index built by an earlier schema is rebuilt once, by the first reader, as before), so the lookup is one SELECT per asset and one line read from the files, whatever the size of the owner's own track. Under --json each asset carries its registry entry and fix (at, lat, lon, speed_mps, near {name, m}, age_s, line) or null. Nothing is written.
  • logbook doctor (logbook/doctor.py): is this machine set up to keep the record? One line per check, pass, warn or fail, a summary, and exit 1 when anything fails; it reads and never writes, not even the empty settings file a reader would create. The checks: the record is found and verify is green with logbook.json at the head (not found, not intact or logbook/0.1 is a fail naming what to run); index.sqlite is current, read through a read-only connection so a build in progress is never discarded (missing or behind is a warn); policy/owner.json is there and names at least one alias (missing or empty a warn, not JSON a fail); places.json names a place of kind home (none a warn, with the places add line); assets.json is a registry when it exists; each optional extra, ais, encrypted and transcribe, is installed, found without importing it, with pip install "openlogbook[<extra>]" when not; for every live source the record uses — a state/<name>.json watermark, or lines of that source when the index is current, never one policy/import.json disables — the variables its adapter reads are set, by name only and never a value, and one the adapter refuses says to run logbook sync <name> rather than echo it; free space on the record's volume (under 5 GiB a warn, under 512 MiB a fail); and the folder is not one a sync client owns — iCloud Drive (iCloud Drive, Mobile Documents, com~apple~CloudDocs), Dropbox, OneDrive (the folder name or Windows' OneDrive variable) or Google Drive — by any part of the path as given or resolved, a fail with the reason. README, "Where to keep the record".
  • logbook sync ais --listen SECONDS and --until HH:MM (logbook/adapters/ais.py): one long sitting at the aisstream.io websocket instead of a 60 s window per cron run. --listen is the window in seconds, --until the record's local time the clock next shows (later today, else tomorrow; a window across the night the clocks change is the hours that pass); without either, LOGBOOK_AISSTREAM_LISTEN_S as before. While it listens: one line a minute on stderr with the messages heard, per asset (8 reports in 120s (solvind 7)), quiet socket or not; a socket that drops, or a reconnect that fails, is tried again after a wait that doubles from 1 s to 60 s and starts over once a connection delivers, the subscription sent anew each time (said on stderr, counted as reconnected N times); a refused key is never retried. Ctrl-C ends the listening, not the run: what was heard is written in time order, the summary printed, and the exit status is 130. The key comes from LOGBOOK_AISSTREAM_KEY only and is in no line, notice or error. The flags are refused for a source that does not listen, and --listen with --until.
  • logbook promises [--since YYYY-MM-DD] [--open] [--json] and logbook promises done <id> [--note TEXT] (logbook/promises.py, docs/promises.md): the commitments the record's own words suggest, proposed and never asserted. One proposal per sentence of a standing transcript/v1 or note/v1 line (retracted and superseded lines left out) that carries a first-person future or obligation cue in English or German — I'll, I will, I'm going to, we'll get back, I promise, I need to, I have to, I must, let me (not let me know); ich werde, ich schicke, ich melde mich, ich kümmere mich, ich rufe, ich muss, wir müssen — not negated right after it (I will not, ich werde nicht) and not a question; by rules alone, no model, no network. Each carries the local day and time of its line, the origin line id, the speaker when the transcript resolves one (the turn's label matched to participants, their refs to a person through the resolution lines, RFC 0006; me and the owner's names are you, as is every note; Speaker A stays as spoken with no person), the sentence as written, and a due hint with a ? when a date phrase is in it, resolved against the day it was said (a weekday is the next one strictly after; next week its Monday; this week and end of the week the Friday on or after; tomorrow, morgen, tonight, in two weeks, next month, by June 20, bis 20. Juni, bis zum 20.6., the 5th). A transcript's text is read from the attachment store by media type (WebVTT, SRT, Granola's JSON segments, Speaker: text prose, plain text) through the file adapter's parsers; one whose text is not in the store is counted and skipped. The proposal id is a sixteen-hex digest of the origin line and the quoted sentence, so it is the same on every run and for any extractor that quotes the same sentence. --json is the report: extractor, skipped, and every proposal with id, status, closed_by, day, at, line, seq, kind, source, title, speaker, direction (owed_by_owner, owed_to_owner, null), certainty inferred, language, cue, class, quote, due. done <id> appends one task/v1 line (RFC 0016): source manual, tier 2, the sentence as title, status done, the due hint as due, completed_at, list promises, the --note as notes, raw_id promise:<id>@<time>, and under extra the promise id, origin, speaker and extractor; --open hides a proposal whose latest standing task line is done or cancelled; a second done writes nothing and says so; an unknown id is refused. The extractor is a value — a name, a version and __call__(text) -> list[Match] — so a later local-model pass replaces the rules without changing the command, the report, the ids or done.
  • logbook transcribe voice-memos [--since YYYY-MM-DD] [--model NAME] [--dry-run] [--fetch-model] (logbook/transcribe.py, docs/adapters/voice-memos.md): the local transcription step RFC 0023 leaves to later. One transcript/v1 line (RFC 0004) per standing voice-memo/v1 line whose audio is in the attachment store and that has no transcript yet, in time order, appended as each is heard, so an interrupted run keeps what it did and the next carries on. The line's raw_id is the memo's own, so a memo is transcribed once however often the command runs (ADR 0017); source is transcription whatever engine heard it; provider the engine; payload.provenance {source, engine, model} with source the memo line's id; extra.recording the memo's raw_id; language detected on the first chunk and asked of every later one; the text one segment per line as a text/plain attachment, never inline; at, end, tz and title the memo's; tier 2, or the memo's when higher. A retracted memo, and one another line supersedes, is left alone, and the transcript never carries supersedes. Long recordings are heard in ten-minute windows. Engines, as the optional extra openlogbook[transcribe]: mlx-whisper on Apple silicon, else faster-whisper, found at run time and imported only then; neither installed is one clear message. Nothing leaves the machine: the Hugging Face hub is told it is offline for the length of the run, so no socket is opened (a test refuses every socket while a fake engine hears a two-second synthetic WAV); a model not on this machine stops the command, and --fetch-model is the one explicit download. --dry-run lists and needs no engine. --model is a Whisper size (default small) or a repository.
  • logbook demo --days N --seed S --out DIR (logbook/demo.py): a complete synthetic record to try every command on, invented in code and read from nowhere. The Oslo persona, Ines Nordmann, who does not exist, lives a four-week story that repeats for as many days as asked: an office week with a cabin weekend; Zürich for a client, out on a tracked flight (flighty, XY 561) and back on one the record infers from its own calendar entry and location points (flight-inference, XY 562, written as logbook infer flights would, so the command finds it already there and merges the other three); a week aboard the yacht Nordlys with the boat's own AIS track as a subject (assets.json, MMSI in the 970xxxxxx test range), so the nights read aboard and the trip is an asset trip; Copenhagen, out tracked (XY 571) and back declared (manual, XY 572). Around it every profile: location, event, message, transcript (the text in the attachment store), note, photo with favourites and an Art album (keepers follow), call, mail, task, browse, watch, listen, trip, highlight, voice-memo (a digest, no audio), health samples (sleep stages past midnight, steps in quarter hours, resting and ambient heart rate), transaction, and the resolution lines of a circle of twelve fictional people; places.json names Home (with its country), Office, Marina and Cabin and leaves the hotels and the anchorages for places propose. Phone numbers are in the UK reserved range 07700 900xxx, emails at example.org, the airline is XY, registrations ZZ-. The record is a function of (days, seed): ids, timestamps, GPS noise, step counts and every text come from one seeded generator and a fixed first day (Monday 1 June 2026), so the same arguments give the same head anywhere. Thirty days is 12,772 lines. docs/try-it.md, Five minutes with a demo record, walks every reader over it; the README's quick start begins with it; docs/demo.tape records it.
  • trips: a night named by its nearest large airport drops the part after a comma as well as the airport words, so a night off Sandefjord reads Sandefjord, not Sandefjord Airport, Torp.
  • trips, "with": the owner is never their own company — present.owner_of gathers owner_id and owner_emails from logbook.json, every resolution line that names those, every label they carry, and the record's new policy/owner.json ({"names": [...], "emails": [...], "phones": [...]}, your other spellings; init writes it empty and an older record gets it on the first reading). A calendar attendee counts only for a timed entry held at the stay: its location geocodes within 1 km of the stay's centre (coordinates under extra.location, or a location naming a place in places.json), or it has no location and overlaps the stay by more than an hour; an all-day entry places nobody and a located entry the record cannot place does not count. A transcript participant counts only when the record resolves them to a person (Speaker A, me, them, Unknown are nobody). An attendee that does not resolve and has no display name is dropped, and a calendar system address (calendar.google.com, noreply, reservations@, invite@) is never a person. At most twelve names, most evidence first. The same rules reach show place, show asset, show person and rollup people, which share the with module. (A real record listed the owner, a hotel's reservations address and a diarization label as company.)
  • trips, the night rule: a night whose stay centre is within 400 m of a place of kind home is a night at home whatever that place's radius, so a guest room across the street makes no one-night trip and a trip never starts or ends with such a night. rollup nights counts it as home too.
  • trips, the route: a stay is its named place; else a large airport's name only when the stay is within 2 km of it (it was the nearest within 100 km, so a hotel read as the city); else its coordinates, with near <place>, x km for the nearest named place within 5 km. Consecutive route points within 200 m of each other fold into one. trips.route_of is the pure function.

Docs

  • scripts/bench_seal.py and docs/rfcs/bench-encryption-2026-10.md: the benchmark the encryption draft's open question 1 asked for, and its results. A 3,000,000-line synthetic record shaped like the stress tests (1,000,000 tier-1 points, 1,000,000 health-sized tier-3 lines, 1,000,000 message-sized tier-2 lines over ten years of month files) is written plain and sealed per line in the draft's Option C layout (sealed/v1 reference in payload, payload_enc beside it, outside the hash) with age X25519 through pyrage to one and to two recipients, and with the §9.1 record data key (ChaCha20-Poly1305) for comparison; measured: the seal step per line, opening per line, keyless and keyed verify, index rebuild with opening, bytes on disk per line and in all, and the peak memory of each phase in a subprocess of its own. The script is a pure benchmark run with uv run --with pyrage python scripts/bench_seal.py (--quick for 300,000 lines); pyrage is not a dependency. .github/workflows/bench.yml runs it on the three CI runner sizes by hand only (workflow_dispatch), never on push. No product code changes.
  • docs/audit-2026-10.md: the audit of the repository as of 3 October 2026 — the sizes, the 46 commands, the two adapter registries, which profiles are written and which are read, the duplicate RFC numbers, what the test suite guards and what it pins, what each extra installs — every number from a command in its appendix, and the three decisions the owner took on it (46 commands become 22 with hidden aliases; the read profiles freeze for v1.0, the written-but-unread ones park, commitment/v1 and commitment-close/v1 go, trip/v1 becomes journey/v1; one package openlogbook in three tiers, core, contrib, labs). On the docs site under Roadmap.
  • The repository reads in ten minutes: the README is a landing page (the long form moved to docs/tour.md), docs/index.md lists every page in one line each, docs/release-notes.md says what 0.5 and 0.6 changed for you in five bullets each, SECURITY.md carries the threat model on one page (tiers 2 and 3 are marked, not yet encrypted), CONTRIBUTING.md has one way to do each thing, and the issue templates ask for a synthetic reproduction, an adapter's export and tier, or an RFC's schema and example. The stale version and phase strings are gone.
  • RFC 0031, Profile freeze for v1.0 (docs/rfcs/0031-profile-freeze.md, draft): every payload profile sorted by one rule computed from the code into frozen (read by a reader, a rollup or a derive command: 19), parked (written by an adapter, read by nothing: 7) or deleted (commitment/v1 and commitment-close/v1, written and read by nothing: 2), with what each word binds, the trip/v1 → journey/v1 rename for new lines with no migration, how a parked profile gets frozen, the unresolved questions and the five pull requests that carry it out. The letter to builders, docs/letters/2026-10-04-the-freeze.md, says what the freeze gives, costs and asks. Docs only; nothing in the code or the spec changes until the RFC is accepted.

Tests

  • tests/test_fuzz_readers.py (hypothesis): every reader — show, day, days, trips, derive stays --dry-run, infer flights --dry-run, every rollup, places propose, keepers, sources --gaps, promises --all, assets status, doctor — runs on logbook demo records of any seed and length, in any date window, and exits 0 with well-formed output (valid JSON under --json), never a traceback. The record is reshaped in spec-legal ways before append_many writes it: optional payload fields left out (the MAY rows of each RFC table), a string chat (SPEC §3.2), a tz the host's zone database lacks (§2), a day with only tier-3 lines; and an empty month file after. Eight short cases run in CI; the long ones are slow (LOGBOOK_SLOW=1). A failure names the seed, the days, the reshapings and the command.

Housekeeping

  • Changelog fragments: a pull request adds changelog.d/<short-slug>.md instead of a line in CHANGELOG.md, so parallel pull requests no longer conflict on it. At release time scripts/changelog_assemble.py X.Y.Z (stdlib only) folds the fragments, and the Unreleased block while one exists, into the new version section and deletes them. The changelog check fails a pull request that edits CHANGELOG.md or adds no fragment; the no-changelog label opts out. The release checklist is docs/releasing.md.
  • Property tests of the format (tests/properties/, the October 2026 audit): what SPEC.md guarantees, stated for any input and searched for a counterexample by Hypothesis — canonicalisation (§3, RFC 8785: idempotent, key order and stored whitespace aside, injective on values, 1 and 1.0 one number), the hash chain (§1, §3, §6: any sequence verifies, an append changes only the head, any byte flip of any line is rejected naming the line, a truncation reports the last good head), tiers (§4, ADR 0016: an export at tier t is exactly the lines at or below it, tier 1 carries no profile of tier 2 or 3 as SPEC.md's own table lists them, export then import is idempotent on the head), time (§2, §3.2: the day of a line is the local date in the record's zone, midnight turns the day, a DST transition leaves no instant without a day or with two, a duration is the real seconds elapsed), identity (RFC 0006: every spelling of a number or an address is one ref and one person, two identifiers never collide) and the attachment store (§1.1: store then load is the same bytes under their SHA-256, storing twice does not duplicate). The suite's Hypothesis profile is deterministic. The example tests these properties make redundant are gone. One property is marked xfail(strict=True): a month file cut inside a line makes verify report seq 0 and GENESIS, not the head of the lines before the cut.
  • A pull request that renames a command or changes a reader's output runs LOGBOOK_SLOW=1 uv run pytest tests/test_fuzz_readers.py once before it merges (CLAUDE.md, CONTRIBUTING.md and a box in the pull request template): the fuzz readers are slow-tier, which the pull-request CI tier skips, so #215 turned main red on 4 October and #217 fixed it forward.
  • The test suite imports the 0.6 paths (logbook.core.store, logbook.contrib.adapters, …), never the 0.5 ones logbook._shim keeps alive, and in the suite the shim's DeprecationWarning is an error, so no test drifts back to an old path; scripts/rewrite_test_imports.py (layout.MOVED, re-runnable, --check) is what moved them. The shims and docs/migration-0.6.md are unchanged.
  • The ruff hook in .pre-commit-config.yaml is the version CI runs (uv.lock), so the two agree on import order.

Profiles and spec

  • commitment/v1 and commitment-close/v1 (RFC 0007) are withdrawn by RFC 0031: nothing ever wrote or read them. They leave the tier table of SPEC §4 and the seed list in rfcs/README.md, and the promises reader's documents state their own rules instead of citing RFC 0007. No line, reader or command changes.
  • trip/v1 is written as journey/v1 for new lines (RFC 0031, ADR 0021): easypark, sbb and passages write kind journey, schema journey/v1; show formats both spellings the same way and search --kinds trip or --kinds journey finds both. Nothing is migrated: a trip/v1 line already in a record stays as it is. RFC 0020 carries the amendment and is marked parked · may change before v1.0.
  • One conformance fixture per frozen payload profile under conformance/profiles/<profile>/ (RFC 0031, SPEC §6.1): a one-line record, the line's canonical form and hash, the show row and the day and days JSON, generated by conformance/make_profiles.py and held byte for byte by the tests. The nineteen RFCs say frozen for v1.0 in their status lines.

0.5.0 — 2026-10-01

Profiles and spec

  • apple-health: resting heart rate and HRV are taken as the store keeps them — count/min and ms — no longer multiplied by 60 and 1,000 (a real store showed resting rates in the thousands); heart rate keeps its ×60 (the store holds count/s, the original count/min, checked row for row). Every mapped type's stored unit is now recorded in RFC 0014 ("Units as the store keeps them"), with what a record imported before this version shows and how to correct it.
  • stats --health: a night's hours are the union of one device's asleep spans (asleep, core, deep, rem), then the longest device; a source that writes the same night twice no longer doubles it (a real record showed 11–14 h nights), and devices are never summed. RFC 0014 rule 4 says so.
  • derive stays: a tracker that is silent while the owner is still (Dawarich) no longer breaks a stay into pieces — a gap whose next point is back inside the radius continues the stay whatever its length, so the move 10 m · gap rows are gone; a stay lasts until the tracker's next point when that comes after a silence of merge_gap_s or more and lies within a walk of merge_gap_s (walk_max_kmh, 1.2 km by default), so an evening at home with no points until morning is the night, not in transit, even when the first point of the morning is after the night window and already away; the reading hands the derivation the first point after the window for that. merge_gap_s now governs only an excursion: out of the radius and back within it is one stay. Settings note in the README and the module.
  • logbook repair health-units [--dry-run] (logbook/repair.py): the migration for a record whose apple-health lines carry resting heart rate and HRV in the wrong unit — per standing wrong line a corrected line (value divided by 60 or 1,000, raw_id suffixed :u2, payload.supersedes the old id) and a retraction (source logbook); idempotent; --dry-run prints counts and writes nothing. RFC 0014 adds supersedes to the profile and documents the migration; README "Upgrading" says when to run it.
  • RFC 0024, payload profile keeper/v1 (draft): one line per photo the captain marked a keeper — photo ({line, asset_id, library, file_name?}, the photo/v1 line it points at), at (the photo's capture time, so the keeper is on the photo's day), lane (memory, a day's hero photo, or art), source (where the mark was made: ios-photos, immich, manual), raw_id <photo line id>:<lane>. A keeper is the owner's act, never a reader's guess; unmarking is a retraction; a day's hero photos are its keepers.
  • Conformance: conformance/sample-logbook grows from 16 to 31 lines — the first sixteen unchanged, then one synthetic line of every profile added since v0.2, fourteen on the Sunday: a location with a subject (the boat), health-sample, call, browse, watch, task, mail (an attachment by digest, no path), listen, trip (a parking session with a price, tier 3), transaction, flight (evidence tracked), highlight, voice-memo (audio by digest, not stored) and crossing, then a keeper (RFC 0024) on the first photo's day. expected.json names the new head, 035a74e0…; the conformance README keeps the table of heads per release. make_sample.py writes bytes (no CRLF on Windows) and leaves the policies init writes out of the fixture.
  • SPEC §4 gains the table of default tiers per payload profile, repeating each RFC as merged (tier 1: location, photo, event, crossing, call, flight, trip, migration; tier 2: retraction, transcript, resolution, commitment, message, note, mail, task, browse, watch, listen, highlight, voice-memo; tier 3: health-sample, transaction), with MUST marked where the RFC says so and the SHOULD/--tier rule in one sentence; §5 points at rfcs/README.md for the list instead of the seven seed profiles. One disagreement, resolved in favour of the RFC: RFC 0004 says transcript/v1 SHOULD be tier 2, while RFC 0012 called it tier 3 and the transcript, granola and wispr-flow adapters write 3. The table says 2, RFC 0012's aside now cites RFC 0004, and the adapters keep writing 3 as a SHOULD allows a more careful producer (--tier 2 follows the RFC); no line's tier changes.
  • RFC 0014 health-sample/v1: types body_fat_pct (%), fat_mass, fat_free_mass, muscle_mass, bone_mass, body_water (kg), bmi (kg/m2), vo2_max (mL/kg/min), energy_intake (kcal); rules 9 (body composition is one line per quantity), 10 (a logged food is energy_intake; a day without a clock is a span) and 11 (a reading relayed from another app is skipped); a meal is now a health sample only as its energy.
  • RFC 0002 photo/v1: favorite, hidden and albums fields; a provenance rule for a library that records how an asset arrived; and the merge rule for one asset seen by several libraries — the same original file_name (ignoring case) and capture times within one second, folded by a reader as a union, never rewritten by an adapter.
  • RFC 0019, payload profile listen/v1 (draft): one line per listen — media track/episode, title, artist or show (and publisher) as the service spells them, never resolved, album, url, duration_s when known, played_s when the source keeps a playhead, published, service; raw_id the service's id with the time as spelled, so a track identified twice is two listens; a zoneless time (Shazam) is read in the record's zone. Tier 2. Listed in rfcs/README.md.
  • RFC 0018, payload profile watch/v1 (draft): one line per video watched or search made — raw_id <service>:<time as the export spells it>:<sha256(url, else title)[:16]>, action watched/searched, title (a search's query), url, video_id, channel {name, url?} never resolved, service youtube/youtube-music/…; an advertisement is never a line. Tier 2. Listed in rfcs/README.md.
  • RFC 0017, payload profile browse/v1 (draft): one line per page opened, bookmarked or saved — raw_id <app>:<time as the source spells it>:<sha256(url)[:16]> (no browser keeps a visit id across exports), url, title, action visit/bookmark/save, browser (the app that recorded it), transition (Chrome's page_transition lower-cased), folder for a bookmark, tags and status for a read-later save. Tier 2: reading is not public activity. Listed in rfcs/README.md.
  • RFC 0016, payload profile task/v1 (draft), written for every task app at once: one line per task — raw_id <source id>@<modified_at> (a snapshot per edit, as note/v1), title, status one of open/done/cancelled whatever the app calls them, due as a day (YYYY-MM-DD) when the source keeps a day only else an RFC 3339 instant, completed_at, list, notes, parent (a subtask is its own line), priority low/medium/high, tags, recurrence as RRULE text, modified_at, url; at the creation time when the source keeps it, else the last modification. Apple Reminders and TickTick fit the same fields. Listed in rfcs/README.md.
  • RFC 0020 trip/v1: one movement or metered stop by a paid mobility service — mode ride, parking, rental or transit, provider, from and to as the service's own place (name, address, code, operator, coordinates; never resolved), distance_m, price, status. A parking session is a trip with one place; a service that keeps only places last used writes a line with no end and extra.observed last_used. Producers: easypark (below); uber has none yet — the Uber app's container in an iOS backup holds saved places and the app's analytics, not the ride history, so the mapping waits for Uber's data export.
  • RFC 0021, payload profile transaction/v1 (draft): one line per movement of money as a financial app recorded it — raw_id the app's own id; amount signed from the owner's side (negative when money left, positive when it arrived), a number as the source stores it; currency (ISO 4217); merchant as the app shows the other side, never resolved; category as the app spells its own; date the day the app files it under; account; provider the app; status pending/posted; note; the app's type, recurring flag, original strings, a shared expense's total and member shares under extra. Kind transaction, tier 3 always (SPEC §4: money; --tier never lowers it). Listed in rfcs/README.md. Of the money apps a phone backup holds, Copilot keeps its whole transaction table and Splitwise every expense with its shares; Revolut keeps no transactions on the phone (profile, market news, a chat), so it has no adapter from a backup.
  • RFC 0015, payload profile mail/v1 (draft): one line per email message — raw_id the Message-ID without its brackets, prefixed by the mailbox address and a colon when the source knows it, else sha256:<digest of the message bytes> for a message with none; message_id; thread the first entry of References, else In-Reply-To, else the message's own id; from, to, cc, bcc as {email, name?} with the address lower-cased, the same identity a resolution/v1 email ref names and never resolved here; subject; date as RFC 3339 with the header's own offset (at is the same instant in UTC, tz the record's zone: a Date header has an offset, not a zone name); direction sent/received by the owner's addresses; labels as the mailbox spells them; body as plain text (text/plain, else text/html stripped, extra.body_from: html); size; attachments as {filename, media_type, sha256, bytes} — the SPEC §1.1 shape plus the file name, path only when the bytes are in the store — and account, extra.gmail_thread_id, extra.in_reply_to, extra.references, extra.decoding_errors. Tier 2 (SPEC §4: personal mail), lowered or raised only for a whole import. Listed in rfcs/README.md.
  • RFC 0014, payload profile health-sample/v1 (draft): one line per measurement — type (steps, distance, active_energy, basal_energy, flights_climbed, heart_rate, resting_hr, hrv, weight, sleep with stage, workout), value, a fixed unit per type, device as the store identifies it, source_name when the store names it; kind health, tier 3 (SPEC §4; logbook add --tier overrides). High-frequency counts are summed into 15-minute UTC-aligned buckets per device (raw_id <type>:<bucket start>:<device>), heart rate is capped at one reading per minute per device, sleep stages and workouts are spans; a line never sums across devices, a reader takes the larger device per bucket. Any other line is one store row, raw_id <type>:<data_id>, so a re-import appends nothing (ADR 0017).
  • RFC 0001 location/v1 amended, backward compatibly: an optional subject, the id of an asset in assets.json, absent meaning the owner; an asset's positions are its own track and a reader never merges them with the owner's. SPEC §3.2's run rule names the subject (no format bump, no hash change). ADR 0018, assets are subjects, not places: "aboard" is derived downstream, never written on a line.
  • RFC 0013, payload profile flight/v1 (draft): one flight the owner was on — date, carrier (IATA), number, from/to as {iata, icao}, scheduled and actual gate times (take-off and landing too when a source keeps them), aircraft {type, registration}, role (passenger|pilot), cancelled, diverted_to — and how the three producers meet: evidence is tracked (a flight tracker's export), inferred (the record's own calendar and location lines) or declared (the owner's word). A flight is keyed by (date, carrier, number); every producer observation is a line, and one that arrives for a flight already standing supersedes it with the merge — tracked over inferred over declared, field by field, the declared role always — listing every folded-in line under observations (logbook/flights.py: build, key, standing, merge, reconcile). Tier 1; a PNR is never kept. Two tables ship in the package: logbook/tables/airports.csv (OurAirports, public domain: the 1,150 large airports with scheduled service, IATA, ICAO, name, coordinates and an IANA zone assigned by scripts/make_airports.py, the only flights code that touches the network and only at development time) and logbook/tables/airlines.csv (IATA ↔ ICAO designators, so Flighty's SWR and a calendar's LX 561 are one flight). --airports FILE on add and infer, or LOGBOOK_AIRPORTS, adds a private field or overrides a row (same columns; icao and name optional).
  • SPEC clarifications, round two, no format bump, no hash change (#84): a reader other than verify MAY rely on month-file placement; timestamps compare as instants, not text; tz names no edition of the zone database and an unknown zone never invalidates a record; a line whose payload does not match its profile is valid and a reader MUST NOT fail on it; the conformance sample tests the chain, not the profiles. New §3.2 Readers: a day is ordered by instant then seq; retraction lines are not listed on their own day; an alias walk that ends without an entity line names nothing (RFC 0006 rule 6 reworded to match); a collapsed run of points ends at the last point's end, else its at; read commands MAY refuse a logbook/0.1 record. Found by logbook-ts while building its show. CONTRIBUTING.md rewritten: one issue per PR, signed and signed-off commits, synthetic data only, green CI, ADR 0017 for adapters.
  • RFC 0012, payload profile call/v1 (draft): one line per call in a call log — raw_id the store's own id, direction (incoming/outgoing), answered, duration_s, counterparty as a source-native {kind: phone|email|handle, value} ref (RFC 0006, never resolved here), service as the source names it (cellular, facetime, facetime-audio, whatsapp, …); at the start, end the start plus the duration when answered. Tier 1: a call record is metadata about the owner's own time, like a calendar attendee, and carries no one's words. Listed in rfcs/README.md.
  • RFC 0006: a resolution line may carry alias_of — a ref { kind, value } — instead of entity: this ref and that ref are the same identity, and the line mints nothing. Rule 6: a reader follows alias_of to the target ref's own last line standing, at most 4 hops, stopping on a cycle or at a ref with no line standing, and the line it stops on decides; retraction and last-wins apply to an alias exactly as to an entity line. logbook/resolve.py does this, so show names a ref that is an alias of a resolved phone without any change of its own (#58).

Adapters and import-backup

  • sbb file adapter: SBB Mobile's SbbMobile.db (TicketGroups with the validity window, the stations on the ticket, the ticket type, the head count and the order item ids as JSON; PurchasedTickets for the price, class, product and refund state) and ch.sbb.coredata.pasttrips.sqlite (ZMYTRIP.ZVERBINDUNG, the app's JSON of a saved journey whose day has passed: stations, Swiss-time clocks, transfers, real-time clocks, legs with coordinates and IC 8-style line names) → trip/v1 (RFC 0020), mode transit, provider sbb, tz Europe/Zurich: one line per ticket group (raw_id ticket:<groupId>, extra.observed ticket, at/end the validity window, price {amount, currency} summed over the group's tickets, status cancelled when all were refunded, tier 3 with a price else 1) and one per journey (raw_id trip:<verbindungId>, extra.observed journey, planned clocks as at/end, the real ones under extra.actual_*, extra.legs with mode from the app's icon — train, bus, tram, ferry, walk — and line, transfers, international). Either store brings the other beside it. The traveller's name, date of birth, QR code, rendered ticket and order reference are never read. show prints From → To, transit, sbb, 58.00 CHF, 1 change. RFC 0020's notes gain the ticket-versus-journey sentence.
  • import-backup: sbb runs last: SbbMobile.db from the shared container with the past-trips store from the app's own container copied beside it — the first companion from another domain.
  • withings file adapter: the Withings app's per-profile stores → health-sample/v1 (RFC 0014), tier 3. <profile>_WTHealth.sqlite (ZWTOBJECT with WTQuantityType.* identifiers and Apple-epoch dates → ZWTQUANTITY, ZWTSOURCE for the device model and the relaying app's bundle id, ZWTSEARCHABLEMETADATA for the zone) gives one line per quantity of a standing on the scale — weight, body_fat_pct, fat_mass, fat_free_mass, muscle_mass, bone_mass, body_water, bmi, vo2_max — all at the standing's instant; <profile>_Measure.sqlite (ZWTSPECIALIZEDGROUP typed by its entity name in Z_PRIMARYKEY → ZWTMEASUREGROUP for date, zone and device, ZWTMEASURE mantissa × 10^exponent) gives heart_rate readings. Rows relayed from another app (a watch via Apple Health, Garmin) are skipped and counted skipped_relayed; removed rows, rows without a value (correlations), without a date, and types outside the profile (impedance, scores, height, blood pressure) are counted too. raw_id is <type>:<profile>:<local id>, device the model number, extra.profile the profile. Either store brings its partner of the same profile; a folder brings every profile. logbook add withings <store-or-folder>.
  • myfitnesspal file adapter: MyFitnessPal's maindb.sqlite → health-sample/v1, tier 3: food_entries × food_portions × nutritional_values (nutrient 0) → one energy_intake line per logged food in kcal (meal name from meal_names, food, brand, quantity and portion under extra), at the entry's local clock in the store's timezone_identifier (else the record's zone); measurements of type Weight → weight (pounds converted when the owner's unit preference says so, the entered value under extra.original); exercise_entries → workout with the duration as value and the exercise's name and calories under extra. An entry the app keeps only the day of is a span over that local day with extra.all_day. Daily step totals, the other body measurements, zero weights and exercise without a duration are skipped and counted. logbook add myfitnesspal <store>.
  • import-backup: withings (the coredata/ folder's *_WTHealth.sqlite glob with *_Measure.sqlite as companions, every profile, the adapter run on the folder) and myfitnesspal run after apple-photos.
  • apple-photos file adapter: an iPhone's Photos.sqlite (ZASSET with Apple-epoch capture dates, kind and subtype, favourite, hidden and trashed flags, coordinates with -180 for none; ZADDITIONALASSETATTRIBUTES for the original file name, the zone name and how the asset was imported; ZGENERICALBUM kind 2 for the owner's own albums through the Z_<n>ASSETS join table, found by its shape because n changes with iOS; ZDETECTEDFACE → ZPERSON) → one photo/v1 line per asset not in the trash, tier 1: asset_id/raw_id the UUID, library apple-photos, file_name the original name, media, lat/lon, width/height, duration_s, live_photo, provenance (screenshot from the subtype, camera from a live photo, a camera video kind or an import by the camera, received from another app or AirDrop, else other), faces, people the UUIDs of the people the owner named (a merged person under its target; ids, never names), favorite, hidden, albums sorted; extra the UTI and the importing bundle. tz is the asset's IANA zone name when it has one (GMT+0200 is not one). Trashed and undated assets skipped and counted. logbook add photos <store>.
  • import-backup: apple-photos runs after voice-memos, on a copy of Photos.sqlite (with its -wal) from CameraRollDomain; no image is copied.
  • voice-memos file adapter and RFC 0023 voice-memo/v1: Voice Memos' CloudRecordings.db (ZCLOUDRECORDING with Apple-epoch dates, the owner's title in ZCUSTOMLABEL, the file name in ZPATH) → one voice-memo/v1 line per recording, tier 2: raw_id the recording's unique id, title, duration_s, file_name, end = at + duration, and media the audio as a SPEC §1.1 reference — .m4a as audio/mp4, the app's .qta composition as video/quicktime — hashed a chunk at a time from Recordings/ beside the store (an import-backup copy) or beside the store itself (the phone's and the Mac's layout). Without --attachments the reference has no path and the bytes stay where they are (counted attachments referenced, not stored); with it each file goes through the new streamed Logbook.attach_file (attachments.write_path, reference_path, digest_path: a hundred-megabyte recording is never held whole), and a re-run with the flag appends nothing but fills the store. A recording whose file is missing is a line without media, counted. No transcription (RFC 0023 rule 3). show prints Title (m:ss), then audio missing or not stored.
  • import-backup: voice-memos runs after apple-books; only the .m4a/.qta files under Recordings/ travel with the store (media_suffixes), not the waveforms and composition manifests. --attachments stores their audio. An adapter whose run takes store_file gets Logbook.attach_file.
  • apple-books file adapter and RFC 0022 highlight/v1: Apple Books' AEAnnotation*.sqlite (ZAEANNOTATION with Apple-epoch dates; a row with selected text is a highlight, its colour index and underline flag under extra; a row without text is a bookmark, except the type-3 row that marks where the owner last stopped reading, which is the app's state and is skipped and counted) → one highlight/v1 line per mark, tier 2: raw_id the annotation UUID, type, quote and note verbatim, location the EPUB CFI as text, modified_at when later than at. The title and author come from the BKLibrary*.sqlite beside the store or in Books' own ../BKLibrary/ folder, by asset id; a book the library does not list leaves asset_id and no title, counted. Deleted marks (tombstones), undated and placeholder-dated rows are skipped and counted. logbook add books <store-or-folder> (books is an alias; a folder is searched for the store). show prints a highlight as “quote” — Title · note and a bookmark as bookmark — Title @ location.
  • import-backup: apple-books runs after twitter. A Source can now list companions — other files, by path or glob and from any domain, copied beside the store under their own names with their -wal/-shm (Books' library, so the adapter finds the titles beside the copy) — and keep only media with given media_suffixes.
  • pocket file adapter: a Pocket CSV export (title,url,time_added,tags,status, one part or the unzipped folder of parts) → browse/v1, one save per row, source pocket, browser pocket, raw_id pocket:<time_added>:<sha256(url)[:16]>, tags split on |, status unread/archived. Decided against note/v1: a note is the owner's own words (RFC 0010 rule 4) and a saved page is not; a bookmark already lives in browse/v1, and a read-later save is a bookmark kept in another app (RFC 0017, notes). A row without a url or a time is skipped and counted.
  • shazam file adapter: the app's library export (shazamlibrary.csv: a Shazam Library title line, then Index,TagTime,Title,Artist,URL,TrackKey) → listen/v1, one track per row, raw_id shazam:<TrackKey>:<TagTime>, extra.track_key; a row without a time or a title is skipped and counted. Sniffed by the title line or the header.
  • apple-podcasts adapter, file and live (ADR 0017): Apple Podcasts' MTLibrary.sqlite (ZMTEPISODE joined to ZMTPODCAST; ZLASTDATEPLAYED seconds since 2001; the columns discovered with PRAGMA table_info so only ZTITLE, ZUUID and ZLASTDATEPLAYED are required and a store with other columns, or no show table, still reads) → listen/v1, one episode per played episode, raw_id apple-podcasts:<ZUUID>@<last played> so an episode played again is a new line; show, publisher, url, duration_s, played_s, published, extra.play_count; never-played episodes counted. logbook add apple-podcasts <copy> reads a copy; logbook sync apple-podcasts reads the Mac's own store (LOGBOOK_PODCASTS_DB names another), opened read-only so rows in the -wal file are seen, the watermark the newest last-played time — one mapping, so the two dedupe.
  • google-takeout-youtube file adapter: Google Takeout's YouTube and YouTube Music/history/ — watch-history.json and search-history.json (the JSON export), streamed through ijson one entry at a time → watch/v1, source google-takeout: Watched … and Searched for … entries, the header as the service, the first subtitle as the channel, v= as the video id. An ad (From Google Ads), another activity (Visited …) or an entry without a time is skipped and counted; a removed video is a line without a url, counted. logbook add "Takeout/YouTube and YouTube Music/history" sniffs the folder or either file.
  • google-takeout-chrome file adapter: Google Takeout's Chrome/ folder — History.json (Browser History, one visit per entry from time_usec, extra.transition_qualifier; client_id and favicons not kept) and Bookmarks.html (the Netscape file, one bookmark per link from ADD_DATE, folder the /-joined <H3> path, parsed with the stdlib) → browse/v1, source google-takeout, browser chrome. An entry with no url or no time is skipped and counted. logbook add Takeout/Chrome sniffs the folder or either file.
  • safari file adapter: Safari's History.db (history_visits joined to history_items, visit_time seconds since 2001, the columns discovered with PRAGMA table_info so title and load_successful are read when present and a missing one leaves the field out) → browse/v1, one visit per row, source safari, raw_id safari:<visit_time>:<sha256(url)[:16]> — the phone's copy and the Mac's own spell a synced visit the same way and dedupe. Opened read-only and immutable. logbook add safari <copy> reads a store under any name.
  • import-backup: the Safari step runs the safari adapter on the copy under inbox/<backup>/safari/ instead of reporting copied, no adapter yet; ios_backup.EXTRAS names it as an adapter source like the call log and Health.
  • google-takeout-tasks file adapter: Google Takeout's Tasks/Tasks.json (every list, every task, subtasks included) → task/v1, source google-takeout, tier 2: raw_id <task id>@<updated>, status done for completed else open, due as the day the export's midnight instant stands for (RFC 0016 rule 4), completed_at, list, notes, parent, extra.hidden/deleted/links; at is updated (the export has no creation time). A task without a title is skipped and counted; a deleted one is a line, marked. logbook add Takeout/Tasks sniffs the folder or the file.
  • google-takeout-keep file adapter: Google Takeout's Keep/ folder (one JSON per note, the .html twins ignored, attachments beside) → note/v1, one line per note, source google-takeout, tier 2: raw_id keep:<createdTimestampUsec>@<modified_at> (Keep exports no note id; the creation instant never changes, and the edit time on the end makes an edited note a new line, RFC 0010 rule 2), title, text (a list note as [x]/[ ] lines), modified_at, labels (RFC 0010 gains the optional field), extra.pinned/archived/trashed/color/links; attachments as {filename, media_type, sha256, bytes} from the file beside the note, path with the bytes in the §1.1 store only with --attachments, a file the export left out as {filename, media_type} and counted. A note with no text is skipped and counted; a trashed note is a line, marked. logbook add Takeout/Keep sniffs the folder or one note.
  • ios-wallet file adapter: Apple Wallet passes → flight/v1 and event/v1. An air boarding pass is one flight/v1 line per leg, evidence tracked (RFC 0013, which gains the producer row): the airline's IATA BCBP barcode gives carrier, flight number, route, seat, compartment and the day of the year; the year is the first plausible one among relevantDate, relevantDates, expirationDate, the semantic tags and any dated field, and a pass that names none is skipped and counted (skipped_no_year), never guessed from a file time. Only the semantic tags (originalDepartureDate, originalArrivalDate) become scheduled times; relevantDate is kept under extra.relevant_date and is the first leg's at when no schedule is known. A pass without a barcode is read from its primary fields' airport codes and a flight field, else counted. Event tickets, and bus, boat and train boarding passes, are event/v1 lines (title, venue, the issuer as calendar, the pass's locations and front fields under extra, minus any field whose key names a person or a credential); store cards, coupons and generic passes are skipped and counted. The PNR, the passenger's name, the barcode and the ticket numbers never reach a line. raw_id is wallet:<16 hex of pass type and serial>@<digest>, so a pass Wallet updated is a new observation and a Flighty export of the flight supersedes it through flights.reconcile. Reads a .pkpass zip, an unpacked .pkpass folder, a pass.json or a folder of any of them; UTF-8 and UTF-16, a trailing comma forgiven. logbook add wallet <path>; adapters.named("wallet").
  • easypark file adapter: the EasyPark app's recentparkings_<user>.json → one trip/v1 line per recently used area (from with description, signage code, operator and coordinates; at the last-used time in Apple's epoch; raw_id easypark:<area id>@<at>), oldest first; a placeholder without a time and a record with unusable coordinates are skipped and counted. import-backup copies the file out of AppDomain-net.easypark.app (a folder source whose glob names the file) and runs it.
  • wispr-flow file adapter: the Wispr Flow dictation app's Core Data store (ZTRANSCRIPTION: Apple-epoch start and end, the recogniser's text, the model's tidied text, the typed text, status, origin, language, the app it was typed into) → one transcript/v1 line per dictation, the text as a text/plain attachment through the store callback and never inline, raw_id wispr-flow:<uuid>, participants empty (one speaker), tier 3 by default (--tier overrides); rows without text or a start are skipped and counted, an end before its start dropped and counted. The recordings beside the store are not read. logbook add wispr <file>; import-backup copies the store out of AppDomain-com.wispr.flowapp and runs it.
  • flighty reads the app's own store: MainFlightyDatabase.db from an iPhone backup (Flight joined to the owner's UserFlight, Airport, Airline and Ticket; gate and runway original and actual times as Unix seconds, estimates not kept; terminals, gates, aircraft, seat, cabin, reason; isCancelled; an actual arrival airport other than the scheduled one as diverted_to; the origin's date in the store's zone when the shipped table does not know the airport; the pnr column never read). The mapping, the extra keys and the raw_id digest are the export's, so a flight in both the backup and a CSV export is one observation and the second appends nothing, and one that carries more is a new observation the merge folds in. sniff knows the store by its tables; import-backup copies it out of AppDomain-com.flightyapp.flighty and runs it.
  • import-backup: Wallet runs. ios_backup.Source.files names a folder source — every file matching a glob under a folder in the backup (Library/Passes/Cards/*/pass.json, HomeDomain), copied below the source's inbox folder with its path, the adapter run on the folder; the dry run prints how many files and bytes. ios-wallet follows ios-notes in SOURCES.
  • twitter file adapter: the X app's direct-message stores (com.atebits.tweetie.databases/v1/<account id>/<account id>-dmv2.db of the group.com.atebits.Tweetie2 container in a backup, one per signed-in account) → message/v1, one line per message entry at its own timestamp: raw_id the entry's UUID; chat the conversation — direct when its id is two account ids, named after the other account (the owner's nickname for them, else the screen name), group otherwise, named by its custom title; from_me the store's own flag; the sender {handle, <screen name>} with the nickname as name when the store knows the user, else {provider_id, <account id>}, never resolved; text the plain text; an attachment gives media_kind (link, image, video, gif, other) with the store's own type string under extra; the account under extra.account (the sender of any entry flagged the owner's, else the id in the file's name); a status other than Sent under extra.status. Informational entries, entries with neither text nor an attachment, and undated ones are skipped and counted. run takes a store or a folder and reads every account's. import-backup gains the source twitter, last.
  • line file adapter: LINE's Line.sqlite (Library/Application Support/PrivateStore/P_<account>/Messages/Line.sqlite of the group.com.linecorp.line container in a backup) → message/v1, one line per message at its own timestamp: raw_id the server's message id (pk<row> for one never sent, counted); chat the LINE chat — direct for a user's u… id with the user's name as the owner spells it, group for a c… id with the group's name when UnifiedGroup.sqlite is beside the store; a row without a sender is the owner's; the sender a contact hint, never resolved — {phone} when Contacts.sqlite (the app's own domain, …/Contacts Syncing/) pairs the user's mid with a number, else {handle, <mid>}, with the custom name else the profile name, the mid and the address-book name under extra. Text and unknown content types that carry text are text (extra.content_type); images, video, audio (voice), files, stickers, locations, contacts and links carry media_kind. Calls (content type 6) are skipped and counted as calls; a row with neither text nor a known media type, or without a timestamp, too. run takes the store or a folder and finds the companions beside the store or anywhere below the folder. import-backup gains the source line (three files by pattern — the account's id is in the path — the two companions copied first, beside the store), after beeper.
  • beeper file adapter: Beeper's BeeperStore.sqlite (the group.beeper.chat.ios container in a backup) → message/v1, what the phone's Matrix cache holds in clear: every cached event with a body — its decrypted copy (clearEvent) when the app had one, else an unencrypted content — then every room's last message in clear when its event was not already logged (extra.from_last_message, counted). Encrypted events without a decrypted copy, reactions, redactions and redacted events, membership and bridge state are skipped and counted; the Megolm sessions are never touched. raw_id the Matrix event id; chat the room (direct when one-on-one, the room's display name) with extra.network naming the bridge (whatsapp, telegram, instagram, facebook); the owner is the member of the most rooms, from_me for their events and for a double-puppeted copy of their own message; the sender is a contact hint from the member row, never resolved: {phone} when the bridge gave the number, {email} when an address, else {handle, <matrix id>}, the contact's preferred name else the network's, the Matrix id under extra.matrix_user. Text, notices and emotes carry text; images, video, audio (voice when flagged), files, stickers and locations carry media_kind with the file name and media type under extra (the bytes are not in the store). import-backup gains the source beeper, after splitwise. logbook/adapters/keyed_archive.py decodes NSKeyedArchiver plists (dictionaries, arrays, strings, data, custom classes by name, cycles) for any adapter whose rows hold them.
  • splitwise file adapter: Splitwise's database.sqlite (Library/Application Support/database.sqlite of the app's domain in a backup) → transaction/v1, one line per expense the owner is part of, at the expense's date: amount the owner's side (an expense's owed share, negative; a payment as what the owner paid, negative, or received, positive), currency, merchant the description, category the category name as the app shows it, account the group's name, note; the total cost, the owner's shares, every member's shares with a source-native ref ({email}, else {phone}, else {provider_id}, never resolved) and the name the app shows, who created it, the creation method and a deleted flag under extra. The owner is the person whose email is in owner_emails (logbook.json); without a match the person on the most expenses is taken and that is counted and said. An expense the owner is not a member of, or without a date, is skipped and counted. import-backup gains the source splitwise, after copilot. The owner_emails hint add prints now names the adapter and what it does without them.
  • copilot file adapter: Copilot Money's CopilotDB.sqlite (the database/CopilotDB.sqlite of the group.com.copilot.production container in a backup) → transaction/v1, one line per row of Transactions: amount the row's amount negated (Copilot keeps Plaid's convention, debits positive), currency, merchant the owner's override else the cleaned name, category Copilot's own slug when set, account the account id, status from the pending flag, note the owner's note; the type (regular, income, internal_transfer), recurring flag and id, the bank's original string, Plaid's category strings, tags, the parent of a split and a deleted flag under extra. at is the stored instant as UTC (Copilot stores the day's local midnight as a UTC instant) and date the day of it in the record's zone. A row without a date is skipped and counted; one the owner or the bank deleted is a line with extra.deleted. import-backup gains the source copilot, after apple-reminders.
  • apple-reminders file adapter: an iPhone's Reminders stores (Container_v1/Stores/Data-<UUID>.sqlite under the group.com.apple.reminders container, one per account) → task/v1 (RFC 0016), one line per reminder at its creation time: title, status (open/done), completed_at, due (an all-day reminder's day as YYYY-MM-DD; a timed one as the instant the phone showed it at, since a reminder without a zone keeps its wall clock in ZDUEDATE as if it were UTC and the real instant in ZDISPLAYDATEDATE), list, notes, parent (the source id of the reminder a subtask sits under), priority (Apple's 1–4 high, 5 medium, 6–9 low), modified_at; the flag, the zone, a start, the list's group and the store's file name under extra. raw_id is reminders:<uuid>@<last modified> (rule 2), so a reminder completed or edited after an import is a new line and an unchanged one appends nothing. A reminder marked for deletion is a line with extra.deleted; one without a title (it lives only in an opaque title document) or without a creation date is skipped and counted. run takes one store or a folder and reads every Data-*.sqlite below it; logbook add reminders <folder>. Tier 2. import-backup gains the source apple-reminders (--only reminders), after ios-notes; ios_backup.Source now takes a pattern as its path (Data-*.sqlite): every file of the domain that matches is copied beside the first with its -wal/-shm, the dry run lists them all, and the adapter runs on the copies' folder.
  • mail file adapter: an mbox mailbox — Google Takeout's Mail/ folder (All mail Including Spam and Trash.mbox and the per-label files), or any mbox file or folder of them, sniffed by the From <id> <date> separator line — → mail/v1, one line per message, streamed line by line with one message in memory at a time so a multi-gigabyte export is never read whole. mboxrd >From lines are unescaped; nested multipart is walked for the first text/plain leaf, else the first text/html leaf stripped by a stdlib-only strip_html (scripts, styles, head and comments dropped, block tags and <br> as newlines, entities decoded); a part whose charset Python does not know or whose bytes do not obey it is decoded with replacement characters and flagged, never dropped. Every leaf with a file name, a Content-Disposition: attachment or a non-text type is an attachment, named by digest always and stored in attachments/<sha256> (Logbook.attach) only with --attachments. logbook add mail <file|folder> [--account EMAIL] [--attachments] [--only-labels A,B] [--skip-labels A,B] [--since DAY|RFC3339] [--tier 1|2|3]: --account prefixes every raw_id and counts as one of the owner's addresses; the label filters match any label, case-insensitively, and count what they drop (skipped … by label); --since takes a day (the record's local midnight) or an instant; --tier applies to the whole run. direction reads owner_emails from logbook.json (a new optional key, preserved like every unknown key; add prints a hint when it is absent and no --account is given). Counts: without a Message-ID, keyed by digest, timed by the mbox separator (no Date header), with the body taken from HTML, with undecodable bytes replaced, attachments referenced, not stored / attachments stored; a message with neither a Date header nor a readable separator date is skipped and counted (without a date). logbook add <file.mbox> and logbook add ~/Takeout/Mail reach it by sniff. show prints a mail line as ✉ subject — from → to (n attachments), the people by their resolution labels, else the header's names, else the addresses, the owner's own mail as me, never the body; show --raw prints the addresses as given and the body indented under the row. add's --tier help no longer says transcript only. Tested on a synthetic Takeout mbox (Oslo persona, example.org addresses): a plain reply with escaped From lines, sent mail, an HTML-only newsletter, a nested multipart message with two attachments, a message without a Message-ID, one without a Date and with an unknown charset; the mapping, the filters, the store, the dedupe on re-add, the schema, streaming (a run that fails if the file is read whole), the CLI flags and their refusal on another adapter, and show with and without resolutions.
  • apple-health file adapter: an iPhone's healthdb_secure.sqlite (samples with Apple-epoch dates and data_type; quantity_samples, category_samples, workouts; objects → data_provenances for the device's product type and zone; unit_strings for the entered unit; sources from the healthdb.sqlite beside it) → health-sample/v1. Data types 3, 5, 7, 8, 9, 10, 12, 63, 118, 183 and every row of workouts; quantities converted from HealthKit's canonical units (heart rate count/s → bpm, HRV s → ms; the entered quantity and unit kept under extra.original); every optional table and column found through PRAGMA. Skips and counts placeholder dates, rows without a date or value, spans that end before they start, unknown types and sleep stages, and heart-rate readings over the cap. logbook add health <file> or add apple-health <file> names it (adapters.named now resolves calls, contacts, health as import-backup --only does); logbook add <file> recognises the store by content. Tests build the store in the test; no database is in the repository.
  • import-backup: Health runs. healthdb.sqlite is copied first (reported copied, read beside healthdb_secure.sqlite), then healthdb_secure.sqlite, and apple-health runs on the copy with the companion beside it; the encrypted-backup test plants a synthetic store and expects its lines. Safari alone is still copied, no adapter yet.
  • ais adapter and logbook sync ais (ADR 0018, ADR 0017): the positions of every registered vessel with an MMSI, heard on aisstream.io's websocket (LOGBOOK_AISSTREAM_KEY; the websockets package as the openlogbook[ais] extra, imported only inside pull; LOGBOOK_AISSTREAM_LISTEN_S, default 60, sets the listening window) → location/v1 with subject = the asset id, tracker aisstream, raw_id aisstream:<mmsi>:<unix seconds>, speed in m/s from knots, AIS "not available" sentinels left out, class A and class B reports only. The same module reads a saved stream (one message per line) for logbook add, through the same draft. --since filters what was heard; --dry-run writes nothing; a refused key is one line and exit 1, never the key.
  • adsb adapter and logbook sync adsb: the current state of every registered aircraft with an icao24 from the OpenSky Network's states/all (anonymous by default; LOGBOOK_OPENSKY_USER/LOGBOOK_OPENSKY_PASS optional, sent only in the Authorization header) → location/v1 with subject, tracker opensky, raw_id opensky:<icao24>:<time_position>, so a parked aircraft's unchanged fix is one line poll after poll. The same module reads a saved response for logbook add.
  • sync: an adapter whose pull takes assets gets the record's registry; one that sets GROUP_MARKS keeps a watermark per group in state/<name>.json (groups, one per asset, never moved backwards) beside since. add passes the registry to a file adapter that takes it. SKIP_PHRASES gains skipped_unknown_subject and skipped_not_a_position.
  • flighty file adapter: a Flighty CSV export (logbook add flights <export.csv>, add flighty, or sniffed by its header) → flight/v1, evidence tracked, one line per row. Only Date, Airline, Flight, From, To are needed; every other column is optional and its absence leaves the field absent. Airline may be ICAO or IATA, Flight may repeat the carrier; wall-clock times with no offset are converted with the origin's zone (departure, take-off) and the destination's or the diversion's (landing, arrival); an airport the table does not know keeps its times as text under extra.<field>_local and is counted; an arrival before its departure is kept and counted. Gates, terminals, seat, cabin and reason go under extra; the PNR and the Notes never. raw_id is the row's Flighty id with a digest of the mapped row, so an unchanged re-export appends nothing and an export that later carries the actual times is a new observation that supersedes the first.
  • ios-calls file adapter: an iPhone's CallHistory.storedata (Core Data; ZCALLRECORD with ZADDRESS, ZDATE in Apple-epoch seconds, ZDURATION, ZORIGINATED, ZANSWERED, ZCALLTYPE, ZSERVICE_PROVIDER, ZUNIQUE_ID, every other column PRAGMA shows kept under extra with the Z prefix dropped, blobs and nulls left out) → call/v1, one line per row, streamed from a read-only immutable connection. raw_id is ZUNIQUE_ID, else the row id (counted); the counterparty goes through the shared phone.normalise with LOGBOOK_DIAL_PREFIX as ios-contacts does (a national spelling that cannot be completed is kept and flagged extra.unnormalised), an address with @ is an email, anything else a handle, a blob address is decoded, a withheld number gives no counterparty and is counted; service from the provider bundle id (com.apple.Telephony → cellular, com.apple.FaceTime → facetime/facetime-audio by call type, a third-party CallKit app by the last part of its id) else from ZCALLTYPE, the raw provider under extra.service_provider, an unknown type under extra.call_type; answered is the phone's flag, end set only when answered and the duration is above zero; placeholder dates (before 1900) and dateless rows are skipped and counted, as ios-calendar does. logbook add <file> sniffs it (a ZCALLRECORD table); logbook add ios-calls <file> names it, and add <adapter> <file|folder>... now works for any file adapter by NAME, not only transcript. import-backup runs it on the call log an encrypted backup carries, copied out as ios-calls/CallHistory.storedata (was calls/, reported as "no adapter yet"); Health and Safari are still copied without an adapter. show prints a call as ← who, 7 min, cellular / → who, no answer, the counterparty by its resolution when one exists. Tests on a synthetic store built by the test: incoming, outgoing and missed, FaceTime video and audio against cellular and a WhatsApp call, the epoch conversion, a blob address, the dial prefix, unmapped columns under extra, dedupe on re-import, the CLI by name and by sniff, the encrypted backup round trip, and a property test over random rows.
  • import-backup reads an encrypted iOS backup (IsEncrypted with a BackupKeyBag). logbook/ios_backup_crypto.py implements the publicly documented keybag format: TLV records; the passcode key by PBKDF2-HMAC-SHA256 over DPSL/DPIC then PBKDF2-HMAC-SHA1 over SALT/ITER (a keybag from before iOS 10.2, without DPSL/DPIC, does the SHA-1 pass alone); class keys unwrapped per RFC 3394 with the passcode key (WRAP bit 2; a device-wrapped class, bit 1, stays unavailable); ManifestKey and each row's EncryptionKey (in the file column's NSKeyedArchiver plist) as a 4-byte protection class plus a 40-byte wrapped key; files and Manifest.db AES-256-CBC with a zero IV, PKCS#7 padding stripped or the manifest's Size honoured, decrypted in 1 MiB chunks, never whole in memory. The password comes only from LOGBOOK_BACKUP_PASSWORD — never a flag, never printed, never in a message or a file; the keybag is checked first, so a wrong password exits 2 before any file is touched. Manifest.db is decrypted into <root>/inbox/ios-backup-<udid>/ and every copy is decrypted on the way to the same layout as for an unencrypted backup, so every adapter runs unchanged; each copy is checked against the plaintext size. Stores only an encrypted backup carries (ios_backup.EXTRAS) are copied out with no adapter yet and say so: health/healthdb_secure.sqlite, health/healthdb.sqlite, calls/CallHistory.storedata (now ios-calls/, with an adapter, see above), safari/History.db (--only health,calls,safari names them). The inbox gains copies.json for every backup, encrypted or not: per copy its domain, path, copy, bytes, encrypted and protection_class, merged over earlier runs of other sources, never a key. cryptography is the optional extra openlogbook[encrypted], imported lazily; an encrypted backup without it prints one line with pip install "openlogbook[encrypted]" and exits 2; the unencrypted path has no new dependency. Tested on a synthetic backup built in the test — a keybag from a test password with ten iterations, class and file keys wrapped, Manifest.db, sms.db, an attachment, a Health and a Safari store encrypted — proving the round trip byte for byte, the wrong-password refusal, the missing-extra message and the older keybag; never a real backup.
  • gcal live adapter: logbook sync gcal pulls Google Calendar's private iCal feeds (LOGBOOK_GCAL_URLS, comma-separated, each optionally name=url; stdlib urllib, fetched whole) → event/v1 (RFC 0009) through the ics adapter's own reader, now exposed as ics.lines(text, name, counts, timezone), so an event imported from a calendar export and the same event pulled by URL are the same line with the same raw_id (<UID>@<LAST-MODIFIED>) and source (ics) and are deduped (ADR 0017); recurring masters and materialised occurrences, all-day and floating times (in the record's zone, which sync now passes to a pull that takes timezone) are unchanged. The feed's X-WR-CALNAME names the calendar as for a file; a given name applies only to a feed without one. The watermark is the newest last-modified time seen; each pull keeps the events changed since a lookback (24 h, LOGBOOK_GCAL_LOOKBACK_H) before it and the dedupe absorbs the overlap; a first sync reads everything; --since is used as given. sync reports seen and new per calendar (a live adapter's optional group(draft); append_many gains a skipped callback for the drafts it deduped) and, on --dry-run, seen per calendar. A calendar that fails (an HTTP error, an unreachable host, a body that is not a calendar) is one line on stderr naming the calendar by its given name or a short hash of its URL, never the URL; the other calendars are still pulled and written, the watermark is kept, the exit is 1 (a live adapter's optional failed list). The URLs never appear in the config's repr or any output.
  • imessage live adapter (#85): logbook sync imessage reads the Mac's own ~/Library/Messages/chat.db (LOGBOOK_IMESSAGE_DB names another store, ~ expanded), opened mode=ro and only immutable=1 when that fails, never written and never locked against Messages.app → message/v1 (RFC 0008) through the file adapter's own mapping, now exposed as imessage.lines, so a message imported from the phone backup and the same message read on the Mac have the same line and raw_id (the guid) and are deduped; the tapback and group-event skips, the typedstream body, the nanosecond/second dates and the media rule are unchanged. Attachments resolve by the stored paths under the Attachments folder beside the store, else the Mac's own ~/Library/Messages/Attachments; LOGBOOK_IMESSAGE_HASH_MEDIA=0 skips the hashing as for add. The watermark is the newest message date; each pull starts a lookback (24 h, LOGBOOK_IMESSAGE_LOOKBACK_H) before it, a first sync with no watermark starts from the record's newest imessage line less the lookback, --since is used as given. sync reports lines per chat type (in direct chats, in group chats) with the skips and the attachments hashed or missing. An unreadable database is one line naming Full Disk Access for the terminal as the usual cause, exit 1. The file adapter now cuts since in SQL, so rows before it are neither decoded nor hashed. sync's resume line names the source's item (message, point, asset) instead of always "point".
  • transcript file adapter (#78): logbook add transcript <file|folder> [--source <name>] [--tier 1|2|3] [--at <RFC3339>] → transcript/v1 (RFC 0004), one line per file. Reads JSON already in transcript/v1 shape — the interchange format for any tool, a logbook export line minus the chain fields, the payload kept as given, an inline content.text stored and replaced by its reference — WebVTT and SRT (every cue a turn; the speaker from the <v Name> voice tag or a leading Name:, else unknown; the cues' offsets give end), and Markdown or plain text with Speaker: text lines, a following line continuing the turn, and an optional front-matter block for title, started_at, ended_at, participants (Name <email>), a # heading as the title. VTT, SRT and transcript JSON are sniffed by content, so logbook add meeting.vtt works without the keyword; Markdown and text only through it. The file's own bytes are the SPEC §1.1 attachment: the first writer of attachments/<sha256> (Logbook.attach, logbook/attachments.py: write-once, a mismatching file is an error, never overwritten); raw_id is <source>:<sha256> unless the JSON brings one; the start is the front matter's, else --at, else a date and time in the file name (2026-03-01T13-00-00Z …, Zoom's GMT20260301-130000_…, 2026-03-01 1300 … in the record's zone, a bare date at local midnight), else the file is skipped and counted. Tier 3 by default: a transcript carries other people's words in full. participants are the front matter's, then every speaker label, source-native, never resolved; extra carries format, file, turns, speakers, unattributed and duration_s. transcript.draft is the one mapping every transcript source shares (ADR 0017).
  • granola live adapter (#78): logbook sync granola pulls Granola's public API v1 (LOGBOOK_GRANOLA_KEY, a grn_ key from Settings → Connectors → API keys, Business and Enterprise plans; LOGBOOK_GRANOLA_URL, default https://public-api.granola.ai/v1): GET /notes?created_after= with cursor paging, GET /notes/{id}?include=transcript, and GET /notes/{id}/transcript paged when the note answers 413 TRANSCRIPT_TOO_LARGE. One transcript/v1 line per recording through transcript.draft, so a transcript exported by hand as transcript/v1 JSON and the same one pulled here are one line: raw_id granola:<note id>, at/end the segments' span (else the calendar event's, else created_at), participants the attendees as Granola names them plus any speaker label they do not cover (never resolved), content the segments as JSON under attachments/, source_uri the note's web url, extra.folders. Granola's AI summary is a model's words, so it is never payload.summary: it is a second line, note/v1, source granola, tier 2, raw_id granola:<note id>:summary, extra.derived = true and extra.derived_from the transcript line's id — the one already in the record when a hand export came first (Index.line_id, asked through the new lookup callback), else the one this pull mints (append_many now keeps an id a draft brings); LOGBOOK_GRANOLA_SUMMARIES=0 skips it. The watermark is the recording's end; resume looks back 24 h (LOGBOOK_GRANOLA_LOOKBACK_H), a first sync continues from the record's newest granola transcript, --since is used as given. Every request is retried once on a connection failure, a timeout, 429 or a 5xx, then the sync exits 1 with a message naming the request (a 401 names the variable) and nothing has been written: the whole pull is fetched before the first line is yielded, attachments are stored only as their line is yielded, and a dry run stores nothing. sync --dry-run now prints the count per kind when a source yields more than one. The key is sent only in the Authorization header, never in a URL, never printed. Tested against a fake of the API serving synthetic Oslo notes; no network.
  • ADR 0017: backfill and live share one mapping — every source adapter has a file mode and, where the source offers it, a live mode, both producing identical lines with the same raw_id, so backfilled and live lines dedupe; the rule for every adapter from now on, dawarich and imessage the existing examples.
  • ics file adapter: any iCalendar file (RFC 5545) — a Google Calendar export or Takeout's Calendar/ folder, an Apple Calendar export, a saved feed; sniffed by content, so any extension — or a folder of them → event/v1 (RFC 0009), one line per VEVENT with the same shape ios-calendar gives the same event: at/end from DTSTART/DTEND (or DURATION) in UTC, tz the DTSTART's TZID when the zone database knows it (a /mozilla.org/…/Europe/Oslo prefix is skipped over; an unknown one is read in the record's zone with the text under extra.tzid), floating times in the record's zone, a VALUE=DATE start an all-day event at local midnight ending at the DTEND or the next midnight; title, notes, location (GEO under extra.location), status, calendar from X-WR-CALNAME (else the file name), organizer and attendees as mailto: email refs with CN and PARTSTAT; a master's RRULE text as recurrence (EXDATE/RDATE under extra), a RECURRENCE-ID exception's recurrence_of; occurrences never expanded. raw_id is <UID>@<LAST-MODIFIED, else DTSTAMP> (rule 5), an exception keyed <UID>/<RECURRENCE-ID>@…. VEVENTs without a DTSTART, with an unreadable one or one before 1900, or without a UID are skipped and counted, as are VTODO and VJOURNAL blocks. The parser is stdlib only and tolerant: line unfolding, BEGIN/END nesting (an unmatched END is ignored, an open block closes at the end of the file), quoted and multi-valued parameters, TEXT escapes, CRLF or LF, a BOM; what it does not know it passes over. logbook/adapters/takeout/calendar.py is the Takeout package's calendar sibling of location, delegating to ics.
  • import-backup <folder> [--dry-run] [--only names]: every phone source from an unencrypted iOS backup folder in one go. logbook/ios_backup.py reads Manifest.db (opened read-only and immutable, so not even a journal appears beside it) and Manifest.plist, locates each adapter's store by domain and path — AddressBook.sqlitedb → ios-contacts, ContactsV2.sqlite → whatsapp-contacts, ChatStorage.sqlite with Message/ → whatsapp, sms.db with Library/SMS/Attachments/ → imessage, Calendar.sqlitedb → ios-calendar, NoteStore.sqlite → ios-notes — and in that order copies each store with its -wal/-shm siblings and its media into <root>/inbox/ios-backup-<udid>/<source>/ under the original names, checks every copy by size, and runs the adapter on the copy (never on the backup, which is never written). A media path that would leave its folder is never copied. Per source: found or not found (a row whose file is missing says so), lines added, skips and notes as add reports them; then verify. --dry-run lists the files and sizes and writes nothing; --only contacts,whatsapp limits the run (the fixed order stays). An encrypted backup (IsEncrypted) is refused with a one-line message naming Finder's checkbox; a folder without Manifest.db exits 2. LOGBOOK_DIAL_PREFIX reaches the adapters as with add, and a hint is printed when it is unset. The registry gains adapters.named(name).
  • google-takeout-photos file adapter, the second Takeout sub-adapter: the unzipped Takeout/Google Photos/ folder (or the Takeout root that holds it, or one album folder) → photo/v1 (RFC 0002), one line per media file from its JSON sidecar: at from photoTakenTime (falling back to creationTime, counted), raw_id the id in the sidecar's Google Photos url else <album>/<file>, provenance through googlePhotosOrigin as a data rule (ADR 0011: mobileUpload → camera, fromSharedAlbum → received, else other), lat/lon from geoData (then geoDataExif) when non-zero, the caption, the album and the tagged names as extra.people {kind: "name", value} refs, never resolved and never in payload.people. A live-photo pair (a still and a video with one stem) is one camera line with the motion half under extra.live_video. Sidecars are matched by Google's naming (<file>.json, <file>.supplemental-metadata.json, the truncated and (1)-numbered variants), then by title, then by a unique prefix; a sidecar with no file is counted and a file with no sidecar is still a line, timed by the file and flagged extra.no_sidecar. Media v1 rule as for WhatsApp: the file is hashed into extra.media (sha256, bytes, local_path, media_type), never copied; LOGBOOK_TAKEOUT_HASH_MEDIA=0 skips the hashing. logbook add <folder> now hands a folder to an adapter that claims it as a whole before walking its files.
  • dawarich live adapter: logbook sync dawarich pulls GET /api/v1/points from your own Dawarich server (LOGBOOK_DAWARICH_URL, LOGBOOK_DAWARICH_KEY as a Bearer header; stdlib urllib, paged until an empty page, yielded oldest first) → location/v1 (RFC 0001) through the file adapter's own mapping, now exposed as dawarich.draft, so a point already imported from an export has the same line and raw_id and is deduped. The watermark is the newest point time; each pull starts a lookback (24 h, LOGBOOK_DAWARICH_LOOKBACK_H) before it for late batch uploads, and a first sync with no watermark starts from the record's newest dawarich location line (Index.newest) less the lookback. Rows without usable coordinates, timestamp or tracker are skipped and counted. sync now reports how many pulled lines were already in the record and what the adapter skipped, never moves a watermark backwards, and exits 1 on a malformed response. The registry keeps one file and one live adapter per NAME. The shared mapping now drops a non-finite altitude/speed/heading and a heading above 360.
  • whatsapp-contacts file adapter: an iPhone's WhatsApp ContactsV2.sqlite (also the hashed file in an unencrypted Finder/iTunes backup) → one resolution/v1 alias line per contact with a linked-device id and a phone number that normalises: ref is the lid spelled as the whatsapp adapter spells a @lid sender, alias_of the phone through the shared adapters/phone.py (LOGBOOK_DIAL_PREFIX as for ios-contacts), label the name WhatsApp shows, raw_id alias:handle:<lid> so a later backup appends nothing already aliased. Nothing is minted: the phone's entity comes from the owner's contacts import, before or after. Rows without a lid, without a usable phone, or with a lid already seen are skipped and counted. Opened read-only and immutable, no network (#58).

Readers and commands

  • logbook serve [--port N] (logbook/serve.py, docs/serve.md): the record read in a browser, on this machine only. Server-rendered HTML with one inline stylesheet, no script, no font, no image and no link to anywhere but its own paths (a Content-Security-Policy of default-src 'none' says so to the browser too), every page from the index and the readers the commands use, nothing written. /day/YYYY-MM-DD is the Day (day.read) as a timeline — the nights, the country, one row per stay, stop, move, flight or run aboard an asset, each row's attachments and company under a toggle (?open=1 opens them all), what is unplaced, the health line, the sources; /days?from=&to= one row per day (days.read; the last fortnight without a window; a form and earlier/later links), each a link to its Day; /trips?year= the year's trips (trips.trips), each linking to its days; /places, /assets (with the last fix of each, asset_status.read) and /gaps?since= (gaps.report). The server binds 127.0.0.1 and refuses any other host (--host 0.0.0.0, ::, a LAN address, localhost) with exit 2 before a socket is opened, and never resolves a name, not even its own. A Day answers in the time logbook day takes, through the index, whatever the record's length. Tests: the refusal of every other host, that no page references a URL outside itself (every URL-bearing attribute, the inline style, the headers), the pages on the synthetic persona, a 404 and a 400, that serving writes nothing, and one request over the loopback socket. The text helpers of logbook/day.py and logbook/days.py the pages reuse are public now (day.span_text, days.night_text, …).
  • logbook infer keepers [--dry-run] (logbook/keepers.py, producer keeper-inference): a memory keeper for every photo line its library marked a favourite (extra.favorite; the immich adapter now keeps isFavorite there, apple-photos reads as ios-photos) and an art keeper for every photo in an album named Art (extra.album or extra.albums, case aside); through append_many, so a re-run appends nothing and a retracted keeper is never written again. logbook keepers [--since DAY] [--until DAY] [--lane memory|art] [--json] lists the keeper lines standing by day, with the photo's file name. show <day> prints the day's keepers under the date as hero <file names> (memory first, (art) marked) and each keeper line as hero photo (<lane>): <file>.
  • logbook show person|asset|place <name> [--json] (logbook/pages.py): the pages, read from the whole record (the days the owner's track covers). show person <name> takes a label (case aside), a unique first name or an entity id and prints the arc: the refs the person resolves from, first and last contact, days together per year, the places shared, open commitments (a placeholder that says commitment/v1 lines are not read yet), the last ten shared stays with how each was decided, and under --json the proposed evidence count and the line ids. show asset <id>: the trips aboard (from trips), nights, stays and hours aboard, the people aboard, and the summary of the asset's own track when the record holds one (points, stays, moves, distance, first and last fix, the first and last line). show place <name>: visits, hours, first and last, per year, the people met there, the photos taken there (photo lines inside a stay at the place), the last ten visits. show <day> is unchanged.
  • logbook trips [--year YYYY | --since YYYY-MM-DD --until YYYY-MM-DD] [--airports FILE] [--json] (logbook/trips.py): runs of consecutive days whose overnight stay is outside every home region (places.json, kind home) or in transit, from one reading of the window. Each trip: a derived id (trip:<first day>:<last day>), its first and last day, the return day (until, the day after the last night), nights and nights in transit, the route in night order (the named place, else near <place> for a named place within 25 km, else the nearest large airport's name as a coarse city, else coordinates; repeats collapse), the named places visited, the people confirmed present (the with module) between the first day's midnight and the end of the return day, every flight dated inside it and the flights in (dated the first day) and out (dated the return day), asset when every night was aboard one asset, and the line ids it rests on. A run made only of in-transit nights is not a trip. Without a place of kind home there are no trips, and the command says why. ADR 0019: a trip is never a line, only a reader's output, until the captain names it, and the name is a note/v1.
  • logbook rollup places|people: the two rollups that read company through the with module. places: per named place and per asset (the owner's stays aboard it), per year — stays, hours, first and last visit (the stay's start and end day), an asset's nights aboard, and the people confirmed present with their days and lines. people: per resolved person, per year — days together (days with confirmed evidence, by the evidence's own day), the last real contact (the last such day), the places shared (a named place, aboard <asset>, else coordinates), confirmed and proposed evidence counts and the lines; names that resolve to no person are listed apart under unresolved.
  • logbook/present.py, the "with" module: who was with the owner at a stay. present(stay, lines, identities) lists one entry per piece of evidence — a person id when the ref or name resolves through the record's resolution lines (RFC 0006; resolve.identities_from gives each ref its entity id and label), else the name or address as the source spelled it — with a confidence, a status and a reason: an attendee of a calendar entry whose span overlaps the stay (confirmed, 0.8 accepted, 0.6 tentative or unanswered, declined absent; attendee of <title>), a participant of a transcript recorded inside it (confirmed, 0.9, by email, phone, provider id, else the name against the labels; spoke in <title>), a note written inside it that says with <Name> (and <Name>; confirmed, 1.0; note says with <name>), and a face the library tagged in a photo taken inside it (provider_id ref <library>:<person id>; proposed, 0.5; face in <file>). A circle page is listed as a source and names nobody yet. company merges the evidence per person, confirmed first, with the sources, reasons and line ids.
  • logbook rollup countries|flights|nights [--year YYYY | --since YYYY-MM-DD --until YYYY-MM-DD] [--airports FILE] [--json] (logbook/rollup.py): the record summed up per year from one reading of the window, clipped to the days the owner's track covers (a day outside them is nothing, not a night in transit). countries: days per country per year from the overnight stay, in-transit nights and nights whose country is unknown listed separately, and the method printed with the numbers — logbook/countries.py: a place with a country (ISO 3166-1 alpha-2, a new optional places.json field) whose radius holds the stay decides, else the nearest large airport within 300 km (the airports table) and its zone's country through the bundled logbook/tables/zones.csv (the zone database's public-domain zone.tab, regenerated by scripts/make_zones.py); coarse near borders and far from airports, and the module says so. flights: count, kilometres (great-circle between the airports table's coordinates), long-haul (over 3,500 km), unmeasured (an airport the table does not know), by evidence (tracked, inferred, declared), per year, from the flight lines standing (RFC 0013 rule 4), each flight listed with its route and km. nights: home, away and in-transit nights per year, nights aboard each asset, and the longest trip (the longest run of consecutive nights not at home); without a place of kind home every night is away and the rollup says so. Under --json every number carries the ids of the lines it came from: a stay by its first and last location line (one unbroken run), a flight by its line standing. Index.span(kind) gives the first and last local day with a line of a kind.
  • logbook places list|add|name|propose (and import-takeout, which moved beside them: the Google Maps saved-places importer now lives at logbook/adapters/takeout/places.py): the named places of the record. places.json (logbook/places.py) maps a name to {lat, lon, radius_m, kind, tags}, kind one of home, asset-berth, other (absent is other; the old three-field shape still reads); home regions are the places of kind home, and derive stays now marks each night home ("home": true in the JSON, · home in the table) when its stay is a home place or lies in one's radius. add <name> --lat --lon [--radius] [--kind] [--tags] edits the file only; name <lat,lon|stay-id> <name> adds the place and appends one note/v1 line, named <lat>,<lon> as <name>, so the naming is in the record. propose [--since] [--until] [--top N] [--json] is a reader: the owner's unnamed stays of the window (the whole record by default) grouped within 300 m and ranked by hours, each with its stay ids, the nearest known place and the distance, the asset it was aboard, the Google Timeline visits that overlap it when the record holds Takeout timeline lines (place id, semantic type, probability), a suggested name (the visit's semantic type, else aboard <asset>, else near <place> within 2 km), and under lines the ids of its first and last location line and the point count; --write asks for each name (Enter accepts the suggestion, s skips, q stops) and names the accepted ones as name does. Every segment of derive stays --json now carries a derived id (stay:owner:20260610T1000Z@59.9200,10.7400: kind, subject, start to the minute, centre) and lines (first and last location line id, points). logbook/reading.py is the one loader the readers share: a window's lines through the index, the settings, places and assets, the derived stays and nights, and the record's resolutions.
  • policy/import.json, {"disabled": [{"source", "reason"}]}: the sources the owner switched off. add, sync and import-backup skip a disabled source and say so (<name>: disabled (<reason>); skipped), --only or not, before anything is copied or any variable is asked for; logbook sources lists every adapter this build has, file and live, with enabled or disabled (<reason>), then any disabled name no adapter carries. Aliases resolve on both sides (books, health). init writes the empty list; a record without the file gets it on the first read. A malformed file exits 2 naming it and nothing is written. README: What never enters the record — demo, sample or placeholder data never enters the record; an adapter existing is not a decision to run it.
  • logbook places import-takeout <path> [--write]: Google Maps' saved and starred places — Takeout's Maps (your places)/Saved Places.json (GeoJSON, one Feature per place: the point, the title, the address and business name) and Saved/<list>.csv (Title,Note,URL,Comment, one list per file: Favourites, Want to go, Starred places, the owner's own; coordinates only when the url carries /@lat,lon or /search/lat,lon) — proposed as entries of places.json ({lat, lon, category, address?, note?}, category the list's name; stays.read_places ignores the extra keys) and written only with --write, new names added, an entry already there never changed, a place without coordinates listed and never geocoded (no network). Not lines: a saved place names coordinates, which is what derive stays reads from places.json. logbook/places.py.
  • logbook derive stays [--day YYYY-MM-DD | --since YYYY-MM-DD --until YYYY-MM-DD] [--subject ID] [--dry-run] [--json]: the first reader of the record. logbook/stays.py turns the window's location/v1 lines into stays, stops and moves, per subject (ADR 0018: the owner first, then each asset), and prints a table in local time (span, kind, place or coordinates, duration, what is attached, aboard) or one JSON object (window, settings, subjects, segments, nights, noise_points). The window runs from the first day's local midnight to 08:00 after the last, so the night is inside it. Points are clustered in time order against an anchor (the cluster's first point, or a named place's centre) within a radius, default 150 m; a single fix away and straight back is GPS noise, dropped and counted; a cluster under stop_min_s (3 min) is travel; the same place after a gap under merge_gap_s (10 min) is one stay, after a longer gap two stays with a move of no distance between them, printed as gap. A cluster is a stay when it lasts stay_min_s (20 min) or when anything is attached — an event, transcript, note, call, message or photo whose instant falls inside it, an end-bearing line when its span overlaps — evidence promotes (promoted: true), duration is the fallback; else a stop, kept and flagged nothing attached. Retracted lines never count; counts only, never a line's text. A move spans from one cluster's last point to the next's first: distance along the points between, duration, and a mode from the average speed (walk ≤ 7 km/h, car ≤ 130, train above, flight above 150 km/h or when a gap with no points starts and ends within 8 km of airports, airports: ["OSL", "BGO"]); the airports are the flights table (RFC 0013, flights.Airports), --airports FILE or LOGBOOK_AIRPORTS adding to it as for add flight. Aboard is derived, never written (ADR 0018 rule 3): the owner's stay is aboard an asset when the asset's positions in that span fall within the radius of the stay's centroid, a move when at least half the owner's points have an asset position within the radius at most aboard_window_s (5 min) away, a gap between two stays aboard the same asset; aboard a registered asset, or moving as one, the mode is the asset's kind (yacht → boat, aircraft → flight, car → car). The overnight stay of each day is the owner's stay with the longest overlap of the night window (night: ["22:00", "08:00"]) when that overlap reaches stay_min_s, else the day is in transit. Settings live in <root>/policy/stays.json, written with the defaults on the first real run and never rewritten (an edited file is honoured); --dry-run writes nothing, not even that, and says on stderr which settings apply. <root>/places.json ({"Home": {"lat": 59.91, "lon": 10.75, "radius_m": 120}}, the radius optional) names a stay and gives the place its own radius. assets.json is read through logbook.assets for the kinds and names. --subject <id> prints one asset's track, --subject owner the owner's; an id neither assets.json nor a line in the window names exits 2. Nothing is ever appended by this command. stays.derive(lines, settings, places, assets, tz) is the pure pass an engine calls without a folder. Tested on synthetic Oslo tracks: GPS noise, an outlier, a short and a long gap at home, a ten-minute cafe stop promoted by one photo, every evidence kind and a retracted message, walk and car by speed, a train to OSL and a gap to BGO as a flight, an overnight at home, a red-eye night in transit, a range of days, a yacht's synthetic AIS track with the owner aboard, the subject filter, an unknown subject, an empty day, and the same lines deriving twice to the same segments.
  • logbook stats --health [--json]: one row per local day from the health lines, read through the index (Index.of_kind, a streamed sweep of the files): sleep in hours (the asleep stages — asleep, core, deep, rem, never in_bed — of the night that ends on the day, summed per device, the longest device taken), steps (per quarter hour the larger device, summed), resting heart rate (the mean of the day's readings). Retracted lines are left out. Never a device, a zone or any other field; --json gives {"days": [...]}.
  • show folds one calendar entry that several sources carry into one row: two event/v1 lines with the same title (case and spacing aside), or naming the same flight in two spellings (Flight to Zürich (LX 561), Flug LX561 nach Zürich), starting within five minutes of each other, from different sources, print once, at the first one's time, with the source column naming them all (ics+ios-calendar). One calendar holding an entry twice is still two rows. The folded lines leave the day before the runs of location points are collapsed, so a repeat from a second calendar no longer breaks a run in two. Extends SPEC §3.2's run collapse on the reader's side; nothing about the record changes.
  • show prints a note/v1 line as its first line, then … (+N lines) when there are more (leading blank lines skipped); the whole text, as written, stays behind --raw. A day with three long meeting notes reads as three lines again.
  • show: a run of location points is one source and one subject (SPEC §3.2 as clarified); an asset's run is prefixed with its id, so a day at sea reads as the phone's points and the boat's.
  • Asset registry (ADR 0018): <root>/assets.json names the boats, aircraft and cars whose positions the record tracks as their own subjects, one entry {id, kind: yacht|aircraft|car, name, mmsi?, icao24?, registration?} each; logbook assets add <id> --kind --name [--mmsi] [--icao24] [--registration] registers one (an id, mmsi or icao24 belongs to one asset; an icao24 is stored lower-case; a bad entry is one line on stderr and exit 2) and logbook assets list prints them. A setting of the record, outside the chain, read through logbook.assets; unknown keys of the file are preserved.
  • logbook add flight "LX 561 NCE ZRH 2026-09-27 pilot 07:05-08:20 A320 ZZ-ABC": the owner's word as a manual flight/v1 line, evidence declared — designator, origin, destination, date, then optionally the role (default passenger), a departure and arrival clock (local at each airport, recorded as actual; an arrival before the departure is the next local day), an aircraft type and a registration. A sentence that starts flight but not with a designator is still a note; one that starts with a designator and does not parse exits 2 with the format. A declared flight the record already holds is merged into it (the role wins) and the console says so.
  • logbook infer flights [--since DAY] [--until DAY] [--airports FILE] [--dry-run]: flight/v1 lines, source flight-inference, evidence inferred, from the record's own evidence: a calendar entry (event/v1, its last version standing, not cancelled) whose title names a flight (LX 561, Flight to Zurich (LX 561); an airline the table does not know needs the word "flight" or ✈), plus a silence of twenty minutes or more in the location points around it that starts within 8 km of one airport and ends within 8 km of another; the gap's edges are the actual times, the entry's span the scheduled ones, the airports the gap's; a route in the title (OSL-ZRH) picks between candidate gaps, else the longest wins. An entry without such a gap is a plan and produces nothing (counted). extra.event and extra.gap name the entry and the two points. A re-run appends nothing; a flight Flighty already tracked gets the inference attached as an observation.
  • show prints a flight as XY 561 OSL → ZRH, arrives 09:24, Airbus A320 LN-XYA, tracked, as pilot and a flight line another flight line superseded as superseded by #N. Index.by_kind(kind, first_day, last_day) and Index.superseded(kind) (from the supersedes column, no rebuild). adapters.named resolves the alias flights → flighty. Tests: the tables (every zone loads), the grammar, the merge in every order, the adapter on a synthetic export (Oslo persona, airline XY), the inference on synthetic tracks around Oslo and Zürich airports, the CLI end to end.
  • verify streams the record (#28): Logbook.lines() is now a merge of the month files — every file open at once, one parsed line from each in a heap keyed by seq, the smallest yielded and its file read on — so memory is one line per month file however long the record; the whole-log export streams the same way. On a synthetic record of 3,000,000 lines over 120 month files, verify went from 72 s and 4.7 GB peak RSS to 54 s and 23 MB, and export of the whole log from 26 s and 6.5 GB to 23 s and 29 MB. The writer keeps every file in seq order and the merge relies on it; a file that is not (SPEC §3 orders by seq wherever a line was found, so such a record can still be valid) raises UnsortedFile, and verify and the whole-log export then read again through the two-pass sorted read migrate uses, sixteen bytes a line. verify --progress prints one line per month file on stderr as its last line is checked — files finish in the order of their last seq, so a backfilled month finishes early — and stdout stays the one line it always was, byte for byte. verify still never opens the index.
  • Dedupe without the log in memory (#29): append_many has deduped through the index since ADR 0007 — one SELECT per 10,000-draft batch against the (source, raw_id) index, the in-memory set only the batch's own keys, the index extended at every checkpoint so nothing is ever appended past it — and the issue's premise no longer held; this closes it with the measurement: 100,000 drafts already in a 3,000,000-line record are deduped in two to three seconds at 41 MB peak RSS, the same before and after. show and export --day read only the lines the index locates (checked by a test that fails if either lists or scans the month files). Two slow tests (LOGBOOK_SLOW=1) build the 3,000,000-line record in a temporary folder and assert that verify's peak RSS on it is within 48 MB of a 1,000,000-line record's and that the dedupe stays under 256 MB, each measured in a process of its own.
  • index.sqlite schema 3: the media column stats counts also reads a payload.content reference (RFC 0004), so transcripts count as attachments; an existing index is rebuilt once, by the first reader. show prints a transcript as <title> — <participants>; <turns>, <length>, a participant by the resolution of its email when one exists, never the text. logbook add passes store (the attachment store), source, tier and at to an adapter whose run takes them, and refuses --source/--tier for one that does not.
  • export crossing --to <destination> --since <RFC3339|last> [--until <RFC3339>] [--tier 1|1,2|1,2,3] [--kinds a,b] [--out <dir>] [--dry-run] (#77): one crossing-package/v1 bundle (RFC 0005) for a named circle member, the lines of the half-open window [since, until) verbatim in entries.jsonl, read through the index and never rewritten; attachments/<sha256> copies of every SPEC §1.1 file the store holds (hashed on the way; a missing one stays a reference and is counted); resolution.jsonl with every resolution line the exported refs resolve through, alias hops included (RFC 0006), nothing else from outside the window; manifest.json with logbook_head, covers, recipient, tiers, counts (logged, crossed, held back, per tier, per kind, resolutions, attachments), blobs, the digest of each file, the tool version, a review list of every tier-2 line when tier 2 crosses and a tier3 warning when tier 3 does. The ceiling per destination lives in <root>/policy/crossing.json (ADR 0016), {"hermes": {"max_tier": 2}} by default, written by init and by the first export; a request above it, or to a destination the file does not name, exits 2 naming the file; tier 3 needs both the file and an explicit --tier 1,2,3, and the console says so loudly. Every real export appends one tier-1 crossing/v1 line, source logbook (RFC 0011): destination, window, counts, policy in force, logbook_head, and package_sha256, the digest of manifest.json; then records the window end per destination in <root>/exports/crossing.json, which --since last reads (the first run without it is refused with the flag to pass). --dry-run prints the counts per kind and tier, the attachment bytes and the policy that would apply and writes nothing. A retracted line is held back. Index.window locates a window by at; resolve.standing and resolve.walk expose the last-line-standing map and the alias walk labels was built on.
  • logbook stats [--json]: one screen of what a record holds, read through the index in one SELECT per table and nothing from the files: format and head; lines, first and last at; lines per kind with first and last local day and distinct sources; lines per source; lines per local year as a bar of one character per ~1% of the busiest year; retractions and the lines they hide; resolution lines and the entities they mint; attachments referenced under payload.media or extra.media (SPEC §1.1) and how many are present under attachments/; and what the run took. Numbers, kinds, sources and dates only, never payload content. index.sqlite schema 2 adds the supersedes, entity and media columns it counts; an existing index is rebuilt once, by the first reader.

Fixes and housekeeping

  • verify --progress reports the month files in path order, each as file n of N: <path>: ... (#120, fixes #101). The merge in Logbook.lines() finishes a small file long before a large earlier one, so the lines came out in heap-exhaustion order and a reader could not tell how far the run was; a file that finishes early is now held until every earlier path has, and the counter runs 1, 2, … N.
  • show no longer fails on an event whose attendee is a string, the shape before RFC 0009: SPEC §3.2 reads it as an email ref, named through the record's resolution lines like any other, and anything else is printed as it is (SPEC §5: a reader never fails on a payload it cannot interpret). The conformance sample's first day showed it. logbook/present.py no longer raises a SyntaxWarning for an escaped asterisk in its docstring.
  • Scrub: init prints the record as ~/Logbook when it is under the home directory, never the expanded path, and docs/demo.gif is re-recorded from a throwaway home (the old one showed a real user name); the example flight sentence and the Flighty fixture carry the unassigned registration ZZ-ABC instead of a real airline's; the Withings profile ids, the Reminders store names and the Norwegian numbers outside the persona's +47 9000 000x block in the fixtures are re-patterned. Nothing in the tree matched the owner's private identifier list.
  • Tests no longer see the shell's LOGBOOK_BACKUP_PASSWORD: tests/conftest.py clears it beside LOGBOOK_HOME and the home directory.
  • infer flights missed every flight of a tracker that keeps logging in the air. The search wanted a silence of twenty minutes between a point at one airport and a point at another; a phone that logs the take-off roll and the climb starts its silence from a point seven kilometres up, near no airport, and one that logs the whole flight is never silent at all, so neither was a flight. Now the search is for a leg: the last point within 8 km of one airport, then the first point within 8 km of a different one, every point between them near no airport, at least twenty minutes apart (flights.MIN_LEG, was MIN_GAP); the leg's two points are the actual times and extra.gap as before, silence in between is usual but not required. Airports.nearest looks up the nine one-degree cells around a point (CELL_KM) so every point of a day can be placed, not only a gap's edges. "Flug" counts as a flight word beside "flight" and ✈ (Flug XY561 nach Zürich). Four calendar entries for one flight (two calendars, two spellings) gave four identical inferences: the dry run said four flights and the real run wrote one and called the other three "already in the record". flights.reconcile now drops a draft that repeats an observation earlier in the same stream, and the dry run counts the observations the record already holds the way the real run does, so both say 1 flight from 4 calendar entries. The skip phrase reads calendar flights the location points do not confirm. Found on a real record's September; reproduced on synthetic tracks around Oslo and Zürich airports.
  • granola: a note Granola made without recording (one empty turn from an instant to the same instant, duration_s 0) was still logged as a transcript/v1 line with an empty transcript stored under it. Now such a note yields only its summary as the note/v1 line, raw_id granola:<note id>:summary as ever, extra.derived_from set only when the record already holds a transcript for the note (else left out, derived_from_raw_id still names it), nothing stored, and the skip counted as without a recording. granola.recorded(line, segments) is the rule: a segment with words, or a span above zero seconds. Tested with a synthetic note carrying one empty segment.
  • import-backup: the Safari step reported safari: History.db not found on every encrypted backup. The source was registered under AppDomain-com.apple.mobilesafari; the phone backs the file up in HomeDomain at Library/Safari/History.db, and that is where ios_backup.EXTRAS now looks. A store is resolved through the Files table of Manifest.db by domain and relativePath, never by a fixed fileID; the test plants a synthetic row whose fileID is not the SHA-1 a backup would give it and copies the file from where that row points. The encrypted-backup fixture, which had copied the wrong domain, is corrected.
  • import-backup: a copy is checked against the stored blob, not the manifest's Size. An iOS 26.5 backup records a file's size on the phone (Size) while the blob it stores is another size, so the first file stopped the import with copied 29,650,944 bytes, the backup has 35,745,792 although the decryption was exact (blob 29,650,960 = plaintext + 16 bytes of PKCS#7 padding). Now a decrypted copy must equal the blob's length less the padding stripped (ios_backup_crypto.decrypt_file returns Decrypted(written, padding) and strips valid padding before it honours Size; a blob whose last block is not padding fails), a plain copy must equal the blob byte for byte (the manifest's Size is now read for an unencrypted backup too), and a copy that matches the blob but not Size is one warning: line naming the file and both sizes, never an error. copies.json records the copy's real bytes and, per copy, that warning. Plan.copied is a list of ios_backup.Copy.
  • Repository hygiene: scripts/check_pii.py is a stdlib-only pre-commit hook that greps every added line of the staged diff for the owner's personal identifiers and fails the commit on a match, printing the file and line but never the text. The identifiers never enter the repository: the hook reads one case-insensitive regex per line from the file LOGBOOK_PII_PATTERNS names (default ~/.config/logbook/pii-patterns); without the file it prints one warning and passes, so CI and other checkouts are unaffected. Tested against a temporary patterns file of synthetic values only. CLAUDE.md gains the commit routine (author identity, -s -S, git log -1 --format='%G?' → G, how to create the patterns file) and the release routine (grep __version__ on the tagged commit before git tag -s).
  • imessage: an attachment row with no filename is only extra.media_missing; extra.media is no longer written with a media_type and no path, so it always carries local_path as its docstring and RFC 0008's media rule say, the fix #74 gave whatsapp (its media_kind still comes from the mime type). The property test fixes itself to the adapter (#75): its date floor is computed from APPLE_EPOCH + EARLIEST_DATE (2010-07-05T05:20:00Z, not the 7th); the media rule holds in the first slot and under extra.more_media; a sender may carry the optional name RFC 0008 added (#59), never blank, which the test's store now grows a display_name column to exercise.
  • whatsapp: a media row with no ZMEDIALOCALPATH is only extra.media_missing; extra.media is no longer written with a title and no path, so it always carries local_path as its docstring and RFC 0008's media rule say. The property test fixes itself to the adapter (#66): its date floor is computed from APPLE_EPOCH + EARLIEST_DATE (2010-07-05T05:20:00Z, not the 7th), and a sender may carry the optional name RFC 0008 added (#59), never blank.
  • CI: a cross-impl job on every pull request and push to main builds the independent TypeScript implementation (bighydro/logbook-ts) at its main, checks that its verify prints the head in conformance/expected.json on conformance/sample-logbook, then appends one note to a copy of the sample with the Python CLI and verifies the copy with the TypeScript CLI: the two implementations must agree on a record the other wrote.

0.4.1 — 2026-09-25

  • Documentation fix; no code behaviour change: the example phone number in README, adapters/phone.py and the ios-contacts tests is now the UK fictional-range number 07700 900123 (dial prefix 44), never a real one. CLAUDE.md hard rule: example phone numbers, emails and addresses come only from reserved fictional ranges.

0.4.0 — 2026-09-21

  • SPEC §1.1 (ADR 0015): the content-addressed attachment store, attachments/<sha256>, optional, write-once, never pruned, outside the hash chain; the { sha256, path, bytes, media_type } reference shape that RFCs 0004, 0005, 0008 and 0010 point at. No format bump; nothing implemented yet.
  • SPEC clarifications, no format bump, no hash change: GENESIS named; month-file placement is a writer MUST, not a validity condition; every envelope field present and end null, never absent; timestamps UTC with Z, fractional seconds hashed verbatim; seq decimal unpadded and hex lowercase in the pre-image; the verifier checks §2 as well as the chain; duplicate keys and duplicate seq are invalid; only the canonical form is hashed; unknown keys in logbook.json are preserved; the write order (lines, then logbook.json, then the index). §6 and conformance/README.md now state the same tamper-and-delete condition. Found by the clean-room TypeScript implementation.
  • The reference is as strict as SPEC §2–3 (#47), no hash change: verify names any missing envelope field (end is null, never absent; schema/observation.schema.json now requires it); a line with a duplicate JSON key, at any depth, is invalid on read; writers normalise at/end/recorded_at to UTC with a literal Z (an offset is converted, a stamp with no zone is refused); verify reports a timestamp with a numeric offset as a WARNING in this release — the record stays valid, exit 0 — and the next release makes it an error; append/append_many fsync the month files before logbook.json is saved.
  • ios-contacts file adapter: an iPhone's AddressBook.sqlitedb (also the hashed file in an unencrypted Finder/iTunes backup) → resolution/v1 (RFC 0006), one line per phone number and email address, minting one UUIDv7 per contact as person or company — how a record gets its people (ADR 0013.2). Opened read-only and immutable; refs are deduped on the normalised value so a later backup appends nothing already resolved; LOGBOOK_DIAL_PREFIX completes numbers saved without a country code, dropping one national trunk 0. logbook add now reports every count an adapter tallies, not only the location ones.
  • whatsapp file adapter: an iPhone's WhatsApp ChatStorage.sqlite (also the hashed file in an unencrypted Finder/iTunes backup) → message/v1 (RFC 0008), one line per message: chat (direct or group; broadcast lists are groups; status chats skipped), sender as a source-native phone or handle ref through the new shared adapters/phone.py (so a WhatsApp number and an address-book number are the same ref), text, media_kind. raw_id is <chat jid>:<stanza id> so a later backup appends nothing already logged. Media v1 rule: files are never copied into the record; a file present under Message/ is hashed into extra.media (sha256, bytes, local_path) for a later attach pass, a missing one is extra.media_missing; payload.media is never set (the §1.1 store is not built yet); LOGBOOK_WHATSAPP_HASH_MEDIA=0 skips the hashing. Streams the store through one cursor, built for a million rows. logbook add now also reports what an adapter noted without skipping (media hashed or missing, rows keyed by row id).
  • imessage file adapter: an iPhone's Messages sms.db (also the hashed file in an unencrypted Finder/iTunes backup) and the chat.db macOS keeps under ~/Library/Messages → message/v1 (RFC 0008), one line per message: chat (direct or group), sender as a source-native phone, email or handle ref through the shared adapters/phone.py, text, reply_to, media_kind, extra.service. raw_id is the message guid, so a later backup appends nothing already logged. A body that iOS 16+ keeps only in attributedBody (an NSArchiver typedstream) is decoded by a stdlib-only reader; tapbacks and group events are skipped and counted (rule 1); a date in seconds or nanoseconds since 2001 is read either way. Media v1 rule as for WhatsApp: no file is copied and payload.media is never set; a file present under Attachments/ beside the database is hashed into extra.media, a missing one is extra.media_missing, further attachments go under extra.more_media; LOGBOOK_IMESSAGE_HASH_MEDIA=0 skips the hashing. One streamed SELECT, opened read-only and immutable.
  • ios-notes file adapter: an iPhone's Apple Notes NoteStore.sqlite (also the hashed file in an unencrypted Finder/iTunes backup) → note/v1 (RFC 0010), one line per note at its creation time: text decoded from the gzip+protobuf note archive by a stdlib-only walker (field path 2 → 3 → 2), falling back to the snippet when the archive will not decode; title, folder, modified_at; raw_id is <identifier>@<modified_at> so an edited note is a new line and an unchanged one appends nothing. Password-protected notes are skipped (the body is encrypted); notes marked for deletion are logged with extra.deleted; a note with no recoverable text or no usable creation date is skipped. Checklist markers (RFC 0010 rule 3) are not interpreted yet. Opened read-only and immutable, streamed through one cursor.
  • ios-calendar file adapter: an iPhone's Calendar.sqlitedb (also the hashed file in an unencrypted Finder/iTunes backup) → event/v1 (RFC 0009), one line per stored entry: span in UTC with the entry's own zone, calendar, title, notes, location (coordinates under extra.location), organizer and attendees as email refs with their responses, status. A recurring master carries its rule as RRULE text and a detached occurrence carries recurrence_of; occurrences are never expanded. raw_id is <uid>@<last modified> (rule 5), so an edited entry is a new line next time. Placeholder rows (a start before 1900, such as 1601) and rows with no start are skipped and counted. supersedes is never set on import; readers join an edited entry's lines on the bare uid. Every column beyond the start is optional, for other iOS versions. logbook add now passes the record's timezone to an adapter whose run takes timezone, so a floating all-day entry lands at local midnight.
  • show prints people by name from the record's own resolution lines (RFC 0006): the sender of a message, the organizer and attendees of an event. Index.resolutions() yields every resolution line in chain order (no schema change, no rebuild); logbook/resolve.py builds one {(ref.kind, ref.value): label} map per invocation, skipping retracted lines and the line a later resolution supersedes, the last one standing winning for a ref (rule 4). A chat is not an entity: an unnamed group prints its chat.id as the source gave it. show --raw prints every ref unchanged. show still only reads.
  • RFC 0008: sender gains an optional name, the sender's display name as the source shows it (a WhatsApp push name or group-member contact name; iMessage fills it only from a store whose handle table has a display_name column), never a resolution. show falls back to it when no resolution names the sender, before the direct chat's own name and the raw ref; --raw ignores it.
  • Tests never see the shell's LOGBOOK_HOME or home directory (HOME, USERPROFILE): an autouse fixture in tests/conftest.py pins both to a temporary folder for every test, so a test can never open the real record at ~/Logbook. Never remove it (CLAUDE.md).

0.3.0 — 2026-09-15

  • BREAKING: records created by 0.1.0 or 0.2.0 must run logbook migrate once before any other command will read or write them (SPEC §3.1).
  • Format logbook/0.2 (SPEC §3.1, ADR 0014): canonical_json is now RFC 8785 exactly (UTF-16 key order, ECMAScript float layout; tested against the RFC's vectors). 0.1 hashed floats such as 0.0, 120.0 and 1e-06 differently, so verify and every writer refuse a 0.1 record; logbook migrate recomputes prev/hash in seq order, keeps everything else, records lineage in logbook.json, appends one migration/v1 line, keeps the 0.1 files at logbook-0.1/. The conformance sample is 0.2.
  • index.sqlite: a disposable SQLite locator of the files (ADR 0001, 0007) — logbook index builds it in one streaming pass; show, retract, export --day/--days and add/sync dedupe go through it and rebuild it when it is missing or stale; append/append_many extend it at each checkpoint; verify and whole-log export never read it. show now lists a local day (the owner's timezone) with local clock times, as export --day always did.
  • sync <source> [--since RFC3339] [--dry-run] pulls from a live source through the new live-adapter contract (configure/pull) and keeps its watermark in state/; first live adapter: immich → photo/v1 (RFC 0002), stdlib urllib only.

0.2.0 — 2026-09-15

  • Docs site (MkDocs Material) deployed from main; reproducible demo tape.
  • Package published as openlogbook; the command is logbook.
  • init and find refuse a code checkout (#12).
  • export --day DATE / --days FROM TO write day-package/v1 directories (ADR 0013 §4); export/ is ignored.
  • add takes several paths (logbook add a.json b.json some/dir); a path that does not exist is an error (exit 2), never a note.
  • retract SEQ "reason" writes a retraction/v1 line that supersedes SEQ (SPEC §3); show hides the retracted line behind a marker, export --day keeps it and adds retracted_by.
  • export --days reads the log once for the whole range instead of once per day.

0.1.0

  • Format v0.1: folder layout, envelope, hash chain, tiers, conformance rule.
  • CLI: init, add (text or JSONL), show, verify, export.
  • Conformance fixture with expected head.