A Microfiche folder is an Account, reached through Microfiche's API
status: proposed #
A Microfiche folder is an Account, reached through Microfiche's API
Corkboard shows the Tasks in a Microfiche folder as Issues, following 0002: the folder is an Account, its prefix is
the Account's one Team, and a Task is an Issue named by the prefix and the Task's id: (HOME-k3f9). Its child Tasks
are Sub-issues and each depends: is a blocked-by Link. A top-level folder inside it is a Project, and every Note
beneath that folder, however deep, is one of its Milestones, named by its path; Notes outside any folder hold Issues in
no Project, as the Inbox does.
Corkboard reaches the folder only through Microfiche's API, which Microfiche's Capture agent serves on a socket
(Microfiche's ADR 0003), as it reaches Linear only through Linear's, with the microfiche-api crate for its wire. The
agent is required: when it isn't running, the Account says so, and Changes wait as they do for Linear when it can't be
reached. Each sync reads the whole folder and replaces the Account's Local copy, since Microfiche's index makes that
cheap, and a watch on the folder syncs the Account whenever a Note changes, by hand or otherwise.
Changes go from the one queue, the same as Linear's, to the agent. A Task has no place for a priority, assignee,
estimate, Cycle or Comment, so those edits are refused before they're made, and the window says why. An Issue's
description is the Task's Description, the lines written beneath it in its Note. A Task with no id: is named
by its Note and title until it's first changed, when Microfiche writes an id onto it, so only Tasks you change are
touched. Both apps are ours, so what doesn't fit is added to Microfiche rather than made optional here: an Issue still
always has a Team and an identifier.
The model's words stay Linear's, but each screen shows one Source and uses its words, so a Microfiche Issue shows as a Task and its Milestone as a Note. Lists and Searches span the Accounts of one Source and never two, because a list of Issues beside Tasks would need words for neither.
Open questions #
- Microfiche's Linear Extension syncs Linear Issues into
linear.ficheandlinear/, so a folder holds copies of Issues Corkboard already shows under Linear. Leaving out the Notes an Extension owns (its manifest'snotes) would drop the copies but keep a hand-written Task carryinglinear:HOME-31, which is a step of yours, not a copy. Left until the read-only slice shows whether the copies get in the way.
Considered Options #
- Team made optional in Corkboard. Every Filter, identifier and Nesting would have to handle an Issue with none, which is the neutral model 0002 turned down.
- Numbered identifiers (
HOME-14), as Linear's are. Linear's server is the one place an Issue is made, but a folder is written by hand, by agents and on several Macs, so a counter could give two Tasks one number. If identifiers turn out hard to say, an alias Field can name a Task as well. - Linking Microfiche's crates. No process to run, but the two workspaces would have to agree on their shared dependencies' versions and be released together.
- Running
microfichefor each Change, andmicrofiche queryto sync. Corkboard's first, read-only slice did. It needs no agent, but every call starts a process, and nothing says when a Note is edited by hand. - Writing an
id:onto every Task when the folder is added. Simplest afterwards, but it rewrites every Note in the folder before you've changed anything.
Phin Tech docs
Corkboard in the store →