diff --git a/MISSION.md b/MISSION.md new file mode 100644 index 0000000..842aabe --- /dev/null +++ b/MISSION.md @@ -0,0 +1,97 @@ +# Museion — Mission Brief + +> **Rung:** MISSION (vision depth). The sketch that lets us judge direction. Mature to PROJECT.md when competitors are named-and-beaten, features concrete, monetization priced. + +**One-liner:** The Agentic Writing Environment (AWE) — the IDE for long-form writing, where scholars, texts, and AI minds work under a single native macOS roof. Named for the Mouseion of Alexandria: the one place in history where they already did. + +## Fixed facts (decided, not open) + +- Native SwiftUI macOS app, macOS 26.5+, Swift 6 (ADR-0001) +- GPL-3.0-or-later (ADR-0002) +- Forge: Gitea at git.babylondreams.de (ADR-0003) + +## Problem + +AI-assisted long-form writing today means a chat window stapled to a notes app. The writer's manuscript, sources, and thinking live in one place; the AI lives in a sidebar with amnesia, built for snippets and autocomplete — not for books, dissertations, or monographs. The writer spends their effort *feeding context to the tool* instead of writing. + +Code had this problem and solved it: IDEs made files, context, and (recently) agents first-class. Writing has no equivalent. Why now: LLMs finally hold book-length context, agentic tooling matured, and local models make a native, private, writer-owned tool possible. +And one layer deeper: today's AI tools help writers produce *more text faster* — none makes the *writer* better. The assistant flatters, the writer stagnates. A serious writer doesn't want a ghostwriter; they want a fierce editor and a teacher. + +## Audience + +**v1 is built for Alex himself** — scratch-own-itch, the established Helm ADE pattern: personal, local-first, not commercial. The broader audience (academia? nonfiction?) crystallizes from actual use and is explicitly deferred to the PROJECT rung. + +## Solution + +An IDE for writing — the manuscript is the codebase. Three first-class citizens under one native roof: + +1. **The text** — long-form structure (chapters/sections, à la Scrivener/Ulysses), not a folder of notes. For v1's blog focus: posts and drafts in a calm focus-mode editor; structure deepens as long-form arrives. +2. **The library** — sources, research, and notes connected to the text. Obsidian-grade eventually; library-light in v1. +3. **The minds** — AI agents as environment residents, not a sidebar: they see the whole manuscript and library, edit, critique, research. And crucially: **they mentor** — a fierce editor that makes the writer better, not a ghostwriter that makes them redundant. The Mouseion housed scholars, not scribes. + +With the calm and elegance of Paper — native, fast, beautiful. + +## Features (v1 sketch) + +First target: **blog writing** — idea → draft → fierce edit → publish-ready, with the agent as editor-mentor throughout. Structure must grow toward essays, stories, and worldbuilding (v1's architecture must not block that branching). + +**The workflow already exists and is validated.** Alex has written and edited blog posts with his Hermes agent using the `serif-writing` skill stack (Serif = the writing-specialist persona: 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` (repo-local): the **developmental level** — misbelief, introspection, protagonist agency, varied emotional beats — for when fiction branching arrives. Two curriculum tiers, both already in hand: line-level surgery (Serif) and story-level developmental editing (fiction-craft). Museion's v1 job is not to invent the mentor but to **formalize this workflow into an app**: + +- Editor surface for drafting (focus mode; structure comes with long-form), plain markdown files +- **The Serif methodology as the mentor's operating system**: style DNA, anti-patterns, deviation rules — auto-act / inform-after / ask-before / never-do — as the edit-application trust model (matches the dimmed-inline-edits UI convention) +- **Structured edit passes** as first-class document states, at both curriculum levels: line passes (Pass 1 compose / Pass 2 hunt, Serif) and developmental passes (character/diagnostic questions, fiction-craft — active when fiction branching arrives). Its problem → diagnostic question → fix card is also the data model for critique-memory entries +- **Persistent critique memory** — formalizes today's hand-maintained `.learnings/` + MEMORY.md: recurring weaknesses per writer, promoted when seen 3+ times, consulted on every future draft (the load-bearing feature) +- **Measurable improvement**: statistical signals (burstiness, type-token ratio, sentence-length variation, trigram repetition) tracked across drafts — proof the *writer* gets better, not just the text +- Library light: sources, notes, links (full vault arrives with long-form branching) +- A real publish path (not copy-paste into a CMS) +- The elegance bar of Paper: native, minimal, fast + +## Differentiation + +- **vs Obsidian + Copilot (the status quo we must beat):** agent-first and native, not notes-first with an AI plugin. Obsidian is Electron, plugin-grade AI, note-shaped. Museion is manuscript-shaped with AI as a resident. +- **vs Ulysses/Scrivener:** real depth of AI — they have none; their structure is the ceiling, ours is the floor. +- **vs Paper:** Paper has the elegance but not the depth. Museion: Paper's calm, Scrivener's structure, Copilot's mind. +- **vs AI-writing tools (Sudowrite, etc.):** they generate text; Museion is an *environment* where the writer's own project is the context — agent works for the writer's manuscript, not a prompt box. +- **The mentor stance (sharpest edge):** every AI writing tool on the market generates; none is built to *teach the writer*. A fierce editor-mentor that improves the writer, not just the text, is a genuinely uncontested position — and the one thing a ghostwriter-substitute can never copy. +- Category framing itself ("AWE") is a bet: the IDE analogy makes the product legible. + +## Monetization + +**None for v1.** Personal GPL tool — the Helm ADE pattern: local-first, no backend, no accounts, nothing to sell. If it ever outgrows Alex, pick a model at the PROJECT rung (donations, open-core service, and paid App Store builds are all GPL-compatible paths). + +## Edge + +- **Dogfooding** — v1's user is its builder: fastest feedback loop there is, zero audience risk while the category is being invented. +- **The Alexandria family** — Classis (ADE) already sails; Museion is the second environment from the same hand, sharing native-SwiftUI craft and a coherent brand story (*Classis sails, Pharos guides, Museion holds knowledge*). +- **Track record** — Classis and dialysisPal prove Alex ships solo native SwiftUI; Helm ADE proves the personal-local-first environment pattern works for him. +- **Validated methodology in hand** — the Serif skill stack (style DNA, anti-patterns, two-pass editing, learning capture) is a hand-built, battle-tested writing curriculum; Museion productizes Alex's own proven workflow. The writing-domain question is answered. + +## Risks & open questions + +1. **Obsidian's gravity** — free-ish, huge ecosystem, Copilot plugin already exists. Moot while v1 is personal; becomes the central fight if Museion is ever published — the mentor stance, not "native and elegant", must be the switch reason. +2. **Solo-dev scope** — an IDE-class app is a multi-year build. What's the smallest version that's still an AWE and not "another notes app with chat"? +3. **GPL + monetization** — defused for v1 (no monetization, Helm pattern); revisit at the PROJECT rung if scope grows. +4. **macOS-only** — trivially right for a personal tool; only a constraint if published (then it cuts the market and invites copycats on other platforms). +5. **AI cost & plumbing** — whose models, what local/remote mix, who pays for tokens? +6. Category bet: "AWE" may need evangelizing before anyone searches for it. +7. **n=1 design risk** — built for one writer's taste; may not generalize beyond Alex. Honest, but keep it in view when the audience question returns. +8. **Sycophancy vs fierceness** — largely mitigated by evidence: the Serif methodology already produces fierce, non-flattering editing in daily use (its problem is the opposite — catching everything that survives Pass 1). Residual risk: app UX smothering the friction that makes the critique land. + +Run 2026-08-26, five personas (fresh context, model spread). Scores: `Contrarian 3/10 · Expansionist 9/10 · Logician 7/10 · Researcher 7/10 · Buyer 6/10`. + +## THE VERDICT: RESHAPE +Confidence: high + +**The call in one line:** Keep the vision, shrink v1 — build the mentor loop with persistent critique memory, not the IDE shell; validate the mentor on real posts before writing editor plumbing. + +**Why:** Four of five personas independently converged on the same finding: fierceness alone is a system prompt (ChatGPT does "be brutal" free; sycophancy-by-default is why the market hasn't already built it); the defensible product is the *discipline apparatus* — manuscript context, a library, and **memory of the writer's recurring weaknesses across drafts**. Researcher: pain documented (~58% measured sycophancy across models; authors publicly begging for non-flattering feedback), essay/blog vertical unoccupied (fiction-only competitors: Sudowrite Story Coach, Fictionary, AutoCrit, $15–30/mo band), cultural tailwind (Scrivener/iA Authorship anti-ghostwriter constituency). Contrarian opposes the *build order*, not the dream — and his fix is the cheapest test below. Expansionist's 9/10 is the ceiling if the reshape lands; his App Store optimism is wrong (Contrarian right: GPL-3 vs App Store TOS is a landmine — paid-App-Store struck from future options; donations/sponsorship/open-core service remain). + +**Biggest risk:** Without persistent critique memory, Museion is a wrapper around a prompt Alex already runs — spotted in two sessions, abandoned in a month (Buyer: "a theme, not a mentor"; 3/10 if shipped as meanness-with-a-suit). Secondary: solo-dev scope death — IDE-class v1 (editor + library + polish) is a multi-year sidebar that never reaches the mentor. + +**Biggest upside:** Uncontested position — the only writing tool betting on making the *writer* better rather than the text faster, in an essay/blog vertical nobody occupies, with the Alexandria family brand and a local-first stance incumbents can't copy without abandoning their cloud DNA. + +**Money read:** None for v1 (personal tool, by design). The only real economics are Alex's spare time: ship-fast is YES for the narrow loop (one editor, one agent, one folder), NO for the IDE shell. If ever published: $15–30/mo band validated by weaker competitors; GPL-compatible paths = donations/sponsorship/open-core service; App Store is not one. + +**The cheapest 48-hour test:** ~~Run the next blog post through a fierce-editor prompt…~~ **Already run, organically**: Alex has produced and edited multiple blog posts with Hermes + the Serif skill stack, including hand-maintained learning capture. The thesis holds — Museion formalizes the validated workflow. (Recorded 2026-08-26.) + +**If RESHAPE (this is the reshape):** v1 = **The Mentor Loop** — minimal editor surface + one fierce agent + persistent critique memory (the load-bearing feature) + plain markdown files (no bespoke store — Obsidian gravity wins otherwise) + a real publish path. Library, long-form structure, Paper-grade polish: deferred to v2+, arriving when the loop has earned them. The AWE vision is unchanged — it is the destination, not v1. diff --git a/ref/blog-illustrations/SKILL.md b/ref/blog-illustrations/SKILL.md new file mode 100755 index 0000000..929b7bc --- /dev/null +++ b/ref/blog-illustrations/SKILL.md @@ -0,0 +1,82 @@ +--- +name: blog-illustrations +description: Hand-drawn ink sketch illustration style for blog posts — consistent visual identity across all articles. +triggers: + - "blog post illustration" + - "blog image" + - "article image" + - "serif image style" + - "ink sketch" +--- + +# Blog Illustration Style + +Consistent hand-drawn ink sketch aesthetic for blog post illustrations. Every image shares the same visual DNA so the body of work feels cohesive across posts. + +## Style Definition + +**Base style:** Hand-drawn ink sketch with rough pencil texture. + +**Core visual rules:** +- White background +- Black ink as primary color (lines, outlines, text) +- Gray wash for shading and depth +- One accent color per image (used sparingly, for emphasis only) +- Rough, slightly imperfect lines — not clean vector, not polished +- Editorial illustration feel, like something from a tech opinion column drawn by hand +- Text elements rendered in handwriting style (labels, captions) + +**Accent color palette (pick ONE per image):** +| Color | Use for | +|-------|---------| +| Gray wash | Neutral, default | +| Blue wash | Planning, architecture, systems, infrastructure | +| Orange-red wash | Danger, waste, fire, warning, blocked access | +| Purple-blue wash | Hype, spectacle, confusion | +| Green wash | Growth, building, discovery, networks | + +**Composition principles:** +- Single clear concept per image — no clutter +- Labels and text annotations welcome (handwritten style) +- Small human figures for scale and relatability +- Humor works well — slight absurdity fits the voice +- If comparing two approaches, show both side by side or top/bottom + +## Technical Settings + +**Tool:** Nano Banana Pro (`nano-banana-pro` skill) + +**Workflow:** +1. **Draft at 1K** with `--model flash` +2. Review and iterate (keep at 1K until prompt is locked) +3. **Final at 4K** with `--model pro` +4. Never overwrite drafts when upscaling — use `-4k` suffix + +**Prompt template:** +``` +Hand-drawn ink sketch, rough pencil texture. +[DESCRIPTION OF SCENE — specific objects, layout, action] +White background, black ink with [ACCENT COLOR] wash for [WHAT IT HIGHLIGHTS]. +Editorial illustration style, opinion column art[optional: , slight absurd humor]. +``` + +**Filename convention:** `YYYY-MM-DD-HH-MM-SS-descriptive-name.png` + +## Reference Images + +Published examples in this style: + +| File | Concept | Accent | +|------|---------|--------| +| `2026-06-26-architect-desk-sketch.png` | Architect's drafting desk with cards flowing from vision to implementation | Gray | +| `2026-06-26-burning-tokens-sketch-4k.png` | Loop with tokens falling into fire | Orange-red | +| `2026-06-26-the-loop-sketch.png` | Messy over-traced generate/test/fail circle | Gray | +| `2026-06-27-retiring-daily-news.png` | Daily news being put out to pasture | — | +| `2026-06-28-landlord-lock-4k.png` | Padlock on server rack, tiny figures below | Orange-red | +| `2026-06-28-landlord-fork-4k.png` | Fork in road: obvious U.S. path vs overgrown EU path | Green | + +## When to Use This Skill + +Load whenever Alex asks for illustrations accompanying a blog post or article. This is the default illustration style for all Serif-written content regardless of which blog or series it belongs to. + +If Alex says "the same style as before" or "ink sketch" or "like the architect image," this is the skill. diff --git a/ref/fiction-craft/SKILL.md b/ref/fiction-craft/SKILL.md new file mode 100755 index 0000000..7d3bae4 --- /dev/null +++ b/ref/fiction-craft/SKILL.md @@ -0,0 +1,131 @@ +--- +name: fiction-craft +description: Developmental fiction craft for protagonist psychology, internal conflict, emotional beats and character agency +triggers: + - "fiction" + - "character" + - "protagonist" + - "novel" + - "story" + - "developmental edit" +--- + +# Fiction Craft — Developmental Level + +*Source: "Editor Fixes Common Prose Mistakes" Part 3 — The Plottery (professional fiction editor). These are the most common **developmental** problems an editor sees at the character/story level. Not line edits—structural issues that determine whether a reader stays up all night or puts the book down.* + +--- + +## The Four Developmental Fixes + +### Fix 1: The Missing Misbelief (Internal Conflict) + +**The problem:** The protagonist arrives on page one as a blank slate. Things happen *to* them. They react. But there's no internal engine driving their choices. + +**What's missing:** A **misbelief** — a wound the character carries before the story begins. Something they believe about themselves, the world, or other people that is *wrong* but feels true to them. + +**Why it matters:** +- A misbelief gives every decision emotional weight +- It makes the character feel lived-in, not manufactured +- The arc of the story becomes: misbelief → tested → shattered (or confirmed) +- Readers connect to struggle, not competence + +**Examples from published fiction:** +- **Olivia from *Gallant* (V.E. Schwab):** Mute. Frustrated by her inability to express herself verbally. Her misbelief: her voice doesn't matter / she can't be heard. +- **Andrew from *Don't Let the Force In* (C.G. Drews):** Has loved his best friend for years but never confessed. Stuck in a place he can't leave. His misbelief: confessing would destroy everything / he's a coward for staying silent. + +**How to check your draft:** +1. What does your protagonist believe about themselves that isn't quite true? +2. How does this belief shape their decisions in chapter 1? +3. When does the story force them to confront it? +4. Does the ending resolve this belief (confirm or shatter)? + +**Red flag:** If you can't name your protagonist's misbelief before page 5, neither can the reader. + +--- + +### Fix 2: The Missing Introspection Layer + +**The problem:** The protagonist describes what happens but never processes it internally. They walk into rooms, see things, have conversations—but we never live inside their head. + +**What this looks like (flat):** +> She walked into the room. Others were sitting at the table. She looked around as she entered. + +**What this looks like (with introspection):** +> She walked into the room. Heat rose in her chest. Everyone was waiting. Their heads snapped up when she interrupted whatever they were supposed to hear. + +**The difference:** The second version tells us what the character *notices*, what they *feel*, how they *interpret* events. This is what separates novels from film or comics—we get access to the interior. + +**Key question for every scene:** What does my character notice that others don't? What do they fear? Hope for? How do they spin events in their own favor—or against themselves? + +**Balance warning:** Don't add introspection to *every* action. That bogs down pacing. Add it where it matters—at turning points, decisions, moments of high emotion. Let fast action scenes breathe without commentary. + +**Test:** Read a passage from your draft. Could this be a screenplay stage direction? If yes, you're missing introspection. A novel should never read like camera directions. + +--- + +### Fix 3: The Passive Protagonist + +**The problem:** The protagonist spends the book being dragged through situations, reacting to what others do, surviving rather than choosing. They're a passenger in their own narrative. + +**Signs of a passive protagonist:** +- Other characters make the big decisions +- External forces dictate where the plot goes +- The protagonist's choices don't meaningfully affect outcomes +- They survive by luck, not agency +- Subtle choices are absent or feel scripted + +**What an active protagonist does:** +- Makes choices that influence the plot's direction +- Takes ownership of mistakes +- Pushes back against other characters or circumstances +- Creates ripples that change outcomes +- Has moments where they decide—not just react + +**Diagnostic questions:** +1. Name three moments where your protagonist makes a choice that changes the story's direction. +2. Is there any point where the protagonist could be swapped out with a different character without changing the plot? +3. Who is driving the narrative? If it's not your protagonist, why not? + +**Note:** Active doesn't mean loud, reckless, or brave. Quiet choices count. Deciding *not* to act is still agency—if it's a deliberate choice with consequences. + +--- + +### Fix 4: Flat Emotional Beats + +**The problem:** Every emotional event lands with the same weight. A character loses someone → they sob. They discover a betrayal → they rage. They get life-changing news → they gasp. Every beat is dialed to 11. + +**Why this fails:** Real emotion isn't linear or proportional. Sometimes the biggest events produce numbness. Sometimes small moments break people open. Monotone emotional intensity reads as fake because real grief/joy/fear is messy and varied. + +**What varied emotional response looks like:** +- **Numbness after big news** — The body shuts down. The character goes through motions. The processing comes later, triggered by something small. +- **Delayed reaction** — They hold it together during the crisis, then fall apart over a burnt piece of toast three days later. +- **Wrong emotion first** — They laugh when they should cry. Get angry when they should be scared. The real feeling surfaces underneath. +- **Small realization > big breakdown** — A quiet moment of clarity hits harder than screaming. "Oh." One syllable. Everything changes. +- **Physical over verbal** — Instead of describing the emotion ("she felt devastated"), show the body betraying them. Hands won't steady. Food tastes like nothing. They keep checking a door that won't open. + +**The key insight:** The most powerful emotional beats aren't always the biggest ones. A character who *doesn't* cry at a funeral tells the reader more than one who sobs on cue. + +**Revision exercise:** Go through your major emotional scenes. Are they all operating at the same intensity? Try dialling one down to near-zero. See if the contrast makes both moments stronger. + +--- + +## Quick Reference Card + +| # | Problem | Diagnostic Question | Fix | +|---|---------|---------------------|-----| +| 1 | No internal conflict/misbelief | What wrong thing does your protagonist believe? | Plant a wound before page 1 that shapes every choice | +| 2 | Missing introspection | Could this read as screenplay directions? | Layer in what they notice, fear, hope, spin | +| 3 | Passive protagonist | Who drives the plot if it's not them? | Give them 3+ choices that change the story's direction | +| 4 | Flat emotional beats | Do all big landings feel the same size? | Vary: numbness, delay, wrong-first-emotion, quiet realization | + +## Relationship to `serif-writing` + +This skill operates at a **different level** than `serif-writing`: + +- **`serif-writing`** = line-level surgery (sentences, words, rhythm, anti-patterns) +- **`fiction-craft`** = structural/developmental work (character, conflict, agency, emotion) + +Load both for fiction editing. Load only `serif-writing` for non-fiction, articles, or prose polishing. + +*Last updated: 2026-06-27* diff --git a/ref/glitch-diary-illustrations/SKILL.md b/ref/glitch-diary-illustrations/SKILL.md new file mode 100755 index 0000000..cab6c60 --- /dev/null +++ b/ref/glitch-diary-illustrations/SKILL.md @@ -0,0 +1,75 @@ +--- +name: glitch-diary-illustrations +description: Visual identity for Glitch Diary blog post illustrations — hand-drawn ink sketch style. +triggers: + - "glitch diary image" + - "blog post illustration" + - "serif image style" +--- + +# Glitch Diary Illustration Style + +Consistent visual identity for Glitch Diary blog post illustrations. All images share the same hand-drawn aesthetic so the series feels cohesive across posts. + +## Style Definition + +**Base style:** Hand-drawn ink sketch with rough pencil texture. + +**Core visual rules:** +- White background +- Black ink as primary color (lines, outlines, text) +- Gray wash for shading and depth +- One accent color per image (used sparingly, for emphasis only) +- Rough, slightly imperfect lines — not clean vector +- Editorial illustration feel, like something from a tech opinion column drawn by hand +- Text elements rendered in handwriting style (labels, captions) + +**Accent color palette (pick ONE per image):** +- Gray wash — neutral, default +- Blue wash — for planning/architecture themes +- Orange-red wash — for waste/danger/fire themes +- Purple-blue wash — for hype/spectacle themes +- Green wash — for growth/building themes + +**Composition principles:** +- Single clear concept per image — no clutter +- Labels and text annotations are welcome (handwritten style) +- Small human figures for scale and relatability +- Humor works well — slight absurdity fits the Glitch Diary voice +- If comparing two approaches, show both side by side or top/bottom + +## Technical Settings + +**Tool:** Nano Banana Pro (`nano-banana-pro` skill) + +**Workflow:** +1. Draft at 1K with `--model flash` +2. Review and iterate (keep 1K until prompt is locked) +3. Final at 4K with `--model pro` +4. Never overwrite drafts when upscaling — use `-4k` suffix + +**Prompt template:** +``` +Hand-drawn ink sketch, rough pencil texture. +[DESCRIPTION OF SCENE — specific objects, layout, action] +White background, black ink with [ACCENT COLOR] wash for [WHAT IT HIGHLIGHTS]. +Editorial illustration style, opinion column art. +``` + +## Reference Images + +The canonical style reference is the architect's desk illustration: + +- **File:** `~/Projects/hermes/output/serif/images/2026-06-26-architect-desk-sketch.png` (4K final) +- **Concept:** Architect's drafting desk with cards flowing from vision to implementation +- **Why it works:** Clean composition, clear narrative flow, hand-drawn warmth without being cartoonish + +Other published examples in this style: +- `2026-06-26-burning-tokens-sketch-4k.png` — loop with tokens falling into fire (orange-red accent) +- `2026-06-26-the-loop-sketch.png` — messy over-traced generate/test/fail circle (gray accent) + +## When to Use This Skill + +Load this skill whenever Alex asks for illustrations for a Glitch Diary post, or whenever he references "the same style as the architect image" or "blog post images." + +The style should also be used for any standalone illustration that accompanies Serif-written content for the Glitch Diary series, even if Alex doesn't explicitly request this specific style — it's the default visual identity for the series.