Two bugs after the engine update, both found via a live NDJSON repro against the real binary: session/new now requires mcpServers in the ACP SDK schema (NewSessionRequest). Museion sent only cwd, the engine answered -32602, the handshake threw, and the pane showed "the mentor engine stopped" — a validation rejection dressed as a crash. Send the honest empty list; Museion ships no MCP servers (#44 invariant, now pinned on the wire by a strict fake in tests). The advisory version-drift note compared raw strings: the gate records the derived version from `acp --version` (0.21.5+2177.g735e426) while initialize answers the base version (agentInfo.version -> 0.21.5), fabricating drift on every launch. Compare base versions (strip +build metadata); real drift still fires. Wire facts re-verified against adapter 0.21.5; docs updated.
4.7 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
-
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
- 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.