mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 15:26:27 +00:00
1.4 KiB
1.4 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/uvis read-only inside the sandbox: exportUV_CACHE_DIR=$TMPDIR/uv-cachebefore anyuvcommand.- The sandbox mounts char-device placeholders (
.claude/,.mcp.json, dotfiles) in the working dir; they are gitignored, nevergit addthem. renpy lintpassing 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 withHOME=$TMPDIR/renpy-homeinside the sandbox.web_buildleavesprogressive_download.txtin the project (gitignored). - Small-model annotators label whole speeches with one emotion and lose stage presence
across chunks; fix with
work.tomloverrides (pinned cast, emotion ranges), not by hand-editing annotated.json. - Headless
claude -pcalls to a cheap model must run withMAX_THINKING_TOKENS=0: thinking made a 200-token answer cost ~10,000 hidden output tokens (50x) and minutes of latency. - Haiku gets entrances wrong when asked for
E +idfar from the character's first line; speakers auto-enter, soEis used mainly for exits. Check pilot output against the text.