Files
faust-vn/docs/plan.md
T
dasemuandClaude Opus 5.5 086e6db0b4 docs: reduce docs to Faust and link to vnpipe
Update README, CLAUDE.md, LESSONS.md and docs for the flattened layout; the
generic pipeline docs now live in the vnpipe repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 04:02:24 +02:00

3.2 KiB

Plan

Goal: a playable Ren'Py prototype of the opening of Goethe's Faust I (Llorente's Spanish translation). The reusable pipeline lives in its own repo, ../vnpipe (see its docs/pipeline.md); this repo is the Faust "work": work.toml, data, annotations, art and the generated game.

Pipeline (as run for Faust)

Gutenberg .txt ──fetch──▶ raw (cached, gitignored)
              ──clean──▶ play.txt        (header/footer/intro stripped, scope cut)
              ──parse──▶ parsed.json     (scenes, speakers, verse lines, directions)
              ──chunk──▶ annotations/chunks/*.json   (LLM work units)
   LLM sub-agents ─────▶ annotations/cache/*.json    (one file per chunk, keyed by hash)
              ──merge──▶ annotated.json  (schema-validated, complete)
art (MCP) ──▶ assets/assets.json + images (manifest, sha256, status)
              ──renpy──▶ vn/             (generated Ren'Py project)

Every stage is a vnpipe CLI subcommand, deterministic given its inputs, and idempotent (re-running produces byte-identical output). The only non-deterministic steps — LLM annotation and image generation — write to caches keyed by content hash, so they are resumable and never redone unless their input changes.

Layout

Path Purpose
work.toml Everything work-specific: source URL, scope markers, cast, colors, locations, expression maps, staging
data/ play.txt, parsed.json, annotated.json (raw/ is the gitignored download)
annotations/ Chunk inputs and cached LLM outputs
assets/ assets.json manifest, generated/processed images (raw/ is gitignored)
vn/ Generated Ren'Py project (committed so the repo is playable)
tests/ Faust integration tests (real text, e2e playthrough)
docs/ Faust design and process docs
../vnpipe The pipeline code, schemas, prompts, GUI templates and generic docs

Steps

  1. Text — fetch, clean, cut scope (docs/scope.md), deterministic parser + tests, docs/licensing.md.
  2. Annotation — JSON Schema, chunker, merge/validate, cache. Haiku sub-agents annotate chunks in parallel. Faust adaptation rules in docs/adaptation-rules.md.
  3. Art — docs/art-bible.md with a fixed base prompt. Backgrounds and sprites via the ChatGPT image MCP (max 20 generations/hour), background removal, manifest, placeholders for anything missing.
  4. Ren'Py — vnpipe generator from annotated.json + manifest; renpy lint clean; web/desktop build if feasible.
  5. Report — docs/report.md: automation vs human judgment, cost/time, weaknesses, next steps.

Parallelisation

  • Text stage and art bible / first background generations run in parallel.
  • Annotation chunks are independent → parallel Haiku agents.
  • Ren'Py generator is written against the schemas while annotation and art run.
  • Image generation is sequential (MCP queue) and runs in the background throughout.

Model allocation

Work Model
Design, schemas, adaptation rules, art direction, review Opus (main)
Parser, generator, tooling, tests Sonnet sub-agents
Line annotation, formatting, mechanical edits Haiku sub-agents