docs: the Dungeon's world waves have landed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-03 11:47:42 +01:00
commit fac31f126b

View file

@ -337,6 +337,24 @@ is depth 1 and one band at the tick span, which plans the flat cover's shape.
`run_frozen_cells` in `wave.rs` runs the frozen cells for any driver; the clock
advance stays in the verse driver.
Landed (cut `dungeon-world-waves`, branch `ghostlight-verse/dungeon-world-waves`
from Ghostlight `main` `ab290dc`): after each closed play turn the Dungeon runs
`run_waves` (`waves.rs`) under the sweep lock, before run-ahead. It finishes any
wave left open, then plans one wave with `plan_wave` over the derived hierarchy
with the player's place as focus and constant knobs (bands 60, 360, 1440 and
10080 minutes, depth 2, four node turns, cover 4/6/1). The wave is frozen under
the closed turn's log `seq` in the timeline's `waves.cc`
(`ghostlight.dungeon_wave.v1`) before its first call, runs through
`run_frozen_cells` on a runner over the window port, and closes once with a
report. It spends in `window-<revision it opened at>`, so a resumed wave
reopens its own ledger and re-submits its own command ids. A voice the world
has never given an opportunity counts as attended at the clock's origin, so
nothing is due until a band's period has passed and a wave never turns a world
whose clock has not moved. The clock stays the DM's. The DM's next opening view
carries the closed waves it has not seen: acts by node, then nodes due but not
run. A wave that stops with a cell unfinished stays open and is finished at the
timeline's next closed turn.
## Cut sequence
Each cut is one `cut_spec` in the mind, `ghostlight-verse:cut_spec:cut-<cut>.r1`,