Commit Graph
6 Commits
Author SHA1 Message Date
Lucas WintherandClaude Opus 5.5 372c99c306 feat: replacement effects in Module 4 (Armor absorption, Bolf Ramshield redirect)
Applying a Damage to one target now runs DAMAGE_STEPS = [redirect, armor]
first. A damageRedirect aura (Bolf Ramshield, fetched from the wiki) sends
damage meant for its owner's hero to the oldest such minion; Armor absorbs
damage to a hero before Health, logged as the new ArmorLost{player, amount}
just before a full-amount Damaged. Four new Module 4 tests; propagated to the
references of Modules 4-10 in both tracks; card schema, catalog, card JSON,
harness.md, Lessons 2, 4 and 5 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:44:06 +01:00
Lucas WintherandClaude Opus 5.5 97c64ebee8 feat: log tree from Module 2 (logTree / log_tree); SpellGrid CLIs print Log:
Engine events carry the nesting depth they were recorded at; the harness
prints the log as an indented tree. New tests test_02_log_tree_shows_nesting
and test_03_log_tree_death_phase; both SpellGrid CLIs print the tree of the
last command's Sequences under a Log: line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:23:59 +01:00
Lucas WintherandClaude Fable 5.2 f0aec2f620 docs(lessons): Stress it sections for Modules 2-5; handle-based summon position in Module 3; Brann stacking and tag pair in Module 4
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 09:19:32 +01:00
Lucas WintherandClaude Opus 5.5 6e95bef5a2 docs(lessons): Sequence vs outermost Phase differs bullet (02, 03); lesson 01 cross-reference
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:10:45 +01:00
Lucas WintherandClaude Opus 5.5 8a4eba1948 feat: module 03 death step
Deferred death: damage and destroy only mark minions; the Death Creation
Step removes them when the outermost Phase ends, and Death Phases resolve
Deathrattles in order of play until no new deaths occur. Deathrattle
summons use the board position the Death Event remembered. Harness adds
destroy(target). Expansion Drop: Twisting Nether as content only.

test_02_mortally_wounded_still_triggers no longer asserts the Acolyte is
still on the board: from Module 3 on it leaves at the end of the Sequence,
and verify-references runs Module 2's tests against the Module 3 reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 02:42:12 +01:00
Lucas WintherandClaude Opus 5.5 9c50591d3b feat: module 02 action queue
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 02:30:26 +01:00