Concepts
The vocabulary of the myco ledger — each term defined once.
The ledger
- Ledger — the
project/worktree: the canonical record of intent for one repo. Markdown files on an orphanprojectbranch; git history is the audit trail. - Item — one unit of work or thought, with a prefixed id (
T-001task,I-001issue,P-001proposal,PL-001plan,ADR-0001decision). Tasks are lines inTODO.md/BACKLOG.md/DONE.md; the file-backed kinds get one markdown file each. - Kind — the item type (
task,issue,proposal,adr,plan, plus[[kinds]]customs). Each kind has a prefix, a storage shape (doclines ordirfiles), and its own state vocabulary. - State machine — the seven statuses (
open,claimed,in-progress,blocked,deferred,done,cancelled) and the legal transitions between them. Verbs walk it one step at a time. - Handoff — an append-only dated note on an item (
handoffs/<ID>.md) recording done/next/open at session end.resumereads the latest entries back as restart context. - View — a declarative read spec (
filter → group_by → sort → limit → format) named in[views]config or built in (board,open,epic,burnup, …). Views are the only read surface — there are no per-view verbs. - Verb — a mutation or read the engine owns (
todo add,item set,handoff,view, …). Every mutating verb is one atomic commit onproject.
Engine and prelude
- Engine — the code-owned half: file spec, state machine, id registry, commit-per-mutation, view evaluation. Must never be data.
- Prelude — the seeded config half: the five builtin
[[kinds]], the builtin views, the[verbs]aliasesmyco initwrites intomyco.toml. PM is the shipped prelude, not the product boundary. - Index — the derived, disposable cache (redb +
repos.tomlunder~/.local/share/myco) poweringstatus/view/orgreads. Markdown stays canonical; the index can be deleted and rebuilt. - Universe — the set of repos an index-sourced view spans: lasius workspace clones ∪
repos.tomlregistrations. - Ledger state — per universe repo:
local(ownproject/),none(ledger-less — verbs resolve to the org ledger), ororg(the one repo everynonemember points at). - Org designation — the
ledger = "org"mark on one universe entry; its worktree is the fallback ledger and acurrenttarget. - Current selector — the user-layer
[current]table inmyco.toml: a sticky ledger target +always/backupmode. See ledger selection. - Directory pointer — a
.myco.tomlfile in a plain folder naming a ledger; honored only outside git repos. - Workspace —
[workspace] reposglobs selecting a set of universe repos for index-sourced views.
Surfaces
mycocommand — a tamiasbins[]shim: generated script →tamias bin exec→tamias-driver-myco cli→ the engine lib. There is no cargo-installedmycobinary.tamias-driver-myco— the driver binary: pavo view driver + engine ops surface (opsmanifest,cli.<verb>queries,clishim passthrough). Writes always ride the engine's verbs.myco ui— the ratatui board TUI, a front-end overmyco-ops.myco serve/myco batch— the embedding surfaces: ndjson JSON-RPC over stdio for daemons, and one-shot batched requests for scripts and agent fan-out reads.