diff options
Diffstat (limited to 'docs/superpowers')
| -rw-r--r-- | docs/superpowers/specs/2026-10-04-fanfictioner-design.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/superpowers/specs/2026-10-04-fanfictioner-design.md b/docs/superpowers/specs/2026-10-04-fanfictioner-design.md index 9a34ef6..d762243 100644 --- a/docs/superpowers/specs/2026-10-04-fanfictioner-design.md +++ b/docs/superpowers/specs/2026-10-04-fanfictioner-design.md @@ -49,10 +49,18 @@ Work dir: a directory named after the story file, next to it - `refs/<Name>.png`, chosen turnaround sheet per character - `cand/<stage>/…`, candidates, montages and sd-cli logs -Output: `$LIBRARY/<Series>/<Book>/NNN.png` (zero-padded page number), where -`LIBRARY` is read from `~/.config/book-reader.conf` (shell `KEY="value"` lines). +Output: `$LIBRARY/<Series>/<Book>/NNN.png` (zero-padded page number), or +`CC-NNN.png` when the story sets a chapter number, so all chapters of a book +share its folder and read in order. `LIBRARY` is +read from `~/.config/book-reader.conf` (shell `KEY="value"` lines). Series and Book come from plan.md. +story.md may start with a `---` frontmatter (`series`, `book`, `chapter`, +`chapter_title`, `title`, all optional). The script writes these into plan.md +after every draft and revision and whenever story.md changes, overriding +Gemma: Series/Book/Chapter header lines, the `# ` heading, and page 1's +`Title:`. plan.json is rebuilt when plan.md or story.md is newer than it. + Resume is derived from disk, no state file: a character with `refs/<Name>.png` is skipped; a page whose `NNN.png` exists in the library is skipped. |
