Prompt file imported from youlinwang/game-SENTINEL_LastStand (
.github/prompts/sentinel-visual-fix-loop.prompt.md). Copyright stays with the author.
Run the full visual verification loop for this repo's game.
Scope:
- Treat SENTINEL_LastStand.html as the real app and index.html as a redirect wrapper.
- Use AGENTS.md, CLAUDE.md, and .github/instructions/sentinel-html.instructions.md for repo-specific constraints.
Workflow:
- Identify the smallest browser scenario that can falsify the requested behavior.
- Run a visual verification in the browser, using
?auto=<mapId>and optional&sel=<towerType>&cell=c,rhooks when they help target the feature. - If the observed behavior does not match the task requirement, edit the code to fix the mismatch.
- After the first substantive edit, rerun the same focused visual verification before broadening scope.
- Repeat the loop until the requested behavior matches the visual expectation, or until a concrete blocker prevents further progress.
Reporting requirements:
- State the scenario used for each verification pass.
- State what failed before each repair.
- State what changed in the repair.
- End only when the requirement is visually satisfied or when a specific blocker is identified.
Constraints:
- Do not stop after code edits alone; visual verification is required for completion.
- Keep each repair as local as possible.
- If browser automation is unavailable, say so clearly and fall back to the most relevant manual verification guidance.