leethobbit_obsidian-strong-.../tests
Dan 20c0b49a77 Review fix pass: data-loss criticals, codec hardening, leak cleanup
Full senior-review sweep (all findings fixed, 530 tests green):

- Prep board: sync cached body after own section writes (typed scenes
  could vanish from the UI and then be erased from disk)
- Dashboard: pip toggle is now a read-modify-write against the note's
  current Fronts section, re-located by name (stale cache silently
  deleted fronts added on Foundation)
- CampaignStore: notify on body-only changes to managed notes (root
  cause under both criticals); self-write marks now outlive done() so
  the cache echo still reads as a self-write (in-flight counted)
- sections.ts: fence-aware parsing (fenced ## lines no longer corrupt
  managed writes); body-split tolerates BOM and empty frontmatter
- Frontmatter codecs: unknown-key passthrough on write (newer-version
  fields survive older-plugin writes), id-bearing secret rows survive
  empty text (tombstone resurrection), ledger/session-zero patches read
  current state inside processFrontMatter instead of metadataCache
- Monster builder: attack-count round-trip no longer corrupts damage at
  CR 1/8, 9, 16, 17; CR fractions render as 1/8-1/2; preview title live
- Wizard double-fire guard; loadIfDeferred in openView; starter/demo
  builders refuse re-runs; safer filenames (#^[], reserved names)
- Per-render listener scopes (RenderScopes) for header/rail, prep, run
  scenes/secrets, tables; popout-safe timers; toast/undo handle cleanup
- Log-row rollback on failed writes; 0x table weights round-trip;
  duplicate doom lines preserved; obsidian dep pinned to 1.13.1

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 10:58:35 -04:00
..
body-split.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
bullet-list.test.ts Run redesign stage 1: pure helpers — scene detail blocks, removeSection, wikilink tokenizer 2026-07-13 13:23:57 -04:00
campaign-schema.test.ts M8: guided campaign creation wizard and foundation tab 2026-07-11 23:57:33 -04:00
carryover.test.ts M4: secret carry-over, secrets ledger, dashboard secrets card 2026-07-11 21:43:10 -04:00
content.test.ts M8: guided campaign creation wizard and foundation tab 2026-07-11 23:57:33 -04:00
date.test.ts M17: full in-plugin editing - never leave the plugin to prep 2026-07-12 13:57:34 -04:00
dice.test.ts M3: rolling engine, first content tranche, inspire buttons 2026-07-11 16:56:03 -04:00
dnd5e-benchmark.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
dnd5e-improvise.test.ts M18: 5e Monster Builder — type: monster notes, builder modal, reference tables 2026-07-14 14:15:08 -04:00
entity-schema.test.ts M17: full in-plugin editing - never leave the plugin to prep 2026-07-12 13:57:34 -04:00
features.test.ts M9: session zero checklist, safety tools, feature toggles 2026-07-12 00:36:09 -04:00
format-elapsed.test.ts M6: run mode - the at-the-table screen 2026-07-11 22:45:14 -04:00
frontmatter-roundtrip.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
frontmatter.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
fronts.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
generators.test.ts M7: one-click generators and the remaining content tranche 2026-07-11 23:18:41 -04:00
guide-export.test.ts M12-M15: phone shell, delight polish, release readiness, content & export expansion 2026-07-12 12:14:36 -04:00
id.test.ts M1: walking skeleton - host view, campaign store, sessions, dashboard 2026-07-11 15:59:10 -04:00
link-list.test.ts Run redesign stage 1: pure helpers — scene detail blocks, removeSection, wikilink tokenizer 2026-07-13 13:23:57 -04:00
monster-build.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
monster-content.test.ts M18: 5e Monster Builder — type: monster notes, builder modal, reference tables 2026-07-14 14:15:08 -04:00
monster-markdown.test.ts M18: 5e Monster Builder — type: monster notes, builder modal, reference tables 2026-07-14 14:15:08 -04:00
monster-schema.test.ts M18: 5e Monster Builder — type: monster notes, builder modal, reference tables 2026-07-14 14:15:08 -04:00
nav-model.test.ts M17: full in-plugin editing - never leave the plugin to prep 2026-07-12 13:57:34 -04:00
parse-user-table.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
recap-export.test.ts M12-M15: phone shell, delight polish, release readiness, content & export expansion 2026-07-12 12:14:36 -04:00
registry.test.ts M5: user-authored custom tables with core shadowing 2026-07-11 22:04:04 -04:00
rng.test.ts M3: rolling engine, first content tranche, inspire buttons 2026-07-11 16:56:03 -04:00
roll.test.ts M3: rolling engine, first content tranche, inspire buttons 2026-07-11 16:56:03 -04:00
run-derive.test.ts M6: run mode - the at-the-table screen 2026-07-11 22:45:14 -04:00
secrets-ops.test.ts M6: run mode - the at-the-table screen 2026-07-11 22:45:14 -04:00
sections.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
self-write.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
session-schema.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
session-sheet.test.ts M11: onboarding, help, polish, mobile fixes, review hardening 2026-07-12 02:15:28 -04:00
session-zero-content.test.ts M9: session zero checklist, safety tools, feature toggles 2026-07-12 00:36:09 -04:00
session-zero-schema.test.ts M9: session zero checklist, safety tools, feature toggles 2026-07-12 00:36:09 -04:00
settings.test.ts M1: walking skeleton - host view, campaign store, sessions, dashboard 2026-07-11 15:59:10 -04:00
slug.test.ts Review fix pass: data-loss criticals, codec hardening, leak cleanup 2026-07-20 10:58:35 -04:00
solo.test.ts M12-M15: phone shell, delight polish, release readiness, content & export expansion 2026-07-12 12:14:36 -04:00
steps.test.ts M2: eight-step prep board with focus-preserving re-renders 2026-07-11 16:33:23 -04:00
stress.test.ts M16: Whitesparrow starter campaign, stress-effect tables, stars & wishes 2026-07-12 12:59:52 -04:00
table-schema.test.ts M5: user-authored custom tables with core shadowing 2026-07-11 22:04:04 -04:00
whitesparrow.test.ts Whitesparrow starter seeds a sample party of four 2026-07-14 13:01:53 -04:00