Files
vnpipe/LESSONS.md
T
dasemuandClaude Opus 5.5 ff78dc5b14 feat: extract vnpipe pipeline from faust-vn
Generic "classic novels to visual novels" pipeline extracted from faust-vn
(source commit 6486ab1). The work-specific data (Faust text, annotations,
assets, generated project) stays in faust-vn.

Changes versus the source: --work defaults to the current directory, the
renpy command writes to <work root>/vn, the Ren'Py SDK is located through
RENPY_SDK, and tests only use fixtures.

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

1.1 KiB

Lessons

Recurring problems and what worked. Read before starting; add an entry when a mistake repeats.

  • The sandbox masks .git/config (and .git/config.lock); git commands that write config (git remote add) must run outside the sandbox.
  • ~/.cache/uv is read-only inside the sandbox: export UV_CACHE_DIR=$TMPDIR/uv-cache before any uv command.
  • The sandbox mounts char-device placeholders (.claude/, .mcp.json, dotfiles) in the working dir; they are gitignored, never git add them.
  • renpy lint passing does not mean the game runs: a main menu once crashed on missing GUI images. Always run the end-to-end playthrough (vnpipe renpy --with-test + renpy.sh test, see docs/running.md).
  • Ren'Py SDK commands write to ~/.renpy: prefix them with HOME=$TMPDIR/renpy-home inside the sandbox. web_build leaves progressive_download.txt in the project (gitignored).
  • Small-model annotators label whole speeches with one emotion and lose stage presence across chunks; fix with work.toml overrides (pinned cast, emotion ranges), not by hand-editing annotated.json.