diff --git a/docs/targets/multiresolution-gestalt.md b/docs/targets/multiresolution-gestalt.md index 057e344..cf07d08 100644 --- a/docs/targets/multiresolution-gestalt.md +++ b/docs/targets/multiresolution-gestalt.md @@ -267,8 +267,9 @@ Research notes of pass `gestalt-map` (`ghostlight-verse:research:gestalt-map.*`) one open route from one (read either way); a boundary's place is its destination's, or the position of the subject it names; a deficit's is its jurisdiction root; the uncovered residual is nowhere. The partition is stable, - so an empty focus is today's order. Fair claims still puts an untried entry - before a tried one. It answers "what is the player looking at" with + so an empty focus is today's order. Focus is also the outer key of fair + claims: in-focus demand before the rest, and inside each band an untried + entry before a tried one. It answers "what is the player looking at" with structure, where waves answer it with action. - **Demotions.** `Scale::sweep_sessions` and `sweep_permits` stop deciding how much elaboration happens; the elaboration allowance does, and permits @@ -285,9 +286,8 @@ the command id a request id begins with, so node spend is a join and `NodeOutcome.spent` is gone. The verse tick is `ghostlight.verse_tick.v3` and records what the plan deferred; the tick report lists deferred nodes with why (not due, over the node-turn bound, past the allowance). The Dungeon's run-ahead -spends in `window-` of the timeline's `calls.cc`, with -`GHOSTLIGHT_WINDOW_WAVE_TOKENS` and `GHOSTLIGHT_WINDOW_ELABORATION_TOKENS` -(unset is unbounded) until `dm-gestalt-knobs` sets them from the knobs. +spends in `window-` of the timeline's `calls.cc`, under the +allowances of the timeline's knobs (below). ### Deletion line @@ -353,7 +353,43 @@ 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. +timeline's next closed turn. (That is the wave as `dungeon-world-waves` +landed it; the knobs, the document version and the room rule changed with +`dm-gestalt-knobs`, below.) + +Landed (cut `dm-gestalt-knobs`, branch `ghostlight-verse/dm-gestalt-knobs` from +Ghostlight `main` `d3b0e20`): the knobs are one document per timeline, +`ghostlight.dungeon_gestalt_knobs.v1` in `gestalt-knobs.cc` (`knobs.rs`), +written with a Begin's defaults when a timeline opens without one: bands 60, +360, 1440 and 10080 minutes, depth 2, four node turns, cover 4/6/1, and a wave +and an elaboration allowance of 200000 tokens a window (sized to the retired +four-session sweep; no cost is measured yet). `default_knobs`, +`Scale::sweep_sessions`, `Scale::window` and their environment variables are +deleted; `Scale::sweep_permits` stays as the concurrency bound. The wave, the +run-ahead sweep and the opening view read the document, and each wave +(`ghostlight.dungeon_wave.v2`) records the knobs, allowances, DM focus and +forced nodes it planned under. A resumed wave reopens its ledger with the +allowances it opened with. + +The DM turns them with two tools. `tune` sets bands (1 to 8 periods of 1 to +525600 minutes), depth (1 to 8), `max_node_turns` (1 to 32), the two lane +allowances (0 to 5000000 tokens), and adds or removes focus entries, each a +place or an institution by the id `table_view` prints, with a lease in +fictional minutes. A value outside its bound refuses the whole call, quoting +the value. A lease is an end minute: past it the entry is not focus, and the +next `tune` drops it. The player's own place is derived, never stored. +`run_world` names places or institutions; the next post-turn wave opens them +like focus nodes, treats them as due whatever their band and runs them ahead of +every other node, within the wave allowance (a node past it is reported +waiting); that wave takes the request whether or not it ran. The opening view +prints the knobs, the focus path by label, the DM's leases and queued nodes, +and the average tokens a node turn has cost in each band from the closed waves. +An allowance change applies from the next window: a window already open at the +current revision keeps the allowances it opened with. + +A wave gives no turn to a subject standing in the player's place: the room is +the DM's `react`. The DM's focus on an institution opens its node for waves; +the elaborator's claim order reads only the places. ## Cut sequence