Map #20 execution child, built per decisions #68/#69/#70: - ReadingPresenter: block-aware renderer (ADR-0010 stance) — blank-line split, one block per chunk; lists (bullets + ordered + nesting + auto-renumber via per-level counters — one rendering path), headings by level (h1 = slot size, h2 = 0.77x, ### = body+1, #### floors at bold body), HR via the editing syntaxOnly predicate, fenced code, blockquotes (QuoteTextBlock hairline), tables (NSTextTable 1px border, delimiter-row alignment), images (hover payload), links styled + retained. Footnotes stay fallback. Source ranges ride every block (click→edit map). - ReadingSurface: read-only selectable NSTextView canvas (#68: a presentation of the same TextKit2 document). Tap with no selection after mouseDown returns = edit intent at the clicked block (the tracking-loop fix); ⌘-click opens links; scroll tracking feeds the flip-back caret; image hover NSPopover loads off-main. - ProseTypography (#70): three role slots — Body / Headings / Code — each {face, size}, UserDefaults six values, member-based font resolution (family+weight lookup misresolves Concourse Book→Thin), silent system fallback; both prose surfaces read them; editing presenter's headings + dimmed syntax rewired through the slots. - PostEditorView: Read⇄Edit toolbar button (far left) + View menu "Toggle Reading Mode" + ⌘R; reading state transient per open; drafts included (draft mirror); flip-back caret hint applied once per token. - SettingsPaneView: Typography section — three slot rows (family picker incl. current face not in the installed list + size field). - kitchen-sink.md (+png): corpus piece exercising constructs absent from the eight posts, per #69. Verified: 94 unit tests (renderer classification, renumbering, source ranges, fallbacks) + UI smoke; PERF-3k renders 128 blocks in ~17 ms; live-app probe — Read renders kitchen-sink markers-hidden, renumbered, byte-stable file after full round-trip; click-to-edit flips at the clicked paragraph; typography ladder pixel-verified (20/15 ink px).
5.8 KiB
Museion
The Agentic Writing Environment: a native macOS app where the writer, the text, and a resident AI mentor work on long-form content under one roof. This glossary pins the language of that domain.
Language
Content
Museion Home:
The single root folder holding all Museion-owned content and learnings (~/Documents/Museion by default; repoint-only — Museion never moves content). One home per writer.
Avoid: workspace, vault, project
Piece: A unit of writing of one Content Type; structurally a folder in the Home holding a markdown file, its Research Notes, and its Assets. Avoid: document, file, manuscript
Post:
A short-form Piece intended for blog publishing; structurally a folder posts/<post id>/ holding post.md, its research/, and its assets/. The only Content Type in v1.
Avoid: article, entry, draft
Post ID:
The post folder's name — the Post's durable identity: the slug of the Title, set at first save. A blank draft becomes untitled; a collision appends -2, -3… Explicit Rename moves the folder; the file is always post.md.
Title:
The Post's first non-empty line — conventionally an # heading, never stripped from the body. Publishes as the entry's name; slugs into the Post ID.
Avoid: heading, subject
Content Type: The kind of Piece (Post today; Essay, Story, Book later). Determines the folder at the Home's root and the partition of Learnings. Avoid: category, kind
Assets:
The per-Piece folder (<id>/assets/) for illustrations and other media belonging to that Piece alone.
Research Note:
A kept source-finding with provenance, living in its Post's research/. Candidates wait in their Session until kept; rejected ones vanish.
Avoid: source card, clip
Import: Bringing external markdown into the Home as a Piece. Asks the Origin once (writer by default), then stamps it immutable. External files are editable as-is; becoming a Post requires it. Avoid: convert, migrate
Origin: The authorship record of a Post: writer or ai. Immutable; only writer-origin First Drafts are ever stats-eligible. Avoid: source, mode
Reading Mode: The rendered presentation of a Piece's text: view-and-select, never editing. Toggled explicitly; clicking the text drops into editing at that spot. Distinct from a Pass, which critiques rather than presents. Avoid: preview, read mode
The Mentor Loop
Mentor: The resident agent: fierce critic in Passes, collaborator in Sessions (drafting, brainstorming). The only mind in v1. Avoid: assistant, copilot, chatbot
Engine: The external agent process hosting the Mentor (Hermes over ACP in v1). Swappable by design; never owns Museion state. Avoid: backend, model
Museion Profile:
The isolated museion profile the Engine always runs under: its config, skills, credentials, automated memory. Holds how to critique, never what was learned.
Avoid: the mentor's memory (conflates profile with Learnings)
Session: A conversation with the Mentor — freeform by default, sometimes the container of a Pass. Carries the standard affordances: new, resume, compact, fork. May float free of any Piece or associate with one. Avoid: chat, thread
Pass: A structured critique run over a Piece. Pass 1 critiques at paragraph level and up (structure, argument, flow); Pass 2 at sentence level and below (line edits). The mentor critiques and may demonstrate (example paragraphs, drafts, corrections), but a final Piece never ships without the writer's hand — no one-button publish of mentor prose. The skill stack's own names — its compose and hunt passes — are its vocabulary, kept out of the app's. Avoid: review, run, check
Pass State: The maturity of a Piece, recorded in its frontmatter: First Draft, Pass-1 Done, Pass-2 Done. Explicit, never inferred. Advances when the Pass completes — the engine's turn ends — not when its Fix Cards are resolved; passes run in any order. Avoid: status, draft state
Fix Card: One finding from a pass: pattern, problem, diagnostic question, fix, anchor, provenance, status. Anchored to a text span by quote; travels as a typed tool call, never prose to parse. Applying it edits the file. Avoid: suggestion, comment, annotation
Learnings:
The per-writer, per-content-type store of promoted critique patterns (learnings/<type>/ in the Home). Plain markdown, one file per Learning, owned by Museion, consulted on every pass.
Avoid: critique memory, memory (unqualified), .learnings
Learning:
One promoted pattern in Learnings: a Fix Card's fields plus the provenance of its promotion, with decay state in frontmatter. One file per Learning, named YYYYMMDD-<pattern-slug>.md.
Avoid: rule, note
Skip: Closing a Fix Card as "not this instance." Records nothing. Avoid: reject, dismiss
Apply: Accepting a Fix Card so its edit lands in the file. Avoid: accept, fix (verb)
Promote: The writer's explicit confirmation that a pattern enters Learnings. Never automatic, never a repetition counter. Avoid: save, remember
Dismiss: Marking a Learning as unwelcome. It fades per Decay and may resurface later. Avoid: delete, skip
Decay: The policy governing when dismissed Learnings may resurface: an output clock counted in passes, doubling on re-dismiss, overridable per Learning. Avoid: expiry, timeout
Unaided First Draft: A draft whose stats may measure the writer: writer-origin, Pass State still First Draft, captured at the first Pass invocation of any kind, before the mentor sees the text. Sessions never disqualify a draft — only passes do. Avoid: raw draft
Trust
Trust Level: One of four permissions for mentor actions: Auto-act, Inform-after, Ask-before, Never-do. Avoid: permission mode
Provenance: The origin record carried by a Fix Card or Learning (piece, date, engine). Avoid: metadata