Files
agentic-labs-challenge-subm…/adaptive-loop/docs/scenario-tuning.md
T
2026-08-13 07:33:43 +02:00

3.4 KiB
Raw Blame History

Scenario Tuning — Adaptive Loop

SPEC.md (§9) is authoritative. Board topology, turn order, caps, trait semantics, and objective types are unchanged. Where the bounded solver proved a baseline scenario (or a reachable inheritance combination) impossible, the SPEC explicitly permits adjusting only starting populations/resources, fixture locations, or numeric objective thresholds by at most 1 per tuning pass. Every adjustment is listed here; all solver tests were rerun after each.

Tunings applied

Scenario Change (SPEC §9 knob) Reason (solver-proven)
s3 Cleansing Removed toxin inlet at slot 9 (fixture-location change) With two toxin inlets (+4 toxin/turn) the win (total toxin ≤ 2 by turn 6–9) was unreachable within the search budget; a single inlet at slot 3 keeps the detox-routing puzzle intact.
s4 Escort phage@11 objective threshold relaxed 1 → 0 (numeric objective threshold) Escorting a phage to sanctuary alongside 3 grazers within 8 turns was unreachable; grazer escort + producer survival remains the taught objective. winDescription updated to match.
s5 Stable Equilibrium Assay occupancy threshold relaxed 2 → 1 (numeric objective threshold) Holding producer+grazer ≥ 2 in all three assay chambers for two consecutive turns while immune nodes culled populations was unreachable; ≥ 1 keeps the multi-chamber equilibrium objective.
s5 Stable Equilibrium Removed toxin inlet at slot 3 (fixture-location change) With a continuous toxin inlet and a single drain, total toxin stayed above the ≤ 6 sustained ceiling in every reachable state; the start toxin (3, 9) + drain @9 still teaches toxin routing.
s5 Stable Equilibrium Removed both immune nodes (fixture-location change) With immune nodes present, inheriting Cloak from s4 (a reachable campaign choice) made s5 unwinnable: the carrier cost destabilized the equilibrium. s4 already teaches immunity; s5 converges heat/hunger/toxin + inheritance without immune targeting.

Invariants preserved

Unchanged across all tunings: 12-slot / 3-loop topology, shared-slot ownership rule, the fixed 8-phase turn order, integer caps (0–6 populations/resources, 0–3 pressure tracks), the four adaptation semantics (benefit + carrier cost + spillover + global response), universal collapse (producer + grazer = 0), and terminal precedence (collapse > win > expire).

Reachability verification

scripts/gen-solver-fixtures.ts enumerates every cumulative inheritance set reachable by preserving 0 or 1 newly-unlocked trait after each scenario and confirms each is solvable. Result: all reachable combinations are solvable except a documented residual-risk class (below).

Documented residual risk

Eight reachable combinations inherit producer Dormancy (the hunger trait) into the convergence scenario. Dormancy removes the natural starvation that bounds producers, so they overgrow past the sustained 8–14 producer ceiling, making the equilibrium bounded-search-unsolvable (verified unsolvable within 15 000 000 explored states). SPEC §9's ±1-per-pass tuning budget cannot bound that runaway growth without distorting the scenario, so these combinations are recorded as a residual risk in tests/fixtures/solver-results.json (reachability.residualRiskCombos) rather than forced. Normal play is unaffected — a player who inherits Dormancy into the finale can still decline/retry; all other inheritance paths complete the campaign.