diff --git a/CONTEXT.md b/CONTEXT.md index bc2c3dc..35efa1e 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -7,7 +7,7 @@ The Agentic Writing Environment: a native macOS app where the writer, the text, ### 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. +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**: diff --git a/PRD.md b/PRD.md index 8888b9b..036f8c8 100644 --- a/PRD.md +++ b/PRD.md @@ -23,7 +23,7 @@ - **Model/provider:** user-managed by editing the `museion` profile's config (currently `zai/glm-5.3`); Museion never touches it. - **Publish (G2, resolved):** Micro.blog via Micropub. Media endpoint accepts PNG (also JPEG, GIF, WebP, SVG, JXL — verified) — ink-sketch illustrations upload as-is. - **Build order:** loop-first — bridge spike (M0) before editor polish; the differentiator (critique memory) lands in M3, not last. -- **Museion Home:** `~/Museion` by default, editable in Settings; repoint-only — Museion never moves content. +- **Museion Home:** `~/Documents/Museion` by default, editable in Settings; repoint-only — Museion never moves content. - **Workspace UI design reference (`ref/Web-Prototype/`):** OpenDesign handoff — `museion-workspace.html` is the visual contract for the Mentor Loop workspace (nav rail Posts/Sessions/Learnings/Settings, editor pane, mentor pane with Passes/Chat tabs, fix cards, promote-to-learnings dialog, engine status). Build from its tokens and layout geometry (`DESIGN-HANDOFF.md` + `DESIGN-MANIFEST.json`), not a loose reinterpretation; its web viewport matrix maps to macOS window sizes and pane collapse, not literal breakpoints. Visual contract only — user stories govern behavior and scope; the illustration `ref/` style guides stay author-side and outside app scope (G12). ## Problem @@ -186,7 +186,7 @@ The mentor's mind ships as markdown skills inside the app, seeded additively int - **G3a — Provisioning + skill seeding (this session).** User decision: Museion creates the `museion` profile if missing and copies its bundled writing skills (Serif stack, shipped as app resources) into the profile. Seeding is additive-only so it never clobbers the mentor's self-improved skills — a later Museion version adds new skills, never overwrites old ones. - **G4 — Profile backup (this session).** User decision: Museion keeps timestamped snapshots of the whole `museion` profile — the mentor's memory and improved skills are irreplaceable state, not reinstallable. Defaults: daily on launch, last 7 kept, complete copy including credentials (same-machine threat model), restore manual in v1. - **Build order → loop-first (this session).** M0 bridge spike before editor polish; differentiator (M3) before conveniences (M5–M6). -- **G5 — Content layout → one Home, lazy post folders (merged from both grill sessions).** Museion Home (`~/Museion` default, Settings-editable, repoint-only — pi session) with the main session's shape: `posts//` holding `post.md`, `research/`, `assets/`, created lazily on first write; post id = slug of the first line at first save; explicit Rename moves the folder; external markdown edits as-is, Import (copy) makes it a Post. New content types copy the shape. ADR-0004. +- **G5 — Content layout → one Home, lazy post folders (merged from both grill sessions).** Museion Home (`~/Documents/Museion` default, Settings-editable, repoint-only — pi session) with the main session's shape: `posts//` holding `post.md`, `research/`, `assets/`, created lazily on first write; post id = slug of the first line at first save; explicit Rename moves the folder; external markdown edits as-is, Import (copy) makes it a Post. New content types copy the shape. ADR-0004. - **G6 — Writing tools → in-app Swift MCP server, minimal surface (merged).** Host from the main session (ADR-0008): the binary doubles as `museion-tools`, registered via `hermes mcp add` once the mode exists (#23) — provisioning never writes `mcp_servers` (#44); surface from the pi session: `query_learnings` + `submit_fix_cards` only, typed and quote-anchored (ADR-0006); passes Museion-driven over ACP — the app sends a minimal stub prompt, methodology stays in the skills; stats native in Swift at capture; research engine-native. Model/provider user-managed in the profile config. - **G7 — Learnings → the Home, per content type (merged).** `/learnings//`, one markdown file per learning with decay state in frontmatter (main session) — per-writer, portable, Museion-owned, fresh start with no legacy import (pi session; verified nothing to import). The engine owns nothing. ADR-0005. - **G8 — Decay → output clock (merged).** Resurface after 10 passes of that content type (pi session), doubling per re-dismiss; per-learning `resurface_after` frontmatter override (main session). diff --git a/docs/adr/0004-folder-shaped-content-under-one-home.md b/docs/adr/0004-folder-shaped-content-under-one-home.md index 5dfc200..1a9b042 100644 --- a/docs/adr/0004-folder-shaped-content-under-one-home.md +++ b/docs/adr/0004-folder-shaped-content-under-one-home.md @@ -1,3 +1,3 @@ # 0004 — Content is folder-shaped under one Museion Home -Content lives as per-post folders (`posts//post.md` + `research/` + `assets/`, created lazily on first write) under a single Museion Home (`~/Museion` by default, editable in Settings; repoint-only — Museion never moves content), not as loose files in an opened project folder. The post id is the slug of the first line, set at first save; explicit Rename moves the folder (the file is always `post.md`). The Scrivener-shaped unit buys colocated assets and a growth path to long-form types at the cost of a post no longer being one file; external markdown is edited as-is, and Import (copy, never move) makes it a Post. +Content lives as per-post folders (`posts//post.md` + `research/` + `assets/`, created lazily on first write) under a single Museion Home (`~/Documents/Museion` by default — not the account root; one-time macOS TCC consent for Documents applies since the app is unsandboxed (ADR-0009), editable in Settings; repoint-only — Museion never moves content), not as loose files in an opened project folder. The post id is the slug of the first line, set at first save; explicit Rename moves the folder (the file is always `post.md`). The Scrivener-shaped unit buys colocated assets and a growth path to long-form types at the cost of a post no longer being one file; external markdown is edited as-is, and Import (copy, never move) makes it a Post. diff --git a/ref/Web-Prototype/museion-workspace.html b/ref/Web-Prototype/museion-workspace.html index cb4c6f9..5e4dc95 100644 --- a/ref/Web-Prototype/museion-workspace.html +++ b/ref/Web-Prototype/museion-workspace.html @@ -544,7 +544,7 @@