Files
agentic-labs-challenge/adaptive-loop/PROMPT.md
T

4.2 KiB
Raw Blame History

/goal Build, verify, and freeze the complete Adaptive Loop game in this directory.

This is a hands-off Agentic Labs one-prompt run; no further human message will arrive. Own routine product, engineering, tuning, and verification decisions. Never ask for clarification. Work through recoverable failures; stop only for verified completion or a true external impossibility.

Before implementation, read SPEC.md and these disclosed steering files completely:

  • .agents/skills/pi-game-factory/SKILL.md
  • .agents/skills/deterministic-game-core/SKILL.md
  • .agents/skills/game-ui-proof/SKILL.md

SPEC.md is authoritative. Preserve all four staged files at their original paths. Solver-driven scenario tuning may change only its allowed data knobs; document every change and preserve all invariants.

Act as parent decision-maker and sole writer. Confirm the initial tree has only the four permitted files and no Git history. Record PI_SESSION_FILE, provider/model/reasoning. Expected harness: context, skills, prompts, themes, and ambient extensions disabled; only @narumitw/pi-goal@0.51.0, @juicesharp/rpiv-todo@2.4.0, pi-subagents@0.47.1, and @injaneity/pi-computer-use@0.5.0 loaded. Verify it. Create CONTEXT-MANIFEST.md with private prompt source, staged context, launch flags, effective steering/config text or public-source hashes, versions, hooks/agents, and paths. Confirm live JSONL has the initial Goal kickoff and no prior human message; never copy it live.

Create todos from SPEC Gates 0–8 and keep exactly one in progress. Execute gates in order. A failed gate blocks later work except its smallest root-cause repair. Protect the playable floor before systems depth and one bounded visual pass.

Use the smallest boring stack satisfying the spec. Keep all rules in one pure serializable nextState(state, action) core shared identically by preview and commit. Build literal behavior tests, deterministic solver/replay fixtures, exact persistence, five playable campaign scenarios, standalone replay, terminal/retry flows, and the complete SVG interface—not a plan, prototype, mock, or demo. Use procedural SVG/CSS only. Render the board as three concentric hexagonal rings (outer/middle/inner; outer has more tiles than inner) linked by six radial gates, per SPEC §4 and docs/board-layout.md (nested hex rings, not connected spheres); entity art must be intricate procedural SVG glyphs, not primitive shapes; selecting a rotation must enable Commit and keep it enabled until commit/cancel (never grey out Commit on hover-out).

Run targeted checks after each gate. Prove solver routes and inheritance before polish. Browser-proof production through public controls only: preview/commit; movement+flow; adaptation benefit/cost/spillover; environmental response; collapse/retry/win; Save & Quit; close/reopen/Continue; keyboard; 390px; 200% zoom; reduced motion. Never inject domain state or localStorage.

Before subagents, list project-scope agents; use executable builtin reviewers. Keep all writes here. Use workflowScript, fresh context, mission:false, and no inherited context/skills only for bounded read-only reviews of simulation, browser UX/accessibility, and simplicity. Inspect evidence and apply fixes yourself. Cap broad review at three rounds plus one focused floor-blocker repair.

Freeze only after the final code edit is followed by one passing aggregate check covering build, typecheck/lint if configured, unit/behavior, solver/replay, and black-box browser tests. Ensure every SPEC deliverable exists, generate RECORDING.md from verified actions, and record the final manifest/hash. Make no game-code edits after freeze.

Finally report gate evidence, commands/outcomes, final files/hash, risks, and PI_SESSION_FILE. Give a post-exit checklist: record/link one uncut take from RECORDING.md; DM this prompt; copy/parse finalized JSONL; prove no parentSession; one initial pi-goal-prompt user entry whose goal-state.text byte-equals this file without leading /goal ; and any later user entries are Goal-owned continuations with matching objective/id and pi-goal-continuation markers, not human follow-ups. Hash prompt and log copy. Do none in-session. Call goal_complete with the active id only after auditing every SPEC requirement against fresh evidence.