Whisper: Read and Rewrite Power Kit for Hacking and Spell Rewriting
README.md
rewriteKitTests
Checks rewriteKit (Whisper): expose normalises fields and keeps live values through a re-expose; READ and REWRITE validation (missing target, locked field, invalid value, same value, unread target, out of resource); costs (costOf with option costs, per-step range costs and the cost scale; the built-in resource pays them); glitches (useGlitchChance at 1 rejects and charges, at 0 applies); timed reverts (revertAfter); the adapter helpers (A.list, A.expose mirroring into the component, A.mirror, A.v); and the hacking puzzles (every sample kind solves, a wrong pick crashes and retry restarts the step, a glitch costs extra, running out of budget fails with reason mana, results stars, the sequence order crash, malformed specs refused, and the puzzle screen builds in all eight looks). Run with zero tests run rewriteKitTests.