# V2 Quest Completion Bot

`V2QuestCompletionBot` covers `TODOS.phase-72.72.19.1.10`: it attempts to
complete all quests by following objective markers and verifies all quests are
completable.

## Runtime Surface

- `FV2QuestCompletionBotConfig` defines the quest attempt budget, frame budget,
  objective-marker requirement, completable-quest verification, and headless
  harness behavior.
- `BuildDefaultQuestCompletionBotCatalog` creates a deterministic quest catalog
  with valid quest definitions, objective branches, and next-quest references.
- `BuildQuestCompletionObjectiveMarkers` creates visible markers that guide the
  bot to each quest objective target.
- `BuildQuestCompletionAttemptSteps` converts quest accepts, objective-marker
  follows, objective progress events, and quest completion into bot harness
  actions.
- `RunQuestCompletionBot` validates the quest catalog, applies objective
  tracking events, completes the quest lifecycle, and records per-quest
  completion results.
- `FormatQuestCompletionBotReport` emits a compact quest completion report for
  QA dashboards.

## QA Behavior

The quest completion bot is deterministic and uses the existing quest gameplay
surfaces. It does not force-complete objectives through debug tools; it follows
objective markers, emits matching gameplay events, drives quest state
transitions, and verifies every quest in the catalog reaches `Completed`.

Required capabilities: attempt to complete all quests, following objective
markers, verify all quests are completable, quest objective progress events,
completed quest lifecycle, and headless harness execution.

## Validation Commands

```bash
python3 V2/ue/Tools/check-v2-quest-completion-bot.py
python3 V2/ue/Tools/check-v2-rl-trained-exploration-agent.py
python3 V2/ue/Tools/check-v2-load-test-bot-army.py
python3 V2/ue/Tools/check-v2-soak-test-bot.py
python3 V2/ue/Tools/check-v2-puzzle-solving-bot.py
python3 V2/ue/Tools/check-v2-combat-bot.py
python3 V2/ue/Tools/check-v2-navigation-stress-test-bot.py
python3 V2/ue/Tools/check-v2-bot-coverage-mapping.py
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/QuestCompletionBot_V2_Contract.json
python3 -m json.tool V2/ue/Build/Horde/v2-buildgraph-job.json
python3 V2/tools/validate-v2-docs.py
```
