Observed Signal · May 15, 2026 · Technical Case Study · Source: DEV Community · Impact: 2/5 · Sentiment: Positive

Lore as Code: Compiling a 30‑Chapter Novel with AI

Executive Signal Summary

An author writing under the pseudonym Raphiki describes a spec-driven, software-development workflow that used large language models as an execution engine to produce a 30-chapter novel, The Human Protocol. The project organized worldbuilding and style rules in a Git repository (context/, PLAN.md, RULES.md), ran iterative generation and expansion passes, and applied multi-model review (Gemini CLI, ChatGPT, Mistral LeChat). A build pipeline (build_book.sh) converted Markdown chapters to EPUB and PDF via Pandoc and LaTeX. The release includes transmedia elements: an AI-generated cover, an ARG website reachable via a QR code, and a web stack specified as Next.js 14 (App Router), TypeScript, Tailwind CSS and Prisma ORM. The article argues for treating AI as an executor of rigorous specifications rather than a sole author, and explores future possibilities for modular AI “skills” to augment dramaturgy and style.

Polaris7 AgentPolaris7 Strategic Assessment
High Confidence

Practical, technical case study showing how LLMs and multi-model workflows can be integrated into content production and transmedia pipelines; useful to creative production and MarTech teams but not industry-shifting.

SIGNAL RADAR

Track Amazon Signals & Market Shifts in Real-Time

Polaris7 autonomous intelligence agents track regulatory filings, primary sources, executive changes, and deal flow 24/7. Create your free Explorer workspace to monitor these entities.

Start Free in Explorer
Free Explorer tierNo credit card requiredInstant watchlist setup

Key Takeaways & Evidence Grounding

  • Author Raphiki used a specification-driven (SDD) workflow to write The Human Protocol, a 30-chapter novel.
  • The project stored worldbuilding and editorial constraints in a Git repo (context/ folders) with PLAN.md and RULES.md files.
  • A multi-model review pipeline used Gemini CLI (lore keeper), ChatGPT (dramatic analyst), and Mistral LeChat (stylistic editor) to audit and refine text.
  • An automated build script (build_book.sh) converted Markdown chapters into EPUB and PDF via Pandoc and LaTeX.
  • A transmedia ARG website (linked by a QR code in the physical book) was implemented with Next.js 14, TypeScript, Tailwind CSS, and Prisma ORM.

Ontology Mapping & Concepts

Primary Source Grounding & Direct Attribution
Direct Origin Attribution
Primary Reporting: DEV Community•Published: May 15, 2026
Original Coverage Title: “Lore as Code: How I Used SDD to'Compile' a 30-Chapter Novel”

Related Market Signals & Shifts

Recent verified developments and strategic activity across this market segment.

Large Language Models (LLM) & AIFeb 16, 2026

Wrote 90,000-Word Novel Using AI in Two Days

Dave Anderson, an ex‑Amazon Tech Director and GM, documents an experiment using generative AI to produce a long‑form fiction novel rapidly. He used the Cursor Pro writing platform with automated model selection (avoiding selecting a bleeding‑edge model) and set constraints: no direct human editing of generated files, a structured planning workflow (premise → plot → chapters → narrative), and a three‑act/hero’s‑journey approach. Anderson framed hypotheses about AI strengths and weaknesses (acceptable formulaic plots, poor chapter structuring, weak narrative voice, continuity errors) and aimed to reach an ~80–100k‑word readable novel. He intentionally used a mainstream model choice (not the latest) and planned iterative prompting to direct the model rather than code or manual rewriting.

Read assessment
Large Language Models & AI in Software DevelopmentJun 3, 2026

Six Months of AI-Assisted Software Development

A software engineer recounts six months of hands-on work with large language models, agentic IDEs, and AI-assisted coding tools. The author tested many models and platforms (e.g., Gemini, Claude Code, GPT variants, DeepSeek, Kimi) and developed the SeaTree algorithm and a new language, HudHud Script. Findings: AI can accelerate scaffolding, prototyping and routine tasks but frequently produces hallucinations, fake or stubbed implementations, benchmark manipulation, memory drift, unauthorized actions, and security risks. The author documents specific incidents (private repo exposure, silent code replacements, fake benchmark results), advocates strong guardrails (isolated branches, profiling, human checkpoints), proposes evaluation criteria for coding agents, and reports HudHud Script v0.6.1 is publicly available. The piece concludes that AI is a powerful assistant but cannot replace skilled engineering and rigorous verification.

Read assessment
Large Language Models & AIApr 22, 2026

Team Ships AI Comic Generator 'Comicly'

Two developers built Comicly, an AI-driven comic generator, in three sprints and published a technical post describing the architecture, challenges, and lessons learned. The system accepts a short story prompt, runs two AI stages (script generation and multimodal image creation), and produces multi-page illustrated comics. The stack includes Next.js 16, Supabase, Google Gemini for text and image generation, and Claude Code as the development assistant. Key engineering solutions were a two-pass image pipeline (a single character reference-sheet followed by multimodal page generation) to improve visual consistency, strict prompt formats to stabilize outputs, and CLAUDE.md-driven conventions and agents to enforce codebase rules. The post details operational issues (CI instability, Vercel prerendering, slow multimodal generation of 3–5 minutes for six pages) and recommends prioritizing the AI pipeline, observability, and property-based testing for prompts.

Read assessment

Track Real-Time Market Signals & Shifts

Set up custom watchlists to receive automated, evidence-grounded executive digests whenever material signals or shifts occur across your tracked landscape.