Files
museion/CONTEXT.md
T
AlexKucera 18f0ca6444 docs: synthesize best-of-both from the two grill sessions
Merge the decisions of both design-grill commits into one coherent
PRD/CONTEXT/ADR set. Session agreements (main 4616dd8, pi 87a6016)
reconciled per the merge grill session:

- G5 content layout: Museion Home root (pi) + flat posts/<post id>/
  post.md shape with lazy creation and first-save slug (main);
  explicit Rename moves the folder; Import copies (ADR-0004)
- G6 writing tools: in-app Swift MCP server museion-tools (main,
  ADR-0008) with the minimal surface query_learnings +
  submit_fix_cards, Museion-driven passes, native stats (pi)
- G7 learnings: <home>/learnings/<type>/, one file per learning
  (main), engine owns nothing, fresh start (pi) (ADR-0005)
- G8 decay: 10-pass output clock (pi) with per-learning
  resurface_after frontmatter override (main)
- G9 trust: pi's enumerated defaults incl. never-do list
- fix-card transport stays typed + quote-anchored (ADR-0006);
  state ownership / engine swap pinned (ADR-0007)

ADRs renumbered 0004-0008 (both sessions had claimed 0004/0005);
audit-trail G-entries rewritten as merged records G5-G11;
CONTEXT.md glossary unioned (26 terms) with Project/Post Type
dropped in favor of Home/Content Type; MEMORY.md import struck
(verified: nothing to import); stale 'project' wording removed
from M1 and S8.2.
2026-08-27 14:42:38 +02:00

4.7 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 (~/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 first line, set at first save. Explicit Rename moves the folder; the file is always post.md.

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 until kept; rejected ones vanish. Avoid: source card, clip

Import: Bringing external markdown into the Home as a Piece. 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

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 reads and critiques; it never composes. 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. 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. 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 first Pass-1 invocation before the mentor sees the text. 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