# V2 Random Exploration Bot

`V2RandomExplorationBot` covers `TODOS.phase-72.72.19.1.2`: a deterministic
random exploration bot that moves randomly, interacts with nearby objects, opens
doors, collects items, and reports crash and stuck-spot counters through the
headless `V2BotHarness`.

## Runtime Surface

- `FV2RandomExplorationBotConfig` defines the bot id, map, frame count, random
  seed, action intervals, and toggles for random movement, nearby-object
  interaction, door opening, item collection, crash detection, and stuck-spot
  detection.
- `GenerateRandomExplorationScript` produces a seeded script of move, look,
  interact, open-door, and collect-item harness actions.
- `RunRandomExplorationBot` executes the generated script through
  `RunBotHarnessScript`, preserving the base harness transcript and
  deterministic final observation hash.
- `FV2RandomExplorationBotResult` reports movement actions, nearby-object
  interactions, door-open attempts, item-collection attempts, crash count,
  stuck-spot count, detected stuck-spot ids, and harness rejection status.

## QA Behavior

The bot is intentionally simple: it does not solve navigation or optimize
coverage. It creates noisy but deterministic coverage pressure for crash and
stuck-spot discovery by continuously moving, looking around, interacting with
nearby objects, opening doors, and collecting items. Later navigation, coverage,
combat, and quest bots can reuse the same result shape.

Required capabilities: move randomly, interact with nearby objects, open doors,
collect items, find crashes, detect stuck spots, and headless V2BotHarness
execution.

The bot uses headless V2BotHarness execution.

## Validation Commands

```bash
python3 V2/ue/Tools/check-v2-random-exploration-bot.py
python3 V2/ue/Tools/check-v2-bot-harness.py
python3 V2/ue/Tools/check-v2-tests-module.py
python3 V2/ue/Tools/check-v2-ci-workflow.py
python3 -m json.tool V2/ue/Content/V2/QA/RandomExplorationBot_V2_Contract.json
python3 -m json.tool V2/ue/Build/Horde/v2-buildgraph-job.json
python3 V2/tools/validate-v2-docs.py
```
