Corkboard's design
What was settled before the first line of code, and why. Words are as CONTEXT.md defines them; the decisions that
are hard to reverse are in docs/adr/.
What it's for #
A better Linear client, for shaping work rather than only seeing it: better Filters and Search, Links between Issues and from Issues to Projects that are quick to make, Sub-issues that are easy to manage, and Projects that are easy to shape and read. Speed and the keyboard are how it gets there. Initiatives, roadmaps and Cycles stay in Linear's app for now.
Keys #
Red Pen's model, with Microfiche's selection:
- No modes for moving:
jk,g gG,JKbetween Issues even in the preview,↩shows the preview,Tabmoves the keys into it,fshows an Issue over the whole window,qor⎋steps out. - Verbs are two-key mnemonics, as Red Pen's
s landm ware:l plink to a Parent,l bblocking,l rrelated,l da duplicate,p pinto a Project,s …snooze,uundo.Spaceor,is the Leader menu, with every Command; ⌘K is the palette. The leader key can be another, in Settings › Shortcuts (leader_key); every key will be rebindable there later. - A Selection is a range (
V, thenjk) or single Issues (v), and the two combine. A verb acts on the Selection, or on the Issue under the cursor with none. The status bar says how many are selected. - The mouse reaches the same Commands, with no mode to switch: a click moves the cursor, ⌘-click picks (
v), ⇧-click makes a range (V), a double click or a click on the cursor's row shows the preview, and a right click has the verbs for what's chosen (a row outside it becomes the cursor first, as in Finder). The title bar has buttons for the commonest, each saying its key, and pointing at an identifier names the row's keys. - A verb that needs a target opens a picker: fuzzy over identifiers and titles from the Local copy, offering only targets that make sense (no Parent that would make a loop).
Places #
The sidebar has My Issues, Inbox, Triage, Projects and Saved Searches (⌘1 to ⌘9).
- Projects open as an Outline. The moves are Microfiche's:
>>Nests under the Issue above,<<takes it out a level,[e]ereorder,mPlaces it elsewhere while showing where,z afolds. Rows show the Workflow state, how many Sub-issues are done (3/5) and blockers. Nesting moves an Issue into its Parent's Project and Milestone, never its Team, and the status bar says so (WEB-40 → Q1 Platform). - Built: the sidebar lists only the Projects favorited (with its +, or Project › Favorite or Unfavorite), kept in the
settings file as
favorite_projects, andg ppicks any one. Sub-issues are ordered by Linear'ssubIssueSortOrder, top-level Issues bysortOrder.m(Placing) and dragging to reorder or Nest are still to come. - The Project heads its Outline: its Summary, Project status (
w s), Lead (w l), start and Target dates (w ⇧S,w t), how much is done, and its description;w rrenames it andw mwrites the Summary. Every Milestone is headed, empty ones too, with its Target date and how much of it is done.⇧M nmakes one after the cursor's, and⇧M r,⇧M t,⇧M k⇧M jand⇧M drename, date, move and delete the cursor's, or one picked when the cursor is under none. Deleting one leaves its Issues under No milestone, andubrings it back with them (ADR 0005). An Issue dragged onto a Milestone's heading, or onto a row under it, moves into that Milestone asp mwould, bringing the Selection when it's part of it; one outside the Project stays put. - Every other list is flat;
z aopens an Issue's Sub-issues in place. - Inbox: one row for each Issue.
s …snoozes anddarchives, in Linear; opening one marks it read. Every Issue verb works from its preview. - Built:
g ishows the Inbox, its unread count in the sidebar; each sync brings every Notification of the last three months that isn't archived. A row says who did what to which Issue and when, unread ones with a dot.↩(or a second click) shows the Issue in the preview and marks the row read;⇧Umarks it read andxarchives it (dtears off a Sticky), each a Change sent asnotificationUpdate'sreadAtornotificationArchive, andutakes it back. One about an Issue the Local copy hasn't synced opens in Linear.corkboard inboxand the MCP server'slist_notificationslist what's unread. Snoozing is still to come; one snoozed in Linear stays hidden until it wakes. - Triage:
aaccepts into the Team's default state,Aaccepts with a line of fields in Capture's syntax,xdeclines with a reason posted as a comment,l dmarks a duplicate,s …snoozes. All work on a Selection.
Modes #
Whatever's shown can be seen three ways, and the verbs are the same in each. The title bar's switch shows which, and clicks between them, as their keys do.
- List mode, rows, which Corkboard opens in.
- Corkboard mode (
b), cards on a cork board, with Strings for Links. ⌘= and ⌘- zoom it, as=,-, ⌘-scroll and a pinch do, and ⌘0 or0puts it back; elsewhere ⌘= and ⌘- are the text size. Dragging the bare cork moves around it. Dragging from a card's tack to another card ties a String, and a picker asks which Link it makes, worded from the first card: blocks, blocked by, related, duplicate, Parent or Sub-issue. - Paper mode (
P), the Issues written out as a page, for reading down a Project or a Filter as text: a bullet journal on graph paper, or a Microfiche Note. View › Switch Paper Style (space v s) and Settings choose. Headings group them as the board's columns do (or by Milestone, on a Project); Sub-issues go beneath their Parents even where their state would put them under another Heading, and say their own state; Links are Fields named from the Issue's side. It moves as Microfiche's normal mode does, and there's no insert mode: nothing on the paper is text to edit. Each Project and Filter keeps its own folded Headings. Lines are one height, so only those in sight are built, as in List mode. The preview is a sheet of the same paper: a page of the journal, or a Note with the Issue's fields as Fields (state:[in-progress]), and still where the description and Comments are written.
Narrow mode (⇧⌘M) isn't a fourth mode: it hides whichever is underneath, and the sidebar, and shrinks the window to
480 points around one Issue, with everything the preview can change. Leaving it gives the window its width back, and the
next launch remembers. j k still move along the list, g o (Go to Issue…, the palette already at #) goes to any
Issue, and its pins are tabs across its top. An
Issue that leaves the list, as one marked done does, stays shown. Anything it has no room for (the list, a place, a
mode, the Agent) leaves it first. It's something you choose, not something a narrow window does by itself. So that it
can be that small, every main window may now be dragged down to 480 points, though the list is cramped
well before that.
Pins are tabs under the list's header in every mode and place, and across the top of Narrow mode. ⇧T pins or
unpins, as a row's right click does. Clicking a tab, or ⌃⇥ and ⌃⇧⇥, shows its Issue in the
preview, leaving the Stickies for Home first, since they have none. Every window shows the same pins, kept in
state.toml.
The list's toolbar never runs past its column. Its buttons are named while there's room, become icons when there isn't, and give up the mode switch last, whose modes keep their keys and the View menu. The header measures what's at its left and how wide each size of toolbar draws, since the font and the language say how wide words are.
All Issues and Home #
All Issues is the Local copy: your Teams' Issues, and whatever a search has brought. Every other view is a Saved
Search over it, My Issues (@me is:open) among them, put there once and Home to start with. Home is what Corkboard
opens on, and g h goes back to. A filter also asks Linear for the same, translated to its IssueFilter, one page,
400 ms after it settles; a Saved Search marked Keep synced is asked again at every sync. Nothing else beyond your Teams
is downloaded.
Filters and Search #
The typecase filter bar, read as Microfiche's :linear query is: @me project:Website,Billing +bug -priority:low status:"In Progress" due:<fri. Built so far: +label (or label:), state: (status:), is:started,
priority: (p:), project: (in:), team:, account:, cycle: (a number or name, current or none), estimate: (points, with < and >, or none), due:, created: and updated: with < and > (created:<-6m), - before any to leave it out, and words
over the identifier, title and description. It reads only the Local copy, so it never waits on Linear. Saved Searches keep a Filter by name, as
its text, in the settings file; + saves what's shown, ⌘1 to ⌘9 bring the first nine back, and My Issues clears the
Filter. Link keys are named from the Issue's side and are fixed for now: is:blocked,
is:blocking, has:subs, blocked-by:AUTH-12, blocking:, parent:, child:, related:, duplicate-of:.
Parentheses are kept for nested Filters later (blocked-by:(project:Billing -is:done)), so no saved text may use them
now.
⌘K is typecase's palette: every Command, by its menu's name, with its keys (menu or SPC). # searches Issues:
the whole Local copy as you type, whoever's and however done, and after a pause in typing, Linear's own search,
whose finds the Local copy lacks are listed under "from Linear" and kept in the Local copy for next time. An Issue the
list has gets the cursor; one it doesn't is shown in the preview until the cursor moves.
One Search over titles, descriptions and comments, used three ways: jumping (⌘K, #), picking a verb's target, and
words in the filter bar, with matching snippets in the preview.
Capture #
The Capture box, after Microfiche's: one line in the Filter's sigils, Fix token refresh +bug @sam p:"Q1 Platform" ^AUTH-12 >WEB-40 due:fri, with chips that read the line and write into it, and tab completing people, labels,
Projects and Issues. c in the app, a global key through the menu bar extra, and corkboard capture …. It lands
where it was captured from, or in the Account's default Team, shown as a chip to change. The app stays running with no
windows, so it needs no separate helper as Microfiche's Capture agent is.
- Built:
c, Capture an Issue… in the File menu and the menu bar extra, ⌃⌥⌘C from any app (chosen in Settings, as the shortcut that brings Corkboard forward is), andcorkboard capture …, which queues it for the app to send. The line readsteam:,state:,p:,@,in:,+,due:,^(Parent),>orblocking:,blocked-by:andrelated:;tabfinishes the one being typed and otherwise steps through the chips, Return makes it, and Escape forgets it. It's made from the Issue under the cursor's Team and the Project shown, or the Team chosen in Settings. A new Issue is a Change like any other, under an id Corkboard gives it, so Changes made before Linear has it name it too; it shows asCRK-newuntil Linear names it, andutakes it back, to Linear's trash once it's sent. - New Issue… (⌘N, and New Window is ⇧⌘N) is the same, in a window of its own with a title and a description over the
line:
tabgoes from one to the next and ⌘↩ makes it. Escape puts it away keeping what's written. The toolbar has a button for it, and each Corkboard mode column a +, which starts it in that column. - A chip, clicked or reached with
taband Return, opens a picker under the chips: a search over what its field can be (Teams, statuses, priorities, people, Projects, Labels, dates, Issues),↑↓and Return to take one. Labels go on and off and the picker stays, since an Issue has several.
Welcome and the tour #
Red Pen's, on Typecase's welcome and tour. Welcome opens once, at a first launch with no Account, and again from Help:
what Corkboard is, signing in, the keys worth knowing first, making Issues, and the menu bar. The tour points at the
sidebar, the filter bar, the list, the preview, the modes and the toolbar, over made-up Issues: while it runs, every
window shows a Local copy of the sample, made afresh each time, and ending it brings yours back. Syncing and sending
Changes keep to yours throughout, and the edits to undo are forgotten when it starts and ends, so u never crosses
from one to the other.
Stickies #
Notes of your own, which aren't Linear's (ADR 0006, 0008): a place in the sidebar, under All Issues, and g s. Each
Sticky is a Markdown file in a Notebook's stickies/ or a folder you choose, its colour and Labels in a YAML header, so the folder can sit in iCloud
Drive or git and any editor can write in it. Where each is pinned on the cork is the Local copy's, by its folder and
name; a Sticky never moved goes in the next free place along a grid.
- One home's Stickies show at a time, named under the title bar; clicking the name shows another's. A Notebook in a repository keeps none until Settings › Stickies switches it on, since they're committed with it.
- Make It an Issue (in its menu) opens the New Issue window on it: its first line the title, the rest the description,
and the Labels its Account has. It goes to the Sticky's Notebook if it's in one, and the Sticky is torn off once the
Issue is made. One
utakes both back, among the Stickies or the Issues. - The three modes are the Issues':
bpins them to the cork anywhere, each leaning a degree or two as a hand left it, dragged and left where they're dropped (Tidy the Board puts them back on the grid), with ← → andjkmoving the cursor to the nearest one that way; a right click on bare cork puts a new one there. List mode is rows, andPwrites them out under a Heading for each first Label. - There's no preview: a Sticky is written on in place, on its card, its row or its place on the paper, with its
colours and Labels under the writing.
e,↩, a second click or a double one starts; Escape or ⌘↩ finishes.n(or ⌘N, while the Stickies are shown) makes one beside the cursor's, in its colour and first Label, ready to write on, and one made and left empty goes again.p cis its colour,p lits Labels,dtears it off to the Trash, anduundoes each of these, the typing included. Each Label has a colour of its own, picked by its name. - Tape (
⇧N, or Tape a Section Here from a right click on the cork) is a strip of masking tape with a section's name handwritten on it, to head a part of the cork; it leans more than a note does. It's a Sticky of its own kind, so it's kept, written on, moved, torn off and undone as one is; List mode shows it as a heading, and Paper mode, which has its own Headings, leaves it out. - Stickies go together the way paper on a cork does. Each note has a tack, and dragging from it to another ties a
String between them (
strings: [name]in the file it was tied from), which hangs and swings as the Issues' do; Cut Its Strings cuts them. ⌥ as one is let go over another clips it on (clipped to: name): it sits a little down and along, under a paper clip, and the pile moves as one. ⌥-dragging one out of a pile, or Unclip, takes it off, and it stays where it was. Both are in the files, so the folder keeps them;utakes either back. - The paper looks handled: each note's bottom corner curls up a little, the writing's pressure varies line by line, tape's ends are torn, and a note torn off leaves its tack's hole in the cork until the app quits. All of it is drawn from the Sticky's name, so it looks the same every time.
- A checkbox written on one (
- [ ] eggs) is ticked from the card itself, and the card and the row say1/3. That's as far as doing goes: no states, dates or reminders. What needs a date is sent to Reminders; what's work, to Linear. - Holding the line on what a canvas could become: no shapes, drawing, images, templates, frames or live sharing for now. Frames (named areas) are the first that may come, once there are too many to read by Label.
- The canvas (
corkboard_core::canvas) is plain geometry over an R*-tree: what's in sight, what's under a point, what's beside the cursor, and where there's room. Only the Stickies in sight are built. The Issues' board keeps its own columns for now, and can move onto it once it needs what it does. - Microfiche's Notes and Apple Notes may become other folders of Stickies later, through the same seam, and a place showing more than one of them together would need an ADR of its own.
Writing #
Descriptions and comments are shown rendered as Markdown, as Red Pen's preview does, and written in Microfiche's Vim
editor (microfiche-modal-editor): e the description, m a comment, @ and # completing people and Issues.
Corkboard takes the editor from Microfiche's repository by tag at first, and it moves into typecase
(typecase-vim, typecase-modal-editor) once Corkboard has shown what it needs changed.
Verbs #
Every verb has a key, a place in the leader, a menu item (which ⌘K lists) and a place in the right-click menu; the
preview's fields are buttons for theirs. Built so far: s status, p 1–p 4 and p 0 priority, a assign, l p
link to a Parent (refusing loops), l u take out from under it, u undo, l b blocks, l B blocked by, l r related, l d
duplicate of, l x take a Link away, p p move to a Project. A picker is the palette's card, narrowed by typing. A
Link made here waits as local-<Change> until Linear gives it an id.
Changes and sync #
See ADR 0001. Every edit is a Change: on screen at once, sent from a queue kept on disk, waiting while offline
("6 changes waiting"), taken back with a toast if Linear refuses. The last write wins on each field. u undoes your
last edit, a bulk one included, by queuing the opposite Changes.
Accounts and signing in #
Several Accounts (ADR 0003): Linear workspaces (each a personal API key kept in the Keychain), Microfiche folders
(ADR 0004), and Notebooks of your own on this Mac (ADR 0007), kept as TOML and Markdown files under
~/.config/corkboard/notebooks/<slug> or in a folder such as a repository's .corkboard/ (corkboard init). Linear
Accounts and Notebooks share Corkboard's words and lists, narrowed by account: or team: when wanted; Links never
span Accounts.
Agents #
An MCP server (corkboard mcp) in the first version, over the Local copy: search, read, link, Nest, move into a
Project, Capture. Lists sort by when Issues were made or last changed, and each Issue says both. An Issue's history
(issue_history, corkboard history), who changed what and when, is the one read asked of Linear, since the Local
copy keeps only what an Issue is now. Its edits are Changes like anyone's, so they queue, roll back and undo the same way. No agent panel
yet: typecase's can follow.
corkboard mcp is a command of the app's own binary, not a server left running. It shares the Local copy with the
app and sends Changes itself, so an agent's edits reach Linear with the app closed. Each sender takes a turn before
sending, so none goes twice, and the app notices what another process wrote. The command line asks the same things
(corkboard search, nest, link…), and a terminal Corkboard can stand on the same footing later, which is why what
a Command changes is worked out in the core rather than in a view. An agent adds it as a stdio server, for Claude Code:
claude mcp add corkboard -- /Applications/Corkboard.app/Contents/MacOS/corkboard mcp; Settings › Agent shows the
setup for each client, and installs the corkboard command and a skill for it (skills/corkboard), for Claude Code
and for the agents that read ~/.agents/skills, such as Codex and Pi; npx skills add finds it in the repository.
The Agent panel (typecase's) runs your own agent beside your Issues, as Red Pen and Microfiche do, given only that
server. Its server also reaches the window it's in, along a socket of the window's own, to ask what it shows and to go
to an Issue or a Filter, or keep a Filter as a Saved Search, as Microfiche's sidebar does. It opens on the conversation
about all your Issues unless Settings says the one at the cursor. Its Changes say which agent made them. View › Ask the Agent
sends Corkboard's prompts, and [[prompts]] in the settings file adds your own.
Shipping #
The download page with Sparkle, as the other apps; GitHub releases and a cask may follow. Made from gpui-template
v0.5.0 with SQLite, the corkboard: URL scheme, the menu bar extra, Open at login and the command line.
Phin Tech docs
Corkboard in the store →