# V2 Economy Bot

`V2EconomyBot` covers `TODOS.phase-72.72.19.1.11`: it simulates player economy
behavior at accelerated rate and detects inflation/exploits.

## Runtime Surface

- `FV2EconomyBotConfig` defines player count, accelerated duration, acceleration
  multiplier, inflation threshold, exploit detection, and headless harness
  behavior.
- `BuildDefaultEconomyBotBehaviors` creates accelerated player economy behavior
  rules for quest rewards, vendor purchases, vendor sales, trades, and exploit
  probes.
- `BuildEconomyBotFlowRules` converts behavior rules into the existing
  `V2EconomySimulation` source and sink model.
- `BuildEconomyBotInflationSamples` records accelerated supply snapshots and
  trend classifications for economy dashboards.
- `BuildEconomyBotExploitProbes` builds impossible-currency-gain and item
  duplication probes using the existing `V2EconomyExploitDetection` policy.
- `RunEconomyBot` executes the headless bot harness, runs accelerated economy
  simulation, detects inflation, runs exploit probes, and aggregates the QA
  result.
- `FormatEconomyBotReport` emits a compact inflation and exploit report.

## QA Behavior

The economy bot is deterministic and composes the existing economy tooling. It
does not replace balance simulation or exploit detection; it drives player-like
economy behavior at accelerated rate, feeds the source/sink model, checks for
inflation, and verifies exploit probes are flagged.

Required capabilities: simulate player economy behavior, accelerated rate,
detect inflation, detect exploits, source sink flow rules, inflation samples,
exploit probes, and headless harness execution.

## Validation Commands

```bash
python3 V2/ue/Tools/check-v2-economy-bot.py
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/EconomyBot_V2_Contract.json
python3 -m json.tool V2/ue/Build/Horde/v2-buildgraph-job.json
python3 V2/tools/validate-v2-docs.py
```
