One liveness-gated snapshot pass per launch, chained after provisioning:
gateway.pid pid-liveness + ps scan (skip while the engine runs), 24 h
age check, curated recursive copy (credentials and SQLite sidecars in;
logs/caches/locks out), atomic temp+rename install, keep last 7.
Restore stays manual copy-back in v1 — Help > Open Backup Folder and
a RESTORE.md written beside the snapshots.
[Generated by AI]
Spawn hermes acp -p museion over NDJSON JSON-RPC stdio via a
hand-rolled thin client (no Swift SDK exists). The mentor debug
pane streams replies, renders fix-card tool calls as structured
cards (ADR-0006), cancels via session/cancel, tears down on quit
(willTerminate), and surfaces a restart prompt on engine crash —
never data loss. Version verify against state.json is advisory.
Fake ACP server test double (zsh speaking real NDJSON) covers
handshake, streaming + fix-card, drift, crash latch, cancel,
teardown. 36/36 tests green; finish-audit fixes included (wired
binaryPath, focus-loss teardown bug, double onCrash latch).
Co-Authored-By: Claude <noreply@anthropic.com>
Idempotent per-gate pass: create the museion Hermes profile only when
missing (exit-1 "already exists" = success), then additively seed the
bundled writing skills from seed-manifest.txt — temp-copy+rename, present
skills never touched, orphaned temps swept, manifest entries validated
kebab-case at the trust boundary.
Failures surface a separate phase-named alert ("couldn't set up the
writing profile" / "couldn't copy the writing skills"), never re-raising
the gate: excerpt behind Technical details (stdout per #43, stderr
fallback), Retry re-runs the whole pass, Not Now defers to the next
launch's silent retry. The card presents only after the gate sheet's
dismissal completes and snapshots its failure so a successful Retry
doesn't blank it mid-animation.
Provisioning writes nothing to the profile config (no mcp_servers entry,
#44) and leaves state.json engine-gate-only. 30/30 tests green.
Co-Authored-By: Cipher <cipher@babylondreams.de>
Provisioning must never write `mcp_servers` (#44), so MCP registration
moves to `hermes mcp add` once the mode exists (#23). PRD (G6, S2.4)
and ADR-0008 updated to match.
Block every app launch behind an Engine gate per wayfinder map #12:
discover the user-installed hermes binary via the documented six-path
probe (#36), health-check it with acp --check (stdin closed, 5 s
per-candidate timeout, exit-status branching), version via
acp --version, and record every completed check in Application
Support state.json (#39). The gate is a blocking sheet with
checking/pass/fail cards (#38/#40), app-scoped so only the first
window per launch auto-checks (#41); an About window mirrors the
state file read-only. Provisioning (#13) has a stub seam at
onEnginePass. 12 unit tests drive the real Process path with fake
hermes binaries; build, tests, swiftformat, swiftlint all green.
Closes#42
[Generated by AI]
Adapt helm's build-and-run.sh to Museion: build via xcodebuild and
launch the app in place from DerivedData, killing any instance running
from that exact bundle first. Drop helm-specific bits (dev/prod product
name split, dSYM noise filter, provisioning flag, arch pin) that do not
apply to this project. Listed in the root AGENTS.md command block.
Three gate variants (blocking sheet, gate window, inline banner)
for wayfinder #38's decision; variant A won. Throwaway SwiftUI
reference for #42 — not part of the app target.
Closes#38.
Flip ENABLE_APP_SANDBOX to NO in both configurations: the engine
gate spawns the user-installed hermes binary and provisioning
writes outside any container. Hardened runtime stays ON for
Developer ID notarization. No entitlements file.
Closes#37.
Distill the last empty craft-canon shelf from web data rather than
books, per the #4 research: BuzzSumo's 100M-headline study, the
PLOS ONE Upworthy A/B experiment, and Heath's curiosity-gap doctrine
as the hook generator. Eight diagnostic cards across the title
surface (takeaway, numbers, worn teases, mode, voice) and the hook
surface (gap, foothold, contract), each naming the finding it
stands on. Adjacent coverage respected: cold opens stay with
serif-writing, the piece-level key question with prose-craft #7.
Extend the sample Pass with FC-9 so the shelf demonstrably fires.
Closes#11
Distill the issue #4 shortlist top three into diagnostic skills that
fill the mentor's emptiest shelves, following the fiction-craft
pattern (symptom, why it fails, move, check):
- rhetoric (Heinrichs): argument and rhetoric, ten symptom-to-move
cards plus the fallacy index
- reader-psychology (Williams): reader psychology and better-words
doctrine as a nine-step diagnosis sequence, classic-style header
- prose-craft (Clark): fifteen generative tools across better-words,
structure, humor, and revision; serif/deslop-covered tools dropped
with the boundary documented
docs/sample-pass.md demonstrates all three firing as fix cards
(quote anchors per ADR-0006). Titles and hooks stays open: #11.
Closes#7
Two-minute single-shelf drill offers riding the Pass finding that
motivates them; declined drills vanish and drill output never touches
the draft (issue #8). Also refreshes GitNexus index stats.
Master-study doctrine for mentor demonstrations: named-master
variants on the writer's own bounded span, each annotated and
cleared through the deslop gauntlet before display. The writer's
picked variant feeds Learnings as a signal of the winning pillar
voice.
Closes#3
Add the two container persona skills to the bundled set: Pass
(Chief 40 / Knife 30 / Coach 10 / Leader 10 / Sparring 8 / Sensei 5)
and Session (Coach 40 / Knife 30 / Sensei 10 / Sparring 10 / Chief 5 /
Leader 0). Warm-but-firm comes from the blend arithmetic, never a mood
adjective; the Knife floor is constant in both containers; Learnings
inform silently; critique calibrates against the writer voice anchor,
with drift called out as "yours are better".
Adds the ref/writing skills child AGENTS.md (the bundled set is now a
durable boundary) and its root index row.
Closes#2.
Remove the workspace hat from serif-writing's reference doc: session
reads (SOUL.md/USER.md), memory machinery, safety, and external-vs-
internal policy are host-agent territory; Hermes owns memory (PRD G13).
Delete all three capture systems (learning loop, .learnings capture,
memory system) including the OpenClaw-era coordination paths.
Union the two Pass-2 slip tables into one 14-row table under the
two-pass rule; SKILL.md now points at it. Fix the truncated file ending
and a typo in the Knife quick-reference. Amend the PRD bundled-set spec.
Follow-up to #5.
Move the 24-pattern catalog, vocabulary tiers, banned phrases/closers,
verb swaps, statistical signals, and em-dash policy out of serif-writing
into deslop (v1.1), making it the single subtractive rule set for the
bundled skills. Serif keeps the craft, deviation rules, and two-pass
rule, and now references deslop instead of duplicating it. Update the
PRD to match.
Documents the OpenDesign handoff as the visual contract for the Mentor
Loop workspace, including build-from-tokens guidance and scope limits
(G12), so implementation follows the handoff geometry rather than a
loose reinterpretation.
Record the 2026-08-28 brainstorming session output and Sudowrite/Muse
research, and ripple their decisions through the spec: correct the
"never composes" boundary in CONTEXT.md (real rule: no one-button
publish of mentor prose), add S2.8 micro-drills, S3.4 native deslop
lint, and G13 (mentor feel, personas, demonstrator doctrine, model
pin) to the PRD.
Three grilling rounds sharpened the build-ready PRD; every
decision now lives in the ACs and the glossary, with nothing
silently assumed.
- Post ID: slug of the Title, untitled fallback, -2 suffixes
- Title: first non-empty line, publishes as the Micropub name
- Pass State advances on pass completion (engine turn end),
never on card resolution; passes run in any order
- Stats capture at first pass of any kind; sessions never
disqualify; Import asks Origin once (writer default)
- Pre-pass snapshots in passes/; delete moves to Trash; the
engine gate reruns on every launch
- Pass prompts are Museion stubs - methodology stays in the
skill stack; query_learnings decay-filters in museion-tools
- Research candidates live in their session (resumable,
expendable per ADR-0007)
- category: frontmatter permitted but inert in v1
- M6 collapsed: the author judges illustrations, the mentor
never assesses images; alt-text floor moved to S6.2;
milestones renumbered M0-M6; G12 records the call
CONTEXT.md gains the Title term; Post ID, Research Note, Pass,
Pass State, Unaided First Draft, Import, and Learning sharpened.
Run the 25-question design interview over the build-ready PRD and
close every frontier question. Eight of the PRD's own positions
reversed under scrutiny and are recorded in the audit trail as
G5-G7:
- one Museion Home (~/Museion, repoint-only) with folder-shaped
content replaces "folder is the project" (ADR-0004)
- Learnings move into the Home, per content type; the engine owns
nothing and stays swappable via a Museion-hosted MCP server
(ADR-0005)
- sessions gain resume/compact and stay engine-owned; stats gain
an immutable origin wall; decay runs on an output clock; the
MEMORY.md import is struck (nothing to import)
Add CONTEXT.md pinning the domain language (23 terms) and bump
the docs/AGENTS.md ADR range to 0005.
Record the twelve build-time decisions from the grill session so
M0 starts with no open questions:
- PRD: project layout, tools host, learnings home/scope, trust
defaults, decay numbers, post-id naming, token storage (G5-G7
plus seven stories patched)
- CONTEXT.md: project glossary (17 terms)
- ADR-0004 critique memory lives in the project, not the profile
- ADR-0005 fix cards travel as typed MCP tool calls
- ADR-0006 writing tools ship as in-app Swift MCP server
Grow MISSION.md one rung to PROJECT.md: competitors named and
beaten, features made concrete, monetization priced. Record
both stress-test verdicts and this session's decisions — the
mentor engine (Hermes over an ACP/RPC bridge, no loop port),
the publish path (Micro.blog via Micropub), library-light in
v1, and the council's critique-memory corrections. MISSION.md
retired; git keeps the history.
Record the blog-illustrations / glitch-diary-illustrations style
guides as part of the validated workflow: a post is publish-ready
only when its hand-drawn ink-sketch illustrations match them.
Co-Authored-By: Claude Fable 4.5 <noreply@anthropic.com>
Add MISSION.md, the product brief at vision (MISSION) rung: problem,
audience, solution, features, differentiation, monetization, edge, and
risks. The brief records the five-persona stress-test verdict (RESHAPE:
v1 = the Mentor Loop, not the IDE shell) and grounds the plan in the
validated Hermes + serif-writing blog workflow, whose critique memory
and two-pass editing become v1's load-bearing features.
Include the ref/ curriculum and workflow references cited by the brief:
fiction-craft (developmental editing: misbelief, introspection, agency,
emotional beats — the second curriculum tier for fiction branching) and
the blog-illustrations / glitch-diary-illustrations style guides
(hand-drawn ink sketch visual identity for blog posts).
Co-Authored-By: Claude Fable 4.5 <noreply@anthropic.com>
Establish the Agentic Writing Environment: an Xcode project
(filesystem-synchronized groups) with a minimal SwiftUI app shell
on macOS 26.5+, Swift 6, default MainActor isolation. Unit and UI
smoke tests pass via xcodebuild.
Repo tooling: SwiftFormat/SwiftLint configs, Gitea Actions CI
(dormant until a macOS runner registers), GPL-3.0-or-later
license, CITATION.cff, README, CHANGELOG, and a DOX AGENTS.md
tree with ADRs 0001-0003 (stack, license, forge).