Files
museion/CHANGELOG.md
T
AlexKucera 9aa0314564 feat(posts): reveal in Finder and copy path
Every piece row gains a Finder hand-off: Reveal in Finder opens
the piece's post.md selected, Copy Path puts its absolute path on
the clipboard (#205). One shared FinderHandOffButtons fragment in
the workspace chrome serves both menus - the library column
(between Move to Archive and the destructive Trash) and the
Archive pane (appended after Convert). Both act on
PostsModel.fileURL(for:), which resolves the piece through the
one PostStore.folder(of:home:) resolver against the watched Home
(never the scan snapshot) and answers nil when the piece is gone,
so a vanished row no-ops instead of revealing a stale path.

fileURL lives in PostsModelIdentity - the (Home, ID) file - not
the write rail: a pure read, nothing written, no strip. A
View-extension wrapper was tried and deleted as a Middle Man; the
menus mount the struct directly.

+3 tests (projects/ resolve, archive/ resolve, vanished -> nil),
flip-verified: bypassing the resolver reddens exactly the
vanished and archive pins (733/735). Rail 735/735; SwiftFormat
and SwiftLint clean. Reviews: standards + spec (two rounds), then
finish-audit (general, security, ponytail) - the audit added the
archive-root pin and fixed three stale headers. DOX: five
Museion/AGENTS bullets.

The release 0.1.2 log's rows still belong to another session and
stay in the working tree; INDEX and the AGENTS window here carry
only the #205 row.

Closes #205
2026-12-03 18:16:12 +01:00

65 KiB
Raw Blame History

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: Reveal in Finder and Copy Path on every piece row — the library column's menu and the Archive pane's (#205) — one shared FinderHandOffButtons fragment in the workspace chrome over a model-resolved path: PostsModel.fileURL(for:) answers the piece's post.md through the one PostStore.folder(of:home:) resolver against the watched Home (never the scan snapshot), and a vanished piece answers nil so both entries no-op instead of revealing a stale path. Reveal selects the file in Finder; Copy Path puts the POSIX path on the pasteboard (Finder's own form; the pasteboard is cleared first). Library placement sits between Move to Archive and the destructive Trash behind a divider; the Archive menu appends after Convert. +3 tests (projects/ resolve, archive/ resolve, vanished → nil), flip-verified — bypassing the resolver reddens exactly the vanished and archive pins. Suite 735

  • fix cards: Jump on a Fix Card selects the anchor's span in the piece's editor and makes the main window key (#204) — the borderless button sits in every non-stale card's action row (closed cards keep it; a stale anchor has nothing to land on); the span is the card's quote at its 1-based occurrence, resolved against the LIVE session text so a dirty buffer still lands, and it rides the reading flip-back's caret rail (one token counter; a zero-length hint stays a bare caret, a non-zero range selects). A jump leaves reading mode first, writes nothing, and re-fires on every click. Two review rounds closed the view-layer gaps the pure pins could not see: a jump dropped in reading mode, a main window that never became key (NSApp.activate is a no-op once the palette's click activated the app), a leading-blank caret hop that moved a span onto the title, and a cursor record taken before the scroll. +3 tests (anchorRange occurrence math with a UTF-16 fixture, the model's reveal stamp, the editor's landingSpan), all flip-verified. Suite 732

[0.1.2] - 2026-12-03

Human-readable notes: docs/releases/0.1.2.md.

Fixed

  • editor: Dropping an image file on the prose editor pastes the file path instead of ingesting it (#141 follow-up; macOS 27.2.1 dogfood 2026-12-03; unticketed fix) — #141 was field-verified on 27.0.1, where the window-level SwiftUI .dropDestination starved every deeper destination; 27.2 routes a drag to the DEEPEST destination, and a live NSTextView registers itself for drag types (it matches Finder drags through NSFilenamesPboardType), so its stock performDragOperation → readSelection pasted the path and the window destination never fired — the same for a markdown file dropped on the editor (path instead of guest). The editor text views now share a FileDropTextView base that owns the drops landing on them: URL-bearing drags route (never super) — the prose editor through the one new AppGateState.routeFileDrop (Cold Turkey guard → markdown → guest, anything else → ingestDrop), which the window destination also uses for drops landing outside the editor (one router, one surface per drag; a landed drop hops to Posts as markdown always did); the outline rows have no route and bounce instead of pasting the path; text-only drags keep the stock drop; URL-less drags bounce. The pasteboard probe is memoized per changeCount (a 20k-URL drag measured 137 ms per mouse-move uncached). ingestDrop refuses web URLs loudly with the type strip (a browser image drag has no file to copy), and a file that vanished between drag and drop refuses as missing, not as a folder. +9 tests — the drag overrides driven through a real NSDraggingInfo mock (a Finder-shaped drag routes and never pastes the path, an unrouted view claims nothing, a text drag keeps the stock drop, raw image data bounces, the probe follows the pasteboard, the outline rows bounce, web URLs and vanished files refuse with the right notice) and the router's own pins (guest, Cold Turkey refusal, ingest hand-off, mixed refusal); all 9 flip-verified. Verified with one real Finder drag on 27.2.1. Suite 729

[0.1.1] - 2026-12-03

Human-readable notes: docs/releases/0.1.1.md.

Fixed

  • editor: The external guest's file watch compares normalized text (finding museion/external-watch-compares-unnormalized-text, argus cycle-6; unticketed fix, brief-32) — startExternalWatch's onEvent read the disk RAW while the session's text/lastFlushedText came through readDocument's normalizing external branch (BOM strip + CRLF→LF), so diskDidChange raised the #67 conflict whenever the raw bytes differed from BOTH normalized snapshots — which they ALWAYS did for a BOM- or CRLF-carrying file, even with content unchanged. The false alarm blocked departures (select/newPost/newOutline/openExternal) and quit (the #200 gate), and re-armed after every sibling directory event (the watch observes the containing folder) and after either alert answer, until the writer's own flush rewrote the file normalized. The external branch is now the ONE shared read — EditorSession.readExternalDocument(at:) (raw UTF-8 → BOM strip → CRLF→LF) — called by both the open read (readDocument) and the watch's onEvent, so the #67 compare is normalized-to-normalized; what readDocument loads is unchanged (no second normalizer at the compare site, and diskDidChange itself is untouched). A real foreign write still raises the alert — the departure gate is not blinded. +3 tests over the real watch closure (externalWatcher.onEvent): no conflict on an unchanged BOM/CRLF guest (initially and across sibling events), a real write still conflicts, and no re-arm after either alert answer (yes-reload and keep-local); RED-first 3/3 at the pin (11 executed / 8 passed / 3 failed — the three new pins). Suite 720

Changed

  • reading: The bundled apex renderer is 1.1.59 (was 1.1.58) — the arm64 slice of the official universal release tarball, .sha256 verified, the same single @executable_path/../Resources/libyaml.bundle rpath and Developer ID + hardened-runtime signature as the 0.1.0 bundling (ADR-0011 recipe unchanged; 1.1.59 still links libyaml dynamically). --no-mixed-lists still present.

[0.1.0] - 2026-12-01

First release. Human-readable notes: docs/releases/0.1.0.md.

Fixed

  • reading: The bundled apex renderer is self-contained and notarizable. apex's release build links libyaml through CI/Homebrew rpaths, so on any Mac without Homebrew it failed to launch and reading mode silently fell back to the raw source — the bundle promised "no install gate" (ADR-0011) and didn't deliver; Apple's notary service also rejects an unsigned Mach-O in Resources, which is how the 0.1.0 release run found it. Now Resources/apex is the arm64 slice of apex 1.1.58 (the bundle had shipped 1.1.17), Developer ID–signed with the hardened runtime, with one rpath (@executable_path/../Resources/libyaml.bundle) that resolves in the bundle and in the checkout alike; Resources/libyaml.bundle/libyaml-0.2.dylib (0.2.5, MIT) rides beside it, same team signature — inside a .bundle folder because Xcode's synced-folder classifier silently links a bare dylib into the app. release.sh now proves the shipped layout: apex must run from the export and the app must not link libyaml, before anything is notarized. THIRD-PARTY-NOTICES.md ships in the bundle.

  • editor: A Home repoint is a guarded document departure (finding museion/home-repoint-retains-old-editor-target, argus cycle-5; unticketed fix, brief-28) — Settings → Choose… committed the new Home and flipped watchedHome without departing the open session: the session's immutable target kept the OLD Home, so a same-slug piece in the new library made the ID-only reselect return it (autosave/Save/quit wrote the old library while structural operations resolved against the new one), the new library's rescan raised a spurious reload conflict on it, a no-collision piece was torn down by the vanish path with its dirty buffer dropped, and a card scan from the old library could land on the new library's same-slug piece. #198's departure gate never saw this seam. Now PostsModel.repoint(to:) runs the SAME gate (sessionMayDepart's three legs — unanswered conflict, failed flush, never-loaded retype; no parallel gate) BEFORE anything commits: a refusal changes nothing (preference, binding, the session's target and buffer stay; the #198 reason spoken once, the #200 quit-refusal posture, since no Posts strip is in sight from Settings), an acceptance lands the edits on the old library first and clears the departed piece's state — nothing auto-reopens. Document identity is (Home, ID) everywhere (EditorSession.targets, PostsModel.openSessionTargets): every bare session.postID == comparison is retired across select, the structural rail, conversion, the pass guard, Micropub and the card refresh, and async continuations re-validate identity at COMPLETION (the card-scan hop-back; rescan's stale-Home verdict is hoisted to cover the list, the revision and the #67 text, not just the vanish check). The in-memory draft survives a repoint (no Home until first save). +9 tests over a two-Home same-slug rig (the three refusal legs with ordering pinned, same-slug open + save on flush AND quit, no-collision cleanup, stale card scan via the per-model scanPieceCards seam — mutation-checked, pass after repoint; review r1: the hoisted rescan stale-Home verdict via the scanLibrary seam — mutation-checked — and the draft-survives repoint), RED-first 6/6 at the pin. Suite 717 (unticketed fix, brief-28)

  • editor: Quit no longer bypasses the document departure gate (#200, follow-up to the #198 audit) — PostsModel.shutdown() flushed both sessions best-effort and ignored the results, so quitting with an unanswered reload-conflict alert wrote the local text over the foreign disk body (flush() holds for conflicts only in the debounce, never itself), and a failed quit-time flush silently dropped the only copy of the edits. Quit now routes through the same departure gate as navigation (documentsMayDepart → sessionMayDepart): an unanswered conflict never writes over the foreign body, and the failed-flush-at-quit posture is BLOCK QUIT — WritingLockAppDelegate.applicationShouldTerminate refuses termination with one spoken reason (running before the Cold Turkey ask, so a refusal never strands a walked-away block), pinned at the pure quitReply(posts:) seam. Finish-audit additions: a never-loaded session's retyped words refuse too (their flush is a vacuous success — the same gap closed for navigation), and the external guest's quit-time flush is pinned. +5 tests, all flip-verified. Suite 708

  • acp: Engine backpressure can no longer defeat request deadlines, Stop, or teardown (finding museion/acp-backpressure-defeats-timeout-and-shutdown, argus cycle-4) — a hung engine that stops reading stdin fills the 64 KB pipe, and the ACP client's synchronous send blocked its ONE serial queue, the same queue carrying request-id allocation, pending registration, the timeout deadline, and close()'s bookkeeping barrier: the deadline never fired (a 0.1 s timeout on a 2 MB prompt stayed pending forever), a follow-up request hung at registration, Stop queued behind the stuck write, and close() synced behind it before SIGTERM was ever reachable — on MainActor (restart/quit) that was an app-wide unbounded hang. Stdin writes (and the stdin handle's own close, which a blocked write may still own) now ride a dedicated serial writer queue, leaving the state queue I/O-free: deadlines fire, Stop is accepted, bookkeeping answers, and close() runs SIGTERM → grace → SIGKILL → reap without queueing behind the writer. Wire order preserved (every send funnels through the one serial writer); healthy-engine contract untouched. +4 real-process smokes over two new zsh-fake modes (neverRead execs /bin/sleep — the probe's inert non-reading child, never a real profile; serverPing pins -32601 reply delivery): 3 RED-first at base on exactly the three mechanisms, healthy-contract pin green at base. Suite 697 (unticketed fix, brief-27)

  • search: Library search results no longer go stale after library writes (finding museion/library-search-stale-after-mutation, the #144/#157 mounted gap) — the search snapshot's only task identity was the trimmed query, so nothing re-ran the sweep when the library moved underneath it: archiving or trashing a piece from a result row's own context menu left it sitting in the non-archived results after the rescan, and new, renamed, or externally edited pieces never entered or left the results until the query changed or the pane remounted. The #179 write rail's rescan now bumps a content revision whenever a scan sees the library change — a Post-list change OR any re-read post.md, so a body-only edit (which parses to an equal Post and is invisible to #143's equality-gated assignment) counts — and the mounted sweep keys on query + Home + that revision, rendering a landed snapshot only while it stays fresh for the current key (stale rows drop to the recompute spinner; panes never regroup — the assignment skip is untouched). +5 tests (pure key/gate pin; controller-level archive, trash, and same-query body-edit pins over the real rescan rail, red-first; an unchanged-rescan guard). Suite 686

  • session: a deferred nil scope drains as an explicit clear (PR #184, finding class #176) — pendingScopePieceTitle: String? let "a scope request is pending" and "which piece it targets" ride the same optionality, so a nil-target request (the writer leaves the piece mid-stream or mid-replay: New Post, unsaved draft, external guest, nothing open) deferred correctly but at drain time read as "no pending request" and returned without touching activeEntry — the old piece's conversation stayed live under a nothing-open context, at all four drain sites. Pending-ness now rides PendingScope (.none | .scope(String?)): a nil target is an explicit clear everywhere it drains. Finish-audit fanout (3 reviewers): dead Equatable cut, the same-turn pendingRestart ceiling documented at the drain (the scope is lost in respawn's .starting window — consume-at-apply is the upgrade path), and the titled-apply half pinned for the first time over a new hangOnPromptLoad rig mode (prompt parks, load answers; flip-verified). Suite 654 (PR #184)

Changed

  • cold-turkey: Live word accounting leaves the per-keystroke path (unticketed opt pass, argus 2026-11-09, digest finding cold-turkey-full-tokenization) — the editor's onTextChange feed drove WritingGoalRun.update through DraftStats.words for every goal type, and words built the complete lowercased token array (split(whereSeparator:) + map(lowercased)) just to return its count: O(document) allocation and lowercasing per keystroke on the main actor, linear in document size (argus probe: ~0.32/3.07/16.64 ms per update at 1k/10k/50k words) — while minutes goals never read the count (verdict, progress, readout, and the completion note all ride the clock). A minutes run now does no word work on feed at all (its accounting freezes at the arm-time baseline — dead state either way), and words is a count-only Character pass over maximal isLetter/isNumber runs: the token array is never built, semantics byte-identical (split with omitted empty subsequences yields exactly the maximal runs; pinned against the old split expression over a mixed-script/emoji/punctuation/number corpus). Arm-time baselines still count once per arm through the same rail, now allocation-free; words-goal net accounting unchanged (exactly one rail trip per update, pinned). +3 tests — RED-first minutes zero-trips pin through an injectable word-rail seam on update (per-call counting; a global counter would race the hosted suite's parallel DraftStats calls), the words one-trip skip boundary, and the corpus equivalence proof. Suite 684 (unticketed opt pass)

  • home: Fresh installs default to iCloud (#171, resolution of #170/map #167 — plain build slice for #145) — with no stored Home override, launch resolves once and PINS the winner so the Home never silently moves: a legacy ~/Documents/Museion directory wins (existing Homes migrate manually, never silently; a stray plain file is not a Home and falls through), else <CloudDocs>/Museion when iCloud Drive is present (dynamically resolved unprefixed Library/Mobile Documents/com~apple~CloudDocs path, plain FileManager probing — no ubiquity entitlements per ADR-0009), else the silent Documents fallback. No dialog, no rail pill — Settings just shows the resolved path. Repoint-only stands (ADR-0004), zero mover code. The probe/defaults seam is injectable and default constructions under hosted tests neither probe nor pin — the runner app's real iCloud state and defaults are never touched. +9 tests incl. the flip-verified CloudDocs spelling pin and the non-destructive hosted no-write guard. Suite 628 (issue #171)

  • cold-turkey: The writing lock (#162, wayfinder map #158 — Build S2; wires #161's goal engine + #160's contract into the app) — Cold Turkey is live: armed from a quiet dot in focus mode's bottom-right corner (hover-labeled) or View ▸ Start Cold Turkey…, the arm-bar carries a chip that blends into the focus ground (ground color, faintest hairline, no shadow — the bare seat let document text show through) with minutes|words selector, ± steppers AND a directly typeable value (parsed and clamped at every read; what you type is what arms — 1…1000 words / 1…60 min, defaults 250/5); Start enters the macOS app-kiosk per the #159 factsheet (7-option presentation combo + fullscreen, the window restored on completion) and the readout follows — numerals + 2px hairline, terracotta inside the last 20%, on the same blending chip. While the block holds: ⌥⌘F/reading/new-buffer paths refused (the open Piece stays the counted one), library + mentor hover zones suppressed (editor-only), ⌘W/⌃⌘F/⌘N swallowed by a key-code-matched monitor (charactersIgnoringModifiers is layout- and Caps-Lock-blind while AppKit menus match the physical key — the audit-caught hole; no .closeItem placement exists and SwiftUI owns the window delegate), and ⌘Q asks once (#163's ruling): "Walk away from the block?" — Walk Away quits cleanly, Keep Writing holds. Typing is never interrupted by the unlock: lock ⇒ focus freezes the view branch under the editor, chrome mounts as overlays only, and the fullscreen round trip preserves the first responder. Completion returns quietly to focus with a fading mono note ("● 250 words · 14:02"). Nothing persists — the block dies with the session. Glossary term landed; +19 tests incl. flip-verified refusal-key, parse-fallback, and canArm-mirror pins; finish-audit fanout (3 reviewers) landed the key-match fix, a ticker-race test seam, chip dedup, and window-capture-on-exit. Suite 620 (issue #162)

  • cold-turkey: Pure goal engine (#161, wayfinder map #158 — Build S1 of the Cold Turkey writing lock) — WritingGoal (words(Int) | minutes(Int), one goal per block, fixed at arm) + WritingGoalRun, the armed block: update(text:) takes whole-document text and netNewWords falls out of the delta (deleting costs — net, not gross; a 2000-word paste counts), and now is injected into every call, so the countdown cannot pause by construction. The minutes deadline is arm+minutes (inclusive boundary), isMet is live truth, unlatched (deleting below target un-mets; the lock completes on the first true tick), progress(now:) is the clamped 0…1 fraction the readout hairline rides, and word counting goes through the new internal DraftStats.words(in:) — net-words and first-draft stats share one tokenizer and can never drift ("writer's" is two words, headings are body text, frontmatter never reaches the editor body). Finish-audit fanout (3 reviewers): the Int() conversion trap in secondsRemaining fixed at the seam (isFinite guard + Double(Int.max).nextDown cap — the naive Double(Int.max) cap is itself off-by-one at 2^63 and still traps; flip-verified pin), two unpinnable > 0 guards in progress deleted (degenerate zero targets already fall out to 1 through the Double math), baselineWords narrowed to let; the S2 throttle note landed on #162 (never feed the word count per keystroke). Suite 602 (issue #161)

  • mentor: Editorial pane chrome (#156, wayfinder map #153 — the #154 contract's build slice 2; the map closes here) — MentorPaneView's chrome now speaks the same two-color editorial voice the transcript gained in #155. The header drops the icon and "Mentor Session" headline for a serif-15/600 "Mentor", and the ready state becomes the semantic green dot (DesignTokens.readyGreen — the palette's single sanctioned exception) + lowercase mono ready; the base engine version moves to the tooltip (the rare gate/handshake drift note stays visible in orange). The segmented Pass 1 | Pass 2 | Chat picker is gone — the pass bar always carries and owns a compact text-tab selector (mono-10 uppercase tracked, 2pt accent underline on the active tab) above a PASS N · STATE status line, the cost line, and the actions as the contract's MonoButton (accent solid Run/Restart, surface+border Blind Read, accent-outline Cancel — danger is terracotta, no second hue). The fix-cards row is the ruled plain mono link (no card, no hairline of its own), and the crash / missing-engine / starting states render as quiet state-cards (terracotta tri, serif head, sans-muted body, mini-spinner mono interim). Finish-audit pass: security clean; the orphaned pass-surface MARK, the stale hermes <base> doc comment, and a phantom-border comment are fixed; two advisories parked in the devlog (pass-selector state resets on a phase dip — filed as swift-wiki gotcha #28; solid-button contrast ≈ 3.85:1, inherited from #155, to fix pane-wide if flagged). Suite 592 (issue #156)

  • mentor: Editorial chat voice on the shared transcript (#155, wayfinder map #153 — the #154 contract's build slice 1) — the Mentor and Sessions panes' shared conversation surface now speaks the two-color editorial voice. The model's speaker prefixes map onto three render voices (speaker(of:), pinned): "Mentor:" turns render as full-width serif 15/1.6 prose (markdown parsed at flush, verbatim while streaming — the Vivarium #97 pattern), "You:" turns as right-aligned terracotta-wash capsules (radius 12/12/2/12, capped at 85% of the live column width), and everything else (refusals, pass kick-off labels, Blind Read reveals) as the quiet mono status box on the fg-wash card. ThinkingBlock port: mono-11 toggle over serif-13 muted on the recessed card, open with a spinner while live, collapsed when flushed; research-note cards inherit the wash family. The composer restyles per contract — surface-fill input, ONE accent Send flipping to a terracotta-outlined Stop (plain Return sends, Shift+Return breaks the line — the composer previously sent the draft on Return with no way to type a newline at all), a floating thinMaterial liveness chip above the composer while streaming, and the Debug toggle seated at its trailing edge (the header checkbox is gone; the header keeps title + engine status + session chip). Finish-audit (3 reviewers) hardened it: interpreted markdown opens http(s) ONLY — an openURL gate at the sink (engine prose echoes imported content, so a lying label-over-scheme link can never reach a registered handler; pinned via the pure linkVerdict seam), Caps Lock no longer turns Shift+Return into a send (pinned), and the two plain-Button toggles speak their state to VoiceOver. Suite 584, flip-verified pins (issue #155)

  • launch: Gateless launch (#151, wayfinder map #148) — every launch opened a blocking EngineGate sheet over a placeholder logo, ran hermes acp --check behind it, and only handed over the workspace on pass + Start Writing; a provisioning failure then raised a second modal sheet (ProvisioningFailureCard). Now the workspace IS the first frame: the posts scan starts immediately, the engine check runs async beside it (AppGateState.startLaunchCheck from ContentView.task — the gate era's exact auto-fire chain moved verbatim: provisioning ×3 then the daily backup on pass, once per app-launch, first window only, no-op under hosted tests), and engine state never interrupts — a 44×44 rail pill above Archive (pulsing accent dot while checking, warning glyph on an accent wash when failed, nothing at all once healthy — the slot collapses and the rail spacing closes) plus mono-10 mentor-pane header states ("checking the engine…" / "engine missing" / "setup failed" / hermes <base> once ready — the BASE version, not the gate's derived string; session chip renders only once ready). Failure auto-expands an anchored floating card at the rail's bottom-left (340pt, accent border — floats, never blocks): engine-missing carries #40's install steps with the gateless correction ("Passes and Sessions need it — the editor keeps working"), Copy, Installation guide, Re-check (disabled-while-checking, "Checking…"), and Technical details (stderr + probed path); provisioning failure rides the same card (failing profile named, Retry inline — a successful retry dismisses it). Panes spawn the engine the moment the check lands (.task(id: binaryPath) on the nil→value arrival). state.json semantics unchanged (About still reads it). The gate sheet, placeholder screen, EngineGateView, and ProvisioningFailureCard are deleted; #38's no-silent-degradation AC survives, carried by the pill. New pins in GatelessLaunchTests (hosted-test no-op, chain armed, pill + mentor-header visibility mappings); EngineGateTests untouched and green. Finish-audit pass: the Sessions pane gains the same honest missing-engine notice (never an eternal "Starting…" spinner), focus mode recesses the fail card with the rail (deep work uninterrupted; exiting focus restores it), and the dead deferFailure (#48's Not-Now) is deleted with its test. Suite 582 (issues #148–#151)

Added

  • settings: Nous Portal as a fourth provider (#175) — Settings offers nous (hermes' own slug) on every surface and the Provider Keys page: endpoint https://inference-api.nousresearch.com/v1, env NOUS_API_KEY, the 5-level OpenAI-compatible effort ladder, and switch flagship anthropic/claude-sonnet-5 (live-probed: the portal's docs-listed Hermes-4 ids 404 — the inference API serves the OpenRouter catalog, 385 vendor-prefixed ids, so the switch keeps the app's sonnet posture billed through Nous). Test Connection speaks plain OpenAI chat-completions (Bearer, /chat/completions + /models, the 512 cap — no z.ai thinking knobs) and an unkeyed test falls back to the shared Portal session's agent_key from ~/.hermes/auth.json — the engine's own credential, since hermes' nous runtime is OAuth-only and a portal API key and subscription bill the same account credits. The implicit session key only ever rides the official https endpoint: a hand-edited endpoint with an empty key refuses pre-network (paste-a-key), and no key + no login names hermes auth add nous. Pass readiness rides the same fallback (a logged-in Portal machine reads .ready with no key — Run Pass no longer demands a key the feature says isn't needed; finish-audit HIGH). A pasted key still lands in all three profiles' .env as future-proofing — a later hermes release honoring NOUS_API_KEY for inference lights up with zero Museion changes. +8 tests (dialect, bare-envelope 404/401 decode, session-key fallback, custom-endpoint refusal, keyless readiness) with a flip-verified pair (both guards deleted → exactly the two new pins fail). Suite 635 (issue #175)

  • mentor: The VOICE payload (#58, wayfinder map #56) — Sandeep Swadia's VOICE framework distilled into the bundled skill set: new skill owned-insight (Owned + Insightful bound as one — fingerprints with the Cornell homogenization evidence, pseudo-profundity, the so-what test, the belief-difference frame; drill example; QRC), the retelling-test card in reader-psychology (child-simple restatement — the Pass plays the source's independent reader), the earn-the-next-line card in prose-craft's new Engagement section (diagnoses absent tension, never manufactures it — the source's craft ceiling), and the interview-me-first stance in session-persona (the verbatim four untouched). owned-insight joins the #133 allocation on all three surfaces (P1 10 · P2 9 · Chat 11), rides seed-manifest, fires as FC-11 in the sample Pass, and lands as PRD G14. Verified stays with S8's research rail; the five pitfalls dissolve into existing coverage. Suite 574 (issues #56–#58)

Changed

  • library: Incremental rescan (#143, OPT-F3) — every save/watcher cycle re-read and re-parsed EVERY post.md in the library (O(library bytes) per autosave echo, forever while writing) and replaced the posts array unconditionally, regrouping/re-rendering every observing pane even when nothing changed. Post.scan now takes an optional parse memo (PostScanCache, keyed on path+mtime+size — the readdir walk stays the truth, only changed files are read and re-parsed; the stamp is captured BEFORE the read so a mid-scan rewrite can never be pinned as fresh — an overlapping-rescan race the review caught, pinned), and the rescan skips the posts assignment when the scan equals the current list, so panes stop re-rendering on the app's own autosave echoes. Deliberately skipped (measured cold): folder(of:) caching (stat-only walk) and refreshCards throttling (O(open piece), card surfacing depends on it). Suite 573 (issue #143)

Added

  • library: Search across titles and bodies (#144, FEAT-004) — the library column gains a plain-text search field under the Posts header: a debounced (250 ms) title+body filter over the non-archived pieces, body scan off MainActor through PostStore.readBody (frontmatter never searched), flat results with title matches first (Finder order preserved), match count, and the full context menu on result rows. Clearing returns the project sections. Suite 574 (issue #144)

  • editor: Drop an image into the prose (#141) — dragging an image file onto a saved post's prose editor COPIES it (never moves) into the piece's assets/ under a parser-clean slugged name (collision -2 via the shared uniqueFile helper) and inserts ![alt](assets/<slug>.<ext>) at the drop point with alt selected for immediate type-over; one edit step = one undo. The type gate is exactly the publish rail's set (#34's Micropub.mimeType — PNG/JPEG/GIF/WebP/SVG: nothing enters assets/ that can't ship), a Finder folder or a dropped SYMLINK refuses (copyItem would land the link itself and the publish rail would refuse the whole send), and drafts/outline/guest surfaces refuse loudly with a transient strip. Routing rides the window-level SwiftUI drop destination — field-verified to starve every deeper drag destination (nested SwiftUI targets never fire, AppKit NSDraggingDestination never fires) — pure-markdown sets keep the open-as-guest behavior, mixed md+image sets refuse loudly instead of silently dropping the images. The drop-point mapping inverts the one geometry source that answers under SwiftUI hosting (firstRect, bottom-up screen coords): a viewport-banded sample→bracket→binary-search over it — non-contiguous layout returns garbage rects for off-screen characters, so only in-band rects are trusted — then a whitespace-gap slide so a landing never splices inside a word or an existing ref; the solve is a pure function pinned by windowless tests, and the typewriter inset re-syncs after the edit so scrolling never freezes. Eleven tests incl. a flip-verified finish-audit cycle; suite 557 (issue #141)

  • publish: Illustrations travel with it (PRD S6.2, G12) — a piece's assets/ ink-sketch images now publish: Send as Draft first uploads every referenced image to Micro.blog's media endpoint (discovered per send via GET ?q=config, one multipart file POST per FILE — duplicate refs share an upload — decoding Location/body-url behind the trust gate), then each ![alt](assets/…) ref REWRITES IN PLACE with its uploaded URL in the wire content, so the image renders exactly where the writer placed it and the alt rides the markdown (live dogfood killed the first shape: a Micropub photo property renders wherever the theme decides — the bottom — losing position; no property ships at all now). The piece on disk never changes. The floor (G12): a photo without alt text never ships — the send refuses naming the illustration BEFORE anything touches the wire, and a parsed body ref is the only way an image ships. Pre-flight gates every payload: the endpoint's exact formats only (PNG/JPEG/GIF/WebP/SVG — nothing enters assets/ that can't ship), path containment resolved through symlinks (a planted link never uploads outside-file bytes under the writer's token), all-or-nothing uploads. A URL carrying markdown-active characters rides the angle form ![alt](<url>) — a plain-paren destination would close at the first ) and smuggle a live link into the published post (the frontmatter trust gate doesn't cover markdown's grammar). The mentor is consulted for nothing — style judgment stays with the author. Seventeen tests incl. a flip-verified audit cycle; suite 546 (issue #34)

  • publish: Micropub draft → publish to Micro.blog (PRD S6.1, G2/G11) — a Publish button in the editor toolbar opens the two-step ask: Send as Draft (JSON Micropub h=entry create — name = the piece's Title, markdown content verbatim, post-status: draft; the piece's frontmatter category: is accepted but never travels), review via the Micro.blog preview link, then Publish (the action=update post-status flip against the piece's remembered micropub_url — persisted in frontmatter so a draft survives a reopen; Send Again re-drafts after edits). The Micro.blog app token lives in the Keychain (login keychain, entered once in the sheet, re-offered only on an auth failure — rotation replaces). Every draft URL passes a format gate at both the decode and the scan read-back: the URL is trust-boundary data landing in frontmatter, and a newline---- rider would close the block and reparse as attacker markdown in the writer's piece; the preview URL is display-only, never the publish target. Frontmatter-only stamps keep the body and foreign keys byte-identical (issue #33)

  • stats: Trend view — the writer's arc (PRD S5.2) — a Trends pane (rail destination after Learnings, measurement beside memory): one line chart per style metric (burstiness, type-token ratio, sentence variation, trigram repetition) across unaided-first-draft CAPTURES over time, each card carrying an honest first→last read (improving/steady/slipping at ±0.01, direction inverted for trigram repetition — the one ↓-better metric; one capture shows its value with no verdict) plus the per-metric ↑/↓-better hint and a one-line plain-language gloss of the term beneath each chart (grain + better-direction, pinned distinct). Points are capture moments, never draft grades — the pane answers "am I getting better," not "is this draft good." The edited-text leak is closed by construction: Post.scan reads the five stats_* frontmatter keys into firstDraftStats only when every key parses to a finite double AND the piece carries the capture gate's immutable pair (origin writer, type post) — so ai-origin pieces, outlines, edited-before-first-pass drafts, and imported or hand-edited frontmatter (non-finite values, stamped ai pieces) carry nothing to show, while a migrated writer piece keeps its real arc. The pane rides PostsModel's watched scan (no scan of its own, refreshes with the library); fixed y-domains keep single captures visible (sentence variation scales to its peak); the empty state names how the data arrives (issue #32)

  • mentor: Blind Read — writer-triggered advisory A/B judgment (#122, decision #120) — a purposeful "Blind Read" button beside Run Pass in the pass bar judges the current document against the Pass-start snapshot (the newest passes/pass-N.md on disk): both versions travel INLINE in one prompt under neutral A/B position labels with randomized order (origin words never appear — the judge can't know which is the rewrite), a fresh one-shot engine on the same museion chat profile renders its pick + one-line reason into the transient transcript, and the A/B↔origin reveal lands only AFTER the verdict so it can never leak; cancelled, refused, and spawn-failed turns reveal nothing. Advisory-only per #120: nothing advances, no cards, no Learnings, the roster never grows — the verdict dies with the transcript and the writer stays judge of record. Honest refusals: no snapshot yet ("run a Pass first"), an unchanged document ("No edits since…"), or a busy rail (passes and reads refuse each other; one Cancel ends either). The pass engine's spawn/session/teardown block became one shared runOneShot rail (failure rows speak the run's own name), the fake ACP gained a prompt-log observable, and the GLOSSARY "Blind Read" term landed. Finish-audit (3 reviewers) fixed the refusal-reveal gate (a refusal still ends .ended — gate on the stopReason; flip-verified), the hardcoded "Pass failed" copy, and pinned the Cancel/exclusivity rail. Suite 500 (issue #122)

  • mentor: Native deslop lint at pass invocation (PRD S3.4) — running a pass now computes the deslop skill's deterministic findings (banned-vocab tiers + em-dash density) natively in Swift at the invocation — after first-draft stats capture, before the engine turn, no engine round-trip — and each finding lands as a real fix card (emitter lint) under <piece>/cards/, rendered by the existing Fix Cards palette with ask-before Apply on mechanical mapping cards (mapped phrases like utilize→use carry the replacement; unmapped ones land demonstration for judgment). One card per phrase over its tier allowance, case-insensitive whole-word matching (delved never fires delve), anchor = the first match with case preserved, em-dash density card first when over budget, tiers ranked by first match. The tier data ships as Resources/deslop-lint.json mirroring the deslop doctrine verbatim (key/landscape/highlight/bare underscore deliberately omitted as POS-ambiguous — add via <home>/deslop-lint.json, which wins whenever it exists and decodes); emit dedups against OPEN cards before submit so re-runs make progress (closed cards never block) and the engine never re-cards a live lint finding. A failed lint never blocks the pass (the stats-capture posture). Suite 487 (issue #6)

  • mentor: Prompt-end constraint ordering verified + pinned (#1) — the PRD's cross-cutting rule audited on the app's REAL wire: an ACP probe (initialize → session/new → session/prompt against the provisioned museion-pass1) plus the engine's own state.db read-back show constraint bodies never ride the system prompt — they enter as skill_view results, so "assembly order" is the mentor's tool-call order, and the baseline already loaded deslop AFTER the piece but by model choice. Both personas (pass 1.5 / session 1.2) gain the verbatim-shared "Draft first, rules last" pin converting observed-once into instructed-always; PersonaLoadOrderTests guards presence + parity over the bundled payload; the verified layout, the hermes -z trap (one-shot swaps the skills directive — a -z probe loads ZERO skills and assembles a different prompt), and the additive-only propagation cost (content edits need a hand-copy to master/profile copies; byte-match then migrates) live in docs/research/prompt-layout-factsheet.md with the probe script in-repo. Suite 479 + 1 load-flake cleared in isolation (issue #1)

  • mentor: Profiles S4 — per-surface engine lifecycle + model-switch UX (#137) — passes run on their OWN one-shot engines (hermes acp -p museion-passN spawned per pass run, torn down at the verdict — a model switch costs nothing, the next spawn reads fresh config) streaming into transient unrostered transcripts (#129: one Sessions surface over the chat engine); the Chat engine stays resident and a Chat model change in Settings restarts it in place, deferred to turn end while a reply streams; Run Pass names the missing provider key and disables with an Open Settings link until the key lands (pane re-entry re-checks). Finish-audit (3 reviewers) fixed a post-await activation steal that could flip the surface mid-pass and lose the Cancel (one claimActive gate), plus a PRE-EXISTING rescan bug where a stale scan snapshot "vanished" a just-opened piece and killed its session with unflushed edits. Suite 477 (issue #137)

  • settings: Profiles S3 — the real write path + Test Connection (#136) — every Settings change now persists: model/effort writes ride the engine's own CLI (hermes -p <profile> config set/unset model.provider/default/reasoning_effort/base_url, wire-verified) and provider keys upsert VAR=value into ALL THREE profiles' .env (0600, foreign lines preserved, line-broken values refused at the sink — an env-file injection guard); hydration reads model blocks and keys back at pane open, so a restart neither blanks the UI nor refuses Test Connection, and a custom z.ai base_url survives instead of being clobbered to a family default. Per-target writes coalesce AND chain past the debounce guard — the last edit is always the last write to land. Test Connection is a two-step probe (GET /models then a minimal streaming chat) with honest decode per the factsheet: z.ai 1113 → wrong key type, 401s → auth failed with request id, finish=length → starved, empty 200 → request failed. Live-probed wire corrections: Content-Type: application/json on every request (URLSession defaults to form-urlencoded — z.ai answers 200 with an error envelope), OpenAI speaks the Responses API (/responses, input + max_output_tokens, flagship gpt-6.1-sol), probe token cap 512 (64 starved reasoning models into "no content"). Suite 468; three-reviewer finish-audit fixed a write-ordering race, an .env lost-update race, a mid-hydrate stomp, and cut ~30 lines of dead flexibility (issue #136)

  • settings: Profiles S2 — Settings page as sidebar + detail (#130 prototype variant C verdict) — destinations Content (the unchanged Home control) · Pass 1 · Pass 2 · Chat (annotated "· Sessions") · Provider Keys. Each surface page edits its model block over an in-memory model: provider menu, model combobox sourcing Hermes' own registry cache with first-class free text (the seed claude-sonnet-5-5 reads as custom (not in registry) — the default state), per-provider reasoning-effort menu led by "unset · provider default", variant B's current-model headline, and Restore Defaults back to the #132 seed; the Provider Keys page carries endpoint, the z.ai key-type toggle swapping the endpoint family (/api/paas/v4 ↔ /api/coding/paas/v4, custom endpoints survive), and masked keys with reveal. Persistence is S3's — every change routes through an injectable SettingsWriting seam whose contract (debounce, secrets never via argv, redacted error text) is frozen now; write failures surface in an orange strip. Dropdown picks commit through comboBoxSelectionDidChange reading the selection index — the notification fires before stringValue updates (log-observed dogfood fix). Suite 432 (issue #135)

  • profiles: Profiles S1 — surface registry + provisioning ×3 (PRD #134, ADR-0014) — one gate pass now provisions ALL THREE Hermes profiles: museion is adopted in place (never re-created or reconfigured — its model stays the user's), museion-pass1/museion-pass2 are created fresh with the #132 defaults (claude-sonnet-5-5 on anthropic, reasoning effort unset, 24k output budget as a guardrail) written via the engine's own hermes -p <profile> config set rail — wire-verified, marker-gated so a re-pass is a no-op and Settings changes survive, and a failed provision names the profile on the #48 card. Writing skills move to ONE master copy at ~/Library/Application Support/Museion/skills/ symlinked into each profile per the #133 allocation (Pass 1: 9 · Pass 2: 8 · Chat: 10 — the persona pair never co-occurs); today's copy-era dirs migrate to symlinks only on byte-match, diverged dirs stay copies, user skills untouched. Daily backup widens to one stamp carrying all three profiles — any live engine skips the whole stamp; restore docs name the three folders (issue #134)

  • stats: First-draft stats capture (PRD S5.1) — running Pass 1 or Pass 2 on an unaided draft (writer-origin, First Draft Pass State, post type) computes four style metrics natively in Swift at the invocation — before the mentor sees anything — and stamps stats_captured plus four stats_* values into the piece's frontmatter, so the coming trend view is a scan of posts/; a cancelled pass keeps its capture, re-runs while still First Draft overwrite (latest draft wins), and the frontmatter write paths (pass completion, editor save) now update their keys in place instead of rebuilding the block — captured stats and foreign YAML survive (issue #31)

  • sessions: New Post from Session & drill offers (PRD S2.7/S2.8) — a freeform Session births a Post: "New Post" in the Sessions pane opens an ask-before sheet prefilled with the session's last mentor reply (editable, G9), and ONE confirm materializes the piece under projects/posts/ stamped origin: ai — immutable frontmatter, never stats-eligible — and opens it in Posts; a failed write keeps the sheet up with the reason inline and the draft intact. "New Brainstorm" is a session started with an opener prompt (session flavor, no new machinery). The freeform composer (input + liveness + Stop) moved into the shared SessionTranscriptView, so both session surfaces are conversations; session-born pieces and the resume rail are pinned (issue #30). Resume now speaks the REAL adapter wire: 0.21.5 answers session/load with _meta.hermes.sessionProvenance.acpSessionId and no top-level sessionId — resume accepts both shapes (live-probed; every prior real-engine resume misread as "unknown") (issue #30)

  • mentor: Research & library-light (PRD S8, G9) — the mentor researches mid-pass and its findings arrive as candidate source-notes with provenance inside their Session: a third museion-tools tool submit_research_notes is the typed rail (decode-validate only, replies {"received": N}, writes NOTHING — the session is the holding area), candidates ride the transcript as full cards parsed by payload shape (the notes array routes before the fix-card parse; titles are display text), and resume re-materializes them for free from the engine's replay (engine-owned cargo, ADR-0007 — dispositions reset honestly). The writer curates in place: Keep opens the ask-before sheet and ONE confirm lands one plain markdown note with provenance (source/kept frontmatter) into the piece's research/ — anchored through the one folder(of:) id lookup, a symlinked research/ refuses, collision -2; Reject vanishes, recording nothing. The pass prompt names the rail and forbids the engine writing candidates itself; kept notes flip hasResearch, so every later pass consults the library (issue #29)

  • sessions: Session lifecycle UI (PRD S2.3, ADR-0007) — the mentor bridge hosts multiple engine-owned sessions on one child: per-session transcripts keyed by wire sessionId behind the same-named proxies (every existing caller compiles unchanged), a names-only roster at ~/Library/Application Support/Museion/sessions.json (0600; id/name/pieceTitle/date — the words stay engine-owned), and the standard affordances over the wire: session/new, session/load (the engine replays the full history before responding — user turns included), session/fork, compact as the /compress slash prompt, session/cancel as the Stop rail. The Sessions pane replaces its placeholder: roster list (piece-associated by name when Posts has an open piece), row-click resume, Fork · Compact, live streaming with Stop; every pass auto-creates its rostered session ("Pass N · <title>") and streams into it; the transcript renderer is shared with the mentor pane. Resume refusals are honest and entry-attributed (an engine-unknown session never fabricates history), concurrent replays refuse instead of interleaving, restart replays from the engine, and the notification hops ride the main queue so the adapter's replay-before-response contract is guaranteed. Finish-audit (three reviewers) surfaced the concurrent-resume race, the dead restart branch, the runPass guard window, the 15 s session/load default, and the missing createSession backstop — all fixed and pinned (issue #28)

  • mentor: Dismiss & decay for Learnings (PRD S4.2, G8) — dismissed patterns fade instead of haunting: a Dismiss button on every visible Learning in the Learnings pane stamps decay state into the Learning's own frontmatter (dismissed, dismiss_count, dismissed_at_pass — every other line preserved verbatim; hand-editable, git-diffable, survives restarts) and hides it from every pass: query_learnings serves only visible learnings. Resurfacing is an output clock, not a calendar — a dismissed Learning returns after 10 subsequent completed passes of its content type (a per-type counter under <home>/learnings/pass-counts.json, ticked by every completed pass, re-runs included), each re-dismiss doubles the interval (10 → 20 → 40…), and a per-Learning resurface_after frontmatter key overrides the base 10. Dismissed rows dim with a "resurfaces in N passes" countdown and no button until they return; hand-edited decay state reads leniently — garbage means visible, absurd numbers clamp, a hand-edit can never crash the pane or the rail (issue #27)

  • mentor: Promote & consult Learnings (PRD S4.1/S4.3/S4.4, ADR-0005) — only the writer's explicit confirmation promotes a Fix Card into a Learning: one confirm = one entry, never a repetition counter (the store refuses a second promote of a stamped card). The promote ask on every card row (open or closed — the Learning outlives the card) matches the design contract's dialog (pattern/problem/provenance preview, Cancel/Promote); confirming writes ONE plain markdown file <home>/learnings/<type>s/YYYYMMDD-<pattern-slug>.md carrying the card's teaching fields — pattern, problem, diagnostic question, the demonstration example (demonstration lanes only) — plus promotion provenance (flat frontmatter + readable body, from_card traceability, collision -2; the instance-bound anchor and mechanical replacement stay on the card — the Learning teaches the symptom/fix, never re-quotes the originating text) and stamps the card promoted_at (pre-#26 cards decode nil); every pass consults exactly these files through query_learnings, so recurring weaknesses surface as fix cards; the Learnings pane replaces its placeholder — list-only, grouped by content type, newest first, lenient to hand-edits; learnings are hand-editable, git-diffable, per-writer portable files in the Home (dismiss/decay landed in #27) (issue #26)

  • mentor: Fix Card apply/skip & trust UI (PRD S3.2/S3.3/S2.5) — Fix Cards are actionable: mechanical cards offer Apply behind a blocking ask-before sheet showing the exact edit (anchored quote → replacement, occurrence + context; an empty fix cuts the span) — the only path to a write, one card at a time, no apply-all; the edit lands through the editing session (pending edits flush first, the editor re-seeds, the card closes applied), Skip and Done close the card in place recording nothing, demonstration cards close Done/Skip only (ADR-0006); cards arrive ranked (store-stamped order, #N in the meta, open cards first) and capped at ten per submit — the app keeps the ranked head and the wire reply says what dropped; a stale anchor — the Post changed after the card was issued — alerts with no text selected or changed and flags the card (issue #25)

  • mentor: museion-tools MCP server + Fix Cards (#23, #24 rails) — the app binary grows a headless --serve-mcp role speaking NDJSON JSON-RPC on stdio, exposing query_learnings (the piece's visible learnings) and submit_fix_cards (ADR-0006 cards, anchor-validated against post.md; stale anchors land flagged, never rejected) registered into the museion profile at provisioning; cards persist per-piece under <piece>/cards/ and surface live in a floating Fix Cards palette (opened from the mentor pass bar, pass N · lane · emitter meta when the engine stamps provenance.pass); the transcript renders card tool calls as one-line events, the pass verdict references findings by title only (persona v1.3: tools work in silence, the card is the finding's only full statement), and a Debug checkbox (off by default) gates the session/tool chatter writers never wanted

  • skills: fix-card lanes + card-emitting doctrine (#123, text landings of #118/#119/#121) — every Fix Card declares a lane (mechanical: the whole fix is table-computable and the only lane Apply executes; demonstration: one annotated example, closed Done/Skip) and an emitter (lint | engine; the engine never re-cards a live lint finding); the pass persona emits one ranked submit_fix_cards call at pass end, capped at ten, Learnings-resonant first; the Knife floor gains writer-praise immunity; deslop's tables gain the actually/unfortunately filler cuts and the utilize/utilization→use mapping; CONTEXT.md adds the Emitter and Done terms, ADR-0006 the lane/emitter fields, and the sample pass a mechanical-lane exemplar (FC-10)

  • prose: list shortcuts (v1.2 S5) — when the caret sits on a markdown list line, Tab/⇧Tab indent/outdent the item (wrapped lines ride along, the caret follows), and ⌥↑/⌥↓ move the item with its subtree among siblings; every structural edit is one undo step over the plain text store. List parents fold visually: a gutter chevron collapses the children to a rust ▸ with a ⋯ N summary after the parent's line — folding is view state and never edits the buffer (issue #115)

  • outline: Convert to Post (v1.2 S4) — a Convert to Post… command on outline pieces (library row menu, Archive pane included): the piece keeps its name, project, and Pass State while type flips to post; at the ask the writer picks the body — Verbatim Bullets (default, keeps every line) or Headings (top-level blocks become section headings, deeper levels step down to the ###### floor, deeper still stays bullets; the ask warns when the ladder would drop paragraph lines between bullets); the open session flushes first and reopens in prose; an outline changed on disk behind the ask aborts the convert rather than dropping unconsented prose; one-way in v1 (issue #114)

  • outline: drag-reorder + zoom-in (v1.2 S6) — pointer-drag a block run into any sibling seam or onto a block to nest as its child (the block selection rides the drag, a 30/40/30 fat-gap hit test resolves seams vs onto, and a dropped run on an invalid target leaves the document untouched); Esc cancels mid-drag, the moved run becomes the selection; double-click any bullet zooms to its children with breadcrumbs back out, and zoom keeps only fully-visible selections (issue #112)

  • outline: mixed-content open guard (v1.2 S7) — opening a type: outline piece whose body has paragraph lines between bullets (the parse would drop them on the next save) now asks first: Open in Prose (default — everything visible, nothing drops), Open as Outline (explicit consent — saves normalize as before), or Cancel; the ask presents over an empty editor so nothing can edit before the choice, re-clicking the open piece never re-asks, and a draft or guest staged during the ask displaces it cleanly (issue #111)

  • outline: outliner surface & outline type (v1.1 S3, ADR-0013 per #105 variant B) — File ▸ New Outline ⇧⌘N stages a type: outline piece; the outliner is a dedicated block surface: nested bullets with LogSeq-style keys (Tab/⇧Tab indent/outdent, ⌥↑/⌥↓ move subtree, ↑/↓ hop visible blocks, ⇧↑/⇧↓ block-select runs, ⌘↑/⌘↓ fold/unfold, Enter splits at the caret), one live caret row over inert rows, session-scoped folds, and the same debounced autosave / ⌘S / external-change alert as prose; hand-edited files parse leniently and normalize on save (issue #109)

  • library: projects & archive UI (v1.1 S2, variant B per #104) — the library column groups pieces by project under serif lowercase section heads (collapse toggle, · N counts, Pass-State groups inside); Move to Project / Move to Archive / Move Back / whole-project Unarchive as folder moves (post.md bytes untouched, never clobbering, ids globally unique); an Archive rail destination lists archived pieces grouped by project with row-click back to Posts; File ▸ New Post ⌘N and New Project… ⌥⌘N; New Project opens a draft targeted at it, and every folder move flushes pending edits first — a failed write aborts the move with nothing relocated (issue #108)

  • library: projects & archive storage substrate (v1.1 S1) — pieces live under projects/<name>/<id>/post.md with finished work folding into archive/<name>/ (ADR-0012): the library scans both roots, New Piece and Import land in the selected project (else the default posts), slugs stay globally unique across projects and archive so an archived name is never reused, and every piece carries type: post frontmatter (absent or unknown types read as post; the file stays post.md for 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.json sidecar 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.md stamped 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/-3 collision suffixes, Explicit Rename retitles the # Title line and moves the folder (file stays post.md), and Delete moves the folder to the Trash; a recursive FSEvents watcher keeps the list mirroring posts/ (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 + ps scan), 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.md beside 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 museion Hermes profile (hermes profile create --no-alias --no-skills) and additively seeds the bundled writing skills via seed-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 a state.json record 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)

Changed

  • editor: Typing beside an open fold no longer rebuilds the whole document (#142) — with a fold live, every keystroke used to re-scan the buffer, rebuild the full attributed string (invalidating TextKit layout document-wide → O(n²) typing on folded documents), and rasterize a chrome image the SIZE OF THE DOCUMENT (~35M pixels on a tall doc) to paint a handful of chevrons. Single-line edits now re-key folds in place (pure delta math: shifts, marker-line deaths, scope re-hides) with no rescan and no storage swap; structural edits, multi-line pastes, and wholesale restyles keep the full pass, and a font-probe fallback self-heals any restyle that wipes the hidden styling. Chevrons/⋯N render as one tiny cached layer per list parent instead of the document-sized bitmap, and an edit below every parent skips the chrome rebuild outright. Finish-audit hardening: the single-line gate is isNewline (a literal "\n"/"\r" compare passes CRLF — one grapheme equal to neither), and structural indent/outdent always takes the full pass (a childless unterminated block's ⇧⇥ is a single-line edit that would keep a dead fold's scope hidden). Fifteen fold/rekey tests incl. a flip-verified audit cycle; suite 570 (issue #142)

Fixed

  • mentor: live passes no longer read as crashes — session/prompt waits pass-length (1800 s, not the 15 s request default that abandoned working turns with a false "connection lost"), a liveness row shows the engine thinking, Stop stays for the whole turn, and a missing stopReason never advances a pass
  • 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/new now sends the newly required mcpServers list (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.g735e426 recorded vs 0.21.5 reported) no longer fabricates a mismatch on every launch; real drift still fires.