Add _incoming/README.md and record the drop-folder decision in REQUIREMENTS

This commit is contained in:
Audiobook Producer
2026-10-18 01:34:58 -05:00
parent 53d21ea2e5
commit bbc99e9df6
2 changed files with 41 additions and 0 deletions
+12
View File
@@ -125,3 +125,15 @@ Status: stack items 1-5 agreed by Ty; items 6-8 follow from his standards (ACX s
## Approved to proceed (2026-10-17 10:25 AM PT, Ty by voice call)
- (C) 39 GB free on / is enough. Proceed on ubudual5060: decommission GPU1 model (save unit file exactly), Docker stack with pipeline and runner together, restart always. Voice loads on demand and unloads when idle. Mac mini is out. Build the pilot (Clark Chapter I) with chime-plus-spoken-label cues, summaries off by default, LICENSE_STATUS.md default unknown.
- Asked congfbot for GPU1 decommission and Docker set-up. Text stages and pipeline code in progress.
## Voice locked for MVP (2026-10-17 2:42 PM PT, Ty: "Lock in on B for MVP")
- (C) Engine Chatterbox (original), stock voice Michael.wav, native route POST /tts. Settings: exaggeration 0.25, cfg_weight 0.20, temperature 0.6, seed 7, split_text true, chunk_size 240. Source clip: /workspace/tuning8/B-michael-ex025-cfg020-chunk240.mp3, 21.55 s for paragraph 3.
- (C) Never use speed_factor: the server time-stretches after generation (log: librosa.effects.time_stretch) and ruins the sound. Never use pitch shifts, voice conversion, or per-phrase pause injection. Cadence comes only from the engine's own settings.
- (C) Ty's own narrated voice is post-MVP. Ty expects me to be the expert on any tool I recommend: read its docs and code first.
- The OpenAI-style route /v1/audio/speech ignores exaggeration, cfg_weight and temperature on this server, so the pipeline uses /tts.
## Drop-folder pipeline, no bot in the loop (2026-10-17, Ty)
- (C) Ty drops a PDF into `_incoming/` in Ty_Tech/old-books and commits it. Deterministic Gitea Actions jobs on the runner (ubudual5060-old-books) do everything: ingest (OCR only for pages without a text layer), structure, clean-up, figures list, script, license, voice, assemble, ACX check, then commit the finished book folder (PDF moved out of `_incoming/` to `books/<first-author>/<book>/`, with text/, script/, figures/skipped_figures.md, audio/, book.json, warnings.log, LICENSE_STATUS.md) back to the branch. No agent runs any step.
- (C) One command does a whole book: `python3 _pipeline/cli.py process <pdf>`. It fails with exit code 1 and a clear message if any step or any ACX check fails. Warnings are logged, there is no per-book approval gate. Re-running skips audio that already exists unless the script or voice settings changed or `--force` is given.
- (C) One book at a time (workflow concurrency group). A failed run commits nothing and leaves the PDF in `_incoming/`. The commit-back is a single commit marked `[skip ci]` that also removes the PDF from `_incoming/`, so it cannot start another run.
- (C) The voice endpoint is a setting (`voice.endpoint`, env `AUDIOBOOK_VOICE_ENDPOINT`, repo variable `AUDIOBOOK_VOICE_ENDPOINT`), default in CI `http://192.168.1.202:8090/tts`. Locked voice settings are unchanged. Never publish anything outside the repo.