Files
faust-vn/CLAUDE.md
T

19 lines
847 B
Markdown

# CLAUDE.md
Pipeline (`vnpipe`) that turns a public-domain play into a Ren'Py visual novel; first work: Faust I (Spanish, Llorente).
## Rules
- Repo content in English; the game text is Spanish (from the source, never rewritten).
- `src/vnpipe` is work-agnostic. Anything specific to a text goes in `works/<id>/work.toml`.
- Every stage must be deterministic and idempotent; LLM/image outputs are cached by input hash.
- Data contracts live in `src/vnpipe/schemas/*.schema.json`; change schema + tests together.
- ChatGPT image MCP: max 20 generations per hour.
## Commands
- `export UV_CACHE_DIR=$TMPDIR/uv-cache` first when running inside the sandbox.
- `uv sync` — install. `uv run pytest` — tests. `uv run ruff check . && uv run ruff format --check .` — lint.
- `uv run vnpipe --help` — pipeline CLI.
## Layout
See `docs/plan.md`.