Pieces re-root from posts/<id>/ to projects/<name>/<id>/ with an archive/ twin root (ADR-0012): scan walks both levels, New Piece and Import land in the selected project else the default posts, the slug namespace is global across projects and archive (an archived slug is never reused), and every piece carries type: post frontmatter — stamped by New/Import, read leniently (absent or unknown reads as post), the file stays post.md for every content type. Write paths resolve the folder from the id alone (folder(of:)); sessions and sidecars never thread (project, id). Finish-audit hardening: duplicate ids on disk (Finder copy) dedupe in scan to the same first-match folder(of:) writes to; folder(of:) skips hidden/symlinked projects like scan does. Dev posts moved by hand to projects/posts/ — no migration machinery, the app never reads the old posts/ root (#103). Full suite green (128 unit + UI), swiftlint clean on changed files. Closes #107
7.1 KiB
Changelog
All notable changes to this project will be documented in this file. The format is based on Common Changelog and this project adheres to Semantic Versioning.
[Unreleased]
Added
-
library: projects & archive storage substrate (v1.1 S1) — pieces live under
projects/<name>/<id>/post.mdwith finished work folding intoarchive/<name>/(ADR-0012): the library scans both roots, New Piece and Import land in the selected project (else the defaultposts), slugs stay globally unique across projects and archive so an archived name is never reused, and every piece carriestype: postfrontmatter (absent or unknown types read as post; the file stayspost.mdfor every type) (issue #107) -
editor: spellcheck posture (#77, Neo triage input) — Edit ▸ Check Spelling While Typing now toggles continuous spell checking in the editor; off by default (markdown on disk carries the spelling, squiggles on request), per-launch with no persistence
-
editor: M1 editor core (PRD S1.2) — posts open into a native TextKit2 editing surface (ADR-0010 mode B): styled source with scaled headings, paragraph spacing, and dimmed markdown syntax lifted from the proven spike; ~1 s debounced autosave with flush on selection change, window close, and app quit (⌘S stays immediate); an honest save-state dot — Changed while edits pend, Saved when clean, accent on failure (#83); cursor position and scroll restored across restarts via a per-post
.museion-state.jsonsidecar that dies with the folder on Trash; and an explicit "File on Disk changed — Reload / Keep Local" alert on external edits, never a silent clobber (issue #19) -
workspace: M1 Post lifecycle (PRD S1.1) — Posts are now writable end to end: New Post holds an in-memory draft (no folder until first save), ⌘S lazily materializes
posts/<slug>/post.mdstamped with flat frontmatter (pass_state: First Draft,origin: writer), the slug is the Title's (lowercased, diacritic-folded, CJK-keeping) form with case-insensitive-2/-3collision suffixes, Explicit Rename retitles the# Titleline and moves the folder (file stayspost.md), and Delete moves the folder to the Trash; a recursive FSEvents watcher keeps the list mirroringposts/(external Finder edits included), and a plain-TextEditor stub stands in for the S1.2 editor (issue #18) -
workspace: M1 Home & Posts list (PRD S1.1) — the post-gate main surface is now the workspace shell from the design contract: nav rail (Posts, Sessions, Learnings, Settings), a Posts pane that mirrors the Museion Home's
posts/folder on disk (Pass State groups, origin meta, empty state, lazy folders skipped), a Settings pane where the Home can be repointed (repoint-only — Museion never moves content; NSOpenPanel picker, UserDefaults persistence, default~/Documents/Museion), and placeholder panes for Sessions/Learnings until their milestones; the M0 mentor pane becomes the workspace's fourth column (issue #17) -
backup: S2.6 daily profile backup — on launch, once per 24 h and only while the engine is idle (gateway.pid liveness +
psscan), Museion snapshots~/.hermes/profiles/museion/into a timestamped folder under~/Library/Application Support/Museion/Backups/(credentials included, logs/caches/locks excluded, last 7 kept); restore is manual Finder copy-back — Help → Open Backup Folder,RESTORE.mdbeside the snapshots (issue #50) -
acp: M0 ACP bridge (PRD S2.2) — the app spawns the Hermes engine (
hermes acp -p museion) as a child process via a hand-rolled NDJSON JSON-RPC stdio client, opens a Session, streams mentor replies live in a debug pane, renders fix-card tool calls as structured cards, cancels turns via Stop, tears the child down on quit, and surfaces an in-pane restart prompt on engine crash — never data loss (issue #14) -
provisioning: S2.1 profile provisioning — idempotent per-gate pass creates the
museionHermes profile (hermes profile create --no-alias --no-skills) and additively seeds the bundled writing skills viaseed-manifest.txt; existing skills are never overwritten (issue #47) -
provisioning: Failure alert & retry UX — provisioning failures show a separate phase-named alert (never re-raising the gate) with the error excerpt behind Technical details; Retry re-runs the whole pass, Not Now defers to the next launch's silent retry (issue #48)
-
gate: Engine gate (launch gate, PRD S2.1) — discovers the user-installed Hermes engine via the documented six-path probe, health-checks it (
hermes acp --check), and blocks app launch behind a sheet on every launch: checking/pass/fail cards with install instructions and re-check on fail, engine version in the pass card, About window, and astate.jsonrecord of every completed check (issue #42) -
Initial project scaffold: Xcode project (SwiftUI, macOS 26.5+, Swift 6), unit + UI smoke tests, GPL-3.0-or-later license, Gitea Actions CI (dormant until a macOS runner registers), DOX agent documentation tree, ADRs 0001–0003 (stack, license, forge).
-
skills: Pass and Session container persona skills — mentor manner by blend arithmetic (constant Knife floor, silent Learnings, voice anchor)
-
skills: Demonstrator doctrine skill — master-study demonstrations as named-master variants on the writer's own bounded span, annotated and desloped before display; the picked variant feeds Learnings (issue #3)
-
skills: Micro-drill prompt-pack skill — two-minute single-shelf drill offers riding the Pass finding that motivates them; declined drills vanish, drill output never touches the draft (issue #8)
-
skills: Craft canon distilled from the #4 shortlist — rhetoric (Heinrichs: argument and rhetoric, ten cards plus the fallacy index), reader-psychology (Williams: the reader-processing diagnosis sequence), prose-craft (Clark: fifteen generative tools across better-words, structure, humor, revision); a sample Pass demonstrates all three firing as fix cards (issue #7)
-
skills: Titles-and-hooks craft skill distilled from web sources per the #4 research — the title surface (takeaway over label, bounded numbers, the worn tease, mode fit, person over committee voice) and the hook's curiosity gap (open it, foot it, honor the title–hook contract), every rule data-backed; the sample Pass gains a ninth fix card demonstrating the shelf (issue #11)
Fixed
- workspace: doubled View menu — "Toggle Reading Mode" (#68) sat in its own
CommandMenu("View"), putting a second View menu in the menu bar beside the system one; it now joins the system View menu (CommandGroup(after: .toolbar)), ⌘R and behavior unchanged (issue #84) - acp: mentor pane against adapter 0.21.5 —
session/newnow sends the newly requiredmcpServerslist (empty: Museion ships none); its absence was rejected as invalid params and wrongly surfaced as "the mentor engine stopped" when the engine was fine. The advisory version-drift note now compares base versions, so build metadata (0.21.5+2177.g735e426recorded vs0.21.5reported) no longer fabricates a mismatch on every launch; real drift still fires.