TableTower/tests/test_describe.gd.uid
RobinFiredrake 6f583ea4f5 Plain Build engine: Describe, Builder, checks, inputs, collections, why trace
Implements docs/PLAIN.md sections 1-5 (the engine half of the usability pass):

- core/describe.gd (Describe): rules in plain words, labelled from variable
  cards, collections and card inputs, falling back to the original text.
- core/builder.gd (Builder): effect and condition models that round-trip
  with the rule text, a rule tokenizer, and known_values(board).
- Collections: variable cards with var_type "collection" label their
  members and don't declare their stem.
- Check cards (kind "check"): dice + modifier vs target, Success/Failure,
  chain values nat/total/effect, node "check" info, lint and static checks.
- Card inputs and pipe "with" values, scoped over the pipe's subtree on the
  explicit work stack (OP_RESTORE frames), with defaults and snapshot
  evaluation.
- nat on every roll-table roll; dice faces recorded through ctx.faces.
- Why trace: facts on nodes and steps (input, roll, check, case, show_if,
  options_where, effect, when, otherwise).
- StateStore rules_view setting; JSON for the new keys; LOGIC.md and
  PLAIN.md updated (deviations in PLAIN.md 5a).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:01:24 -06:00

1 line
19 B
Text