Phin Tech docs Corkboard in the store →

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:

Places #

The sidebar has My Issues, Inbox, Triage, Projects and Saved Searches (⌘1 to ⌘9).

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.

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.

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.

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.

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.