# Adaptive Loop — Brainstorming Outcome ## Goal Create a strong-contender browser game for the Agentic Labs one-prompt challenge: calm and elegant to play, rich in interacting systems, reliable for an autonomous Pi build, and legible in one continuous judging video. ## Selected concept **Adaptive Loop** is a deterministic microscopic strategy puzzle. The player rotates overlapping hexagonal loops in a microfluidic culture dish. Each rotation simultaneously moves culture chambers and reconnects channels, then a fixed simulation tick resolves flow, growth, biological interactions, migration, evolution, environmental pressure, and objectives. The ecosystem counter-adapts to repeated strategies. Players see adaptation thresholds, deliberately provoke them, then exploit each adaptation's cost and ecological spillover. ## Product decisions - Browser game, desktop-first, SVG board. - Five handcrafted scenarios; no procedural boards. - Science-inspired fiction with simplified microbial biology. - Capped integer populations/resources rather than continuous simulation. - Exact one-turn preview generated by the same pure transition as committed play. - Four unified pressures: heat, hunger, toxin, immunity. - Species evolve globally; traits activate under local conditions. - Every trait has a benefit, a cost, and cross-species spillover. - Campaign lineages persist as both gifts and burdens; standalone scenario replay restores baseline species. - Deterministic player-caused variation; no random season deck. - Local save/load and deterministic action replay. ## Five-scenario arc 1. **Heat** — basic rotation, growth, and flow. 2. **Hunger** — competition and dormancy. 3. **Toxin** — resistance and metabolic costs. 4. **Immunity** — phage, immune cells, and spillover. 5. **Convergence** — all pressures plus inherited lineage consequences. Each scenario uses a different objective style while ecosystem collapse remains the universal lose state. ## Architecture decision All rules live in a serializable, rendering-independent state machine. A pure `nextState(state, action)` transition owns both preview and commitment. Scenario definitions are declarative. SVG only renders state and submits actions. This seam supports determinism, testing, replay, and exact persistence. ## Autonomous execution decision Use Pi 0.84.1 with `openai-codex/gpt-5.6-sol`, high thinking, installed extensions, and only the three disclosed local skills under `.agents/skills`. Disable ambient context files, global skills, and prompt templates. The single prompt explicitly reads these local skills before work begins. Build vertically: runnable shell → complete scenario 1 → truth tests → interacting adaptation systems → persistence → scenarios 2–5 → bounded polish → final audit. Keep one writer; parallelize only independent review and validation. ## Deliberate exclusions No backend, accounts, netcode, game engine, downloaded assets, individual-agent microbes, continuous physics, random event deck, bespoke code path per organism, or pure power-up progression. Add none unless the complete competition floor is already verified and substantial capacity remains.