Docs: size audit batch 2 map

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RobinFiredrake 2026-11-14 13:30:56 -06:00
parent ff76e56daf
commit d9638500ba
2 changed files with 7 additions and 4 deletions

View file

@ -212,6 +212,11 @@ Each original file keeps one-line delegators, so callers are unchanged.
(stop/attach/why/log), `roll_live` (starting values, live displays), more in `roll_pipes` and
`roll_choice`; `tower_board` → `board_groups` (nesting, membership), `board_file_io` (migrate,
atomic write).
- Batch 2: `main` (tightened) and `main_groups` → `main_card_drag`; `result_tray` → `tray_controls`,
`tray_why`; `inspector` → `inspector_frame`; `table_entry` → `table_entry_io` (to/from dict);
`describe` → `describe_labels`, `describe_dice`; `table_card` → `table_card_rebuild`;
`table_card_header` → `table_card_go_button`; `table_card_rows` → `table_card_row_text`,
`table_card_odds`. No script is over 400 lines now (largest: test_board_dialog, board_view, 398).
## 4. Data and storage
- **Collections:** `user://collections/<id>.json`, format_version 2 (`{format_version, id,

View file

@ -124,7 +124,7 @@ that works on any theme (solid background, stronger text, thicker borders, no ef
Wardrobe; it needs two new slots, a panel tile and a button style (nine-patch). Not started.
**Playtest findings (2026-11-14), proposed order; the user may reorder**
1. Size audit batch 2 (files at 400–432 lines, list below).
1. ~~Size audit batch 2~~ done.
2. Data bugs: Ledger entries live only in local state (`state.json` variables), so copies,
exports and imports lose them, and the spread can't add entries: store them on the card.
JSON import drops group `color`. Making a group over open groups steals their cards (leaves
@ -156,9 +156,7 @@ that works on any theme (solid background, stronger text, thicker borders, no ef
`include_filter` now matches Linux (help + templates; verified by a real Windows export
2026-11-11) but is still uncommitted with their edits; ask before committing. Both presets also
pack `tests/` (could add `tests/*` to the exclude filter).
- Over ~400 lines after batch 1: main (418), result_tray (414), table_entry (410), describe (408),
table_card_header (407), inspector (407), main_groups (404); near it: test_board_dialog,
board_view, table_card, table_card_rows (392–398).
- Size audit batches 1–2 done (2026-11-14): no script over 400 lines (ARCHITECTURE §3e).
- 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.