docs(design): capture product and design system
CI / ci (push) Canceled after 0s

Record durable product truth in PRODUCT.md (platform, users, the
Mentor Loop, hard rules, brand commitments) and the incumbent visual
system in DESIGN.md (the Scholar's Desk two-paper world with
normative tokens and named rules), plus the impeccable config and
renderable-component sidecar. Gives the design tooling an authority
to check future UI work against.
This commit is contained in:
AlexKucera committed 2026-11-11 16:35:48 +01:00
1 parent 06ab149c55
commit 5915178ce8
4 files changed
+585

No files matched your search

+66
View File
@@ -0,0 +1,66 @@
# Product
<!-- impeccable:product-schema 1 -->
## Platform
macos
## Users
v1 is Alexander himself — scratch-own-itch, the Helm ADE pattern: personal, local-first, GPL, zero audience risk while the category is invented. Dogfood until the loop earns more. The vertical it proves: essay/blog writers who want to get better, not ghostwritten — unoccupied (AI-writing competitors are fiction-only). The decision to publish for others is post-v1, informed by actual use.
## Product Purpose
Museion is the Agentic Writing Environment (AWE) — the IDE for long-form writing, where the text, the library, and a resident AI mind work under one native macOS roof. Named for the Mouseion of Alexandria: the one place in history where they already did.
v1 ships the Mentor Loop: a minimal editor surface + one fierce agent + persistent critique memory + library-light + plain markdown + a real publish path. The workflow is not hypothetical — it already runs daily (Hermes + the serif-writing skill stack); Museion formalizes a validated workflow into an app, it does not invent the mentor. Success means the daily loop holds up as an app and the writer measurably improves at craft.
## Positioning
Every AI writing tool on the market makes text faster; none is built to make the *writer* better. Museion's defensible mechanism is the discipline apparatus — manuscript context plus persistent memory of recurring weaknesses — which a plugin bolted to a notes app cannot own. Fierceness alone is a system prompt; memory is the moat.
- vs Obsidian + Copilot: agent-first and native, manuscript-shaped with the AI as resident, with memory of the writer.
- vs Ulysses/Scrivener: real AI depth — their structure is the ceiling, here it is the floor.
- vs Paper: Paper's calm without giving up depth.
- vs Sudowrite Story Coach / Fictionary / AutoCrit: an environment aimed at essays/blogs (unoccupied vertical), not fiction coaching.
## Operating Context
- All writing lives in one **Museion Home** folder as plain markdown (default `iCloud Drive/Museion`, silent `~/Documents/Museion` fallback at first run; repoint-only — Museion never moves content). Finder, Textastic-class editors, and iCloud.com all reach it.
- The engine is user-installed **Hermes**, spawned as a child process over **ACP** under dedicated profiles — one per LLM surface: `museion` (chat/sessions), `museion-pass1`, `museion-pass2`. Isolated config, skills, credentials, memory; writing and coding learnings never mix.
- Model/provider per surface, edited in-app; `zai/glm-5.3` is the research-validated default pin.
- Mentor methodology ships as bundled markdown skills seeded additively into the profiles (Serif stack, deslop, pass/session personas, demonstrator doctrine, craft canon, drill packs) — the profile's self-improved skills are never overwritten.
- Publishing goes to Micro.blog via Micropub: draft first, then publish; illustrations travel with alt text.
- GLOSSARY.md is the binding shared vocabulary (Mentor, Engine, Pass, Fix Card, Learning, Home, Piece…).
## Capabilities and Constraints
- v1 scope locked to the seven milestones M0–M6 (bridge spike, editor surface, edit passes + fix cards, critique memory, measurable improvement, research/library-light, Micropub publish). M4–M6 shed in that order under scope pressure.
- v1 non-goals: long-form structure tools (binder/compile), multi-mind agents, vault depth (backlinks/graph), native Swift agent loop, app-managed Hermes install, publish targets beyond Micro.blog, non-macOS platforms, App Store distribution, AI-draft wizards/templates, mentor judgment of illustration style.
- Hard product rules: stats are computed on unaided writer-origin first drafts only; a Learning is promoted only by explicit confirmation (one confirm = one entry) with output-clock decay (resurface after 10 passes, doubling per re-dismiss); no batch apply-all; trust defaults are fixed (apply/promote/keep/publish = ask-before; delete/outside-Home/shell/git = never-do); no one-button publish of mentor prose — the writer's hand ships every piece.
- Technical: native SwiftUI, macOS 26.5+, Swift 6 (ADR-0001); GPL-3.0-or-later (ADR-0002); no bespoke store — plain files only; app sandbox off (the app spawns the user-installed `hermes` binary); the engine never owns Museion state (ADR-0007) — sessions are expendable, learnings/pieces/stats are Museion-owned.
- UI constraint: `ref/Web-Prototype/museion-workspace.html` (+ `DESIGN-HANDOFF.md`, `DESIGN-MANIFEST.json`) is the workspace visual contract — build from its tokens and layout geometry, not a loose reinterpretation.
## Brand Commitments
- Name **Museion**, for the Mouseion of Alexandria; in-app displayed name/tagline come from `AppMetadata` (single source).
- The Alexandria family: *Classis sails, Pharos guides, Museion holds knowledge* — shared native-SwiftUI craft and a coherent brand story.
- License GPL-3.0-or-later; distribution never via the App Store.
- Mentor voice is constant: fierce, never flattering — the Knife never leaves the room; warm-but-firm by persona blend, never a mood adjective.
## Evidence on Hand
- `PRD.md` — build-ready PRD, two stress-test reshapes applied (audit trail G1–G14 inside).
- `GLOSSARY.md`, `docs/adr/` (ADR-0001…0014), `docs/devlog/` session logs, `docs/research/` provider factsheets, `docs/sample-pass.md` (worked sample Pass), `CHANGELOG.md`.
- Validated methodology evidence: daily Hermes + serif-writing editing workflow; session docs under `docs/brainstorming-output/`.
- Visual contract: `ref/Web-Prototype/` (OpenDesign handoff).
- No testimonials, customers, or benchmarks exist — v1 has one user; future work must not fabricate any.
## Product Principles
1. Make the writer better, not the text faster — a feature either deepens the critique or gets out of its way.
2. The writer's hand stays on the wheel — the mentor critiques, demonstrates, and remembers; nothing ships without explicit acceptance.
3. Plain files, local-first, writer-owned — no bespoke store, no backend; the Home is portable markdown Museion never moves.
4. The engine is a swappable organ, never the body — Museion owns all durable state; the engine's own memory is expendable by design.
5. Friction where it guards craft, calm everywhere else — fix cards are first-class surfaces, never toasts; the editor disappears so the writing can lead.