diff --git a/CONTEXT.md b/CONTEXT.md index 726a2b4..bc2c3dc 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -63,7 +63,7 @@ A conversation with the Mentor — freeform by default, sometimes the container _Avoid_: chat, thread **Pass**: -A structured critique run over a Piece. Pass 1 critiques at paragraph level and up (structure, argument, flow); Pass 2 at sentence level and below (line edits). The mentor reads and critiques; it never composes. The skill stack's own names — its compose and hunt passes — are its vocabulary, kept out of the app's. +A structured critique run over a Piece. Pass 1 critiques at paragraph level and up (structure, argument, flow); Pass 2 at sentence level and below (line edits). The mentor critiques and may demonstrate (example paragraphs, drafts, corrections), but a final Piece never ships without the writer's hand — no one-button publish of mentor prose. The skill stack's own names — its compose and hunt passes — are its vocabulary, kept out of the app's. _Avoid_: review, run, check **Pass State**: diff --git a/PRD.md b/PRD.md index 24f7b88..75ce66c 100644 --- a/PRD.md +++ b/PRD.md @@ -15,7 +15,7 @@ - v1 = the Mentor Loop + library-light; long-form structure, multi-mind, Paper-grade polish deferred to v2+ - **Engine (G1, resolved):** Museion is the shell; Hermes (Python, NousResearch, MIT) is the engine, driven over **ACP** — spawned as a child process `hermes acp -p museion` (stdio JSON-RPC). **User-installed Hermes** — no app-managed install, no bundled Python. First run gates on `hermes acp --check`. - **Profile isolation (G3, this session):** Museion always runs Hermes under the dedicated `museion` profile (`~/.hermes/profiles/museion/` — isolated config, memory, skills, credentials, chat history). Coding learnings and writing learnings never mix. Not configurable in v1. -- **Provisioning (G3a):** first run creates the `museion` profile if missing, then seeds the writing skills bundled in the app (Serif stack) into `~/.hermes/profiles/museion/skills/`. Seeding is **additive only** — a bundled skill absent from the profile is copied; an existing one is never overwritten, because the mentor's self-improving skills live there. +- **Provisioning (G3a):** first run creates the `museion` profile if missing, then seeds the writing skills bundled in the app (Serif stack, container persona files, demonstrator doctrine, distilled craft canon, drill packs) into `~/.hermes/profiles/museion/skills/`. Seeding is **additive only** — a bundled skill absent from the profile is copied; an existing one is never overwritten, because the mentor's self-improving skills live there. - **Profile backup (G4):** Museion snapshots `~/.hermes/profiles/museion/` to `~/Library/Application Support/Museion/Backups/` — timestamped, at most once per day on launch, keeping the last 7. Snapshot is a complete copy (credentials included) so restore is one Finder copy-back; backups stay user-local, never in the project or git. - **Content layout (G5, merged):** one Museion Home; a post is a folder `posts//` holding `post.md`, `research/`, `assets/` — created lazily on first write. Further writing types (`essays/`, `stories/`) get the same shape when they arrive; v1 ships `posts/` only. Post id = slug of the draft's first line, computed at first save; explicit Rename moves the folder (the file is always `post.md`); external markdown edits as-is, Import (copy, never move) makes it a Post. ADR-0004. - **Writing tools (G6, merged; ADR-0008 + ADR-0006):** the Museion binary doubles as the stdio MCP server `museion-tools`, registered into the profile at provisioning — any MCP-capable engine registers it as a client (engine-swap seam — Hermes today, Pi the identified fallback, ADR-0007). Tool surface: `query_learnings`, `submit_fix_cards` — the fix-card tool's argument schema is the fix-card schema; anchors are quote-based (exact substring + occurrence + context), so edits between issue and accept degrade to a loud no-match, never a wrong-span patch. Research stays engine-native; draft stats are computed natively in Swift at capture time — not an agent tool. Pass prompts are Museion-sent minimal stubs (pass name, piece path, tool reminders) — all methodology lives in the profile's skills. The Serif methodology (SKILL.md files, agentskills.io-standard) stays the mentor's operating system. Fallbacks if ACP ever falls short: Hermes gateway JSON-RPC (every feature), HTTP+SSE API server. @@ -42,7 +42,7 @@ Why now: LLMs hold book-length context, agentic tooling matured, and local model An IDE for writing — the manuscript is the codebase. Three first-class citizens under one native roof: **the text** (long-form structure, à la Scrivener/Ulysses — minimal in v1), **the library** (sources and notes — library-light in v1, so research lands somewhere tangible), and **the minds** (AI agents as residents that see the whole project, edit, critique — and *mentor*: a fierce editor that makes the writer better, not redundant. The Mouseion housed scholars, not scribes). -v1 delivers this as the Mentor Loop. The workflow is not hypothetical — it already runs daily: Alex writes and edits posts with his Hermes agent on the `serif-writing` skill stack (three-pillar style DNA — Sanderson/Brown/King —, 24 anti-patterns, banned-vocab tiers, Editor's Knife line fixes, two-pass rule, learning capture), complemented by `ref/fiction-craft` (developmental level: misbelief, introspection, protagonist agency, varied emotional beats) for when fiction arrives. Museion's v1 job is to **formalize this validated workflow into an app**, not to invent the mentor. +v1 delivers this as the Mentor Loop. The workflow is not hypothetical — it already runs daily: Alex writes and edits posts with his Hermes agent on the `serif-writing` skill stack (three-pillar style DNA — Sanderson/Brown/King —, 24 anti-patterns, banned-vocab tiers, Editor's Knife line fixes, two-pass rule, learning capture), complemented by `ref/fiction-craft` (developmental level: misbelief, introspection, protagonist agency, varied emotional beats) for when fiction arrives. The stack grows per the 2026-08-28 mentor-feel session (session doc under `docs/brainstorming-output/`): two container personas, a master-study demonstrator doctrine, distilled craft canon filling the developmental shelves, drill packs. Museion's v1 job is to **formalize this validated workflow into an app**, not to invent the mentor. ## v1 scope lock @@ -56,7 +56,7 @@ v1 delivers this as the Mentor Loop. The workflow is not hypothetical — it alr |---|---|---| | M0 | **Bridge spike** (the slice test on real rails) | SwiftUI app spawns `hermes acp -p museion`, opens a session, sends a prompt, renders the streamed reply in a debug pane. A fix-card-shaped message round-trips. First run provisions the profile (create if missing + seed bundled skills) and takes the first snapshot. Records the engine version in `~/Library/Application Support/Museion/state.json` (surfaced in the gate and About). | | M1 | **Editor surface** | The Museion Home opens with its posts listed; posts edit in calm focus mode, autosave to disk — nothing but plain files. | -| M2 | **Edit passes & fix cards** | Pass 1/Pass 2 runs on the current draft through the bridge; fix cards render; applying a card writes the file under the trust model. | +| M2 | **Edit passes & fix cards** | Pass 1/Pass 2 runs on the current draft through the bridge; fix cards render; applying a card writes the file under the trust model; the native deslop lint (S3.4) pre-seeds style cards — banned-vocab tiers and em-dash density, computed in Swift, no engine round-trip. | | M3 | **Critique memory** — the differentiator | Promote/dismiss/decay works on real posts; every pass consults memory. *This is the milestone that justifies the app.* | | M4 | **Measurable improvement** | Stats tracked on unaided first drafts; trend view across drafts. | | M5 | **Research & library-light** | Mentor researches mid-pass; findings land as keep/reject candidate source-notes; kept notes feed later passes. | @@ -80,12 +80,14 @@ M0–M3 is the ~3-month differentiator core; M4–M6 are sheddable in that order - **S2.5 — Trust model.** As the writer, the mentor acts only within trust levels: auto-act / inform-after / ask-before / never-do. *AC:* trust level maps to UI (dimmed inline edits vs blocking asks); never-do actions never auto-apply. Defaults, not configurable in v1: research fetch = auto-act; candidate source-note = inform-after; apply any fix, promote, keep note, publish = ask-before; delete files, touch anything outside Home and profile, shell, git = never-do. - **S2.6 — The engine is backed up.** As the writer, the mentor's accumulated state (memory, skills, history) survives profile corruption or a bad update. *AC:* on launch, if the last snapshot is older than a day, Museion copies `~/.hermes/profiles/museion/` to a timestamped snapshot under `~/Library/Application Support/Museion/Backups/`, keeping the last 7 (G4); complete copy, credentials included; restore is manual copy-back in v1; snapshots never land in the project or git. - **S2.7 — Draft from session.** As the writer, a freeform session can birth a Post. *AC:* "New Post from Session" creates the piece folder, writes the draft, stamps `origin: ai` (immutable — never stats-eligible); brainstorming is a session started with a brainstorm prompt — no separate machinery; session↔Post association stays by name/convention. +- **S2.8 — Drill offers at the motivation moment.** As the writer, when a pass exposes a weakness, the mentor may offer a micro-drill targeting exactly that weakness. *AC:* drills are session flavor (prompt-pack) — no machinery beyond S2.3; ≤2 minutes, offered right after the pass finding that motivates it; never homework, queues, or streaks; a declined drill vanishes; drills never edit the draft. ### Structured edit passes → fix cards (M2) - **S3.1 — Run a pass.** As the writer, I run Pass 1 (paragraph level and up — the skill stack's compose pass) or Pass 2 (line level — its hunt pass) on the current draft as a first-class document state. *AC:* running a pass never destroys text; changes diff against the original — a pre-pass snapshot lands in the post's `passes/` (latest per pass type kept); Pass State advances when the pass completes, not when its cards resolve; passes run in any order — order is the skill stack's to nag about, never the app's to enforce. A pass completes when the engine's turn ends — stream complete, tool calls settled. - **S3.2 — Read fix cards.** As the writer, each finding arrives as a card: problem → diagnostic question → fix. *AC:* cards anchor to text spans; applying a card writes the file; the card schema is the critique-memory schema. - **S3.3 — Keep my hand on the wheel.** As the writer, I accept or skip each card; ask-before fixes block until answered. *AC:* no batch-apply-all in v1. +- **S3.4 — Native deslop lint.** As the writer, deterministic style findings arrive as fix cards without an engine round-trip. *AC:* banned-vocab tiers and em-dash density computed in Swift at pass invocation, after First-Draft stats capture (S5.1); findings use the fix-card schema (ADR-0006) and render like any card; same trust model (ask-before apply). Evidence: prompting tops out ~80% style compliance — the last 20% is deterministic-checker territory (three 2026 studies; session doc, model research digest). ### Persistent critique memory — the load-bearing feature (M3) @@ -161,6 +163,7 @@ M0–M3 is the ~3-month differentiator core; M4–M6 are sheddable in that order - **G10 — Origin wall & session drafting (pi session).** "New Post from Session" stamps immutable `origin: ai`; only writer-origin First Drafts feed stats; brainstorm = session flavor; sessions engine-owned with resume/compact. - **G11 — Publish & model (main session).** Micropub token in Keychain, entered once, no OAuth in v1; model/provider user-managed in the profile config. - **G12 — Illustration gate → collapsed (grill session 3).** User decision: the author judges illustration style himself; the mentor never assesses images. M6 deleted, milestones renumbered; illustrations are plain image refs into `assets/`, and the publish floor lives in S6.2 — no photo ships without alt text. The `ref/` style guides stay author-side generation references, outside app scope. +- **G13 — Mentor feel & the skills ceiling (brainstorm session, 2026-08-28).** Decisions, evidenced in `docs/brainstorming-output/brainstorming-session-2026-08-28-0923.md`: (1) feel = trust that the mentor guards Alex's voice against AI-default register; two container personas — Pass = Editor-in-Chief/Knife (Chief 40/Knife 30), Session = Coach/Knife (Coach 40/Knife 30), warm-but-firm by blend arithmetic; learnings consulted silently, never nagged. (2) The persona exceeds the library: the stack covers ~1/3 of the craft territory and every empty shelf is additive (rhetoric, structure-for-posts, reader-psych, humor, better-words doctrine). Fill by distilling books into skills first; RAG only if distillation underdelivers. (3) The demonstrator role is in-bounds — master-study doctrine (example paragraphs in a named master's style, passed through the mentor's own deslop gauntlet); CONTEXT.md's "never composes" corrected to the real boundary: no one-button publish of mentor prose. (4) Micro-drills in v1 (S2.8) — ride the motivation moment; design for the lazy writer. (5) Native deslop lint in v1 (S3.4) — full style compliance needs a deterministic checker + repair loop, not prompts; style constraints sit at prompt-end (recency bias). (6) Model stays `zai/glm-5.3` — research-validated (EQ Longform 81.8, slop 7.09, Claude-Fable-nearest register); audition actors, not authors; optional later audition: Claude Fable 5 for the demonstrator role. ## Stress-test verdict № 1 (2026-08-26 — carried from MISSION.md) diff --git a/docs/brainstorming-output/brainstorming-session-2026-08-28-0923.md b/docs/brainstorming-output/brainstorming-session-2026-08-28-0923.md new file mode 100644 index 0000000..3653b93 --- /dev/null +++ b/docs/brainstorming-output/brainstorming-session-2026-08-28-0923.md @@ -0,0 +1,170 @@ +--- +stepsCompleted: [1, 2, 3, 4] +session_active: false +workflow_completed: true +inputDocuments: ['PRD.md', 'CONTEXT.md', 'ref/writing skills/*'] +session_topic: 'Make the mentor the best it can be at teaching, guiding, improving writing — and optionally drafting; exhaustively: feel sources (model vs skills vs persona), skill coverage gaps, model evaluation' +session_goals: 'Full territory map + skill coverage audit + mentor feel design + model evaluation → action list' +selected_approach: 'AI-Recommended' +techniques_used: ['Question Storming', 'Morphological Analysis', 'Persona Journey', 'Assumption Reversal', 'Analogical Thinking', 'Solution Matrix'] +--- + +# Brainstorming Session Results + +**Facilitator:** Session Facilitator +**Date:** 2026-08-28-0923 + +## Session Overview + +**Topic:** Make the mentor the best it can be at teaching, guiding, improving writing — and optionally drafting. Exhaustive: feel sources (model vs skills vs persona), skill coverage gaps, model evaluation. +**Goals:** Full territory map + skill coverage audit + mentor feel design + model evaluation → action list +**Goals:** _pending confirmation_ + +### Context Guidance + +_Loaded: PRD.md (mentor loop, G-decisions, risks), CONTEXT.md (mentor/pass/fix-card glossary), and the seven writing skills in `ref/writing skills` (serif-writing, fiction-craft, humanizer, unslop, ste-writing, writing-for-agents)._ + +### Session Setup + +**Approach:** AI-Recommended (5-phase flow, ~2h). **Fourth thread added by Alex in setup:** optional *drafting* — crosses the v1 boundary "the mentor reads and critiques; it never composes" (CONTEXT.md Pass). Stress-test explicitly. + +## Technique Selection + +- **Phase 1 — Question Storming:** stress-test the stated frame (model vs skills) before answering it. +- **Phase 2 — Morphological Analysis:** craft dimension × edit level × mentor role × content type grid; place the 7 skills on it; gaps fall out mechanically. +- **Phase 3 — Persona Journey:** embody mentor archetypes (fierce editor, diagnostic coach, workshop leader, sensei, teacher); Alex reacts; the kept blend = the feel. +- **Phase 4 — Assumption Reversal + Analogical Thinking:** flip "model matters/skills matter/mentor never drafts"; analogies from skill-teaching domains (music, sports, chess). +- **Phase 5 — Solution Matrix:** every surviving idea × effort/impact-on-feel/fits-v1 → action list. + +**AI Rationale:** Exhaustive multi-prong topic → deep+structured techniques for coverage, theatrical for feel design, creative for the model-vs-skills fork; research pauses woven in for factual questions. + +## Phase 1 — Question Storming (findings) + +**Round 1 — Alex's answers:** + +- **Feel = trust.** The core: "I know AI likes to write a certain way. I do not want my writing to feel like it was written by AI." The feel is confidence the mentor shares Alex's taste and guards his voice against AI-default register. +- **The failure moment:** flattery + missing something obviously AI. (Desloping failed *in situ* — though humanizer/unslop exist in the stack.) +- **Feel is currently prompt-borne, not skill-borne:** "usually I found the right prompt to make it so" — magic prompts keep being rediscovered, never promoted into the durable stack. +- **Feel is detectable in one session** — A/B testable. +- **Model register is real but marginal:** Claude/GLM warm vs GPT cold; a perfect model would only "marginally increase the quality of my output." (Alex's own estimate.) +- **The skills are the ceiling (self-diagnosed):** a world-class human editor restricted to the 7 skills would *probably not* produce world-class edits — "they have a much broader range of knowledge about the written word than my skills have captured." +- **Two-container persona confirmed:** Pass = editor (red pen); freeform session/chat = coach (mentor, teacher). The app already has both containers. +- **🚨 PRD correction found:** "The mentor reads and critiques; it never composes" (CONTEXT.md Pass entry) — **an LLM-invented sentence Alex never said nor believes.** Real boundary: no final publishable piece at the press of a button. Drafts, example paragraphs, corrections are all in-bounds. → Update CONTEXT.md + PRD after session. +- **Drafting raises the stakes on model register:** once the mentor demonstrates prose, its own voice becomes teaching material — warm/cold model choice matters more. +- Loop youth (learnings empty) may also depress the current feel — open hypothesis. + +**Round 2 — Alex's answers:** + +- **Persona spec in three words: "warm, but firm."** Pushes back when it genuinely knows better. No flattery — but also no pestering with learnings (learnings inform silently, never nag). +- **The em-dash battle:** some AI register behaviors are trained in so deeply that skills/prompts can't suppress them — "a constant battle to edit these things out even though the skills say not to." → Prompt-resistant failure modes exist; prevention-by-prompt has a ceiling. Candidate fix: **deterministic deslop lint in Swift** (banned-vocab tiers are lists — enforceable in code, like M4 stats). Converts the constant battle into a mechanical guarantee. +- **The pillars are an *idealized* voice, not Alex's current one.** Alex writes "what I think and that's that"; Sanderson/Brown/King add the style and elegance he aspires to. → The mentor is a **voice teacher**, not a voice *guard*. Voice triangle: raw-Alex (too plain) · AI-slop (forbidden) · ideal-voice (three-pillar-inflected). Direction = aspiration, anchor = authenticity. +- **Sampling his own posts rejected** — copying current style won't improve him. (Open counterpoint to revisit: corpus as *anti-drift anchor*, not copy-target.) +- **The serif skill's confession:** "an amalgamation of my three favorite authors and a few AI slop word lists — hardly an expansive fountain of knowledge." Alex can only capture what he knows or asks an LLM to synthesize. +- **💡 Writing-book RAG idea (Alex's):** build a focused RAG from popular books on writing to give the mentor concentrated craft knowledge. He knows LLMs trained on this; bets focus helps. Compare in Phase 5 vs. distilling more canon into skills (fiction-craft pattern). Hermes-side RAG feasibility: research item. +- **Diagnostics > encyclopedia:** naming precisely what's wrong and why is the priority capability. +- **Gap is craft, not Alex-knowledge** — "voice can be learned over time." +- **Mentor's own examples must pass the deslop gauntlet** — self-check loop on composed text: "definitely." +- **AI-assisted drafting is publicly fine** — Alex already runs an "AI Assisted Writing" blog category. The boundary is workflow (no button-publish), not authorship purity. + +**Emerging idea ledger:** ① Swift deslop lint (deterministic banned-vocab/regex enforcement in-app) · ② Mentor self-deslop gauntlet on composed examples · ③ Writing-book RAG vs. skill-distillation canon · ④ Silent learnings consultation (no nagging) · ⑤ "Warm but firm" persona · ⑥ Voice-triangle model of the teaching job + +## Phase 2 — Morphological Analysis (the territory map) + +**Skill placement:** serif-writing (Line→Decon, Voice/Sentence/Word/Clarity, posts) · fiction-craft (Developmental/Structural, Narrative, fiction-only) · humanizer + unslop (Decon, subtractive, duplicated) · ste-writing (Copy, technical) · writing-for-agents (meta). + +**Coverage verdict: ~1/3 of the grid.** Alex: "feels sadly accurate." + +**Empty shelves (all additive/generative):** Argument & rhetoric · Reader psychology · Research discipline as craft · Humor & punch · Writing psychology · Narrative-in-essays · Word precision (doctrine for *better*, not just kill-lists). + +**Partial shelves:** Titles & hooks (openings only) · Architecture for posts/essays · Revision craft (two-pass, thin). + +**Structural findings:** +1. The stack is a filter, not a fountain — knows what to kill, not what to build. +2. Developmental editing for the v1 vertical (posts/essays) is empty — altitude-1/2 skill speaks fiction only. +3. The **demonstrator role is ungoverned** — nothing says how the mentor drafts examples well (in-bounds since round-2 correction). + +**Roles status:** critic ✅ · diagnostician ✅ · teacher ⚠️ · coach ⚠️ (app loop) · demonstrator ❌ · co-writer ❌ · gatekeeper ⚠️ prompt-only. + +**Idea ledger add:** ⑦ The grid doubles as the writing-book acquisition checklist — every empty shelf names a book-slot the RAG/canon must fill. + +## Phase 3 — Persona Journey (the blend) + +**Pass (editor container): Chief 40 · Knife 30 · Coach 10 · Leader 10 · Sparring 8 · Sensei 5** → *"The Editor-in-Chief with a knife"* — structural intelligence first, line-level deletion second. + +**Session (coach container): Coach 40 · Knife 30 · Sensei 10 · Sparring 10 · Chief 5 · Leader 0** → *"The Coach with a knife"* — across-drafts pattern teaching, constant line fierceness. + +**Readings:** +- **The Knife never leaves the room** (30% in both containers) — the anti-sycophancy floor is constant. +- **Leader killed in Session (0%)** — Alex wants *answers, not questions* (matches Q16: diagnostics > Socratic). Small residual 10% in Pass (diagnostic questions on cards). +- **Chief dominates the Pass (40%) — but its knowledge shelf is the emptiest** (Phase 2: developmental/structural for posts = empty). **The persona exceeds the library.** A Chief without rhetoric/structure knowledge is a costume. Filling that shelf isn't polish; it's fuel for the archetype Alex wants most. +- **Warmth** comes from Coach (session) + Chief's ambition-for-you; **firmness** from Knife+Sparring constant → "warm but firm" achieved by blend, not by prompt. +- Sensei nonzero in both → demonstration doctrine (still ungoverned) matters. + +**Idea ledger add:** ⑧ Persona specs differ per container — Pass prompt = Chief/Knife, Session prompt = Coach/Knife (possibly two skill/persona files, not one). + +## Phase 4 — Assumption Reversal + Analogical Thinking + +**Flip 1 ("model choice matters") → reversed:** the model doesn't create the feel — but the wrong model can *break* it (register; prompt-resistant tics). Model matters more now that demonstrating prose is in-bounds. **→ Idea ⑬: audition actors, not authors — model selection criterion is steerability/style-compliance, not native brilliance.** Background research launched on writing-model candidates (async subagent, to fold into Phase 5). + +**Flip 2 ("skills are the ceiling") → Alex's call: the stack wins over model-instinct.** Doctrine beats instinct *by policy* — ultimate stack enforcement is the deterministic deslop lint (code beats prompt), not prompting. + +**Flip 3 ("better critique → better writing") → reversed: more writing beats better critique — "rings true, but uncomfortable."** Root of discomfort, named by Alex: **"I am lazy. Drills and repetitions feel uncomfortable. But I know they are necessary."** → Design constraint: design for the writer he is, not the writer he wishes he were. **→ Idea ⑩: micro-drills ride the motivation moment** — offered ~30s after a pass exposes the weakness, ≤2 min, never homework, never a streak. + +**Analogies, ranked by Alex: art school > music > sports.** +- **Art school — master studies (top):** three pillars = curriculum, not borrowed voice-copy. **→ Idea ⑪: demonstrator doctrine = mentor demonstrates in a named master's style** ("your paragraph, as Brown would pace it"), desloped through its own gauntlet (②), annotated. Fills the ungoverned demonstrator role; legitimizes not-sampling-own-posts. +- **Music — scales + repertoire:** technique drills (sentence rhythm, titles) + studying great posts as performances. +- **Sports — game film → drills → periodization:** learnings = film (M3); drills = session flavor; **→ Idea ⑫ (v2): M4 trends assign the next drill.** + +**Idea ledger now:** ① Swift deslop lint · ② mentor self-deslop gauntlet · ③ writing-book RAG vs skill distillation · ④ silent learnings · ⑤ "warm but firm" persona · ⑥ voice-triangle · ⑦ grid = book checklist · ⑧ two container personas · ⑨ drills as session flavor · ⑩ micro-drills at motivation moment · ⑪ master-study demonstrator · ⑫ periodization · ⑬ actors-not-authors audition criteria + +## Model research digest (background researcher, Aug 2026) + +Full brief: `~/.pi/agent/sessions/--Users-alex-Projects-macOS-Museion--/subagent-artifacts/outputs/f765ac93-47ee-4832-9983-29329d2aea04/research.md` + +- **The current pin is validated.** GLM-5.3: EQ Longform 81.8 (ties Claude Opus 4.7), slop 7.09 (2nd-best board-wide), lowest repetition of the top tier. Its prose distribution's nearest neighbor is **Claude Fable 5** — Alex's "GLM is warm like Claude" intuition is now measured fact, not vibes. Watch-items: emotional depth (−1.0 relative) and instruction-following (−0.81). +- **Idea ① upgraded from "good idea" to "evidence-backed requirement":** three independent 2026 studies (bymorning STE style-guide test, EACL 2026 instruction-following, arXiv em-dash suppression) converge: prompts achieve ~80% style compliance; **full compliance only via an external deterministic checker + repair loop.** The em-dash battle has a literature, and the literature says: enforce in code. +- **Prompt-order finding:** Claude/GLM are *recency-biased* followers — style constraints belong at the **end** of the pass prompt, not the top. +- **Flip-2 decision externally validated:** writers report Claude-as-critic gives "plausible-sounding criticism," inconsistent on re-runs → anchor verdicts in the checkable stack, not model taste. Stack > instinct is the right policy. +- **"Made for writing" exists but isn't plug-innable:** Sudowrite Muse (fiction-only, no API, cliché-penalized training, author-voice conditioning) proves deliberate warm-clean prose voices are buildable; Meta Muse Spark 1.2 is the closest callable (weights promised open). NovelAI shipping an *untuned GLM-4.5 base* = the prose community's vote that warm-generalist + your own conditioning beats "specialist." **The conditioning layer (skills) is where the product lives — no model swap needed.** +- **Stale prior flagged:** "GPT = cold" dates from GPT-4o/4.1; GPT-5.2 stylometry = most expressive of the big three. Its real flaws: semicolon/comma house style, verbosity (8.5K-word avg outputs). +- **Track C resolution:** keep `zai/glm-5.3` as pin. Optional premium audition: Claude Fable 5 (human-judged #1, GLM's nearest neighbor — same warmth, more emotional depth) for the demonstrator role. GPT-5.6 Sol = mechanical-obedience alternative if the lint's repair loop ever needs a repair model. No further model work needed for v1. + +**Idea ledger add:** ⑭ style constraints at prompt-end (recency bias) · ⑮ lint's repair loop may want a dedicated repair model later (GPT-5.6-line) — v2 curiosity only. + +## Phase 5 — Solution Matrix (final) + +**Alex's decisions:** A1 distill-first (yes) · B2 micro-drills in v1 (yes) · no cuts, nothing missing · Track C resolved (keep GLM-5.3). + +## Action Plan + +**Immediate (free / this week):** +1. ✅ **D1 done** — CONTEXT.md Pass entry fixed: "critiques and may demonstrate… no one-button publish of mentor prose" replaces the LLM-drifted "never composes." +2. **⑭ Prompt order:** verify style constraints sit at the *end* of the pass prompt assembly (recency bias — Claude/GLM follow late constraints best). + +**Skill side — fill the Chief's library (the binding constraint):** +3. **A3 — Two persona files** (S): Pass = Chief 40 / Knife 30 / Coach 10 / Leader 10 / Sparring 8 / Sensei 5; Session = Coach 40 / Knife 30 / Sensei 10 / Sparring 10 / Chief 5 / Leader 0. Warm-but-firm by blend arithmetic. Silent-learnings rule: inform, never nag. +4. **A2 — Demonstrator doctrine skill** (S–M): master-study method — demonstrate in a named master's style ("your paragraph, as Brown would pace it"), desloped through self-gauntlet (②), annotated. Top-ranked analogy; fills the ungoverned role. +5. **A1 — Distill 2–3 books into skills** targeting the Chief's empty shelves: argument/rhetoric, structure-for-posts, reader psychology; add *better-words* doctrine (not just kill-lists). Grid = acquisition checklist (⑦). RAG deferred until distillation proves insufficient (③/C2). +6. **Cleanup:** merge humanizer+unslop (duplicates). + +**App side:** +7. **B1 — Swift deslop lint** (S–M, v1): banned-vocab tiers + em-dash density enforced in code; natively pre-seeds fix cards; feeds a repair loop. *Evidence-backed by three 2026 studies: prompts top out ~80% compliance; the last 20% is deterministic-checker territory.* +8. **B2 — Micro-drill prompt-pack** (S, v1): session flavor; offered ~30s after a pass exposes a weakness; ≤2 min; never homework, never streaks. Design constraint: the drill comes to the writer; the writer never goes to the drill. +9. **B3 — Periodization** (v2): M4 trends assign drills. + +**Model:** +10. **Keep `zai/glm-5.3`** — validated by research (EQ longform 81.8, slop 7.09, Claude-Fable-nearest register). Later, optional: audition Claude Fable 5 for the demonstrator role (same warmth, stronger emotional depth). ⑮ repair-model curiosity: v2. + +## Session Summary and Insights + +**Key reframings:** +- The "feel" = **trust that the mentor guards Alex's voice against AI-default register** — detectable in one session. +- The three pillars are a **curriculum, not a voice-copy** (master-study pedagogy legitimizes striving toward Sanderson/Brown/King). +- **The persona exceeds the library** — Chief dominates the Pass blend at 40% while his shelves are the emptiest. Filling them isn't polish; it's fuel. +- The skills are **a filter, not a fountain** (~1/3 territory coverage; every empty shelf is additive/generative). +- Model = **actor, not author** — steerability and register over native brilliance; GLM-5.3 already correct; the last-20% compliance is code, not prompt. +- **Design for the lazy writer**: drills ride the motivation moment; friction is a feature in critique and a bug in exercise. + +**Creative breakthroughs:** persona blend arithmetic (two container personas); master-study demonstrator doctrine; micro-drills at the motivation moment; the evidence-backed lint. + +**Workflow completed:** 5 phases · 15 ledger ideas · 3 tracks + corrections · model question closed with data. diff --git a/docs/brainstorming-output/sudowrite-muse-learnings-2026-08-28.md b/docs/brainstorming-output/sudowrite-muse-learnings-2026-08-28.md new file mode 100644 index 0000000..8134b2f --- /dev/null +++ b/docs/brainstorming-output/sudowrite-muse-learnings-2026-08-28.md @@ -0,0 +1,42 @@ +--- +date: 2026-08-28 +sources: sudowrite.com, sudowrite.com/muse, feedback.sudowrite.com/changelog (page reads) + researcher brief (docs, community, Meta Muse line) +full-research: "~/.pi/agent/sessions/--Users-alex-Projects-macOS-Museion--/subagent-artifacts/outputs/0ae53a55-f514-448b-9c10-ada4d4838b08/research.md" +status: learnings distilled; ticket amendments applied to #2, #3, #8, #9 (2026-08-28) +--- + +# Sudowrite & Muse AI — learnings for Museion + +## Premise corrections + +- **Meta's Muse line is not a writing product.** Muse Spark 1.1/1.2 (Jul/Aug 2026) is a coding/agentic family; Muse Code is its product surface. Muse **Glimmer 30B** (Aug 10, 2026, Apache-2.0 open weights, single 24 GB GPU) has an *emergent* prose reputation in local-LLM communities — not Meta's positioning, but credible: "prose is interesting and less sloppy than any model I can run with 24GB," no-refusal, very low run-to-run variance. → **Local engine candidate** for the ADR-0007 swap seam; audition-tier only (EQ-Bench hasn't listed Muse models yet — claims are anecdotal). +- **Sudowrite has zero non-fiction support** — deliberately ("not marketing copy, not SEO, not email"). The essay/blog mentor vertical stays empty; this is confirmed policy, not oversight. +- No "Transcribe" feature exists in Sudowrite (checked; premise item unsupported). + +## The load-bearing lessons (deduped, ranked by fit) + +1. **Context structures are the spine, not generation.** Everything Sudowrite writers actually retain is a *context* feature: Story Bible (every tool reads it), Chapter Continuity (20K words across 25 docs), Style Examples. Museion's analogs already exist or are planned: library-light (M5), learnings (M3), per-post research. **v2 candidate: a per-post context sheet** (thesis, audience, key claims, what this post is *not*) — the essay Story Bible; the Chief's structural eye given a home. +2. **Voice anchor ≠ voice copy (resolves the session's round-2 tension).** Sudowrite conditions *generation* on ≤1,000 words of author prose. Museion inverts it: use the writer's best published prose as the **critique baseline** — "this isn't how you write openings; yours are better." Fierce + personal + teaches, and it never copies. Feed as a rule into the persona files. +3. **Bounded critique beats a wall of notes.** Their Feedback tool caps at *five actionable areas*; users still ask for dimension control + cost transparency pre-run. Museion: fix cards already answer this; add the **attention budget** rule — capped, ranked card view per pass, not infinite scroll. +4. **Meter iteration kindly — iteration IS the product.** #1 Sudowrite churn driver: credits that punish revision ("painful fast when you're iterating"). Museion is local-first (immune), but the per-pass token-cost visibility (PRD risk 3) should follow this rule: predictable, shown *before* the pass, never a deterrent to running another one. +5. **Single-dimension tools beat general improvement.** Describe wins because it toggles per-sense; writers target the weak dimension. Micro-drills (ticket #8) should be strictly single-shelf: drill the weakness, nothing else. +6. **Demonstrations stay bounded.** Their Draft (3–5K word chapters) generates the slop complaints (loops, drift, generic output) — and atrophies the writer. Master-study demonstrations: ≤~100 words, on the writer's *own* material, always as variants (options by default — a single example reads as *the answer*; variants read as *a lesson*), with a thumbs-up pick that feeds learnings. +7. **Changelog archaeology: what writers retain = context + revision economics.** Beats→Scenes restructure, My Voice retired, Muse 1.5 marketed on discipline + 20% credit efficiency; Story Bible/Outline went unlimited; Visualize is garnish nobody's workflow depends on. Invest in context, memory, cheap loops; treat decorative AI as optional. +8. **"Non-judgmental partner" is the anti-position.** Sudowrite's pitch is speed and comfort; their Feedback tool is their weakest, least-controlled surface (generic five areas, no dimension control). The fierce-editor stance isn't risk — it's the gap the market leader left open. +9. **Writers hand-assemble the loop Sudowrite won't ship.** Reviewers draft in Claude → iterate in Muse → hand-select — a self-made *generate→critique→select* loop. Museion's Mentor Loop is that loop, productized, for essays. Validation, not new scope. +10. **Trust posture is a product feature.** Sudowrite markets consented training loudly. Museion goes further by construction: drafts never leave the machine unless the writer's own model config says so; Glimmer makes *fully on-device* critique a real story later. + +## v2 parking lot (do not build in v1) + +- Per-post context sheet (essay Story Bible) — frontmatter + prompt pack, but v1 scope is locked. +- Fierce↔coach dial, per project, where the fierce end is *qualitatively* different (blunt diagnostic mode), not just tone. +- Mentor lenses — user-buildable critique flavors with context injection ("check only evidence gaps," "critique as a New Yorker editor would"). Ship lenses, not ghostwriters. +- Reader-simulation session flavor (three simulated readers: what landed, where they stopped) — fills the reader-psych shelf with a prompt pack. +- Glimmer 30B as local engine candidate / privacy story. + +## Proposed ticket amendments (this session) + +- **#2 personas** — add the voice-anchor rule: critique calibrates against the writer's best published prose; drift callouts in the form "yours are better." +- **#3 demonstrator doctrine** — add: options by default (variants, never one rewrite); bounded span (≤~100 words of the writer's own material); thumbs-up variant pick feeds learnings. +- **#8 micro-drills** — add: single-dimension rule (drill targets exactly one shelf/weakness — the Describe lesson). +- **#9 Fable audition** — add Glimmer 30B (local) as a second audition candidate; note EQ-Bench hasn't validated Muse models yet.