Commit Graph
9 Commits
Author SHA1 Message Date
AlexKuceraandClaude f21d3a6844 feat(acp): add M0 ACP bridge — engine child + mentor pane (fixes #14)
CI / ci (push) Canceled after 0s
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>
2026-09-16 18:57:41 +02:00
AlexKuceraandCipher c0b2cb0b93 feat(provisioning): add S2.1 pass with failure alert & retry (fixes #47, #48)
CI / ci (push) Canceled after 0s
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>
2026-09-05 15:03:01 +02:00
AlexKucera 753da2135a feat(gate): add Engine gate launch check (S2.1)
CI / ci (push) Canceled after 0s
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]
2026-09-03 14:53:39 +02:00
AlexKucera ac1f9f100e feat(skills): add titles-and-hooks craft skill
CI / ci (push) Canceled after 0s
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
2026-08-28 17:57:36 +02:00
AlexKucera 7a54c6b803 feat(skills): add distilled craft canon skills
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
2026-08-28 17:33:13 +02:00
AlexKucera 934104c474 feat(skills): add micro-drill prompt-pack skill
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.
2026-08-28 15:42:35 +02:00
AlexKucera 92157a53ff feat(skills): add demonstrator doctrine skill
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
2026-08-28 15:26:57 +02:00
AlexKucera 05e2a01365 feat(skills): add Pass and Session personas
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.
2026-08-28 15:00:22 +02:00
AlexKucera 96babe7c52 feat: scaffold native SwiftUI app project
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).
2026-08-26 13:29:25 +02:00