docs(home): default Museion Home to ~/Documents/Museion
CI / ci (push) Canceled after 0s

The Home default moves out of the account root into Documents. The app
is unsandboxed (ADR-0009), message: one-time macOS TCC consent for
Documents applies — recorded in ADR-0004. Contract docs (CONTEXT.md
glossary, PRD G5, visual prototype) follow the ADR.

[Generated by AI]
This commit is contained in:
AlexKucera committed 2026-09-30 11:25:05 +02:00
1 parent e5b7203906
commit b3daac9486
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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**:
+2 -2
View File
@@ -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/<post id>/` 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/<post id>/` 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).** `<home>/learnings/<type>/`, 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).
@@ -1,3 +1,3 @@
# 0004 — Content is folder-shaped under one Museion Home
Content lives as per-post folders (`posts/<post id>/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 id>/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.
+1 -1
View File
@@ -544,7 +544,7 @@
</div>
<footer class="statusbar" data-od-id="status-bar">
<span>~/Museion</span>
<span>~/Documents/Museion</span>
<div class="status-items">
<span id="wordCount">174 words</span>
<span>Origin: writer</span>