Files
museion/CONTEXT.md
T
AlexKucera b81aab72cb
CI / ci (push) Canceled after 0s
docs(prd): resolve grill-3 gaps, collapse M6
Three grilling rounds sharpened the build-ready PRD; every
decision now lives in the ACs and the glossary, with nothing
silently assumed.

- Post ID: slug of the Title, untitled fallback, -2 suffixes
- Title: first non-empty line, publishes as the Micropub name
- Pass State advances on pass completion (engine turn end),
  never on card resolution; passes run in any order
- Stats capture at first pass of any kind; sessions never
  disqualify; Import asks Origin once (writer default)
- Pre-pass snapshots in passes/; delete moves to Trash; the
  engine gate reruns on every launch
- Pass prompts are Museion stubs - methodology stays in the
  skill stack; query_learnings decay-filters in museion-tools
- Research candidates live in their session (resumable,
  expendable per ADR-0007)
- category: frontmatter permitted but inert in v1
- M6 collapsed: the author judges illustrations, the mentor
  never assesses images; alt-text floor moved to S6.2;
  milestones renumbered M0-M6; G12 records the call

CONTEXT.md gains the Title term; Post ID, Research Note, Pass,
Pass State, Unaided First Draft, Import, and Learning sharpened.
2026-08-27 15:15:12 +02:00

118 lines
5.4 KiB
Markdown

# 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 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
### 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. 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