A Notebook is an Account kept as plain files in a folder on this Mac
status: accepted #
A Notebook is an Account kept as plain files in a folder on this Mac
Corkboard keeps Issues of your own, outside Linear and Microfiche, in Notebooks: folders of TOML and Markdown files
on this Mac, either under ~/.config/corkboard/notebooks/<slug> or inside a repository as .corkboard/. Following
0002 and 0003, each Notebook is an Account (Source::Notebook) with one Team whose key prefixes its Issues'
identifiers (PER-k3f9), so every mode, Filter, Outline, Link, Comment, Capture, CLI command and MCP tool works on a
Notebook without a second model.
notebook.toml holds the Notebook's name, Team key, Workflow states, Project statuses, Labels and Cycles;
projects/<id>.md holds each Project's fields in a YAML header (with its Milestones) over its Markdown description;
and issues/<identifier>.md holds each Issue's fields, Links and Comments in a YAML header over its Markdown
description, written atomically as Stickies are (0006). Identifiers use short base36 hashes (PER-k3f9) rather than a
shared counter so two git branches, two Macs or an agent and a person can make Issues at once without colliding on a
number or a binary file.
data.sqlite stays strictly a Local copy (0001): each sync reads the folder into SQLite (replaces: true), Changes go
through the one changes queue and deliver turn to write the folder's files, Edit::Remove moves an Issue's file to
the Trash, and a folder stamp check re-syncs when git, an editor or an agent changes a file on disk. Because Notebooks
use Corkboard's own words (Issue, Project, Milestone, Workflow state, Link), lists and Searches span Linear Accounts
and Notebooks together, with account: in the Filter bar to narrow to any one.
Considered Options #
- Keeping Notebooks only in
data.sqlite(or a separate SQLite file). Simpler to write and atomic for numbered identifiers, but binary in a git repository, unreadable in a text editor, and destroyed ifdata.sqliteis reset. - Numbered identifiers (
PER-1,PER-2) innotebook.toml. Shorter to say on one Mac, but two branches or two synced Macs making an Issue before merging would give two Issues one identifier. - Stretching Stickies (0006) into tasks. Would burden unstructured notes with states, Projects, identifiers and Teams they were designed not to carry.
Phin Tech docs
Corkboard in the store →