Prose
Prose
A local narrative engine for books and games: SQL Server canon for whole fictional universes, a desktop Writer, and a CLI and MCP server so Claude can draft, read and repair novels, and draft and check a game's conversations, crawls, barks and lore, against that canon.
https://img.shields.io/badge/canon-SQL%20Server-CC2927.svg https://img.shields.io/badge/MCP-318%20tools-6E56CF.svg https://img.shields.io/badge/platform-Windows-0078D4.svg https://img.shields.io/badge/status-active%20development-2EA44F.svg
Prose runs on your own machine. There is no hosted version: the hosted deployment was retired on 2026-08-23 and the project is local-only by design.
Scope
The complete product, every epic, feature and story whether built or planned, is in SPEC.md, mirrored one to one in the ticket tree. The current finish line, Prose 1.0 with GLMZ Season 1 pressed on a local engine (MS-22), is in RELEASE.md; after it come Prose 2.0 (GLMZ complete, games served, MS-107) and Prose 3.0 (every universe pressed with its wiki, MS-108).
Prose writes in two modes over one engine. Book mode is the classical one: a book is a tree of chapters over beats, read and written whole. Game mode (RFC 0018) serves video games: a game's player-facing words are prose-text/1 texts (branching conversations, opening crawls, descriptions, quest text, in-game books, bark pools, glossary terms) authored against the same canon, checked by the same kinds of instruments, approved by the author and pulled into the game through the conduit. Today that is GridGame, SpaceGod and Unreal Eve.
Why
- Keep a whole fictional universe straight. Characters, places, factions, gear and in-world documents live in one SQL Server database with a relationship graph and full temporal history, so a fact is stored once and every book reads the same one.
- Write a novel with Claude without losing the plot between sessions. The work queue, recorded decisions and read receipts live in the database, so the next session starts from the book's real state, not from someone's memory of it.
- Never ship a book nobody has read. The read gate refuses to export while any beat is unread as it stands, and there is no override.
- Edit prose by hand in a real editor. The Writer is a desktop window over the same database the CLI and MCP tools use.
- Know which checks earn their keep. Every quality instrument is measured by how many of its findings were ever applied; the ones that never helped are switched off, not left burning tokens.
- Run several universes side by side (cyberpunk, fantasy, horror, nonfiction and more) with scoping that fails closed instead of leaking one universe into another.
- Keep a game's story out of the game repo. The game owns gameplay and entity ids; Prose owns the words, checks them against canon and hands the game only what the author approved.
Features
One resident server
Prose.Hub is an ASP.NET Core process bound to 127.0.0.1:5900. It is the only process that touches the database. It hosts the engine's services, the Writer pages and an observability dashboard. The CLI and the MCP server are thin clients that forward every call to it and refuse to start when it is not healthy.
The Writer
Writer.exe is a WPF + WebView2 window that finds or starts the Hub and opens its /writer page. The editor itself (Prose.WriterUi) is compiled into the Hub, with a book editor, a reader view (/read), a canon browser (/repo) and the game texts view (/texts). Launcher.exe is a small picker that opens the Writer or the KDP publishing app, starting the Hub first when needed.
The observability dashboard
Prose.ObserverUi is served by the Hub at /app: dashboard, beats, logs, a 2D and 3D graph view, Dynamic Context Memory runs and the canon repositories, pushed live over SignalR.
The Novel Factory
The current way of working (RFC 0015, approved 2026-09-23). Every book moves through computed stations: planned, written, captured, read, clean, verified, pressed. Work is driven by work orders, decisions are recorded as rulings, and each Claude session is a row in the database. No LLM judges, votes or scores. See The Novel Factory below.
Game writing
A game universe's texts are first-class rows, versioned (draft → approved → published → retired), each optionally placed in the game with a context (place, chapter, order, trigger, the texts it comes after) so continuity can be judged in a game with no single reading order. Every draft and approval runs deterministic game-mode verifiers and files findings: canon (a retired entity used as current, a glossary term defined twice), continuity (a name the player meets before its introduction), obligations (a quest with no payoff), voice per speaker, conversation branches (unreachable nodes, loops with no way out) and bark pools (repeats, overlong lines). Findings describe; the author approves, one text or a whole kind at a time, in the /texts view or the CLI; agents can only draft. See RFC 0018 and docs/CONDUIT.md.
Canon as a database
Every canon row belongs to exactly one universe. Books are a tree of nodes (series, book, chapter) over beats, the atomic unit of story. Beats and nodes are system-versioned, so every edit can be rewound. Entities carry embeddings, typed relationship edges with story-time validity windows, and an append-only state ledger.
Writing and repair tools
- Exact-text splices across a whole book, dry run first, verified by read-back (
--splice-beats). - Read in true order with each beat's recorded point-of-view character attached (
--read-beats), with read receipts and read notes. - Clone, archive and restore books; move beats between books byte for byte.
- An enriched generation pipeline (
ProseWriterRouter) for drafting beats from canon.
Checks that stay on
- The logic sweep: causality, knowledge states, timeline, plant and payoff, orphan references and inserted-beat drift.
- Ledger adjudication: same-predicate contradictions in the fact ledger, judged against the prose they came from.
- A deterministic prose linter for echo words, crutch phrases, pet words and attribution runs.
- Text integrity scanning for corrupted currency symbols, dashes and diacritics.
Export and audio
--export-node renders a book to .docx, EPUB, PDF and plain text with metadata files. Audiobook export renders a whole book through ElevenLabs. A separate WPF app, Prose.KdpPublish, drives the Amazon KDP site to publish and republish books.
MCP server
318 tools in 56 families, surfaced to any MCP client as mcp__prose__<name>. Claude can read and write beats, entities, rulings and work orders, and draft and verify game texts, through the same Hub the CLI uses.
Quick start
Prerequisites:
- Windows (the Writer, Launcher and KdpPublish are WPF apps; the deploy scripts are PowerShell).
- .NET 10 SDK.
- SQL Server Express LocalDB (installed with Visual Studio, or standalone). The database is the local
Prosedatabase on(localdb)\MSSQLLocalDB; nothing is hosted in the cloud (see Database). - At least one LLM provider key, only for the commands that call a model (see LLM providers).
Clone, wire up the git hooks and build:
git clone https://github.com/mindattic/Prose.git cd Prose git config core.hooksPath .githooks dotnet build src\Prose.slnx
Without the core.hooksPath line the repo's pre-commit, commit-msg and post-commit hooks silently never run. post-commit mirrors every Markdown file into the MarkdownFiles table; commit-msg runs the shared MindAttic commit-message check.
Publish and start the Hub. It applies any pending EF Core migrations at startup, then waits for /api/health:
powershell -ExecutionPolicy Bypass -File run.ps1 -Apps Hub -Start Hub
Enable temporal versioning on a fresh database and check the CLI can reach the Hub:
.\prose.cmd --migrate-sql --schema .\prose.cmd agent bootstrap .\prose.cmd --list-books --universe glmz
agent bootstrap prints ready when the Hub is healthy. Open the editor:
powershell -ExecutionPolicy Bypass -File run.ps1 -Apps Writer -Start Writer
Register the MCP server with Claude Code (one time):
claude mcp add prose dotnet run --project <path-to-your-clone>/src/Prose.Mcp/Prose.Mcp.csproj --no-build --configuration Release
Build src/Prose.Mcp in Release first. The tools appear as mcp__prose__*. For Claude Desktop, see src/Prose.Mcp/README.md.
How it works
prose.cmd / Prose.Cli ----POST /api/cli-invoke----+
Prose.Mcp (stdio MCP) ----POST /api/mcp-invoke----+
Prose.Writer.exe (WebView2) ----GET /writer-------+--> Prose.Hub (Hub.exe, 127.0.0.1:5900) --> SQL Server
Prose.Launcher.exe ----starts the Hub if down-----+ hosts the Prose.Core services,
Prose.WriterUi (/writer, /read, /repo, /texts)
and Prose.ObserverUi (/app)
- The Hub owns the database. It holds the Core services, the universe graph and the Dynamic Context Memory state. Every other front door forwards into it.
- The CLI and MCP server are thin clients. Both refuse to start when the Hub is not healthy (
HubGate.EnsureReachableOrExit, no in-process fallback). The CLI forwards a handler class name plus its arguments; the Hub'sCliDispatchruns the handler fromProse.Cli. MCP tools forward throughHubInvokerto/api/mcp-invoke, whereToolDispatchruns the tool's body. - The Writer is a window, not an app.
Prose.Writerhas noProse.Corereference. All editor code lives inProse.WriterUi, compiled into the Hub, so an editor change needs a Hub redeploy. - Fail-closed health.
/api/healthreturns 503 when SQL Server is unreachable. Protected endpoints take anX-Prose-Keyheader that the CLI and MCP server read fromSettings.json. - Universe scope travels with each call. Pass
--universe <slug>or setPROSE_UNIVERSE. A content command with no universe is refused rather than defaulted.
Hub HTTP endpoints include /api/health, /api/cli-invoke, /api/mcp-invoke, /api/factory/*, /api/universes/*, /api/outbox/{consumer}, /api/generate-scene and /api/agent/bootstrap, plus SignalR at /hubs/observability.
Data layer principles
- SQL is the only canon store. Markdown and JSON files are documentation or export mirrors, never the live read path.
engine_data/*.jsonis a seed and export mirror, not canon. - Temporal tables.
Beats,Nodesand other canon tables are system-versioned, so every edit is rewindable withFOR SYSTEM_TIME ALL. - Static and dynamic facts are split. Identity facts (name, height, ancestry) live on entity tables; story state (location, ammunition, life status) lives in the append-only
EntityStateEventsledger. - One format. Everything is a tree of nodes over beats:
SeriesNode,BookNodeandChapterNodeon oneNodestable, linked byParentNodeId. - Every row belongs to exactly one universe. Enforced by an EF Core global query filter keyed on
IUniverseContext, not by convention. An entity needed in two universes gets two rows. - Nothing reaches the database except through the Hub, reads and writes, no exceptions (2026-08-22). No raw
sqlcmd, not even a read-only lookup.
The Novel Factory
RFC 0015 replaced loose plans and memory with state in the Hub. The agent protocol is docs/agent/PROSE_PROTOCOL.md; the design is docs/rfc/0015-novel-factory.md.
The laws
- The book is its beats; the world is its entities. No outline, spine, blueprint, ledger or summary is stored about the story.
- Every story change is a logged Hub call (MCP or the CLI). Never raw SQL.
- Repo changes need an open engine work order whose paths cover them, and a commit that names it (
WO:<id>). - Done is computed (a station passes) or Hub-validated (a work order's checks). Claims do not count.
- A decision goes into the world the moment it is made, as a ruling or an entity record, with a read-back.
- The book is read and written whole. A chapter is a unit of work, never a boundary of sight.
- Deterministic checks only. No LLM judges, votes or scores.
- A failed check is reported, never compensated with a new system.
- No override on the read gate. Export only what has been read as it stands.
- Every session ends with a summary in which every decision references a ruling or an order.
The line
| Station | Scope | Passes when | Cleared by |
|---|---|---|---|
| F2 Planned | chapter | at least one beat, and each has text or a title and a description | insert_beat
|
| F3 Written | chapter | every beat has text and a recorded write reason | update_beat_text, splice_beats
|
| F4 Captured | chapter | no uncaptured names and no untagged known names | create_*, add_entity_tags, an incidental ruling
|
| F5 Read | chapter | the read gate shows every beat read as it stands | read_beats with markRead
|
| F6 Clean | chapter | no open defect notes and no law-pattern hits in the prose | splice_beats, re-read, resolve_read_note
|
| F1 Verified | chapter | every tagged entity verified at its current version | verify_entity_begin, verify_entity_commit
|
| F7 Pressed | book | all chapters pass, metrics pass, docx, epub and pdf exports at the current fingerprint | --export-node
|
| A Audio | book | an mp3 export at the current fingerprint | audiobook export |
The read gate marks a beat unread when its text changes, when it moves, or when an entity it mentions changes. factory_next walks chapters in reading order and returns the first actionable station.
prose --factory next --universe glmz prose --factory status --node <book> --universe glmz prose --order list prose --read-beats --slug <book> --from 1 --to 40 --universe glmz prose --read-status --node <book> --list --universe glmz prose --splice-beats --node <book> --file docket.json --universe glmz # dry run prose --splice-beats --node <book> --file docket.json --apply --universe glmz # apply prose --export-node --slug <book> --universe glmz
The first book through the full line was Bushido Coda: one in-order read of all 521 beats, one entity batch, a re-read of every beat the gate flagged, verification of 114 tagged entities, then the press (V73, 2026-09-23).
Writing and the generation pipeline
Since RFC 0009 (2026-09-06) no service rewrites finished prose on its own. Writing happens in session, with the full prior prose and the cast's records in view (factory_context), and every change goes through the one prose door (NodeWorkbenchService and BeatSpliceService).
ProseWriterRouter remains the single entry point for generating a beat from canon (--expand-beat, --generate-scene). It assembles a wide context before calling the model. Its current inputs, from its constructor:
| Input | What it adds |
|---|---|
BeatModeDetector
|
classifies the beat as combat, narrative, emotional climax, dialogue, transition or revelation |
StoryMethodologyService
|
the beat's structural role and scene or sequel type |
| Combat rules | verbs first, fragments, no emotion-naming, shared with CombatSceneWriter
|
SceneContextBuilder
|
ambient sensory grounding, including the New Weird anomaly layer |
DialogueService
|
per-character voice and subtext on dialogue beats |
SceneContextAssembler
|
an X-ray of everyone on the page: voice, psychology, wounds, behaviour |
ContinuityService, ContinuityEnforcer
|
confirmed fact constraints for on-page characters |
TensionEscalationService
|
warns when beats stall at low intensity |
ConsequenceService
|
gear, cyberware and status constraints |
WorldStateAtBeatService
|
what is true at this point in the story |
NarrativeObligationService, PlantPayoffService
|
open obligations and active plant and payoff pairs |
BookStateLedgerService
|
arc-level state for long books |
StoryScienceService
|
sacred-flaw consistency, status dynamics, curiosity gap, causal chains |
NarrativeChartService
|
offscreen activity of other characters |
UniverseGraphService
|
flags invented proper nouns that are not in canon |
CanonGroundingService, SemanticFidelityService, LibertyReportService
|
canon grounding, intent drift and rule-of-cool checks |
BookAuditService
|
gateway or sequel commandments |
BeatBriefBuilder, BriefVerifier
|
a brief for the beat and a check that the draft meets it |
DocContextService
|
Dynamic Context Memory, the layered retrieval of canon documents |
CombatSceneWriter.WriteCombatSceneAsync handles multi-exchange combat set pieces (loadouts, ammunition, bio-battery). BeatGeneratorService is the lower layer and is not called directly from new code.
Local or rented GPU generation
Route generation to any OpenAI-compatible endpoint, such as Ollama on a rented GPU, without editing configuration. The overrides are per command:
prose --expand-beat --slug <slug> --universe glmz ` --local-url https://<pod-id>-11434.proxy.runpod.net/v1/chat/completions ` --local-model qwen2.5-32b-writer
Flags: --local (use the stored LocalLlmBaseUrl), --local-url, --local-model, --local-key.
Quality checks
There are no 0 to 100 score gates, and persona vote panels are off by default (bible law SS-LAW-17). A named, fixable finding tells you more than a number.
On 2026-09-22 RFC 0014 measured every instrument by its findings: 30,745 filed, all time, and 8 ever applied. Three producers earned those 8, and they stay live:
| Instrument | Command | Applied findings |
|---|---|---|
| LEDGER-CONFLICT | --ledger-adjudicate
|
5 |
| LOGICSWEEP | --logic-sweep
|
2 |
| LINT | --lint-prose
|
1 |
Thirty commands were switched off, among them the reader panels, the craft checklist, the continuity and contradiction finders, the obligation ledger, the scanners and the nightly AutoCorrect battery. Nothing was deleted: each handler is intact, the CLI explains why when you call one, and deleting its line from src/Prose.Cli/DeactivatedInstruments.cs brings it back. --findings (including --findings stats --by-instrument) and --publish-readiness stay live, because they are how an instrument earns its way back.
The logic sweep
Codified from docs/LOGIC.md. One model call per dimension over the book's enabled beats:
- Causality chain: every event has a cause, every decision a motivation.
- Knowledge states: who knows what, and when they learned it.
- Timeline: the book's internal clock, checked for impossibilities.
- Plant and payoff, both ways.
- Orphan references to removed, disabled or merged content.
- Inserted-beat drift.
Findings are triaged BLOCKER, MODERATE or MINOR. Exit code 0 is clean, 1 is moderate or minor only, 2 is any blocker.
prose --logic-sweep --slug <slug> --universe glmz prose --logic-sweep --slug <slug> --until-dry --required-dry 2 --max-rounds 8 --universe glmz
--until-dry runs one convergence round per call. State lives in NodeConvergenceStates, keyed to a fingerprint over every enabled beat's text, so an unchanged book skips the round at no cost and any edit resets the dry-round count. Hitting the round cap files a not-converging finding instead of looping forever.
Every beat save also triggers a narrow sweep of its blast radius: the edited beat, its neighbours within three positions, and every beat elsewhere in the book that mentions the same entity (BlastRadiusService).
Ledger adjudication
The fact ledger (ContinuityClaims) holds (entity, predicate, object) claims extracted from prose. --ledger-adjudicate judges same-predicate contradiction groups against the prose they came from. It writes claim status only, never prose, and is cost-gated: one model call per uncached group, cached on the claim ids and every anchor beat's text hash. Numeric predicates such as age or tenure_years compare as numbers, so "fifty" and "50" are one claim. Its best catch: Kyle's residence given as "eleven years" in one place and "four years" in another, the spine of Bushido Coda.
Text integrity
--check-text-integrity [--fix] [--json] scans every beat and every book bible across all universes for two corruption signatures: U+FFFD, and stray control characters below 32 other than tab, line feed and carriage return. --fix repairs only three unambiguous patterns (U+FFFD before a digit becomes the currency symbol Φ; a control character between two spaces becomes an em dash; one before a digit becomes §). Everything else is reported for a human. The scan compares characters in C#, never with SQL CHARINDEX, which returned false negatives for U+FFFD under this database's collation.
World graph health
UniverseGraphService builds an in-memory graph over every entity in the active universe. It is a projection rebuilt from SQL, never the store of record; the JSON snapshots under engine/data/graph/ are an output cache written by --rebuild-graph.
--graph-health --universe <slug> [--used-in-prose-only] reports orphaned nodes, weakly connected nodes and suspicious names, at no model cost. Most orphans are deliberate flavour (guns, drugs and minor characters seeded for depth). --used-in-prose-only keeps only entities that actually appear in prose: on GLMZ (2026-08-15) that cut 789 orphans and 8,660 weak links down to about 206 entities that really needed edges.
Relationships that are only true for part of a story are Edges rows with StoryValidFrom and StoryValidUntil. --world-state --beat <id> [--story-time <date>] shows what is true at that point; the reference example is Kyle's motorcycle, owned until its destruction and owned again when the rebuilt Mk. 2 is revealed.
Commands
prose.cmd at the repo root runs dotnet run --project src/Prose.Cli -- <args>. Most commands need a universe: --universe <slug> or PROSE_UNIVERSE.
The full, generated reference is docs/CLI_COMMANDS.md: 290 commands, 30 deactivated, 10 cost-gated. Regenerate it with prose --export-commands, which runs without a Hub. The tables below are a guide to the commands you will use most.
Factory and reading
| Command | What it does |
|---|---|
--factory status, next, capture, context, journal, usage
|
the factory's computed state and next action |
--order add, list, show, close, abandon, seed
|
engine and author work orders |
--ruling add, list, supersede, violations, metrics, seed
|
recorded decisions and law patterns |
--session end
|
close the factory session with a summary |
--read-beats --slug <slug>
|
read beats in true order, each with its recorded POV character |
--read-status --node <book>
|
which beats are unread, and why |
--read-note add, list, resolve
|
defects, questions and notes filed during a read |
--set-character-fields, --set-entity-fields
|
the world's write path, JSON Merge Patch with read-back |
--verify-entity begin, commit
|
station F1 |
Books and beats
| Command | What it does |
|---|---|
--list-books
|
every node as a table or JSON |
--create-book, --ensure-chapter
|
create books and chapters |
--splice-beats --node <book> --file <docket.json>
|
exact-text replacements across a book, all or nothing, dry run unless --apply
|
--edit-beat, --merge-beats, --move-beat, --move-beat-to-node
|
beat-level surgery |
--reparent-node, --renumber-chapters, --rename-node
|
structure |
--archive-book, --list-archives, --restore-beat-text
|
snapshots and restores |
--clone-book --slug <slug> --draft
|
clone a book to rebuild it while the original stays frozen |
--expand-beat, --generate-scene
|
generate prose through ProseWriterRouter
|
--print-book, --grep-beats
|
print or search a book |
--set-node-layout --slug <slug> --layout prose
|
how a book's beats print in every export: prose, lyrics or screenplay
|
Quality
| Command | What it does |
|---|---|
--logic-sweep --slug <slug>
|
the six-dimension logic sweep |
--ledger-adjudicate --slug <slug>
|
judge fact-ledger contradictions against the prose |
--lint-prose --slug <slug>
|
deterministic prose linter |
--check-text-integrity
|
corrupted-character scan and safe fixes |
--publish-readiness --slug <slug>
|
the gate report as one read-only readout |
--book-report --slug <slug>, --export-book-report
|
a deterministic findings, convergence and decision-log report for one book, stored as its BookReports row and written to the book's export folder
|
--findings
|
the findings inbox and per-instrument statistics |
--graph-health --universe <slug>
|
world graph integrity |
--world-state --beat <id>
|
the state of the world at one beat |
--fix-cross-universe-contamination
|
repair cross-universe roster or POV leaks |
Canon and world
| Command | What it does |
|---|---|
--add-character, --add-place, --add-faction, --add-weapon, --add-corponation
|
seed typed entities from JSON |
--find-entity, --show, --entity-mentions
|
look up an entity and where it appears |
--rename-entity, --merge-entity, --add-alias
|
rename, merge and alias entities |
--character-history, --story-edges
|
what the story itself says about an entity, from per-beat contributions |
--set-entity-status --id <guid> --status canon
|
correct an entity's lifecycle status (canon, archived or stub) by id
|
--generate-glossary, --generate-book-glossary
|
universe and book glossaries |
--rebuild-graph, --reembed
|
rebuild the graph; re-embed entities |
--universe-import, --universe-export, --universe-sync
|
the Universe Interchange format |
Export and publishing
| Command | What it does |
|---|---|
--export-node --slug <slug>
|
.docx, .epub, .pdf and .txt plus description, synopsis and a DCM visualisation |
--publish-audiobook, --export-mp3
|
the whole book as one audiobook via ElevenLabs |
--narrate-book
|
re-narrate an existing book |
--prepare-audible
|
prepare an Audible upload |
--kdp-manifest, --kdp-status, --kdp-mark-published
|
the KDP publishing store |
Infrastructure
| Command | What it does |
|---|---|
--migrate-sql --schema
|
apply EF Core migrations and enable temporal versioning; idempotent |
--seed <name>
|
apply a registered raw T-SQL seed (SqlSeedService.Seeds)
|
--sync-markdown
|
mirror hand-written Markdown into the MarkdownFiles table
|
--generate-canon-md --all
|
regenerate the canon docs (docs/BIBLE.md, WORLD.md, CRAFT.md and the rest) from the database
|
--provider-status
|
degraded-provider report |
--estimate-cost, --cost
|
model-call cost estimates and the running cost ledger |
--command-log, --log-search
|
the Hub's command ledger and log files |
agent bootstrap
|
tell a new agent how to get ready; works without a Hub |
Cost-gated commands spend model money and route through the Hub's cost gate; everything else is deterministic or read-only.
MCP server
Prose.Mcp exposes 318 [McpServerTool] methods in 56 families. The generated reference, with parameters and descriptions, is docs/MCP_TOOLS.md. Regenerate it with:
dotnet run --project src/Prose.Mcp -- --export-tools docs/MCP_TOOLS.md
The server is a Hub client: each tool forwards to /api/mcp-invoke with the caller's universe and the Hub key. Many tools write (beat text, entity fields, rulings, work orders). Factory tools include factory_next, factory_context, read_beats, splice_beats, record_ruling, work_order_add and verify_entity_begin. Cross-universe lookups (get_universe_entity, search_universe) do not switch the session's universe; switch_universe does.
Agent hosts other than Claude use the same protocol. prose agent bootstrap --json is the CLI fallback; AGENTS.md and docs/agent/PROSE_PROTOCOL.md are the entry points.
Database
Server=(localdb)\MSSQLLocalDB;Database=Prose;Trusted_Connection=True;TrustServerCertificate=True;
The database is Prose on local SQL Server Express LocalDB. There is no cloud database: Azure was decommissioned (MAT-T297), and everything saved stays on the development PC. The connection string resolves from the ConnectionStrings__Prose environment variable, then appsettings.json (ConnectionStrings:Prose), then the LocalDB default above.
PowerShell scripts never build a connection string. They dot-source scripts/gspl_db.ps1 and call Open-SS, which returns an open connection to the local database (honouring ConnectionStrings__Prose when it is set and the caller named no server or database).
dotnet ef database update migrates this local database, since the design-time factories use the same default. The Hub applies pending EF Core migrations at startup and refuses to start if one fails.
The schema reference, docs/schema.md, is generated by tools/gen-schema.ps1 and is not committed (it is in .gitignore). Key tables:
| Table | Role |
|---|---|
Entities
|
the universal spine: one row per entity with name, slug, type and universe |
Nodes, Beats
|
the system-versioned content tree and the prose beats |
BeatNodes
|
joins beats to nodes with a sort key; a row's presence is what enables a beat |
EntityEmbeddings
|
1536-dimension vectors from OpenAI text-embedding-3-small
|
Edges
|
typed directed relationships with story-time validity windows |
EntityStateEvents
|
append-only story-time ledger for quantities and status |
ContinuityClaims
|
the fact ledger: NEW, CONFIRMED, CONTRADICTED, CANONICAL, REJECTED or SUPERSEDED |
BeatReadReceipts, BeatReadNotes
|
read receipts and the notes a read filed |
Rulings
|
recorded decisions, including law patterns |
WorkOrders, FactorySessions, EntityVerifications, Exports
|
the factory's state |
CommandLedgerEntries
|
every Hub call, with the actor that made it |
ArchivedBooks
|
whole-book prose snapshots |
NodeConvergenceStates
|
logic-sweep convergence per book |
LlmCallHistories
|
every provider hop with model, success, tokens and cost |
Findings
|
the findings inbox |
CanonDocumentSections
|
hand-written canon sections that generate the Codex docs |
MarkdownFiles
|
system-versioned mirror of the repo's Markdown files |
Universe, UniverseProfiles
|
registered universes and their profiles |
PlantPayoffs, GlossaryTerms
|
plant and payoff registry; universe glossary |
Raw T-SQL under src/Prose.Core/Data/Sql/ is mostly historical. If a fresh database lacks rows from one of those scripts, register it in SqlSeedService.Seeds and run it with prose --seed <name>; never apply it by hand.
Universes
Every canon and story row belongs to exactly one universe (bible law SS-LAW-15). Each has a folder under docs/universes holding its generated glossary.
| Universe | Slug | Genre | Docs |
|---|---|---|---|
| GLMZ | glmz
|
cyberpunk, Great Lakes Metropolitan Zone, 2226; the flagship (Bushido Coda) | docs/universes/GLMZ.md, docs/universes/GLMZ |
| SCRY | scry
|
fantasy and steampunk (the Entos, the Caul) | docs/universes/SCRY, docs/universes/ENTOS_HISTORY.md |
| NONFICTION | nonfiction
|
citation-grounded nonfiction (formerly GSPL, then SOURCE) | docs/NONFICTION.md |
| GOSPEL | gospel
|
split from NONFICTION; New Testament claims catalogue | docs/gospel |
| HORROR | horror
|
ambiguous and analog horror | docs/HORROR.md, docs/universes/HORROR |
| FICTION | fiction
|
general literary fiction (formerly EPIC) | docs/universes/FICTION |
| EROTICA | erotica
|
added 2026-08-04 | docs/universes/EROTICA |
Scoping fails closed: an unset or unknown universe blocks the command instead of defaulting, the fix for an earlier cross-universe content leak. Two terminals or sessions can target different universes at once.
Universe Interchange
Prose is also a store other MindAttic apps read and write (RFC 0007). The contract is one JSON file per universe, <app>/universe/<slug>.universe.json, described by docs/schemas/universe.schema.json: a universe header plus entities with type, summary, details, relations and tags.
- Import and export.
UniverseInterchangeServicemaps entities onto the entity spine. Import is an idempotent upsert by universe and slug; a relation to an unknown entity creates a stub that is promoted when its own row arrives. Replace mode (--replace,?mode=replace) retires the entities the consumer dropped, and a batched push is one session with one Outbox notice. - CLI:
--universe-import <path> [--replace],--universe-export <slug> <path>,--universe-sync <path>. - MCP:
import_universe_file,export_universe_file,get_universe_entity,search_universe. - Hub HTTP:
POST /api/universes/{slug}/importplus reads of entities, neighbours, search, snapshot and stats. - The Outbox:
GETandPOST /api/outbox/{consumer}queue one-line messages for another app's Claude session;?peek=truereads without marking delivered. - Scenes on demand:
generate_scene,prose --generate-sceneorPOST /api/generate-scenewrites a scene or a line of dialogue without a book row, with canon grounding intact. - Barks:
--barks-export <universe> <path>emits every single-speaker beat as{barkId, speakerEntitySlug, text, context}.
The first consumer was ExperimentEve; its eve universe is now consumed by Unreal Eve through the conduit. The runbook for the next one is docs/CONSUMER_ONBOARDING.md.
Games keep their story in Prose through the conduit (docs/CONDUIT.md, RFC 0017): the game owns gameplay and entity ids, Prose owns the words. Player-facing text (conversations, crawls, descriptions, quest text, books, barks, glossary) is authored in Prose as prose-text/1 texts against the universe's entities (--texts-draft/-list/-get/-pull, MCP draft_text/list_texts/get_text, GET /api/universes/{slug}/texts), approved by the author only (--texts-approve/-publish/-retire, or in bulk by kind with --texts-approve-all/--texts-publish-all, --dry-run first), and pulled into the game by the shared consumer kit (validate, push, pull, apply, status, outbox), which every game runs by path from this repo. Each text is checked by the game-mode verifiers on draft and approval (--texts-verify, --texts-findings, MCP verify_texts/text_findings), and the author works the approval queue in the Writer at /texts (RFC 0018).
LLM providers
LlmRouter is the fallback chain: it tries the active provider (claude by default), then walks ActiveLlmProviderChain in order. Any exception on a hop moves to the next. Every hop is logged to LlmCallHistories.
| Provider kind | Services |
|---|---|
| Metered API keys | ClaudeService, OpenAiService, GeminiService, DeepSeekService, MistralService, KimiService, PerplexityService
|
| Subscription CLIs | CodexCliService, GeminiCliService shell out to the codex and gemini CLIs and ride their login; costed at $0
|
| Fan-out | MultiLlmService over MindAttic.Legion (adds Grok, Groq, Together, OpenRouter, Fireworks, Cohere)
|
| Last resort | Prose.LlmCli (prose-llm), a standalone CLI with no Prose.Core reference
|
prose-llm works even when Core or the database does not:
prose-llm --provider <id> --prompt <text-or-@file-or-dash> [--system <text>] [--temperature <n>] [--max-tokens <n>] [--model <id>] [--json]
API keys resolve through SettingsService.ResolveApiKey: Vault configuration, then Prose's own app-scoped key, then a PROSE_* environment variable, then the shared MindAttic credential store under %APPDATA%/MindAttic/LLM/, then a legacy Settings.json field. There is no CLI or MCP command to switch the active provider; edit ActiveLlmProviderChain. docs/PROVIDERS.md lists which services depend on which provider.
Configuration
All environment variables are optional; set only what a feature you use needs.
| Group | Variables |
|---|---|
| LLM providers | PROSE_CLAUDE_API_KEY, PROSE_OPENAI_API_KEY, PROSE_GEMINI_API_KEY, PROSE_DEEPSEEK_API_KEY, PROSE_MISTRAL_API_KEY, PROSE_KIMI_API_KEY, PROSE_PERPLEXITY_API_KEY, PROSE_GROK_API_KEY, PROSE_GROQ_API_KEY, PROSE_TOGETHER_API_KEY, PROSE_OPENROUTER_API_KEY, PROSE_FIREWORKS_API_KEY, PROSE_COHERE_API_KEY
|
| Audio and media | PROSE_ELEVENLABS_API_KEY, PROSE_IDEOGRAM_API_KEY, PROSE_FAL_API_KEY, PROSE_STABILITY_API_KEY, PROSE_KLING_API_KEY, PROSE_RUNWAY_API_KEY
|
| Maps | PROSE_MAP_APP_ID, PROSE_MAP_API_KEY, PROSE_GOOGLE_MAPS_API_KEY
|
| SMTP | PROSE_SMTP_HOST, PROSE_SMTP_PORT, PROSE_SMTP_USERNAME, PROSE_SMTP_PASSWORD, PROSE_SMTP_FROM
|
| Paths | PROSE_DATA_ROOT, PROSE_MUTABLE_DATA_ROOT, PROSE_REPO_PATH
|
| Universe | PROSE_UNIVERSE, the default universe for CLI commands
|
| KDP | PROSE_KDP_DB, PROSE_KDP_TOOLS_DIR
|
| Local TTS | PROSE_PYTHON, PROSE_CA_BUNDLE, PROSE_PIPER_EXE, PROSE_PIPER_MODEL
|
| Database | ConnectionStrings__Prose
|
Run the Hub with ASPNETCORE_ENVIRONMENT=Development, or MindAttic authentication fails closed (only --reset-password is affected). MindAttic.Authentication (6.0.0) sends its own security alerts (for example when --reset-password sets a new password) over SMTP from the Vault Notifications bucket (MindAttic:Vault:Notifications:email, loaded by the Hub), not the PROSE_SMTP_* settings; without it the Hub logs a startup warning that auth email will not be delivered. Prose has no web sign-in, so there is no self-service reset page and no PublicBaseUrl.
Project layout
Prose/
prose.cmd the CLI shim (dotnet run on src/Prose.Cli)
run.ps1 publishes Hub, Writer, Launcher to the deploy root (C:\Apps\MindAttic\Prose\
by default, $env:PROSE_DEPLOY_ROOT overrides it; writes run.bat there)
writer.bat dev-only: dotnet run of Prose.Writer
src/
Prose.slnx
Prose.Core/ engine: EF Core context and entities, services, Services/Factory/
Prose.Hub/ Hub.exe: minimal-API endpoints, SignalR, dispatch to CLI and MCP code
Prose.Hub.Contracts/ DTOs shared by the Hub and its UI clients
Prose.Cli/ the prose command; Cli/ holds about 300 handler classes
Prose.Mcp/ stdio MCP server; Tools*.cs, one class per area
Prose.WriterUi/ the editor (Razor class library hosted by the Hub)
Prose.ObserverUi/ the observability dashboard at /app
Prose.Writer/ Writer.exe, the WPF + WebView2 window
Prose.Launcher/ Launcher.exe, opens Writer or KdpPublish
Prose.LlmCli/ prose-llm, the standalone provider CLI
Prose.UnitTests/ NUnit tests with SQLite fixtures
tools/ launch-app.ps1, install-shortcuts.ps1
docs/ the Codex: USER_STORIES.md, rfc/, agent/, universes/, generated references
(BIBLE.md, WORLD.md, CRAFT.md, schema.md are generated and gitignored)
tools/ codex.ps1, gen-schema.ps1, prose-agent.ps1
scripts/ maintenance scripts
engine/, engine_data/ seed and export mirrors and media; SQL is the live read path
html/ patent-disclosures.htm
src/README.md is the orientation map for the solution. src/Prose.V4.Cli holds no project and is not in the solution.
Building
dotnet build src\Prose.slnx
Publish the desktop apps to the deploy root (C:\Apps\MindAttic\Prose\ by default; $env:PROSE_DEPLOY_ROOT overrides it; Hub.exe, Writer.exe, Launcher.exe; KdpPublish has its own repo and deploys to R:\MindAttic\Apps\KdpPublish\):
powershell -ExecutionPolicy Bypass -File run.ps1 # all three, only what changed powershell -ExecutionPolicy Bypass -File run.ps1 -Force # all three, clean rebuild powershell -ExecutionPolicy Bypass -File run.ps1 -Apps Hub -Start Hub # Hub only powershell -ExecutionPolicy Bypass -File run.ps1 -Apps Writer -Start Writer powershell -ExecutionPolicy Bypass -File src\tools\launch-app.ps1 -App writer # start without rebuilding
run.ps1 republishes an app only when its exe is missing or one of its source files (its project plus every project it references) is newer than the deployed exe; -Force republishes with a clean rebuild. It stops only the apps it replaces and publishes through %LOCALAPPDATA%\Prose\build-artifacts, so it never fights a running MCP server for bin\. It writes run.bat into the deploy root (C:\Apps\MindAttic\Prose\ by default; $env:PROSE_DEPLOY_ROOT overrides it), which the desktop shortcuts point at: run.bat Hub, run.bat Writer, run.bat Launcher, or no argument for every app and the Launcher. It opens a menu: 1) Deploy & Run republishes (run.ps1 -Force) and then starts the app; 2) Run starts the deployed build without redeploying. Deploy & Run falls back to the existing build if the repo is gone or the publish fails. Directory.Build.props excludes obj_* and bin_* folders so isolated builds from parallel sessions do not collide.
After editing any Codex file under docs/:
powershell -File tools/codex.ps1 digest powershell -File tools/codex.ps1 doctor
Docs (this README as the home page, docs/*.md as articles) are published to https://mindattic.github.io/Prose/ by the shared DocFX workflow in .github/workflows/docs.yml on every push to main.
Testing
dotnet test src\Prose.UnitTests\Prose.UnitTests.csproj dotnet test src\Prose.UnitTests\Prose.UnitTests.csproj --filter "Category=LiveKeysTrusted" # live provider keys, costs money
There are 285 *Tests.cs files (NUnit). Most tests run on in-memory SQLite through TestDbFactory; explicit fixtures that need a live database or live keys are skipped by default. Wiring tests fail the build if an MCP factory tool lacks its usage attribute or a repository save loses its no-op guard.
Deployment
There is no hosted deployment and there will not be one (author decision, 2026-08-23). The Azure App Service pipeline, the Azure SQL provisioning guide and their docs were deleted. "Deploying" means publishing the desktop apps locally with run.ps1; the only CI is the docs workflow that publishes to GitHub Pages.
History
The commit history is the design history: 1,590 commits since 2026-03-25. The reasoning behind each structural decision is in the Architectural Decision Register, section 14 of the generated bible (docs/BIBLE.md).
- StreetSamurai scripts (2026-03 to 2026-05). Python scripts and Markdown worldbuilding for a cyberpunk city called Meridian City, with a ChromaDB and NetworkX canon engine. Almost all of it was replaced; Meridian City became GLMZ.
- The SQL engine and the Blazor UI (2026-05 to 2026-07). Canon moved into SQL Server as the only source of truth, a typed node tree replaced ad hoc story formats, a Blazor Server writer and encyclopedia appeared, and the CLI and MCP server were split out.
- StreetSamurai becomes Prose (2026-07 to 2026-08-12). The codebase was renamed, universes multiplied (SCRY, NONFICTION, FICTION, HORROR, EROTICA, GOSPEL), Dynamic Context Memory was formalised, and the score-gate review panels were retired for the logic sweep (SS-A44).
- Command line only (2026-08-13). Both Blazor UIs and the autonomous "Surprise Me" pipeline were deleted, universe scoping was made fail-closed, and the hosted deploy was retired on 2026-08-23.
- The Hub, the Writer and the factory (2026-08-22 onward). All database access moved behind Prose.Hub; the Writer returned as a WebView2 window over the Hub, alongside the observability dashboard and the Launcher (one tree from 2026-09-20). RFC 0009 ended autonomous prose rewrites, RFC 0014 switched off the instruments that never helped, and RFC 0015 built the Novel Factory.
Lessons learned
Recorded so they are not relearned.
- Never hand-fix the database. Two text-integrity incidents came from manual SQL. Positions printed by the scanner are 0-based while SQL
STUFFis 1-based, so hand fixes repaired the wrong character. A literal--passed through bash intosqlcmdarrived as a single ASCII SUB control character, and that mechanism produced most of 97 corrupted dashes across 11 book bibles. Always go through the service, and through the Hub. - If a new corruption signature turns up, extend the detector. Fixing the one instance by hand is how the control-character class sat undetected.
- Wire every service to a door. A 2026-08-09 sweep found five tested services with no CLI or MCP path at all. Build a CLI flag or MCP tool before moving on.
- Order before you cap.
WorldStateAtBeatServiceonce took 500 edges with noORDER BY, so new rows were silently invisible. - Count what gets applied, not what gets filed. 30,745 findings and 8 applied is the measurement that switched 30 commands off.
Patent disclosures
Ten invention disclosures describe systems in the engine as designed. They are pre-filing documents; formal claims would be drafted by patent counsel. Full text: html/patent-disclosures.htm. Some of the systems described (the structural blueprint, the quorum review panels and the emotional rubric) have since been retired or switched off.
| Reference | Title | Core idea |
|---|---|---|
| SS-DISC-001 | Dynamic Context Memory | context files materialised from the database and evicted after N beats without access; five-pass retrieval with a tiered LRU stack |
| SS-DISC-002 | Structural Blueprint System | nine structural dimensions committed before prose by deliberate outlier-seeking |
| SS-DISC-003 | Multi-Provider Expert Persona Quorum Review | round-robin providers, two-tier ballots, Big Five shaping, audience clustering |
| SS-DISC-004 | Plant and Payoff Lifecycle Registry | planned, seeded and paid-off lifecycle with transparency certification and orphan audit |
| SS-DISC-005 | Beat-Mode Classification with Prose Rhythm Assignment | keyword quorum over six modes, then positional rhythm over five |
| SS-DISC-006 | Voice Rule Harvest from Editorial History | edit diffs, directives and prose mined into staged voice-rule changes |
| SS-DISC-007 | Eight-Dimension Emotional Rubric Scoring | parallel 0 to 4 scoring with two blocking dimensions |
| SS-DISC-008 | Multi-Provider Continuity Claim Extraction | snippet-validated triples with a three-outcome upsert |
| SS-DISC-009 | Gateway and Sequel Regime Detection | regime detected from the predecessor book; commandments enriched with plant and payoff data |
| SS-DISC-010 | Deterministic Deprecated-Noun Enforcement | universe-scoped rename registry and whole-word scan, no model calls |
Code style
| Rule | Detail |
|---|---|
| Private fields | camelCase with no underscore prefix
|
| EF Core expressions | no ?. inside expression-tree lambdas (CS8072); project the scalar before the terminal operator
|
| Prose entry point | beat generation goes through ProseWriterRouter; prose edits go through the workbench and splice services
|
| Canon storage | canon facts go into SQL Server, never into engine_data/*.json or Markdown
|
| Versioning | whole numbers only: 1.0.0, 2.0.0 |
| QUANTA | Φ is the currency symbol and precedes the number: Φ100
|
| CorpoNations | conjoined capitals in prose and UI copy: MitsuDyne, AgroCore |
| E.L.F. | always with periods, glossed once per book through GlossaryTerms
|
| Heritage | characters default to mixed heritage from unexpected combinations (the Ubiquitous Diaspora) |
Limitations
- Windows only in practice: the Writer, Launcher and KdpPublish are WPF, and the scripts are PowerShell.
- Single user and local only, with no hosted version.
- Thirty quality commands are deactivated (RFC 0014). They return only if a measurement shows they help.
- Station F4 cannot see names of three letters or fewer, names used in a single beat, or a mention tagged to the wrong record (RFC 0015 section 13).
- The canon docs (
docs/BIBLE.md,WORLD.md,CRAFT.md,DELIGHT.md,ENGINE.md,GLMZ.md,SCRY.md) anddocs/schema.mdare generated from the database and gitignored, so a fresh clone does not have them until you runprose --generate-canon-md --all(through the Hub) andtools/gen-schema.ps1(which reads the schema of the local database directly, throughscripts/gspl_db.ps1). docs/PROVIDERS.mdpredates the provider expansion.- Local TTS needs a hand-built Python or Piper setup; ElevenLabs is the working audio path.
tools/codex.ps1 doctorfails on a checkout without the generateddocs/BIBLE.md(missing required file, and unresolvedSS-cross-references indocs/USER_STORIES.md, two RFCs anddocs/data/ENTITY_IDENTITY.md). Front-matter and digest checks pass.
Documentation
- AGENTS.md: the provider-neutral agent entry point.
- docs/agent/PROSE_PROTOCOL.md: how agents work in Prose (the factory, laws, the line, handoff).
- docs/agent/PROMPT_COMMANDS.md: portable prompt aliases such as
/do,/quicksaveand/show. docs/BIBLE.md(generated, see Limitations): engine invariants and the Architectural Decision Register.- docs/USER_STORIES.md: the stories and tickets, rendered from the MindAttic workflow database by
workflow db render; change them with the workflow CLI, never by hand. - docs/ARCHITECTURE.md: architecture notes.
- docs/LOGIC.md and docs/READER-QA.md: the QA methodology.
- docs/CRAFT_SCIENCES.md: the sources behind the craft doctrine (the doctrine itself,
CRAFT.mdandDELIGHT.md, is generated). - docs/EXPORTS.md, docs/LEDGER.md and docs/FINDING-CODES.md: export retention and rendering, the story ledger, and finding codes and their suppression.
- docs/CLI_COMMANDS.md and docs/MCP_TOOLS.md: generated command and tool references.
- docs/CONDUIT.md and RFC 0018: how games keep their story in Prose, and game writing as a first-class mode.
- docs/rfc: open design notes (decided ones are folded into the bible and deleted).
- src/README.md: the solution map.
License
This repository has no LICENSE file. All rights reserved.
PDF export uses QuestPDF under its Community license.
Part of MindAttic — see more projects at github.com/mindattic. Related: ExperimentEve, the first Universe Interchange consumer.
Pages in this repository
- agent/CLAUDE_MIGRATION — The former CLAUDE.md and .claude/ tree were useful training material, but they mixed four different concerns. The portable replacement…
- agent/CLIENTS — All clients use the same Prose MCP stdio server and the same protocol document. The client only needs to provide a way to launch this…
- agent/GLOBAL_MIGRATION — The global Claude root was inspected alongside the Prose project root. Its portable content is:
- agent/PROMPT_COMMANDS — /do, /quicksave, /quickload, and /progress are conversational aliases, not engine features. Their portable implementation is the…
- agent/PROSE_PROTOCOL — Version: 2.0 (RFC 0015, the Novel Factory, 2026-09-23) Status: active
- agent/PROVIDER_PROFILES — The engine must select a model by capability and task role, not by a vendor-specific global switch. A profile has an id, role, provider…
- Prose — System Architecture — Nine C# projects live under src/. Four are the system; the rest are auxiliary tools or generated contract types.
- archive/eld-pre-alpha-cluster-2026-09-02 — Exported 2026-09-02 19:37:03 UTC — 160 entities, 626 edges.
- BIBLE — Prose is a canon-grounded, voice-disciplined story-generation engine that takes a one-line seed to a published, reader-reviewed,…
- books/tim-and-dawn-debraal-memoir — Tomorrow my wife and I get on an Amtrak train to Portage, Wisconsin. That's the town where Dawn Rasmussen, nineteen years old, met a…
- Prose CLI Commands — 308 commands. 30 deactivated. 10 cost-gated. 18 have no description in their dispatch comment (12 have neither a description nor a usage…
- The Prose Conduit: how a game keeps its story in Prose — This is the one standard every MindAttic game uses to keep its story in Prose. Today that is GridGame (universe slug gridgame), SpaceGod…
- Consumer Onboarding — Using Prose as a Portable Writing Service — Prose is the repository of universes for the MindAttic family of projects (RFC 0007, docs/rfc/0007-universe-interchange.md) — not just the…
- The sciences Prose actually uses — who, what, why {#SS-SCIENCES} — Prose leans on a handful of named literary-craft frameworks and one piece of empirical research on AI-fiction detection. Each one showed…
- data/ENTITY_IDENTITY — Stable entity id = <type>.<slug> where slug is the lowercase, hyphen-collapsed form of the entity's name (the same slug the SQL importer…
- Prose deploy layout: joining the shared run menu (PRS-T1132) — Spike note, 2026-11-26. Azure is decommissioned (MAT-T297); Prose's data is local LocalDB only (ConnectionStrings__Prose).
- Export retention — Every book export writes the newest artifact bundle to its normal per-book folder. Before the write, the existing bundle is copied into…
- FINDING CODES & SUPPRESSION {#SS-FINDCODE} — Every automated checker in this engine (LogicSweepService, BeatChecklistGateService, ContinuousQualityService's Reader-Proxy comprehension…
- GLMZ consolidation: reading every book into one world — Method for making every GLMZ book stand alone, agree with every other GLMZ book, and add one true detail to the shared world. It runs as…
- gospel/canaan-borders — The Bible describes "the land of Canaan" as a defined, granted territory more often and more confidently than almost any other place-name…
- gospel/entity-catalog — Extraction pass across Matthew, Mark, Luke, and John. Organized as: Persons (narrative figures → supernatural entities → alias key →…
- gospel/genealogies-of-jesus — The New Testament gives exactly two genealogies for Jesus. They agree that his legal line runs through Joseph and through King David. They…
- gospel/nativity-chronology — Matthew and Luke are the only two Gospels with a birth narrative at all (Mark and John start with the adult Jesus). Their two infancy…
- gospel/nt-claims/matthew — Pericope-by-pericope. See README.md for the claim-type/status legend. "Flag: major" marks a checkable claim substantial enough to warrant…
- gospel/nt-claims/README — A standing, multi-session campaign: work through every verse of the New Testament, in canonical book order, cataloguing every claim it…
- gospel/pontius-pilate — The Gospels give Pilate roughly one scene each — a single episode late in a single week. The question this document asks: who was this man…
- gospel/README — Gospel is one production line within NONFICTION (formerly SOURCE, renamed 2026-08-04; formerly GSPL before that, renamed 2026-08-02 once…
- gospel/twelve-apostles — The question this document asks: strip away "follower of Jesus," and what independent biographical fact — birthplace, occupation beyond…
- HORROR — Universe Craft Rules {#SS-HORROR} — HORROR is Prose's contained-horror fiction universe. Unlike GLMZ (one continuous cyberpunk metropolis) and SCRY (one continuous fantasy…
- The Story Ledger {#SS-LEDGER} — The third methodology doc, peer of docs/LOGIC.md and docs/READER-QA.md. The Logic Sweep owns causality/continuity QA; Reader-Proxy QA owns…
- THE LOGIC SWEEP — canonical QA methodology {#SS-LOGIC} — A logic sweep is REQUIRED:
- Prose MCP Tools — 318 tools across 56 tool families.
- NONFICTION — Universe Craft Rules {#SS-NONFICTION} — NONFICTION (formerly SOURCE, renamed 2026-08-04; formerly GSPL/"Gospel" before that) is Prose's citation-grounded nonfiction universe —…
- Noun Consistency — Deprecated Name Registry — Service: NounConsistencyService Table: DeprecatedEntityNames CLI: prose --validate-nouns --slug <slug> MCP: validate_nouns,…
- planning/1381-brief — Universe: NONFICTION. Story type: Standalone NONFICTION book, third production line after the Gospel tetralogy (Matthew/Mark/Luke/John)…
- planning/ALIAS-brief — Universe: ANTHOLOGY
- planning/biomass-weave — Tickets: PRS-T1114 (weave plan) and PRS-T1118 (waste-hauler pilots), under story PRS-T1112. Status: approved by Ryan 2026-11-26 and…
- planning/BTL-brief — Source concept: [[project_arc_officer_book_concept_2026_08_10]] — author's proving-ground story for the SceneCollisionService…
- planning/ECHO-brief — Universe: ANTHOLOGY
- planning/EVEGDD-brief — Universe: EVE (Experiment Eve — slug eve, DB-backed, same Universe/Node/Beat schema as GLMZ/SCRY, added via RFC 0007 as the first…
- planning/EVEN1-brief — Universe: EVE (eve) — second book, after EVEGDD (the Game Design Document, fully drafted 2026-08-26), which this book depends on directly…
- planning/GRAVE-brief — Universe: ANTHOLOGY
- planning/HEIRS-brief — Universe: ANTHOLOGY
- planning/HFV-brief — Universe: GLMZ
- planning/LDGR-brief — Universe: GLMZ
- planning/OPPN-brief — Universe: GLMZ
- planning/QRT-brief — Universe: HORROR.
- planning/RESIST-brief — Universe: NONFICTION. Story type: Standalone NONFICTION book, fourth production line after the Gospel tetralogy, NEPH, and 1381. Applies…
- planning/TFAH-brief — Universe: GSPL ("Gospel: History vs. Heritage" universe — real, DB-backed, dbo.Universe slug gspl, same schema/pipeline as GLMZ/SCRY,…
- planning/traffic-weave — Ticket: PRS-T1119 (weave plan), under story PRS-T1116. Canon: PRS-T1117. Status: approved by Ryan 2026-11-26 and applied under PRS-T1188.…
- planning/TRNY-brief — Universe: SCRY / The Entos
- planning/VIGL-brief — Universe: Fantasy / The Entos
- Provider Dependencies {#SS-PROVIDERS} — Two provider classes exist in this engine:
- Reader-Proxy QA {#SS-RQA} — The default reader-facing quality instrument for every book. One of three peer methodologies: the Logic Sweep (docs/LOGIC.md) owns…
- Prose — Release charter — A local, canon-grounded narrative engine (SQL Server canon, the Hub, the Writer, a CLI and an MCP server) that takes books through the…
- rfc/0002-entity-xray-scene-assembly — Three findings converged on 2026-06-10:
- rfc/0003-five-book-series-blueprint — Author's charter, 2026-06-11 — binding over every plot mechanism in this document:
- rfc/0007-fully-relational-canon — Two storage shapes exist today (measured on the live DB):
- rfc/0007-universe-interchange — Status: PHASE 1 IMPLEMENTED (2026-08-26) — execution keyword: /eve in the Prose CLI. Phase 2 (game-writing deliverables as Books) is…
- rfc/0009-cost-tiered-storytelling-engine — The engine is powerful but ungoverned on cost. A single strand review fires ~37 LLM calls (sampled) / 51 (full) / 128+ (segment study),…
- rfc/0009-no-autonomous-prose-writes — Status: proposed · Author ruling: 2026-09-06 · Supersedes: nothing (this is new law)
- rfc/0011-context-aware-verification-and-universal-engine-roadmap — A single session (2026-08-10) fixed four separate bugs, in four separate services, that were the same bug wearing different clothes:
- rfc/0012-single-source-writer — Status: step one executed (instrumentation, 2026-09-07); no service cut, folded, or reordered · Requested by author, 2026-09-06/07:…
- rfc/0013-narrative-obligation-ledger — Status: approved by the author 2026-09-15; Phases 0–2 implemented the same day (mojibake convergence + ingress guards; ledger schema,…
- rfc/0014-instrument-value-audit — Status: in progress · opened 2026-09-22 Predecessors: RFC 0009 (no autonomous prose writes), the battery value audit (BIBLE ADR-10) (the…
- rfc/0015-novel-factory — Status: APPROVED by the author 2026-09-23 (~05:00 UTC). Build in progress; the live build state is the factory itself (prose --order list,…
- rfc/0016-corobs — Status: PROPOSED to the author 2026-11-02 (tickets PRS-T863 store, PRS-T864 living world, PRS-T865 bench, PRS-T866 grader). Becomes a root…
- rfc/0017-game-data-conduit — Status: accepted 2026-11-07 (owner) · Ticket: PRS-T917 (Prose), GG-T355 (GridGame), US-T236 (SpaceGod) · Builds on: RFC 0007 (Universe…
- rfc/0018-game-writing-first-class — Status: proposed 2026-11-07 · Ticket: PRS-T922 · Supersedes: RFC 0007 Phase 2 ("game-writing deliverables are Books") · Builds on: RFC…
- series/ANTHOLOGY — Easton Tales Publishing — "Enshrouded: A Horror Anthology." Theme: something buried, hidden, or concealed, and the darkness that follows…
- series/EVE — First consumer / origin: ExperimentEve — RFC 0007 "Universe Interchange" (docs/rfc/0007-universe-interchange.md). Prose is the shared…
- series/GLMZ — Full five-book spine: docs/rfc/0003-five-book-series-blueprint.md (authoritative for arc detail; this doc organizes, tracks, and extends…
- Prose — Product specification — Place in the ecosystem (docs/ECOSYSTEM.md): a product, the writing studio: it presses MindAttic's books and supplies every game's words,…
- Canon Survey Protocol {#SS-SURVEY} — Canon is stored in three places that can drift independently:
- surveys/canon-sync-2026-07-04
- surveys/canon-sync-2026-07-04-round2 — Status: completed Purpose: Second contradiction-discovery pass following the Round 1 apply cycle. Targets entity descriptions, faction…
- surveys/canon-sync-2026-07-04-round3 — Status: completed Purpose: Third contradiction-discovery pass. Primary target: the graviton physics retirement — 9 Technologies and 1…
- surveys/canon-sync-2026-07-04-round4 — Date: 2026-07-04 Status: Completed DB slug: canon-sync-2026-07-04-round4
- universes/ENTOS_HISTORY — What follows is not the truth. It is the record, which is different.
- universes/GLMZ — Year: 2226 is the catalog's baseline present; the books run from 2217 (Steppin' Razor) to 2231 (The Cabal), and each book states its own…
- universes/HORROR — HORROR books are set in the real world (contemporary unless a specific book states otherwise) — no invented geography, currency,…
- wiki/GLMZ-read-findings — Every unread beat in the GLMZ canon books and Babineaux's Guide to the Otherworldly (about 1,650 beats in 23 books) was read in full on…
- wiki/GLMZ-validation — Generated by tools/wiki/sync-wiki.ps1 -Universe glmz (prose2wiki) from the 2026-11-18 GLMZ export (12,274 live entities) while syncing…
