Files
WoW-Hybrid-gateway/docs/QUEST_OBJECTIVE_LOCATION_BATCH.md
praxisandClaude Fable 5.2 60b6d4b7a5 Design records
59 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

2.4 KiB

Source quest-objective location census

ops/quest_objective_locations_batch.py reads the local Source world database using bounded SELECTs only. It loads the quest table, creature templates, relevant direct creature-loot rows, all creature spawns, spawn/template pools and game events once each. It does not modify database tables or run the game. The capture uses separate queries, so it is not an atomic snapshot; source changes during capture remain a limitation, and mismatched template loot IDs are held.

The batch builder reuses the existing Source objective logic once for the entire snapshot. It records both the original Source slot and the packed native presentation index; they are not interchangeable. Creature-kill and direct creature-item-loot anchors are approximate static Source-world evidence. Item references and indirect, scripted, quest, gameobject and spell sources are not closed by this pass. Gameobject and cast-target objectives remain held. Phase, pool, event, loot condition, visibility, movement and alternate-spawn uncertainties are retained. No runtime spawn is asserted.

The compact dataset stores [Source spawn GUID, possible creature entries] point references and cluster summaries. Resolve each reference and its spawn fields, pool memberships and event associations through the exact source snapshot identified by SHA-256 and path. These are source-coordinate grid summaries, not polygons, native POI packets, established UiMap assignments or proof of objective coverage. No batch row is native-ready. The separate opt-in quest 60141 pilot has a narrower, independently captured test; it is not a general map conversion.

Example, with a configured local read-only database container:

python3 ops/quest_objective_locations_batch.py capture --container tortoise-docker-db-1 --output batch-source.private.json
python3 ops/quest_objective_locations_batch.py build --snapshot batch-source.private.json --output batch-locations.private.json --report batch-coverage.private.json
python3 -m unittest discover -s tests -p 'quest_objective_locations*test.py'

Input rows are bounded to one million per query and 10,000 quests; a saturated query is rejected instead of silently truncated. Capture and dataset files are private project artifacts and must remain together to resolve point references. Coverage reports count anchors as candidates, not as completed native quest areas.