Commit Graph
28 Commits
Author SHA1 Message Date
AlexKucera 7b6abb5d65 docs(ref): add opendesign prompt and mentor pane prototype
Adds the OpenDesign redesign brief for Museion and the MentorPane
prototype image as reference material for the re-imagining effort.
2026-11-04 12:52:26 +01:00
AlexKucera 96e8b5e0e5 feat(prototype): add wf160 cold turkey contract render
Adds the #160 prototype HTML under ref/prototypes/: an interactive
render of the Cold Turkey focus-mode surfaces (arm-bar, progress
readout, completion note, save-failure edge) with the 2026-11-04
rulings baked in and toggleable, so the ruled contract can be reviewed
without building the feature.
2026-11-04 12:52:08 +01:00
AlexKucera 9b1fa75907 docs(ref): mentor pane contract render — ruled values (#154)
CI / ci (push) Canceled after 0s
Contract for build slices #155/#156 (map #153): ground=background,
cards=fg-wash 6%, capsule=terracotta wash 14% @ 85% cap, liveness=floating
chip (streaming only), fix-cards row=plain mono. No Swift symbols touched.
2026-11-03 18:43:14 +01:00
AlexKucera 4065c31ec8 feat(payload): land the VOICE payload (#58)
CI / ci (push) Canceled after 0s
Wayfinder map #56 terminal ticket (decision #57): Sandeep Swadia's
VOICE transcript distilled into the mentor's bundled skill set.

New skill owned-insight v1.0 (Owned + Insightful bound as one —
fingerprints with the Cornell evidence, pseudo-profundity, the
so-what test, the belief-difference frame; insight drill example).
reader-psychology 1.1 gains the retelling-test card (the Pass plays
the source's independent reader); prose-craft 1.1 gains the
Engagement section with the earn-the-next-line card — craft ceiling
in the wording: diagnose absent tension, never manufacture it. Old
card 15 renumbered to 16 (external refs grep-verified absent).
session-persona 1.3 gains the session-only interview-me-first
stance; the verbatim four untouched (load-order pins green).

The sanctioned app-code ride-along: owned-insight joins
allocatedSkills on all three surfaces (P1 10 · P2 9 · Chat 11,
links 27 to 30), ProfileSurfaceTests re-pinned (12-skill fixture).
seed-manifest +owned-insight; sample-pass FC-11 (the engine rail
still carries ten: FC-1..9 + FC-11, lint emits FC-10); PRD G14 in
the bundled-set section; DOX pass; devlog.

Verified: full scheme test 574 passed / 0 failed (xcresult executed
count — manifest-payload correspondence and persona-verbatim pins
in the run), swiftformat clean, swiftlint 0 errors, finish-audit
fanout clean (one LOW docs determiner fixed). Issues #56-#58
already closed on the tracker.
2026-11-03 14:35:18 +01:00
AlexKucera 22bca36857 feat(mentor): pin prompt-end constraint ordering (#1)
CI / ci (push) Canceled after 0s
Both personas gain the verbatim-shared "Draft first, rules last"
section (pass 1.5, session 1.2): the writer's material enters
context before the rule skills, so the deslop constraint tables sit
after the draft, nearest the writing they govern — the PRD's
prompt-end rule. A real ACP audit (the app's exact wire — never
-z: one-shot mode swaps the skills directive and loads nothing)
showed the baseline already read the piece before deslop, but by
model choice; the pin converts observed-once into instructed-
always, and PersonaLoadOrderTests guards presence + verbatim
parity over the bundled payload.

Verified layout, probe traps, and the additive-only propagation
cost are documented in docs/research/prompt-layout-factsheet.md
with the probe script in-repo; real-run verify: piece → persona →
deslop → verdict, 6 fix cards + 2 research candidates landed on
the real rails. Suite 479 + 1 load-flake cleared in isolation.

Closes #1
2026-10-30 11:20:01 +01:00
AlexKucera 610f8789bd feat(profiles): registry + provisioning ×3
CI / ci (push) Canceled after 0s
Profiles S1 (#134, ADR-0014): one gate pass provisions all three
surface profiles — museion adopted in place (never reconfigured; its
glm-5.3-max stays the user's), museion-pass1/-pass2 created fresh with
the #132 sonnet defaults + 24k budget via the hermes 'config set' CLI
rail, marker-gated so a re-pass is a no-op and Settings changes
survive; a failed provision names the profile on the #48 card.

Skills move to ONE master copy under Application Support, symlinked
per profile per the #133 allocation (P1 9 · P2 8 · Chat 10); copy-era
dirs migrate on byte-match (.DS_Store-tolerant, symlink-refusing),
diverged dirs stay copies, user skills untouched (G3a). Backup widens
to one three-subdir stamp, any-live-skip-all; RESTORE.md names the
three folders.

Two review rounds (standards+spec, then finish-audit ponytail/
security/general) caught and fixed: the dead .DS_Store leniency in
treesByteMatch, exit-code-only config-set trust, the swallowed marker
write (defaults-stomp re-arm), symlink-following in the untrusted
tree, and a fixture-skewed count pin. Suite: 412 passed / 414 (fork
flake green in isolation 16/16; UI launch = pre-existing testmanagerd
flake, failed identically pre-change). DOX: Museion/AGENTS.md,
MuseionTests/AGENTS.md, ref/writing skills/AGENTS.md rewritten.

Closes #134
2026-10-27 09:23:56 +01:00
AlexKucera 2032534305 prototype(#130): settings page variants A/B/C — providers/keys + per-surface models 2026-10-26 11:43:33 +01:00
AlexKucera ae234350ef feat(sessions): new post from session & drills (S2.7-8) (#30)
CI / ci (push) Canceled after 0s
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); 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. writeNew
gains an origin parameter (additive default .writer, every existing
caller compiles).

"New Brainstorm" is a session started with an opener prompt - no new
machinery (beginBrainstormSession over the normal new+prompt rails).
The freeform composer (input, liveness, Stop) moved from
MentorPaneView into the shared SessionTranscriptView: one
conversation surface, two panes - the Sessions pane stops being a
read-only transcript. Drill offers (S2.8) wire as one pass-persona
section (v1.4): the seeded micro-drill doctrine owns the motivation
moment, the two-minute bound, the single shelf, and the vanish -
session flavor, no machinery beyond S2.3.

Resume now speaks the real adapter wire. Live-probed against the
engine: 0.21.5 answers session/load with the id at
_meta.hermes.sessionProvenance.acpSessionId and NO top-level
sessionId - resumeSession accepts both shapes; every prior
real-engine resume misread as "engine does not know this session".
The fake ACP server answers load in the real shape (a
loadReplayLegacy knob pins the older contract), so the whole resume
suite guards the live wire.

New pins: draft-candidate extraction (last mentor row wins; thought/
card/research/raw lanes and refusal/connection rows never prefill),
ai-stamp write + immutability through overwrite, brainstorm roster +
labeled opener, legacy-shape resume. Finish-audit (three
reviewers, parallel) converged on the confirm() dismissal that
destroyed the edited draft on a failed write - fixed with
sheet-local error state (stale-refusal re-show dies with the
presentation) - and surfaced the missing brainstorm and legacy-shape
pins; the resume fix was flip-verified (removing the provenance
fallback fails the provenance pins). Full suite green (379 tests).

Closes #30
2026-10-22 17:04:12 +02:00
AlexKucera 5700264628 docs: add webloc bookmark for "How To Write With An LLM" essay
CI / ci (push) Canceled after 0s
2026-10-20 12:54:40 +02:00
AlexKucera 683ddf8426 feat(mentor): museion-tools MCP server (#23)
CI / ci (push) Canceled after 0s
Headless --serve-mcp role in the app binary: NDJSON JSON-RPC on stdio
exposing query_learnings and submit_fix_cards (ADR-0006 cards,
anchor-validated; stale lands flagged, never rejected), registered
into the museion profile at provisioning. Cards persist per piece
under <piece>/cards/ and surface in a floating Fix Cards palette
with pass-stamped provenance.

Live dogfood drove the shape: session/prompt waits pass length (the
15 s request default abandoned working turns), a liveness row and a
persisted Debug checkbox (off) split writing sessions from debug
chatter, the verdict references findings by title only while the
cards carry the detail (persona v1.3 — tools work in silence), and
the #24 pass rails (pass bar, TurnOutcome seam, snapshots) ride in.

Three-reviewer audit round: piece-path shape guard closes the
JSON-drop and substring-oracle holes, nested submit rawInput parsing
(the flat parser never matched the live rail), missing stopReason
never advances a pass, 1 MB stdin cap, card scan off MainActor.
296 tests green; every behavioral fix flip-verified.

Closes #23
2026-10-20 12:20:54 +02:00
AlexKucera c2e94fd825 feat(skills): fix-card lanes + emitting doctrine
CI / ci (push) Canceled after 0s
Land the #118/#119/#121 post-map decisions into the mentor's
files: every Fix Card declares a lane (mechanical | demonstration)
and an emitter (lint | engine); the pass persona emits one ranked
submit_fix_cards call at pass end, capped at ten and deduped
against live lint findings; the Knife floor ignores writer praise;
deslop's tables close the actually/unfortunately gap and map
utilize/utilization to use; the sample pass gains the mechanical
exemplar FC-10.

Closes #123
2026-10-19 16:19:57 +02:00
AlexKucera 21e2f27450 feat(outline): drag-reorder + zoom — S6 (#112)
CI / ci (push) Canceled after 0s
Pointer drag of a block run into any sibling seam or onto a block to
nest as its child (wf113 variant A: fat-gap 30/40/30 bands, seam
line at the future bullet column); the block selection rides the
drag, the moved run becomes the selection, and Esc cancels mid-gesture.
Double-click any bullet zooms to its children with breadcrumbs back
out. New OutlineTree extract/insertRun splice subtrees id-preserving;
the live row's NSTextView moved to OutlineRowTextView.

Audit round: the gesture is self-contained from arm time (strong
window + callback captures — a mid-drag scroll that drops the origin
row cannot strand drag state), a second arming cancels a stuck
predecessor, rowFrames prefers the grip frame, hitTestDrop is y-up
only, and the rails read DropGeometry. Pinned in OutlineDragTests
(monitors fire on sendEvent with a real window number).

[Generated by AI]
2026-10-16 14:49:57 +02:00
AlexKuceraandClaude 074f9af080 prototype(#105): outline editor variants A/B/C — outliner interaction
CI / ci (push) Canceled after 0s
Three-variant prototype for the #105 wayfinder ticket (map #97):
how the keyboard-first outliner should feel. Verdict recorded on the
ticket: dedicated block view (variant B) with LogSeq semantics —
block-granular selection, text-only undo, fold as view state, one
promoted NSTextView over the focused row. Variant A kept as the
fold-as-text-edit anti-example; variant C as the painted-chrome
runner-up that lost on visual fidelity.

Also merges prototype/wf104-library-ui (fast-forward) so both
prototypes ride main.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-12 19:12:28 +02:00
AlexKucera 135cc0a78e prototype(#104): library UI variants A/B/C — project grouping + Archive placement
Throwaway UI prototype for wayfinder ticket #104. Three variants, ?variant=
param, real dev corpus, Museion #89 tokens. Verdict: B (serif project
sections + rust edge-bar) + nav-rail Archive destination; New Project and
move-piece-between-projects pulled INTO v1 scope by live verdict.
2026-10-12 17:53:32 +02:00
AlexKucera b3daac9486 docs(home): default Museion Home to ~/Documents/Museion
CI / ci (push) Canceled after 0s
The Home default moves out of the account root into Documents. The app
is unsandboxed (ADR-0009), message: one-time macOS TCC consent for
Documents applies — recorded in ADR-0004. Contract docs (CONTEXT.md
glossary, PRD G5, visual prototype) follow the ADR.

[Generated by AI]
2026-09-30 11:25:05 +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 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 f0910d95b9 refactor(skills): strip serif to pure methodology
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.
2026-08-28 14:00:52 +02:00
AlexKucera 9047e76007 refactor(skills): consolidate subtractive ai-tell rules into deslop
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.
2026-08-28 13:35:06 +02:00
AlexKucera cdb49a92c9 docs(writing-skills): replace humanizer and unslop with a single deslop skill
Consolidates three overlapping AI-writing cleanup references into one
skill covering content, language, style, filler, jargon, and plain
speech tells.
2026-08-28 13:31:19 +02:00
AlexKucera d8546093d3 docs(ref): remove web-prototype context and prd reference files
The Museion planning glossary and PRD under ref/Web-Prototype/ are no
longer needed; the design direction they seeded has served its purpose.
2026-08-28 12:39:49 +02:00
AlexKucera e063e2ab99 Added prototype design 2026-08-28 11:38:31 +02:00
AlexKucera f1dbb93cfe Updated ref/ with new writing skills 2026-08-28 11:38:16 +02:00
AlexKuceraandClaude Fable 4.5 5bdeaef5ff docs: seed mission brief for Museion
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>
2026-08-26 14:06:51 +02:00