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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-19 04:02:24 +02:00
1 parent 6a3177de79
commit 086e6db0b4
9 files changed
+83 -119

No files matched your search

+15 -11
View File
@@ -1,29 +1,33 @@
# CLAUDE.md
Pipeline (`vnpipe`) that turns a public-domain play into a Ren'Py visual novel; first work: Faust I (Spanish, Llorente).
Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the pipeline
(`vnpipe`) lives in `../vnpipe` (path dependency in `pyproject.toml`).
## 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`.
- Pipeline code, schemas, prompts and GUI templates belong in `../vnpipe`, not here.
Anything specific to this text goes in `work.toml`.
- `vn/` is generated by `vnpipe renpy`; never edit it by hand.
- 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. 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 with `HOME=$TMPDIR/renpy-home`.
Lint: `tools/renpy-sdk/renpy.sh vn/faust lint`. Playthrough test and builds: `docs/running.md`.
- `uv run vnpipe --help` — pipeline CLI (the work is the repo root). Stages: `fetch`, `parse`,
`annotate {chunk,status,prompt,merge}`, `assets {...}`, `renpy [--with-test --out DIR]`.
- Ren'Py SDK lives in `tools/renpy-sdk` (gitignored; may be a symlink shared between worktrees)
or `RENPY_SDK`. Inside the sandbox prefix SDK commands with `HOME=$TMPDIR/renpy-home`.
Lint: `tools/renpy-sdk/renpy.sh vn lint`. Playthrough test and builds: `docs/running.md`.
- The `vnpipe` path in `pyproject.toml` is absolute (worktrees sit two levels deeper than the
main checkout); adjust it on another machine.
## Branches and versions
- `development` is the integration branch; `main` receives reviewed merges from it.
Feature work branches off `development` (`feat/...`, `fix/...`).
- `VERSION` is bumped by `.github/workflows/version.yml` on push (patch on `development`,
minor on a `development` → `main` merge). Do not edit it by hand.
- CI (`.github/workflows/ci.yml`) runs ruff and pytest.
minor on a `development` -> `main` merge). Do not edit it by hand.
- CI (`.github/workflows/ci.yml`) runs ruff and pytest; it needs vnpipe available (see the TODO there).
## Layout
See `docs/plan.md`.
`work.toml`, `data/`, `annotations/`, `assets/`, `vn/`, `tests/`, `docs/`; see `docs/plan.md`.