mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 23:36:25 +00:00
1.6 KiB
1.6 KiB
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/vnpipeis work-agnostic. Anything specific to a text goes inworks/<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-cachefirst 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. Stages:fetch,parse,annotate {chunk,status,prompt,merge},assets {prompt,import,process,status,placeholders,sheet},renpy [--with-test].- Ren'Py SDK lives in
tools/renpy-sdk(gitignored; may be a symlink shared between worktrees). Inside the sandbox prefix SDK commands withHOME=$TMPDIR/renpy-home. Lint:tools/renpy-sdk/renpy.sh vn/faust lint. Playthrough test and builds:docs/running.md.
Branches and versions
developmentis the integration branch;mainreceives reviewed merges from it. Feature work branches offdevelopment(feat/...,fix/...).VERSIONis bumped by.github/workflows/version.ymlon push (patch ondevelopment, minor on adevelopment→mainmerge). Do not edit it by hand.- CI (
.github/workflows/ci.yml) runs ruff and pytest.
Layout
See docs/plan.md.