docs(home): document iCloud default Home (#172)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Amend ADR-0004's Home clause to the confirmed wording: iCloud Drive/Museion by default for new Homes (resolved dynamically, never hard-coded), silent ~/Documents/Museion fallback at first run, no-TCC creation with consent-on-read for pre-existing iCloud files, repoint-only. Add the "Your Museion Home" section to the README — default + fallback, the Settings ▸ Content ▸ Museion Home ▸ Choose… repoint control, manual migration via Finder move, Keep Downloaded pinning, iCloud substrate quirks (numbered conflict siblings, dataless files), and companion workflows (Textastic-class editors, iCloud.com, iCloud for Windows). Append the default-Home sentence to PRD line 14 per the bundle and clear the now-contradicting ~/Documents/Museion default claims at PRD lines 26 and 192. Facts cite the #168 factsheet and the #169 resolution; ADR-0009 and the ADR sequence are untouched. AGENTS.md carries only the gitnexus index-stats refresh (analyze churn). Closes #172
This commit is contained in:
1 parent
ad021b5267
commit
44978a4d4f
4 files changed
+15
-5
No files matched your search
@@ -130,7 +130,7 @@ Single-context: `GLOSSARY.md` + `docs/adr/` at the repo root. See `docs/agents/d
|
||||
<!-- gitnexus:start -->
|
||||
# GitNexus — Code Intelligence
|
||||
|
||||
This project is indexed by GitNexus as **museion** (6347 symbols, 27802 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
This project is indexed by GitNexus as **museion** (6356 symbols, 27823 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
|
||||
> Index stale? Run `node .gitnexus/run.cjs analyze` from the project root — it auto-selects an available runner. No `.gitnexus/run.cjs` yet? `npx gitnexus analyze` (npm 11 crash → `npm i -g gitnexus`; #1939).
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
- Native SwiftUI macOS app, macOS 26.5+, Swift 6 (ADR-0001)
|
||||
- GPL-3.0-or-later (ADR-0002)
|
||||
- Forge: Gitea at git.babylondreams.de (ADR-0003)
|
||||
- Plain markdown files on disk — no bespoke store. Content is folder-shaped under one Museion Home (ADR-0004): `posts/<post id>/post.md` + `research/` + `assets/` — still plain files, so Obsidian gravity weakens but holds.
|
||||
- Plain markdown files on disk — no bespoke store. Content is folder-shaped under one Museion Home (ADR-0004): `posts/<post id>/post.md` + `research/` + `assets/` — still plain files, so Obsidian gravity weakens but holds. Default Home: iCloud Drive/Museion (CloudDocs), silent `~/Documents/Museion` fallback at first run (map #167).
|
||||
- v1 = the Mentor Loop + library-light; long-form structure, multi-mind, Paper-grade polish deferred to v2+
|
||||
- **Engine (G1, resolved):** Museion is the shell; Hermes (Python, NousResearch, MIT) is the engine, driven over **ACP** — spawned as a child process `hermes acp -p <surface profile>` (stdio JSON-RPC; ADR-0014). **User-installed Hermes** — no app-managed install, no bundled Python. Every launch runs `hermes acp --check` async at app start — nothing blocks; checking and failed states surface in a rail pill.
|
||||
- **Profile isolation (G3, amended ADR-0014):** Museion runs Hermes under dedicated profiles, **one per LLM surface** — `museion` (Chat + Sessions), `museion-pass1`, `museion-pass2` (`~/.hermes/profiles/<name>/` — isolated config, memory, skills, credentials, chat history). Coding learnings and writing learnings never mix. Surface count not configurable in v1.
|
||||
@@ -23,7 +23,7 @@
|
||||
- **Model/provider (amended ADR-0014):** per-surface, edited in-app — Settings writes each profile's `model:` block via `hermes config set` (model, base_url, reasoning_effort) and provider keys into matching profiles' `.env`; reasoning effort is one key with per-provider dropdown vocabularies (zai low/high/max, OpenAI low/medium/high/xhigh/max, Anthropic low/medium/high/xhigh/max — Hermes clamps per route).
|
||||
- **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:** `~/Documents/Museion` by default, editable in Settings; repoint-only — Museion never moves content.
|
||||
- **Museion Home:** iCloud Drive/Museion (CloudDocs) by default for new Homes — silent `~/Documents/Museion` fallback at first run, pre-iCloud Homes migrate manually (ADR-0004, map #167); 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
|
||||
@@ -189,7 +189,7 @@ The mentor's mind ships as markdown skills inside the app, seeded additively int
|
||||
- **G3a — Provisioning + skill seeding (this session; amended ADR-0014).** User decision: Museion creates the surface profiles if missing and copies its bundled writing skills (Serif stack, shipped as app resources) into each. 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 (`~/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.
|
||||
- **G5 — Content layout → one Home, lazy post folders (merged from both grill sessions).** Museion Home (iCloud Drive/Museion default for new Homes, silent `~/Documents/Museion` fallback at first run — amended per map #167; 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).
|
||||
|
||||
@@ -25,6 +25,16 @@ swiftformat . && swiftlint .
|
||||
|
||||
Full Xcode project at the repo root — `open Museion.xcodeproj` and run.
|
||||
|
||||
## Your Museion Home
|
||||
|
||||
Everything you write lives in one folder — the **Museion Home** — as plain markdown you can reach from anywhere.
|
||||
|
||||
- **Default for new Homes: `iCloud Drive/Museion`** — `~/Library/Mobile Documents/com~apple~CloudDocs/Museion`, resolved dynamically. When iCloud Drive is unavailable at first run, Museion silently falls back to `~/Documents/Museion` — no dialog; the Settings Home field shows the resolved path. An existing `~/Documents/Museion` Home is never silently moved — it stays your Home until you migrate it yourself (#169).
|
||||
- **Migrating an existing Home:** Museion is repoint-only — it never moves content. Move the `Museion` folder in Finder (e.g. `~/Documents/Museion` → `iCloud Drive/Museion`), then repoint via **Settings ▸ Content ▸ Museion Home ▸ Choose…** (Museion/SettingsPaneView.swift:199).
|
||||
- **Avoid eviction stalls:** right-click the `Museion` folder in Finder and choose **Keep Downloaded**. Pinning keeps files local, so opening a piece never waits on a download (#168).
|
||||
- **iCloud quirks are substrate, not bugs:** editing the same file on two devices yields numbered duplicate siblings — iCloud keeps both, it never merges. An evicted file keeps its real name and size, but its first read blocks while the data downloads (#168).
|
||||
- **Companions:** Textastic-class editors open and edit pieces in place on iPhone/iPad via the Files app / document picker; iCloud.com and iCloud for Windows reach the Home too (#168, #169).
|
||||
|
||||
## License
|
||||
|
||||
GPL-3.0-or-later — see [LICENSE](LICENSE).
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
> Layout half superseded by [ADR-0012](0012-projects-archive-layout-and-type-frontmatter.md) — Projects level, Archive, and Content Type as frontmatter; the folder-shaped Piece itself stands.
|
||||
|
||||
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.
|
||||
Content lives as per-post folders (`posts/<post id>/post.md` + `research/` + `assets/`, created lazily on first write) under a single Museion Home (iCloud Drive/Museion — `~/Library/Mobile Documents/com~apple~CloudDocs/Museion` — by default for new Homes, resolved dynamically, never hard-coded; silent fallback to `~/Documents/Museion` at first run when iCloud Drive is unavailable; creating the Home needs no TCC consent, reading pre-existing iCloud files prompts once — unsandboxed, ADR-0009; editable in Settings; repoint-only — Museion never moves content; pre-iCloud Homes migrate by documented manual move + Settings repoint), 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.
|
||||
Reference in new issue
Block a user