Docs: book-tables status, history §12, size-audit list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RobinFiredrake 2026-11-10 21:27:39 -06:00
parent 0e45ea7abc
commit 764811b858
2 changed files with 27 additions and 2 deletions

View file

@ -42,6 +42,14 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol
selection box in Play and Build; panning is middle-drag or Space+drag.
- **Audits done:** the seven files over 600 lines were split into helpers; tests share `TestBase`.
- **The user is playtesting.** Expect more bug reports; fix them first.
- **Branch `book-tables` (not merged yet):** four features for printed-book procedures, found by
building The Perilous Void's world generation: **Scales** (ordered steps that move up/down),
**Columns** (multi-column tables, one roll per row or per column), thread **"roll with … instead"**
and thread **"roll again if it comes up"**. Spec: LOGIC.md §3e, §3f, §5.4; modules: ARCHITECTURE §3c.
The goal behind it: handle any book's random tables and oracles (HISTORY §12).
- **Spread built with them:** `perilous-void-stage-1` in the user's collections (72 cards, Stage I of
the book's world generation). Generator: `TableTower-private/perilous_void/build_world_gen.py`.
Stage II (pp. 62–78: surface features, resource details, lifeforms) is not built yet.
## 4. Open items
**Waiting on the user**
@ -57,8 +65,12 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol
- `export_presets.cfg` has the user's uncommitted edits (a Windows preset). Its `include_filter`
is empty, so Windows builds lack `help/*.txt` and `templates/*.json` (the Linux preset has them).
Tell the user rather than editing their file.
- Still over ~450 lines: inspector_card (591), roll_table (569), expr (544), main_cli, board_tester
(505), builder, roller, tower_board, group_card. Split when next touched.
- Over ~400 lines: inspector_card (593), board_tester (505), main_cli, builder (499), expr (520),
roller, tower_board, group_card, main_rolling (417), describe (408), inspector (407). A size
audit is due. (roll_table was split: RollTableIO.)
- Small ideas from the Perilous Void spread: an empty list shows blank in a sheet (no "none"
default); a value change that should apply when a later value is rolled (Shattered lowers
atmosphere after Gas/Life were already decided) has no clean form.
- Known gaps: ARCHITECTURE.md §7.
## 5. Working on it

View file

@ -185,3 +185,16 @@ export template download approved.
left-drag now selects in Play too.
28. **Audits.** Seven 600+-line files split by parallel agents; tests share `TestBase`. Two
computer crashes mid-run; agents were resumed from their worktrees.
## 12. Book tables (2026-11-10, branch `book-tables`)
The user's aim, stated while doing this: Table Tarot should handle any random roll table or oracle
procedure it reasonably can, from any tabletop RPG book. Building The Perilous Void's world
generation found four gaps; all four were built:
29. **Scales** (`var_type: "scale"`, `steps`): values stored as step names, read as step numbers in
rules; += / -= move steps; toward(); conditions like "Atmosphere is at least Thin".
30. **Columns** (multi-column tables): `columns`, `column_rolls` (row / each), `cells`; per-column
save and "only if"; per-column highlights on the card.
31. **Thread dice** ("Roll it with 3d10+70 instead") and **thread rerolls** ("Roll again if it
comes up: 96–00"). Answers the open reroll question for threads back into a card.
32. Engine by the main session; UI by three parallel worktree agents (threads, columns, scales).