Files
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

17 lines
2.8 KiB
Markdown

# Held quest-map lookup
`ops/quest_poi_lookup.py` builds a compact, hash-pinned per-quest review lookup from the Source objective census and retained native map evidence. It checks the physical UiMap and UiMapAssignment DB2 files against their capture hashes, compares every decoded assignment and basic UiMap field with the physical export, validates the packaged overlay row hashes, and includes both physical and intended overlay versions when a physical assignment was replaced. The pinned package describes intended metadata; it does not prove the effective running client cache.
The builder indexes spawn, pool and event information once. It retains a candidate only when an unconditioned direct creature source has one non-random spawn template, no known pool/event/phase/loot condition or unreviewed flags, a bounded stationary/wander position, and an envelope contained in exactly one captured zone assignment without crossing a second assignment. It withholds points with ambiguous rectangles or unresolved WMO context. Native Source-area ancestry, floor, dynamic phase, scripts, indirect loot, effective installed map assignment and general POI semantics remain unresolved even for the retained candidates. Missing or partially matched data is never a complete objective region.
Every objective from the Source census remains in the lookup, including held objectives with no candidate regions. Rows retain Source slot, native storage index and packed presentation index separately, together with all Source holds, excluded-reference counts and candidate assignment identities. Candidate regions contain source-map coordinates, a candidate native UiMap ID, bounds and Source spawn GUIDs. Bounds are approximate spawn envelopes, not original quest polygons. The response writer is **not** connected to this file, and `native_publication_allowed` is false. Any later integration must prove the active quest/objective against real Source state, resolve its actual area/floor and installed map data, handle phase/source conditions, and separately validate client decoding and geometry.
The prior quest 60141 pilot is independent of this conservative lookup. Its visible blue regions demonstrate that one approximate response can render, but do not prove area assignment for arbitrary spawns or the native decoder contract. For the saved 60141 Source sample, most point envelopes overlap multiple zone rectangles, so withholding them here is expected and must not replace the live pilot.
The exact five JSON inputs, physical DB2 witnesses and SHA-256 values are captured by the private build script and coverage report in `runtime/continuation-20261113/codex/quest-objective-locations/`. Run focused tests with:
```sh
python3 -m unittest discover -s tests -p 'quest_poi_lookup_test.py'
python3 -m unittest discover -s tests -p 'quest_objective_locations*test.py'
```