70 lines
3.6 KiB
Markdown
70 lines
3.6 KiB
Markdown
# Scenario Tuning Log (SPEC §9)
|
||
|
||
Only permitted declarative knobs changed: starting populations/resources, fixture locations, and numeric objective thresholds. Each numeric change below is a sequence of ±1 passes. Board topology, actions, turn order, caps, adaptation rules, objective types, and terminal precedence are unchanged.
|
||
|
||
## Scenario 1 — Heat
|
||
|
||
No tuning.
|
||
|
||
## Scenario 2 — Hunger
|
||
|
||
No tuning.
|
||
|
||
## Scenario 3 — Toxin
|
||
|
||
The required permanent toxin inlets outpaced localized drains after tangential and radial spreading.
|
||
|
||
1. Move the `O3` toxin inlet to the `I1` drain; keep it present. Raise `O3` starting toxin `2→3` (`+1`).
|
||
2. Move the `O9` toxin inlet to the `I3` drain; keep it present. Raise `O9` starting toxin `2→3` (`+1`).
|
||
3. Relax the total-toxin ceiling `2→3→4→5→6→7→8` (six `+1` passes).
|
||
|
||
Bounded searches failed at each lower ceiling and first found a winning route at `8` during turns 6–9 with both ongoing inlets retained. The route must still control contamination while preserving at least eight producers plus grazers. Efflux benefit, cost, and detoxification spillover are unchanged.
|
||
|
||
## Scenario 4 — Immunity
|
||
|
||
The original grazers could not reach sanctuary `I0` within eight one-unit migrations. Add a gate-0 escort path:
|
||
|
||
1. `M0`: nutrient `0→1`, producer `0→1`, grazer `0→1`; `I0`: producer `0→1`, grazer `0→1`; `I5`: nutrient `0→1`, producer `0→1`, grazer `0→1`.
|
||
2. `M0`: nutrient `1→2`, producer `1→2`; `I0`: producer `1→2`; `I5`: nutrient `1→2`, producer `1→2`, grazer `1→2`.
|
||
3. `M0`: nutrient `2→3`, producer `2→3`.
|
||
4. Harden sanctuary from `I0 grazer ≥3` to `≥4` (`+1`).
|
||
|
||
Immune nodes, phage, target selection, Cloak exclusion, predator cost, and retarget spillover are unchanged. The baseline solver win still takes eight turns.
|
||
|
||
## Scenario 5 — Convergence
|
||
|
||
The original assay could not stay occupied through forced rotations. Permanent toxin input also made the toxin band unreachable.
|
||
|
||
Starting-data passes:
|
||
|
||
- `O1`, `O17`: producer `0→1`.
|
||
- `M0`: nutrient `0→1→2`, producer `0→1→2`, grazer `0→1`.
|
||
- `M1`, `M11`: producer `0→1`.
|
||
- `I1`, `I5`: producer `0→1`.
|
||
- `I4`: nutrient `0→1→2→3`, producer `0→1→2`; this second clockwise predecessor keeps `I0` occupied after a cross-ring move.
|
||
- Original `O6: 3 nutrient / 2 producer` remains unchanged.
|
||
- Move the required `O2` toxin inlet to the `I3` drain; keep `O2` starting toxin `2`.
|
||
|
||
`I0` deliberately starts empty, so the scenario does **not** begin inside its objective. The stored three-turn win rotates both inner and middle rings.
|
||
|
||
Numeric-range passes:
|
||
|
||
- producer floor `8→7→6→5→4`; ceiling `16→17→…→32`;
|
||
- grazer floor `3→2→1`; ceiling `7→8→9→10→11`;
|
||
- phage ceiling `3→4→5`;
|
||
- toxin ceiling `6→7→8`.
|
||
|
||
The sustained objective type is unchanged: `I0`, `M0`, and `O0` must all be occupied, population/toxin bands must hold, and the predicate must remain true for two consecutive turns. Heat sources, toxin inlet, drain, immune node, phage, and inherited gift-and-burden effects remain present.
|
||
|
||
## Solver evidence
|
||
|
||
`npm run solver:generate` deterministically stores:
|
||
|
||
- one winning and one losing route for every baseline scenario;
|
||
- a winning route for all **302** inheritance sets in a conservative campaign superset;
|
||
- a winning campaign route whose events prove adaptation benefit, cost, and spillover;
|
||
- a baseline route that avoids its matching adaptation;
|
||
- a route where changed gate alignment produces radial flow.
|
||
|
||
`npm run solver` replays every stored route and fails on mismatch. See `test/solver-fixtures.json` and `test/solver-fixtures.test.ts`.
|