Skip to content

WIP: Saved P2P characters, login Options and Classic simulation foundations - #2

Draft
rblaine95 wants to merge 1480 commits into
masterfrom
feat/psk-p2p-foundation
Draft

rblaine95 wants to merge 1480 commits into
masterfrom
feat/psk-p2p-foundation

Conversation

@rblaine95

@rblaine95 rblaine95 commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Scope

Draft implementation toward solo-first, trusted-friends P2P WoW 1.12.1. Full CMaNGOS Classic gameplay parity remains unfinished.

Implemented in this branch

  • Executable-adjacent config.toml: exact UTF-8 passphrases of any length, including explicitly empty strings, derived locally with fixed versioned Argon2id. The 1024-byte safety cap remains; short/empty passphrases are insecure and receive a warning. Hex-looking strings are ordinary passphrases, not raw keys
  • Deliberate login action opens character creation/selection without networking. Enter World starts the session and enters immediately even if configured peers are offline
  • Persistent local characters with saved names, Classic race/class/appearance, selection and position. Owner-authenticated signed Noise handshakes bind peer introductions to local profile identities; invalid peers are isolated
  • Direct TCP exploration with movement/chat, plus optional iroh QUIC direct-path attempts and encrypted relay fallback through explicitly configured infrastructure. Router mapping is opt-in
  • The actual existing WoW-style Options frame is accessible from login. Separate Connection setup edits startup configuration and exposes explicit diagnostics/ticket reveal. Startup RealmList is removed and the local endpoint list distinguishes configuration from listening/reachability
  • Separate opt-in synthetic encounter mode: frozen roster, agreed tick/input/state hashes, test combat/XP/token reports. It is not normal WoW gameplay and does not share character progression
  • GPL-covered combined player, preserved CMaNGOS provenance and exact vendored corresponding source. CI player downloads link to a separately uploaded, checksum-identified source artifact whose verified retention outlasts the player artifact. Local packaging can still embed source
  • Full workspace clippy/tests, player-feature tests, formatting, documentation/renderer checks and packaging remain gates. Mr Boxington is enabled. Build player runs manually and on pushes to master and temporarily this exact feature branch, with native profile tests on all four platforms and cancellation of older in-progress runs in the same concurrency group

Source-verified gameplay foundations (latest batch)

  • CMaNGOS Classic stat/armor, quest-reward/basic gates, faction/target, timed spell/projectile/periodic-effect, bounded creature AI and mage mana/skill primitives, with pinned-source C++ differential fixtures and explicit unsupported cases
  • Bounded read-only local SQL capture and MPQ/DBC extraction/preparation, including learning/rank dependencies, Talent input, spawn overrides, EventAI absence and selected spell registry evidence. Extraction v3 binds 20 DBC tables including exact CreatureDisplayInfo. User-local data is not uploaded or included
  • Reviewed bounded mage creation/first-entry replay, equipment/stat recipes, ordinary creature initialization and NPC melee, with bounded source-ordered player death/corpse effects and transactional native input batches. Native schema 8 connects ordinary quest lifecycle, training/learned-spell notifications, kill XP, level-up/derived-stat callbacks, source-ordered solo corpse loot/inventory and quest-item rewards through the actual controller and client protocol projection. Cast prepare/release/impact phases preserve historical learning/stat bindings across saves. Source-order/numeric edge cases have differential regressions
  • A distinct native component runtime integrates casts, AI/melee, durability, source-initialized player state and replay-verified durable checkpoints. A conservative local geometry service validates exact static M2/WMO source and live-collider coverage, flat dry cell corridors across chunk seams, and cumulative movement budgets. A bounded generated-product reader has a pinned 6,272-vector terrain-height oracle. A source-derived static VMap loader validates serialized hierarchies, triangles and transforms and supplies a revision-bound extra ray veto through the existing provider. A private pinned Detour adapter now validates and queries bounded MMap tiles, rejects partial/truncated/exhausted paths, and adds a source-bound navigation veto. Aggregate work, deadlines and replacement cancellation are bounded; complete chase/spline motion, sloped-body movement and authenticated live-source admission remain unfinished. The service remains inactive until supported admission. Production native admission remains closed; this is not yet playable imported content
  • An original-fixture solo runtime, protocol projection and separate durable world store with replay, previous-good checkpoints, exclusive writer locks and generation-bound receipts
  • Actual app solo-controller routing, intent/tick/checkpoint handling and a lightweight harness compiling its production source. Native entry stays closed until compatible real-data mechanics and adapters are complete; exploration does not silently become fixture gameplay

Upstream integration published 2026-10-30

  • 2c220044aa72ba8852f1bd4b065161e1ca4be265 merges fork head d12336bc with pinned upstream 3ae988ab. Published tree: 46d58790566ba3151b6802849d6277404cb2353e. Upstream was read-only.
  • Integrates upstream stock GlueXML and ordered input while retaining explicit Solo/P2P startup, connection/recovery controls, local characters and the local-authentication bridge to stock character selection. Local/recovery modes centrally refuse realm credential submission.
  • Preserves GUID-captured, typed-confirmation local character deletion; bounded P2P entry holding, overflow retirement and stale-tail discard; native object-packet framing/order; current-generation spline facing; checked aura-duration and resync failure propagation.
  • Retains source provenance, corresponding-source packaging and the required Windows CI gate. These are implemented/source-reviewed changes, not evidence of user-verified gameplay or a completed player build.
  • This is a reconstructed integration; test results from the earlier lost local merge are not used as evidence.

Current limits

All races currently meet in Northshire and remain level one. Saved character identity/position is implemented; durable shared-world progression is not. Tested isolated mechanics and original-fixture persistence are now present, but normal-world NPCs, combat/spells, quests, inventory/loot and professions are not yet connected as playable Classic gameplay. Dynamic simulation membership and independently progressed world reconciliation are not implemented. Local ownership proofs do not prevent owners editing or rolling back their own saves.

No Blizzard assets/database rows, private passphrases or service credentials are included. Client Data alone is not a complete server world database. Internet endpoint tickets remain session-specific; there is no implicit public relay/discovery service.

Verification

Current published head: 2c220044aa72ba8852f1bd4b065161e1ca4be265

The published merge/tree and PR head were verified. As of 2026-10-30 10:39 UTC, no CI or player-build success has been verified for this head. The connector's PR-triggered workflow lookup and combined-status lookup returned no entries; that does not prove all push-triggered runs are absent. See Actions for current runs. Heavy builds/tests are delegated to GitHub CI; earlier green runs do not validate this merge.

Fresh local evidence for the exact published source tree:

  • cargo fmt --all -- --check and cargo clippy --locked --workspace --all-targets --keep-going -- -D warnings: passed, including after the final fixture repair.
  • Native geometry: 774 passed in the complete corrected run. The initial 20 failures were a missing navigation-generator executable; the prerequisite was built and the complete suite rerun.
  • Native corridor: 882 passed, zero ignored and zero recorded data-gated skips. A transient executor interruption required restarting the already-built harness; the restarted run completed successfully. This executes exact app corridor/source-reader components in a small host, not full production app admission.
  • Controller: initial complete run 1,052 passed / 1 failed. The old inventory fixture lacked the cached staff record now required by upstream equip handling. After the reviewed fixture-only repair, the exact regression 1/1, mainhand group 9/9, and inventory group 47/47 passed without weakening assertions. The entire 1,053-test controller aggregate was not rerun.
  • Config: 54 unit tests passed. Profile: 49 unit and 26 integration tests passed, including 12 durable character-action/Lua tests. UI: 3,583 unit tests passed, one intentionally ignored dispatch benchmark, plus 19 integration tests. World-client: 129 unit and 26 integration tests passed. Counts are scoped suites, not completion percentages or a combined unique-test total.
  • Python gates: 392 tests passed across packaging, exact-libtest proof, capture logs, doc-link test utilities, diagnostics, hooks, native starter and Classic export tooling. Render-pass lint passed over 3,116 files. This does not substitute for the full documentation or workspace runtime gates.
  • Independent source review covered packet framing, bounded hold/retirement, credential isolation, generation-correct facing and resync atomicity; the final cached-record fixture was reviewed separately.

Remaining verification limits:

  • Full no-default-feature app lib-test codegen exited 137 twice (normal settings and one command-only lower-optimization retry), before any app test execution. Observed memory pressure suggests resource termination, but no OOM counter was available to establish the cause. Full app ECS/login/startup regressions were typechecked/linted, not executed locally.
  • No current-head player executable, Windows run, full workspace runtime aggregate, full documentation gate, installed-client smoke test, real-asset visual/audio behavior or real friends-over-P2P gameplay has been verified locally. Production native admission remains closed.
  • No current user gameplay confirmation is inferred from component tests. Corresponding-source packaging tests are not proof that a current player artifact has been published.

Historical evidence — not validation of the current merge

  • Previous head 5b60088f77a092e253b93ce2dc728bc3382ecc2f: full CI passed and all four platform builds passed, including Windows and native persistence/simulation tests. These results do not validate the newly published batch
  • Earlier pre-integration combined loot/cast/navigation tree: 680 passing focused test executions, zero failures, one ignored standalone subprocess helper; strict Rust Clippy and formatting pass. Those focused results do not validate the reconstructed integration; full CI remains the authoritative workspace/app gate
  • Source loot/inventory/timer/reward fixtures cover 5,452 authored cases; cast-phase fixtures cover 72; native navigation has 273 original-source oracle rows, allocation-failure tests and Linux ASan/UBSan/lifetime checks. Four-platform native geometry/navigation tests are now part of Build; that historical evidence did not establish non-Linux execution of the adapter
  • Earlier quest/progression source fixtures cover 243 derived-stat, 881 progression, 29,995 kill-XP and 4,472 quest-lifecycle cases. VMap fixtures cover 2,508 rays, 2,470 endpoints, 78 coordinate conversions and 188 BIH traces over authored geometry
  • Pinned Detour compiler diagnostics are documented with validator/call-path and C++20 lifetime/layout evidence; no warning suppression or unsupported-platform parity claim was added
  • Cloud tests lack Classic Data. Previously recorded 249 asset-dependent format bodies were skipped; local focused results do not replace full workspace/player tests, documentation checks or native-platform runs
  • Corresponding-source artifact retention is verified before player publication. No assets, private database rows or credentials are included

The full Classic coverage roadmap records the reference sources, integrated subsets, remaining world-data/behavior gaps and end-to-end milestones. A starter region or one class is an intermediate milestone, not the final scope.

The user reported a successful rendered two-client same-Windows-PC connection on the earlier exploration build. That does not verify the latest character/Options changes, remote NAT, or gameplay parity. Cloud runners have no WoW assets; asset-gated checks and visual/gameplay verification remain explicitly unverified. No real home router or public relay was used in tests.

No merge is requested.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a2c1344b-b026-4bab-92b7-2f26ff4eaba7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rblaine95 rblaine95 changed the title WIP: PSK P2P exploration and deterministic simulation foundations WIP: P2P settings, QUIC connectivity and simulation foundations Oct 13, 2026
@rblaine95 rblaine95 changed the title WIP: P2P settings, QUIC connectivity and simulation foundations WIP: Saved P2P characters, login Options and Classic simulation foundations Oct 13, 2026
@rblaine95
rblaine95 force-pushed the feat/psk-p2p-foundation branch from 2c22004 to 746e0f5 Compare October 30, 2026 10:57
Apply the current event manager active set to each persistent state
through the existing map-filtered InitSpawnPool owner. Preserve ascending
event order and insertion-ordered pool IDs without global event effects.

World.cpp:1389 initializes both continents before global events at :1416.
The real loaded native manager has no active events at that point. Both
recorded pool snapshots precede the event-status query and every status
write. Event 7 calendar samples during loading are not activation.

Move existing empty-pool and seal16 test cutoffs from
`execution.continents.map_event_pool_owner` at
`MapPersistentStateMgr.cpp:205` to
`execution.continents.graveyard_init_owner` at `Map.cpp:196`.
Preserve every prior RNG, SQL and complete pool snapshot assertion; add
recorded ordering evidence. Earlier eligibility tests only gain the event
manager argument and keep their refusals. Seal8 keeps its lunar refusal.
Add coverage for empty and nonempty active sets, source iteration order,
instant spawning, and other-map pool filtering in both directions.

Verify the exact final tree: focused test 1/1; source_execution private
and unset 1300/1300 each, zero failed or ignored; runtime/sim all-target
clippy with the required warning policy; fmt check; genmap; Python gates
58/182/347/22. Both frozen comparisons ran with private bindings. Optional
branches without their bindings still skip. Main owns the player-package
gate. Initial authored Debug-string expectations were corrected before
these final checks. Native format 91 and persisted bytes are unchanged.

Ave Deus Mechanicus
Keep ordinary named test failures red without repeating the full
workspace serially. Cargo reports abnormal test-process exits with a
separate cause, which the existing libtest verifier now classifies.
Keep the full workspace invocation, player stack check, and required
Windows aggregate result unchanged.

Job 131983071352 compiled in 93m02s and finished its first workspace
pass after about 2h51m. A named test failure triggered the serial
rerun and exhausted the remaining 69 minutes. This change removes
that repeat, not the underlying test failure.

Verified YAML parsing and 8 apt, 61 libtest/workflow, and 9 log-capture
tests. The available actionlint-compatible jactionlint reports only
three existing SC2129 findings on unchanged summary-writing lines.
A real Windows runner must confirm PowerShell exit/output handling
and the actual runtime margin, including the player stack build.

Ave Deus Mechanicus
Previously the test-only controller bridge gave a synchronous owner
120 seconds to run a full negative battery and return actual facts.
The worker could time out before the owner completed valid work.

Measure each fifth-epoch phase with the existing diagnostic output.
The four-thread baseline measured identity at 1.933s, source-order at
1.407s, and clearance at 67.816s, totaling 71.156s. The observed
Windows/Linux app ratio of 1.840947 scales that total to 130.994s.
That estimate exceeds the old reply wait before real certification.

Use one absolute 30-minute hang guard across send and reply instead.
It bounds a deadlocked owner, not the duration of its negative probes.
Report disconnection immediately and distinguish hang-guard expiry.
Keep every probe, source deadline and assertion unchanged.

The old 120-second timeout/SendError path is now unreachable for this
fixture. Late owner reply-send errors remain unhandled as requested;
a genuine hang-guard expiry could still reach the owner send unwrap.
The owner should stop on receiver loss without acknowledging facts.

Verified the target with all 58 resident tests on four threads three
times, all passing in 420.09s, 290.77s and 286.66s. The first battery
actually took 143.814s, beyond the old limit, and passed. The complete
native_geometry filter passed 937 tests, with 12 existing ignored
cases, in 877.03s. App all-target clippy passed with -D warnings and
the requested deprecated and needless-borrow allowances. Workspace
fmt check passed. Regenerated docs/MAP.md before committing.

Local rustc 1.100 uses a different libtest output layout. Used and
removed the approved temporary hard link to the genuine navigation
helper without changing its locator. Windows was not run locally;
a real runner must confirm its phase timings and timeout behavior.

Ave Deus Mechanicus
Own mutable meshes and instance queries with source load ordering,
authenticated products, unload fencing and explicit numeric refusals.

Make the runtime native-nav dependency nonoptional, retain the empty
`synthetic-native-tests` feature and remove its redundant dev-dependency.
`Cargo.lock` is unchanged. Regenerate `docs/MAP.md` before and after the
conflict-free rebase onto ef6eea7, preserving both sides of the tree.

Migrate environment, terrain-height and startup late MMap expectations
from `execution.terrain.mmap_tile_load_owner` and
`execution.terrain.mmap_tile_loaded_owner` to
`execution.mmap.load_map_without_mesh`, after earlier VMap/GridMap work.
Keep the original map-only miss operands and grid/load assertions, prove
MMap lookup ran, and expect `execution.terrain.map_product_unavailable`
instead of `execution.terrain.mmap_tile_loaded_owner`. Add a separate
`authored_linked_zone_fallback_runs_after_real_negative_mmap_lookup`
test for [900,900] after a real negative MMap lookup.

Preserve constructor defaults for a zero-byte MmapTileHeader read.
Refuse lengths 1 through 19 under C11 7.21.8.1p2; refuse all short
unconstructed dtNavMeshParams reads, including zero bytes.

Final frozen census: 2 meshes, 1294 map tiles, 11 model products;
454 tiles loaded, 840 refused (2 offmesh, 292 format, 544
topology/numeric, 2 budget). All 411 terrain-present/MMap-absent tiles
took TileAbsent. Undefined partial headers, short params and config
atoi counts are zero. Raw queries: Wander 38006 available/5113 null;
Waypoint 2050 available/881 null. Actual PathFinder constructor
completions remain 0 before and after; Home call stream is unavailable.

Final rebased Linux verification, using the isolated target and mbx:
- Locked focused MMap module: 7 passed.
- Locked full source_execution: 1317 private and 1317 unset passed.
- Locked native-nav: 201 unit tests and 35 doctests passed.
- Runtime/sim/native-nav all-target strict clippy passed.
- Formatting check passed.
- Python verify-libtest-output/native-starter/classic-export/
  initial-hooks: 61/182/347/22 passed.
- Rebuilt app binary and helper; product navigation 4 and
  source_pathfinder_query 20 passed serially.
- Correct captured_map_tests navigation generation module: 19 passed.
- App all-target strict clippy passed. Both clippy gates used
  -D warnings -A deprecated
  -A clippy::needless_borrows_for_generic_args.

Historical parallel source_route: 197/199 in 313.09 seconds.
`finite_eight_epoch_loop_refuses_stale_scene_and_historically_acks_source_change`
failed with resident owner pump timed out.
`installed_loaded_quest_loop_completes_stock_commands_in_both_orders_and_role_ids`
failed with local geometry request deadline exceeded.
Individual elapsed times were not emitted for that run.

Final complete serial source_route: 197/199 in 1539.66 seconds;
finite_eight_epoch_loop passed. The two serial failures were
`installed_loaded_quest_loop_completes_stock_commands_in_both_orders_and_role_ids`
and
`installed_loaded_quest_loop_rolls_back_late_giver_and_retries_durable_publication`.
Both reported local geometry request deadline exceeded; the latter
failed its exact loaded Route assertion before durable publication.
Individual test elapsed times were not emitted. The request deadline
is 500 ms at app native_geometry/core.rs:35, distinct from the 90-second
outer quest watchdog at source_route_same_polygon_local/quest_loop_tests.rs:203.

Main's comparison cleared the change and classified these failures as
a pre-existing wall-clock weakness under contention. Main ran the same
two tests serially on this 16e92e285 app binary at load 8.9-11:
completes_stock_commands passed in 14.27s; rolls_back_late_giver passed
in 5.69s. Main's base 0977573 binary at load 4.8 passed them in 7.08s
and 4.45s respectively. These comparison results are reported by Main,
not measurements from this gate invocation. No code, assertion or
deadline was changed to obtain a pass.

No full workspace, other-platform build or live server smoke was run.
Owned helper layout and short TMPDIR were removed; logs retained.

Ave Deus Mechanicus
Port World.cpp:2644-2728 validation and GraveyardManager.cpp:130-135
full-map copies. Preserve skipped-row counting, equivalent-key insertion
order and the reload-without-clear quirk. Bind World.cpp:1158 after
respawn loading. Stop at the real missing ObjectMgr encounter bounds,
WorldStateVariableManager.cpp:32, before later map initialization.

Use reference-environment composite primary-key order, not catalog
export ordinal or an SQL engine ordering guarantee. The MyISAM key is
(id, ghost_loc, link_kind), sql/base/mangos.sql:1853-1859.
full-server/f1/db-snapshot.py:9 produces --order-by-primary dumps.
seal16-full-01/reset.json:4-8 binds the pre-start world SQL snapshot:
31c558ac2cc3e48ec5b64117c7fbc70bb4a8c9f0e56c11d0b48dfc5a9ed8e403
That hash was independently verified. Snapshot lines 475043-475055
contain the table and INSERT. Its 190 insertion rows exactly equal the
190 frozen query rows and the catalog rows sorted by the composite key.
Both sides have 190 unique keys. Recorded rows remain comparison-only.

Changed existing expectations:
- initialize_pools returns success after its actual last pool step,
  instead of execution.continents.graveyard_init_owner.
- The authored map boundary and both frozen continent next refusals move
  from execution.continents.graveyard_init_owner, Map.cpp:196, to
  execution.object_mgr.dungeon_encounter_bounds_owner, called by
  Map.cpp:198 at WorldStateVariableManager.cpp:32. Tests first prove
  initialized pools and the real complete graveyard copy.
- World startup phases grow from 17 to 18, adding source line 1158
  between 1137 and 1196. All existing RNG, SQL and pool assertions stay.

Verified on Linux with mbx and the private catalog: focused graveyard
and ordering tests 4/4; full source_execution with canonical inputs and
with all canonical bindings unset, 1312/1312 each. Frozen seal16 loads
190 links with zero skips, copies 190 to each map, matches 26567/11895
map words, four map SQL statements and the graveyard query. Init adds
zero words and zero SQL. Unchanged seal8 matches 8713 words and 5324
spawn selections. No new UB sites; stock reach is zero.

Required runtime/sim all-target clippy, genmap and fmt check passed.
Python verification/native-starter/classic-export/initial-hooks suites
passed 61/182/347/22 tests. Initial new-test compile errors were fixed;
the first frozen comparison caught export-order mismatch before the
reference-environment correction. No assertion was weakened.
Main owns test-package-player.py; it was not run here. Native format 91
and admission remain unchanged. Worktree scratch removed; no push.

Ave Deus Mechanicus
Port F6.05a/b GO model lifecycle and the dynamic collision tree.
Preserve address-free construction, insertion and update. Refuse
GameObjectModel_allocation_owner only at order-dependent visited
multi-model queries. Cross-cell singleton queries retain grid order.
Keep BIHWrap increments before mutation and DynTreeImpl increments
after base mutation, with checked i32 overflow refusals on both sides
(src/game/vmap/BIHWrap.h:72,78; DynamicTree.cpp:66-76).

Retain constructor partial state at rotation refusal and Relocate's
earlier position write (GameObjectModel.cpp:91-103,183-193).
Preserve first-hit traversal and did_hit overwrite (BIHWrap.h:105;
DynamicTree.cpp:147). Matrix3 inverse literals are independently
hand-worked IEEE words from dep/g3dlite/Matrix3.cpp:399-434, not a
recorded inverse oracle. No recording or persisted format changes.
The one-radian authored inverse expectation changed from transpose
c/s words 3f0a5140/3f576aa4 to cofactor-inverse 3f0a5141/3f576aa6.
Its determinant is 3f7fffff and reciprocal is 3f800001. This changed
new assertion does not replace any recorded inverse oracle.

Shared native files are PROVENANCE.md, src/bih.rs and
src/live/{bih,mod,scene,tests}.rs. live/bih.rs exposes tree/objects
within its parent module; live/tests.rs exposes model, present,
deadline and rotation_binding fixtures without expectation changes.
New native files are live/dynamic_models.rs, dynamic_tree.rs and
dynamic_tests.rs.
Shared runtime source_execution files are mod.rs, continents.rs,
continents_tests.rs, gameobject_lifecycle.rs,
gameobject_lifecycle_tests.rs, gameobject_tests.rs, gameobjects.rs,
manager_dispatch.rs, manager_dispatch_tests.rs, spells/mod.rs,
spells/range_tests.rs, transports_elevator_tests.rs,
transports_movement.rs and transports_movement_tests.rs. New geometry
files are dynamic_models.rs, dynamic_tree.rs, dynamic_tests.rs and
dynamic_census_tests.rs.

Existing expectations migrate as follows:
- Continent cold rebalance/unbalanced fields become real tree
  timer_ms()/unbalanced() accessors; values 200/0 remain 200/0.
- gameobject_tests missing_collision and elevator constructor,
  relocation and raw-stock tests change
  execution.dynamic_collision_owner_unavailable to
  execution.dynamic_collision.gameobject_world_geometry_owner.
- range_los_static_block_short_circuits_dynamic_but_clear_refuses
  becomes ...clear_consults_tree. The clear branch changes
  execution.spells.Map_dynamic_tree_isInLineOfSight_owner to true,
  proving height/vmap/dynamic callback order. Static blocking remains.
- range_dest_and_source_los_failures_and_ignore_attributes changes
  the same missing-tree refusal to R::Ok, and the rangeindex=13
  is_err expectation to R::Ok with the dynamic callback trace.
- absent_f6_creation_refuses_before_set_membership_and_poison_is_sticky
  becomes
  unbound_geometry_prerequisite_refuses_before_model_and_membership.
  Its execution.transport.f6_dynamic_model_construct_insert_owner
  becomes execution.dynamic_collision.transport_world_geometry_owner.
  The retained-stock transport test changes the same expectation.
  The prerequisite test proves one geometry getter, no model,
  no construction, no acquired resource, no tree membership and
  sticky poison. Its positive companion proves one acquired model
  and four memberships. Transports.cpp:138,177 binds/reads the map
  before SetDisplayId at :186; GameObject.cpp:2083-2105 leads to
  GameObjectModel.cpp:91. Native transports_movement.rs:37-61
  therefore needs composition before model construction.

Stock census separates resource loads from conditional raw-pose calls:
GO templates loaded 8020, missing model-list entry 2665,
null display 59.
Raw spawn resource outcomes loaded 21780, missing entry 21650,
null display 62, unavailable effective template 3938.
MO transport template resources loaded 9.
Continent raw rows 43014 yield 19143 model insertions and 23871
null/unavailable templates, with no insertion refusals.
Potential overlap yes/no is 19097/46 inserted GO models in
multi-model/only-singleton cells, respectively, with 695/49 cells.
This is an upper bound ignoring event/pool selection and grid lifetimes,
not normal-run reach. Conditional transport insertions are 9,
with zero refusals and zero supplied allocation addresses.
Live lifecycle/query operands and actual occupancy are unavailable;
stock queries answered 0. Conditional undefined-read, cell-undefined
and counter-overflow reach are all 0, not measured normal-run reach.
The census now consumes verified creature rows before GO rows,
honouring effective_spawns.rs:90-99 rather than bypassing its refusal.

Verified on Linux with local rustc 1.100 through mbx: runtime transport
54 passed; full source_execution 1311 passed with canonical private
inputs and 1311 with inputs unset; stock resource/overlap/transport
census 1 passed; native-vmap 119 passed. Strict all-target clippy for
runtime/sim/native-vmap and workspace fmt passed. Python gates passed
58 verifier, 182 starter, 347 exporter and 22 initial-hook tests.
Genmap completed with 523 code entries and 8 CVar rows, no doc delta.
Clippy first found two redundant cloned singleton assertion operands;
using slice::from_ref preserves their expectations without allocation.
The first census failed at the preserved spawn-loader prerequisite;
the corrected census passed. test-package-player.py is owned by Main.

Rebased onto 0977573 without conflicts, retaining CreatureLevel,
MapEventPools and CI additions. Rebased source_execution passes
1318 with canonical private inputs and 1318 with inputs unset.
Rebased runtime/sim/native-vmap strict all-target clippy passes.
The initial broad app VMap run failed because the helper was linked
one directory too high. Its actual mbx test executable is under
debug/build/benilla-app/<hash>/out, so current_exe popped twice
requires the helper in <hash>, not benilla-app. No source fix or
assertion change was made for that environment prerequisite.

Corrected app products::vmap:: passes 222 tests with the actual helper.
Rebased app all-target strict clippy and fmt pass. Regenerated
docs/MAP.md and DEVIATIONS.md have no changes. Temporary helper links
are removed. Main's package-player gate is the only assigned omission.

Ave Deus Mechanicus
Copy World.cpp:1114,1208, ObjectMgr.cpp:9491-9494,5286-5356,
SQLStorages.cpp:42,57 and SQLStorageImpl.h:309,321,328. Keep the
credit-only clear on reload, validation precedence and multimap order.
Port WorldStateVariableManager.cpp:30-41,60-68,134-138 and defaults
from its header:31-39. Refuse the signed shift before indices >=31
and changed send-enabled variables at the missing broadcast owner.

The frozen reset binds pre-start-classicmangos.sql to SHA
31c558ac2cc3e48ec5b64117c7fbc70bb4a8c9f0e56c11d0b48dfc5a9ed8e403.
That snapshot was rehashed and matched. Its :561028-561040 MyISAM
instance_encounters table has primary key entry. db-snapshot.py:9
uses --order-by-primary. Preserve that reference-environment order,
not a SQL ordering guarantee. Recorded SQL remains comparison-only.

Changed existing tests in source_execution/world_scripts_tests.rs:
- eastern_constructor_and_initialize_draw_in_order_and_retain_base_stores:
  scalar map values become full default variable records; values,
  draw order, retained stores and four-word expectation stay unchanged.
- kalimdor_constructor_and_initialize_clear_every_derived_member_without_draws:
  scalar map becomes default records; retained value and zero draws
  stay unchanged.
- load_false_runs_initialize_again_after_the_constructor_for_both_scripts:
  scalar map becomes default records; both values and four/zero-word
  expectations stay unchanged.
- load_true_uses_snapshot_rows_and_inherited_empty_load_for_null_empty_and_nonempty_data:
  scalar map becomes default records; values, SQL and two/zero-word
  expectations stay unchanged.
- eastern_second_draw_failure_preserves_first_variable_and_refuses_before_sql:
  scalar map becomes default records; first value and refusal remain.
- incomplete_instance_refuses_before_attach_and_empty_events_reach_encounter_bounds_owner:
  missing bounds still refuse after copied graveyards; supplying loaded
  empty bounds now reaches SpawnManager.cpp:52's clock refusal with
  initialized pools and no additional draws.
- manager_dispatch_tests.rs:
  startup_dependencies_and_map_initialization_follow_pinned_source
  changes 18 world phases to 20, adding lines 1114 and 1208 in order.
- seal16_startup.rs frozen comparison changes the bounds refusal at
  WorldStateVariableManager.cpp:32 to the first SpawnManager clock
  operand at SpawnManager.cpp:52. All old word, SQL, pool and 190-row
  assertions remain; four complete encounter SQL results also match.

Adjacent existing files: source_execution/continents.rs binds loaded
bounds and the completed mask, world_scripts.rs calls SetVariable,
source_execution/mod.rs and production_compiler/catalog/mod.rs register
the new owners/readers, and docs/CMANGOS-PARITY.md records coverage.
New files: source_execution/encounters.rs, encounters_tests.rs and
production_compiler/catalog/encounters.rs. Native format remains 91.

Ave Deus Mechanicus
Handle failed per-message reply sends in the test-only resident owner
by stopping the owner, not by unwrapping SendError. A lost Route reply
cannot lead to a later commit notice or acknowledge undelivered facts.
Existing lost-ACK probes with live reply receivers keep their expected
historical bookkeeping and publication assertions unchanged.

Add the real-controller regression
`resident_controller_receiver_loss_stops_without_acknowledging_facts`.
Drop the first cold Route reply receiver before dispatch. Its zero-slot
message channel guarantees that the owner receives the actual request
before the caller finishes. Check the exact worker rollback and one
staged candidate with zero acknowledged candidates and no commit notice.

The regression failed at the actual owner send with SendError before
the fix, in 11.57 s. All changes stay in
native_geometry/source_route_resident_controller.rs, which mod.rs gates
with cfg(test). No production owner or route budget changes.

The receiver-loss regression passed after the fix in 15.91 s. Its
unchanged cold-route producer completed without SendError, with one
staged candidate and no acknowledgement or commit notice.

The full source_route module passed 202 tests serially in 1596.01 s
using the pre-lint binary. A later lint-only rewrite replaces is_some
plus unwrap in the new regression with the equivalent tuple if-let.
On the final binary, the complete resident_controller module passed
all eight tests serially in 134.74 s. App all-target clippy passed with
-D warnings and no allowances. Workspace fmt check and genmap passed;
the output-verifier gate passed all 61 cases. Linux only; Windows
receiver-loss behavior still needs its real CI runner.

Ave Deus Mechanicus
Add test-only request timing in quest_loop_tests.rs and request-age
samples to the existing cfg(test) phase log in native_geometry/core.rs.
Document the actual timing contract in native_geometry/README.md and
regenerate docs/MAP.md and docs/DEVIATIONS.md. Production WAIT remains
500 ms at core.rs:35,1697,1816; mod.rs:8 includes core without cfg(test).
Production session admission remains closed. No deadline is extended,
no facts are substituted and no stock assertion is changed.

Both existing tests retain their original single-attempt expectations:
`installed_loaded_quest_loop_completes_stock_commands_in_both_orders_and_role_ids`
`installed_loaded_quest_loop_rolls_back_late_giver_and_retries_durable_publication`
Their success, role-order, exact-candidate, rollback and durable
publication assertions are unchanged. This commit measures the flake;
it does not claim to fix availability under arbitrary host load.

Read the 0977573 precedent before measuring. Twelve arithmetic
workers sharing CPUs 0-3 passed both instrumented tests in 14.51 s;
96 workers passed both in 57.27 s. The first Route consumed 18.172 ms
and 45.308 ms of its 500 ms window respectively. At 96 workers the
45.308 ms comprised 15.590 ms sampled service and 29.717 ms outside it.

Reproduce both reported tick-1 failures with 96 workers, nice 15 tests
on CPUs 0-3 and active world-runtime rustc builds. Route calls took
562.651 and 580.366 ms; neither test passed, in 76.72 s. The first
sampled 117.282 ms in service plus 292.773 ms outside through 410.055 ms.
Attempts ending at body_model, owner_state and gate took 40.929,
36.788 and 38.376 ms. The second sampled 213.375 ms in service plus
227.607 ms outside through 440.982 ms; final certification took
142.982 ms. These are elapsed samples, not CPU or preemption counts.
MemAvailable was 279668 KiB, zram usage 9971684 KiB, disk swap usage
232400 KiB, and load average 105.78, 86.82, 49.46. No memory hog was used.

A test-only three-attempt, exact-Deadline-only retry experiment also
failed both tests under an independently compiled runtime test unit,
the same 96 workers and nice 15. Own rustc used 352 percent CPU at
preflight, MemAvailable was 7590060 KiB and zram used 5546932 KiB.
Failing Route attempts took 599.083, 697.884, 691.760 ms and 656.358,
618.419, 651.621 ms. Both exhausted two retries; neither test passed
in 257.17 s. Later samples still reached 85-192 ms at body_model,
77-112 ms at owner_state and 126.667 ms at prepare_constructor.
Remove the disproved retry code and its obsolete helper tests.

The owned rustc completed partway through the first two-test repetition.
Its preflight proved live compilation, not continuous compilation across
both tests; no repetition is counted as a completed controlled-load
acceptance pass. The other two repetitions were not run.

A fixed wall-clock contract cannot guarantee success when the host
can deschedule its caller beyond that deadline: core.rs:1936-1946
also rejects an already-buffered late reply. Warm-up cannot bound
subsequent descheduling. Separating functional quest assertions from
this timed transport contract needs an explicit coverage decision.
The required three passing repetitions of both tests remain unmet.

The pre-lint candidate binary passed all 202 source_route tests
serially in 1596.01 s; that binary still included the rejected retry
experiment. The final receiver-loss binary passed all eight
resident_controller tests in 134.74 s after an equivalent tuple
if-let lint correction. No full-suite result is presented as proof
that the withdrawn retry experiment solved starvation.
The output-verifier gate passed 61 cases. Windows was not run.

After removing the failed experiment, exact app all-target clippy
passed with -D warnings and no allowances, in 1m 29s. Workspace fmt
check and genmap passed again. Timing and source budgets remain
unchanged; no passing six-run result is claimed.

Ave Deus Mechanicus
Bind SpawnManager.cpp:50-109 to loaded persistent, linking and group
owners, then Map.cpp:202-214 to MMap and active grid execution.
Keep missing loaded template stores as named refusals at
GameObject.cpp:109 and Creature.cpp:1655, without constructing templates.

The seal16 comparison previously stopped at the Initialize time owner;
it now checks both complete Initialize inventories and first grid
prefixes. Independent catalog 757dcfb8 plus frozen mixed-entry choices
prove map0 C445/GO41 and map1 C2015/GO41, not assumed zero GUIDs.
Snapshot cf538fd2 proves zero respawn deadlines. Frozen group snapshots
prove 623/458 groups. Recorded choices remain comparison-only.

The existing
seal16_full01_terrain_spawn_and_event_startup_matches_or_names_first_unported_owner
test changes its expected stop from the Initialize clock owner to the
two loaded-template owners, retaining earlier prefix comparisons.

Changed existing test
incomplete_instance_refuses_before_attach_and_empty_events_reach_encounter_bounds_owner
in world_scripts_tests.rs: after complete encounter owners, the old
Initialize-clock refusal becomes successful pre-Initialize preparation.
Earlier refusals and assertions remain unchanged. Existing tests in
assistance_lifecycle_tests.rs, creature_lifecycle_tests.rs,
gameobject_lifecycle_tests.rs, manager_dispatch_tests.rs and
spawn_manager_tests.rs only migrate trait signatures; expectations stay.

Add strict GO expiry, clock/linking refusal ordering, inherited encounter,
grid product ordering and per-thread clock binding tests.
Adjacent files: continents.rs, spawn_manager.rs, world_scripts.rs,
geometry/terrain_manager.rs, spawn_groups/catalog.rs, seal16_startup.rs,
seal16_spawn_init.rs, seal16_active_init.rs, terrain_startup_tests.rs and
README.md. README now states the reached template boundaries.
Native format remains 91.

Verified 1340 source_execution tests with canonical private inputs and
1340 with all ten inputs unset, 33 spawn_manager tests and three focused
owner tests. Runtime/sim all-target clippy passes with required flags.
genmap, workspace fmt check and Python gates 61/182/347/22 pass.

Ave Deus Mechanicus
`crates/benilla-native-vmap/src/live/dynamic_tree.rs` imports the
existing BIH builder through its relative module path.
`crates/benilla-native-geometry-tests/src/lib.rs` includes that same
builder source so the path-included live owner resolves it locally.
`crates/benilla-native-vmap/src/live/dynamic_models.rs` iterates
position values in the same axis order, adding each to low then high.
Regenerate `docs/MAP.md` and `docs/DEVIATIONS.md` with genmap.
No existing test assertions or expectations change.

Linux verification passed: geometry no-run, all 851 geometry tests,
all 119 native-vmap tests, both isolated native-vmap-source feature
boundary clippies, native-vmap/world-runtime all-target clippy with
the assigned allowances, 32 focused runtime dynamic tests, fmt check,
and genmap. Build the real native navigation helper with mbx in this
worktree's own target directory before the scoped geometry tests.

The initial geometry run had 828 passes and 23 missing-helper failures.
A temporary same-target symlink resolved 22 of those failures, giving
850 passes and one failure. The diagnostic test requires a regular
file, not a symlink, per `diagnostic_navigation.rs:375-378` under
`benilla-app/src/net/p2p/world/native_geometry/products/vmap/`.
With a temporary hard link to the helper built in this target, the
focused diagnostic test and all 851 geometry tests passed. Both
temporary links were removed. No locator or repository workaround
was added. Hosted CI still needs to rerun.

Ave Deus Mechanicus
Bind PathFinder.cpp:35-54,306-383,1030-1120 to live terrain,
liquid and per-instance MMap query owners. Keep constructor RNG empty,
retained OR filters and source cache order. Preserve absent-prior
intent at :410,717,830,1400 and refuse unwritten query reads.

Follow the sealed GCC 12.2.0 liquid compare-first binary because
WorldModel.cpp:159/163 source casts have undefined negative operands.
Keep nonfinite and overflowing conversions refused. Record the
owner-approved deviation with disassembly and probe evidence.

Changed existing tests, old -> new expectations:
- motion/wander_tests.rs
  initialize_pushes_wander_and_sets_roaming_before_first_f6_call,
  initialize_zero_and_negative_radius_still_construct_without_loader_repairs,
  reset_zeroes_timer_before_roaming_and_f6_without_clearing_motion:
  constructor-owner refusal -> live-geometry-owner refusal.
- motion_master_tests.rs
  home_empty_target_ignores_orientation_and_falls_back_before_f6_path,
  home_prefers_previous_generators_reset_position,
  home_exact_far_threshold_still_requires_path,
  home_far_in_dungeon_still_requires_real_path:
  constructor-owner refusal -> live-geometry-owner refusal.
- motion/waypoint_tests.rs
  initial_delay_does_not_defer_first_path_send_and_single_node_delay_stays_zero:
  constructor refusal -> calculate refusal after proven construction.
- motion_census_tests.rs
  catalog04_motion_defaults_and_eventai_census_or_explicit_absence:
  unbound constructor gate -> explicit live-geometry gate.
- geometry/mmap_census.rs
  frozen_products_load_or_name_each_refusal_and_real_no_nav_branch:
  zero construction output -> actual frozen constructor census.
- native-vmap/src/live/tests.rs
  liquid_float_to_unsigned_refuses_undefined_conversion_before_negative_check
  -> liquid_negative_coordinates_follow_sealed_compare_before_conversion:
  negative finite coordinate refusal -> no liquid.

Adjacent files: native-nav/native/bridge.cpp, native-nav/src/live.rs;
world-runtime/README.md, source_execution/mod.rs, unit_ai.rs,
motion_master.rs, motion/home.rs, motion/wander.rs, motion/waypoint.rs,
geometry/environment.rs, geometry/terrain_manager.rs,
geometry/mmap_manager.rs; native-vmap/src/live/scene.rs,
native-vmap/PROVENANCE.md; generated docs/MAP.md and DEVIATIONS.md.
Test-only map/tile helpers are parent-visible and the liquid helper is
source_execution-visible. Production readers remain unchanged.

New native live_pathfinder and runtime geometry/pathfinder owners and
tests cover nearest lookup, distance intent, filters and stock census.
No native format bump or whole-gameplay equality claim is added.

Verified focused 39, private/unset source_execution 1337 each,
native-nav 206, native-vmap 120 and 35 doctests. Strict clippy,
feature boundaries, genmap, fmt and four Python gates passed.
Geometry tests failed only at pre-existing dynamic_tree.rs
crate::SourceBih/BihBuildError paths fixed separately in 602158b.

After rebasing onto 602158b, verified geometry 852, focused 39,
private/unset source_execution 1348 each, strict runtime/sim/vmap
all-target clippy and fmt. The real same-target navigation helper
was temporarily hard-linked for relocated geometry test discovery
and the link was removed afterward. Genmap was regenerated.
The additive terrain_manager conflict retains both diagnostic fields.
Stock Wander constructors rise 11069 -> 11092 and Waypoint 565 -> 571.
All 29 finite-negative liquid probes now reach the next real owner.

Ave Deus Mechanicus
Add `#[cfg(test)]` request lifetimes to `LocalAuthority` and
`MailboxRouteCommitSink`. The paired setter
`set_request_lifetime_for_test` configures both transports. Only the two
installed quest-loop functional tests opt into 5 seconds. This is over
seven times the measured roughly 700 ms starvation and stays below the
20 s inspection and 90 s fixture waits. Report actual remaining time in
the test diagnostic instead of deriving age from a fixed `WAIT`.

Production `WAIT` stays 500 ms and execution slices stay 2 ms. Both test
transports default to `WAIT`. Add a default-mailbox assertion for 500 ms;
the default resident `RouteBudget` assertion also requires 500 ms.
No deadline or timing fixture calls the new setter.

Unchanged coverage includes all 14 core `deadline_tests`, receiver
timeout and buffered-reply expiry, route-control absolute expiry, staged
job and route-body original expiry, NearPoint and environment/location
mailbox expiry, resident dispatch/FIFO expiry, retained route stages,
post-mint retirement, replay expiry and finite-loop expiry recovery.
The conservative deadline/timing sweep passed 419 cases in total.
Its first run had 18 missing-helper failures; build the genuine native
navigation helper and all 18 prerequisite cases pass on their rerun.
Two pre-existing opt-in timing diagnostics remained ignored.

Run both mandatory original500ms F05 fault gates explicitly in release:
- `resident_f05_held_source_control_cancel_and_quit_never_ack`: PASS
- `resident_f05_current_scene_and_source_changes_refuse_before_save`: PASS
Both passed serially, 2 passed and 0 ignored, in 36.67 seconds.

Run the stock-command role/order test three times under real compilation
and 96 nice-15 CPU burners on the same CPUs 0-11:
- 23.776 s: PASS
- 18.478 s: PASS
- 19.364 s: PASS
Run rollback/durable-publication three times under the same load:
- 7.421 s: PASS
- 5.686 s: PASS
- 5.824 s: PASS
The scratch-target `benilla-world-runtime` no-run compile used
`RUSTFLAGS='--cfg quest_loop_split_load'` and stayed live for all six runs.
`pgrep`/`ps` recorded real `rustc` processes, PID 1541120 at 57.1% CPU.
MemAvailable ranged from 9,727,908 to 10,936,944 kB; zram data was
4.5-4.8G with about 1.5G compressed. The scratch compile completed.

Verify on Linux with `mbx` and the dedicated `quest-loop-split` target:
- Full `source_route_same_polygon_local` module serially: 24 passed.
- `mbx clippy --locked -p benilla-app --all-targets -- -D warnings`:
  PASS.
- `mbx fmt --all -- --check`: PASS.
- `bash scripts/genmap.sh`: PASS.
Build the real debug and release navigation helpers for resident tests.
Windows was not run on this Linux host.

Ave Deus Mechanicus
Port ObjectMgr.cpp:391-575,801-868,6926-7194 at 8ec338a1.
Keep SQLStorage conversion, indexed creatures, raw GO row order,
script IDs, validation fixups, diagnostics and transport displays.
Compare the six MAX/COUNT/SELECT queries without consuming RNG.
Keep native format 91 unchanged.

Bind both SELECT input orders to restored primary-key order.
This is reference-environment behaviour, not an engine guarantee.
`f1/db-snapshot.py:9` uses --order-by-primary. The Classic snapshot
selected by `seal16-full-01/reset.json:5-7` has SHA-256
31c558ac2cc3e48ec5b64117c7fbc70bb4a8c9f0e56c11d0b48dfc5a9ed8e403.
Both templates have PRIMARY KEY(entry), `mangos.sql:1325,2116`.
`ObjectMgr.cpp:7019` walks SQLSIterator over the base record array,
not SQLHashStorage's unordered_map, `SQLStorage.h:171`.
Check every converted SELECT row against the retained catalog.
Prove transport displays follow the supplied restored row order.

New runtime source_execution files are `loaded_templates.rs`,
`loaded_templates/catalog.rs`, `loaded_templates/tests.rs`,
`seal16_templates.rs` and `seal16_template_order.rs`.
The fixed catalog readers are
`production_compiler/catalog/loaded_templates.rs` and
`production_compiler/catalog/template_equipment.rs`.

Adjacent files in runtime src/native:
- `source_execution/mod.rs` exports the immutable owners.
- `source_execution/creature_level.rs` exposes loaded stats validity.
- `source_execution/seal16_active_init.rs` binds loaded templates.
- `source_execution/seal16_startup.rs` compares SQL and GUID identity.
- `production_compiler/catalog/mod.rs` registers the fixed reader.
- `production_compiler/catalog/effective_spawns.rs` shares script IDs.
- `production_compiler/catalog/dbc_transports.rs` reuses DBC path keys.
The sim `src/creature_init/source_level.rs` exposes the source
GetCreatureClassLvlStats validity predicate.

Runtime README.md documents the owners. Replace its original
lines 2382-2385, which described the missing template checkpoints,
with the reached missing spawn-field reads. Run scripts/genmap.sh
for docs/MAP.md and docs/DEVIATIONS.md.

Changed existing test:
`seal16_full01_terrain_spawn_and_event_startup_matches_or_names_first_unported_owner`
in source_execution/terrain_startup_census.rs, through its helper in
seal16_startup.rs. Map 0 previously refused the loaded GO template
at GameObject.cpp:109 with zero candidate allocations. It now
allocates one candidate and refuses loaded animprogress at :896.
Map 1 previously refused the loaded creature template at
Creature.cpp:1655. It now binds the GUID and InitEntry fields before
refusing loaded spawn-template modelId at :666, still one candidate.
Both retain zero completed objects. Extend the lookup assertions
and prove every preceding read and field write before moving either
refusal. Compare the creature GUID with frozen trace line 60310195.
Existing RNG, SQL, pool, grid and group assertions stay intact.

Full source_execution passes 1358 tests with all private variables,
then 1358 with all twelve unset. Focused seal16 passes nine tests;
fixed template and equipment readers pass two plus one tests.
Stock loaders retain 10384 creature and 10744 GO rows with no UB
reach or refusals. Creature fixes are 8245 scales and two type masks;
125 vendor diagnostics remain. GO diagnostics are 11 absent traps
and 164 consumable values, with no changes to those values.
The ordered transport display vector has 44 elements.

Required clippy, workspace format check and genmap pass.
Python verification counts are 61 libtest-output, 182 native-starter,
347 classic-export and 22 initial-hooks tests, all passing.

Ave Deus Mechanicus
Load creature spawn templates and bind their default, explicit and
fallback pointers before map startup. Reuse the effective GO defaults
and addon overlay rather than stopping at an already loaded field.

Port ObjectMgr.cpp:1758-1824,1971,2020-2025,2164-2165,2252-2282.
World.cpp:959,1060,1066,1072 orders their prerequisites. The addon
check uses the previous state after writing animation, as the source
does. Missing template 0 remains null until Creature.cpp:666.

Fixed catalog readers compare both recorded SQL requests and every
converted field. Restored primary-key order is reference-environment
behaviour, following seal16_template_order.rs:86-118. It is not an
SQL ordering guarantee. No RNG draw or native format change is added.

New files under crates/benilla-world-runtime/src/native:
- source_execution/loaded_spawn_data.rs
- source_execution/seal16_spawn_data.rs
- production_compiler/catalog/spawn_data.rs

Adjacent files under that same native directory:
- source_execution/mod.rs registers the loaded owner.
- source_execution/effective_spawns.rs cites the GO default.
- source_execution/effective_spawns_catalog.rs binds loaded IDs
  and uses the fixed addon reader.
- source_execution/effective_spawns_tests.rs adds binding, null
  pointer, default and addon validation boundary tests.
- source_execution/seal16_active_init.rs reads the loaded operands
  before refusing the next missing model RNG or GO Create owner.
- source_execution/seal16_startup.rs compares SQL and census data
  and checks all operands before the moved refusals.
- source_execution/terrain_startup_census.rs binds the loaders
  before executing source spawn rows.
- production_compiler/catalog/mod.rs registers the fixed readers.
- production_compiler/catalog/effective_spawns.rs removes the
  obsolete generic reader entries after migrating every caller.

crates/benilla-world-runtime/README.md replaces the obsolete stop
points and documents loader order, validation and named UB refusals.
Run bash scripts/genmap.sh for docs/MAP.md and docs/DEVIATIONS.md.

Changed existing test, source_execution::terrain_startup_census::
seal16_full01_terrain_spawn_and_event_startup_matches_or_names_first_
unported_owner, through seal16_startup::continue_startup:
- Old map 0 expectation: missing animprogress, GameObject.cpp:896.
  New: missing loaded Create owner, GameObject.cpp:923.
- Old map 1 expectation: missing spawn template, Creature.cpp:666.
  New: missing loaded model RNG owner, Creature.cpp:678.
Both still allocate one candidate and complete zero objects. Added
lookup and exact operand assertions prove the earlier steps ran.
No existing assertion or refusal is loosened.

The shared frozen_startup helper also serves the existing seal8 test,
seal8_full08_terrain_and_spawn_prefix_matches_or_names_first_unported_
owner. Its old and new expectation is the same lunar dispatch refusal.
Only its addon reader changes; no seal8 assertion changes.

The independently authenticated reset snapshot has 78 spawn templates,
66,436 creatures and 47,430 GOs. Addons cover 1,242 GOs, leave 46,188
on defaults and have three orphan GUIDs. All 142 explicit creature
template bindings exist. Fallbacks, name/string fixes and scan-overflow
reach are zero. The full signed composite template primary key drives
row order before duplicate Entry values overwrite their loaded map key.

Verification on Linux x86_64:
- Full source_execution suite passes 1,369 tests with the supplied
  private variables and 1,369 with all those variables unset.
- Focused effective_spawns 26, spawn_data 4 and loaded_spawn 2 pass.
- Requested runtime/sim all-target clippy command and fmt check pass.
- genmap and Python verify-libtest-output 61, native-starter 182,
  classic-export 347 and initial-hooks 22 pass.

Seal16 matches world 8,712 words and maps 0/1 at 26,567/11,895 words.
Both new SQL requests and every converted row field match. The
clone-only next world word remains 3411341330 at raw position 8712.
Null spawn-template dereference Creature.cpp:666, empty addon query
ObjectMgr.cpp:2255 and unsigned scan overflow Field.h:63 each have
zero stock reach and tests on both sides.

Ave Deus Mechanicus
Keep the bounded Mesh and SourceMapQuery contracts and tests unchanged.
Give live MapMesh a separate allocation-free structural reader. Keep
connections in the existing pinned bridge, without repairing products
or implementing portal matching in Rust.

D below is the pinned Detour/Source/DetourNavMesh.cpp. M is the pinned
src/game/MotionGenerators/MoveMap.cpp, both at CMaNGOS 8ec338a1.
The exclusive stock first-refusal classification is a/b/c/d = 0/840/0/0.
The original 454 accepted tiles plus those gaps cover all 1,294 products.
The existing bridge insertion observer accepted all 1,294 under ASan and
UBSan. Preserve the prior aligned-base representation separately.

Remove live-only restrictions on reflex coarse polygons, distinct coarse
indices, reciprocal/reversed adjacency and self-neighbours. D:524-557
builds links from indices. DetourCommon.cpp:238-251 uses polygon parity.
Remove vertex/header enclosure and filename/native-coordinate equality;
D:925-927 keys native coordinates, and D:989-996 retains vertex arrays.
D:822-834 clamps the query box, not the serialized vertices.

Remove reconstructed detail-edge uniqueness, pairing, boundary cycles,
coarse boundary order, winding, range contiguity, unused padding and
aggregate coverage assumptions. D:632-674 scans serialized edges and
flags. D:699-724 reads indexed triangle ranges independently.
DetourCommon.cpp:214-225 handles both determinant signs. Remove BV tree
shape, coverage, depth, padding and geometric enclosure assumptions;
D:808-859 traverses node indices and escapes without those predicates.
Keep checked sections, actual indices and in-array BV escapes.

Remove seed polygon, link, detail and total-detail count caps, exact
link-capacity equality, the 8,388,608-edge load-work cap, the 1,048,576
portal-comparison cap and one-to-one portal matching. D:918-923 excludes
the polygon cap under DT64. D:979-996 uses the actual section sizes.
D:339-347 truncates to four matches; D:122-128,418-419 drops links when
the pool is exhausted. Preserve those defined native outcomes.

Admit magma/slime and source filter flags. MoveMapSharedDefines.h:48,60
names area/flag 8. DetourNavMeshQuery.cpp:87-91 applies bit masks.
Ignore unused outer dtVersion/usesLiquids and polygon/detail padding,
matching M:232-267 and D:540-543,632-648. Keep outer magic/version,
payload framing, native magic/version, slot failures and failure-bit
handling. M:235-278 and D:913-970 define those source outcomes.

Admit real offmesh records. D:568-615,760-805 uses squared nearest
arithmetic, not the sqrt claimed by the old guard. Check actual
connection indices and D:1521-1523's unsigned base-relative lookup.
Cardinal portal direction uses the low byte as D:406-415 does. Keep
profile exclusions separate from named undefined fixed-array accesses.
Retain named guards for zero link capacity, polygon array overflow,
coarse/detail indices, internal neighbour indices, detail ranges,
noncardinal slabs, missing selectable boundaries, BV indices/escapes
and offmesh indices. Their stock reach is zero. D:1004,540-543,646-648,
673,705-708,76-112,829-855,1521-1523 identify the unsafe dependencies.

Change one existing test in src/live_tests.rs. Rename
`detour_header_failures_keep_source_status_and_offmesh_numerics_are_not_approximated`
to `detour_header_failures_and_truncated_offmesh_sections_preserve_state`.
For its count-only malformed offmesh mutation, old expectation is
LiveError::OffMeshNumericBinding; new expectation is
LiveError::Validation(Error::Framing). It declares a connection without
its record. D:988-996 would point beyond the payload and D:568-571
would read it. Keep the refusal and all slot/link/status assertions.
No other pre-existing test or bounded predicate is weakened.

Add nine tests in src/live_admission_tests.rs:
- live_detail_winding_preserves_both_source_determinant_signs
- live_structural_ub_guards_preserve_slots_and_accept_the_safe_side
- live_preserves_reflex_and_repeated_coarse_indices
- live_preserves_finite_vertices_outside_the_header_enclosure
- live_scans_duplicate_flagged_and_disconnected_detail_edges_without_repair
- live_magma_and_ignored_outer_metadata_follow_source
- live_uses_payload_counts_not_bounded_seed_polygon_and_detail_caps
- live_native_portals_keep_four_match_truncation_dropped_links_and_large_load_work
- live_offmesh_uses_pinned_squared_nearest_and_rejects_out_of_range_connections

Add runtime tests in geometry/mmap_manager_tests.rs for named undefined
reads with preserved manager state and for magma/unused outer metadata
through actual source framing. The authored offmesh connection crosses
a real gap to an isolated polygon and asserts native link order.

Changed production/adjacent files are src/validate.rs, the new
src/validate/live.rs, src/live.rs, geometry/mmap_manager.rs and
benilla-native-nav/PROVENANCE.md, plus the test files named above.
Remove obsolete cached live topology, not bounded validation logic.
No serialized state, digest, profile or native format change. Format 91.
No extraction, product regeneration, recording, push or deployment.

Name the two runtime tests:
- live_tile_admission_names_undefined_reads_without_mutating_manager_state
- live_magma_and_unused_outer_metadata_load_through_source_framing

Verified on Linux x86-64:
- Native-nav: 215 unit tests and 35 doctests passed.
- Full source_execution: private 1,350 passed; unset 1,350 passed.
- Native-nav/runtime/sim all-target clippy passed with -D warnings,
  -A deprecated and -A clippy::needless_borrows_for_generic_args.
- mbx fmt --all -- --check passed. Regenerate docs/MAP.md and
  docs/DEVIATIONS.md with genmap.
- Python gates passed: verify-libtest-output 61, native-starter 182,
  classic-export 347 and initial-hooks 22.
- The winding regression was observed red before the live split and
  green afterward. No geometry harness/app geometry source was touched.

The final stock census loads 1,294 tiles and refuses zero, against
454 loaded / 840 refused before. Two meshes and all 411 true absent
tiles retain their source branches. All guarded stock UB sites reach
zero, including partial headers, short params and config atoi.

PathFinder constructor probes before/after:
- Wander: 11,092 / 35,898 constructed from 43,119 opportunities.
- Waypoint: 571 / 1,908 constructed from 2,931 opportunities.
- Home recorded opportunities remain unavailable, not inferred zero.
- Format, topology, offmesh and budget stops become zero.
- Wander remaining stops: missing mesh 2,135; effective template 2,674;
  missing terrain 2,234; WMO area catalog 61; VMap product 117.
- Waypoint remaining stops: missing mesh 433; effective template 242;
  missing terrain 345; WMO area catalog 3.
The newly reached Wander WMO-area stops rise from 12 to 61. These are
diagnostic template/pose probes, not recorded calls or F1 acceptance.

Ave Deus Mechanicus
Execute model selection on the calling map stream and load complete
creature model storage before constructing the first grid objects.
Reuse GO construction, dynamic models and creature level/stat owners.

Source: Creature.cpp:346-612,657-702; ObjectMgr.cpp:1615-1731;
GameObject.cpp:178-289,870-969; World.cpp:962-1021. The model reader
has its own fixed eight-column projection and refusal tests.

All paths below are relative to crates/benilla-world-runtime.
Adjacent files in src/native/source_execution are mod.rs, creatures.rs,
seal16_active_init.rs, seal16_startup.rs and seal16_templates.rs.
Also update src/native/production_compiler/catalog/mod.rs and README.md.
Regenerate docs/MAP.md and docs/DEVIATIONS.md at the repository root.

New source_execution files are creature_display_tests.rs,
loaded_creature_models.rs, loaded_creature_models_tests.rs,
seal16_creature_entry.rs, seal16_creature_models.rs,
seal16_gameobject_init.rs and seal16_gameobject_models.rs.
The new fixed reader is production_compiler/catalog/creature_models.rs.

Changed existing test in source_execution/terrain_startup_census.rs:
seal16_full01_terrain_spawn_and_event_startup_matches_or_names_first_unported_owner
Old GO expectation: refuse before Create at GameObject.cpp:923, with
no assigned GUID. New expectation: bind GUID 3211/18, execute the
model, READY state, animation and live zone 33, then refuse the
OutdoorPvP script lookup at GameObject.cpp:289. Assert the real
Map.dbc non-battleground predicate before that live terrain query.
Old creature expectation: refuse before the display draw at
Creature.cpp:678. New expectation: execute display/gender, InitEntry,
level/stats and UpdateEntry, then refuse the spell-list store lookup
at Creature.cpp:2439. Assert legacy key 469200 is nonzero, so the
zero-list branch at :2428 does not run. The lookup sequences now
assert these executed owners and retained fields. Both maps still
complete zero objects; map 1 advances by two actual RNG words.

Seal16 matches world 8712, thread 6 26567 and thread 7 11897 words.
The new irand result is 93 and the level result is 33, independently
checked against the frozen trace. Match three model SQL statements,
10534 model rows and 26 tracked SQL statements in total. All five
undefined-behaviour guards have zero stock reach and both-side tests.
No native state, digest, profile or format changes; format stays 91.

Linux x86_64 checks pass: private source_execution 1379, unset 1379,
new focused tests 12, existing GO tests 75, requested runtime/sim
all-target Clippy, fmt check and genmap. Python gates pass with counts
61, 182, 347 and 22. Keep private inputs read-only and do not push.

Ave Deus Mechanicus
Keep the exact resident-controller verifier list in sync with all eight
module tests. The other CI reference selects one test explicitly, and
the Windows job has no duplicate expected-name list.

Verified 61 Python verifier tests and the exact CI command plus its
eight-name verifier on Linux x86_64, 8 passed with none ignored.
The run used a temporary hard-linked navigation helper inside the
isolated cifixes target because of the local mbx executable layout.
The link was removed after the run.

Ave Deus Mechanicus
Do not compile the request-lifetime helper in the headless geometry
harness, where its concrete app test callers do not exist. Match the
existing non-headless test cfg instead of suppressing dead-code lint.

Verified geometry-harness all-target clippy with warnings denied and
app/nav/runtime all-target clippy with the requested allowances on
Linux x86_64.

Ave Deus Mechanicus
The native bridge deliberately refuses live MMap allocation off x86_64.
Keep that gate unchanged. Tests now assert its exact refusal before
mesh/query or PathFinder construction. Shared fixtures return None only
off x86_64. The waypoint caller returns only for that None.

Every test below previously expected the stated x86_64 behavior on all
architectures. Its x86_64 expectation is unchanged. Off x86_64, its new
expectation is the listed refusal and no subsequent native work.
Runtime refusal paths assert zero meshes, tiles and query allocation;
the shared PathFinder fixture also asserts zero constructor completions.

live_tests.rs
source_order_assigns_slots_and_remove_reinsert_increments_salt
Old on all platforms; unchanged on x86_64: slot/link order and salted
reinsertion.
New off x86_64: NumericBinding.

live_tests.rs
instances_share_mesh_not_query_and_unload_fences_stale_allocations
Old on all platforms; unchanged on x86_64: shared mesh, distinct
queries, stale-query fencing.
New off x86_64: NumericBinding.

live_tests.rs
malformed_duplicate_and_full_mesh_loads_preserve_links_and_free_slots
Old on all platforms; unchanged on x86_64: malformed/duplicate/full
failures preserve state.
New off x86_64: NumericBinding.

live_tests.rs
free_slot_salts_and_links_keep_source_history_after_failed_validation
Old on all platforms; unchanged on x86_64: free-slot salts and source
link history.
New off x86_64: NumericBinding.

live_tests.rs
detour_header_failures_and_truncated_offmesh_sections_preserve_state
Old on all platforms; unchanged on x86_64: native header status and
truncated-offmesh framing refusal.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_detail_winding_preserves_both_source_determinant_signs
Old on all platforms; unchanged on x86_64: both determinant signs load.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_structural_ub_guards_preserve_slots_and_accept_the_safe_side
Old on all platforms; unchanged on x86_64: exact undefined-read
refusals, safe-side loads.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_preserves_reflex_and_repeated_coarse_indices
Old on all platforms; unchanged on x86_64: live loads, bounded Mesh
refuses.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_preserves_finite_vertices_outside_the_header_enclosure
Old on all platforms; unchanged on x86_64: finite out-of-enclosure
loads, NaN refuses Format.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_scans_duplicate_flagged_and_disconnected_detail_edges_without_repair
Old on all platforms; unchanged on x86_64: live loads, bounded Mesh
refuses.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_magma_and_ignored_outer_metadata_follow_source
Old on all platforms; unchanged on x86_64: magma/ignored metadata load,
bad magic refuses Format.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_uses_payload_counts_not_bounded_seed_polygon_and_detail_caps
Old on all platforms; unchanged on x86_64: large payload counts load,
truncation refuses Framing.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_native_portals_keep_four_match_truncation_dropped_links_and_large_load_work
Old on all platforms; unchanged on x86_64: four-match truncation,
exhausted links, large loads.
New off x86_64: NumericBinding.

live_admission_tests.rs
live_offmesh_uses_pinned_squared_nearest_and_rejects_out_of_range_connections
Old on all platforms; unchanged on x86_64: squared-nearest links and
exact offmesh-index refusals.
New off x86_64: NumericBinding.

live_pathfinder_tests.rs
all_five_scalars_at_four_declarations_use_absence_and_near_then_far_boxes
Old on all platforms; unchanged on x86_64: all five scalar declarations
and near/far boxes.
New off x86_64: NumericBinding.

live_pathfinder_tests.rs
defined_priors_and_retained_loop_lifetime_preserve_source_append_predicate
Old on all platforms; unchanged on x86_64: prior-distance append
predicate and retained-loop lifetime.
New off x86_64: NumericBinding.

live_pathfinder_tests.rs
active_then_tail_ties_and_clear_keep_real_storage
Old on all platforms; unchanged on x86_64: active/tail tie order and
cache storage.
New off x86_64: NumericBinding.

live_pathfinder_tests.rs
per_instance_identity_and_removed_polygon_refs_are_not_reconstituted
Old on all platforms; unchanged on x86_64: instance identity and removed
refs.
New off x86_64: NumericBinding.

live_pathfinder_tests.rs
nearest_ties_keep_source_visit_order_and_use_the_actual_filter
Old on all platforms; unchanged on x86_64: nearest tie order and actual
owner filter.
New off x86_64: NumericBinding.

geometry/mmap_manager_tests.rs
source_load_false_branches_are_not_native_refusals_and_preserve_state
Old on all platforms; unchanged on x86_64: source absence/bad
headers/load results and stale-query state.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
missing_expected_products_and_unknown_acquisition_never_become_source_absence
Old on all platforms; unchanged on x86_64: map/tile product unavailable
refusals.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
short_params_and_partial_headers_refuse_but_empty_keeps_constructor_defaults
Old on all platforms; unchanged on x86_64: short params/partial headers
refuse, empty header returns ReadFailed.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
map_only_upgrades_in_place_and_source_no_nav_false_still_marks_fully_loaded
Old on all platforms; unchanged on x86_64: map-only upgrade with
immutable tile absence.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
map_startup_navigation_dispatch_uses_concrete_owner_and_ignored_maps_still_load
Old on all platforms; unchanged on x86_64: startup query
allocation/reuse and unload.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
live_tile_admission_names_undefined_reads_without_mutating_manager_state
Old on all platforms; unchanged on x86_64: named undefined-read refusals
and unchanged query/tile state.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_manager_tests.rs
live_magma_and_unused_outer_metadata_load_through_source_framing
Old on all platforms; unchanged on x86_64: magma and ignored outer
metadata load.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
constructor_keeps_real_instance_query_defaults_and_consumes_no_rng
Old on all platforms; unchanged on x86_64: constructor defaults, real
query and zero RNG.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
live_wet_query_precedes_destination_draws_and_or_is_retained
Old on all platforms; unchanged on x86_64: wet filter ordering and
LiquidType_dbc_owner refusal.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
capability_masks_and_disabled_unwritten_query_refuse_only_at_read
Old on all platforms; unchanged on x86_64: capability masks and
undefined_default_query_read refusal.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
wander_and_home_prove_construction_before_the_next_named_refusal
Old on all platforms; unchanged on x86_64: Wander/Home construction
before named owner refusals.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
forcing_overrides_map_ignore_but_not_global_disable_and_fields_are_transient
Old on all platforms; unchanged on x86_64: forcing/config precedence and
transient fields.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
bound_initialization_executes_target_drop_before_melee_owner_and_random_update
Old on all platforms; unchanged on x86_64: target drop before melee
refusal and random-update refusal.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
pet_and_player_overrides_refuse_by_name_instead_of_borrowing_creature_capabilities
Old on all platforms; unchanged on x86_64: named pet/player capability
refusals.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/pathfinder_tests.rs
nearest_binds_constructor_filter_cache_and_real_selected_instance_query
Old on all platforms; unchanged on x86_64: selected query/filter/cache
and current_mesh_owner/stale_query refusals.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

motion/waypoint_tests.rs
initial_delay_does_not_defer_first_path_send_and_single_node_delay_stays_zero
Old on all platforms; unchanged on x86_64: initial delay still sends
immediately and single-node delay remains zero.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

geometry/mmap_census.rs
frozen_products_load_or_name_each_refusal_and_real_no_nav_branch
Old on all platforms; unchanged on x86_64: frozen-product census loads
and source absence counts when products exist.
New off x86_64: execution.mmap.reference_cpu_fp_binding.

Verified on Linux x86_64 with the requested focused tests, clippy,
format check and map generation. Only x86_64 is installed locally;
macOS-arm64 and Linux-arm64 compilation and execution require CI.

Native-nav passed 215 unit tests and 35 doctests. Runtime mmap_manager
passed 9 tests, pathfinder passed 39, and the waypoint caller passed 1.
The private census retained its existing absent-product skip locally.
The first runtime attempt caught a duplicate fixture tail expression;
it was fixed before these passing reruns. Fmt caught two layout issues;
both were fixed and the requested fmt check passed afterward.

Ave Deus Mechanicus
Follow PathFinder.cpp:81-179,386-1021,1122-1348 in source order.
Use the selected pinned Detour query for polygon search, raycast,
straight paths, height sampling and the shared smoother. Preserve
subrange reuse, status details, dungeon limits and terminal path bits.
Keep the original offmesh argument copies at :1326 and :1330.

Read attachment state from the existing SourcePassengers owner. Defer
that read until :86 or active normalization at :993. Missing model
queries, collision width and Unit allowed-Z still refuse at their real
calls. Bind both PathFinder config keys with the existing approved
parser. Reuse the integer square-root kernel without changing it.
Existing verification includes the complete-template source oracle in
crates/benilla-sim/tests/source_transports.rs:24 and the 105 pinned
quaternion cases in tests/source_elevators.rs:5-28 of the same crate.
No new libm implementation is used.

WaypointMovementGenerator.cpp:261 reads movement flags before :262
reads speed. Refuse that unbound bundle before construction instead of
skipping it. Bound authored Waypoint and Home cases calculate before
travel-time arithmetic :278 and MoveSplineInit :70. Remove the obsolete
HomePathfinder call variant. Wander's client-control stop is unchanged.

Keep raw constructor and nontransport calculate probes separate from
recorded motion. No Home invocation stream is inferred from spawns.
No serialized state or policy changes. Native format remains 91.

Adjacent files in crates/benilla-native-nav:
- build.rs and PROVENANCE.md
- src/live.rs and src/live_pathfinder.rs
- src/live_path.rs and src/live_path_tests.rs
- native/live_path.cpp
- native/source_smoothing.cpp and native/source_smoothing.h
- native/source_point_path.cpp

Adjacent files in crates/benilla-world-runtime:
- README.md
- src/native/source_execution/motion_master.rs
- src/native/source_execution/motion/home.rs
- src/native/source_execution/motion/waypoint.rs
- src/native/source_execution/motion/waypoint_tests.rs
- src/native/source_execution/geometry/pathfinder.rs
- src/native/source_execution/geometry/pathfinder_path.rs
- src/native/source_execution/geometry/pathfinder_path_tests.rs
- src/native/source_execution/geometry/pathfinder_census.rs
- src/native/source_execution/geometry/pathfinder_tests.rs
- src/native/source_execution/geometry/mmap_manager.rs
- src/native/source_execution/geometry/terrain_manager.rs
Also touch crates/benilla-sim/src/source_transports.rs and generated
docs/MAP.md and docs/DEVIATIONS.md.

Changed existing tests:
motion/waypoint_tests.rs:
initial_delay_does_not_defer_first_path_send_and_single_node_delay_stays_zero
  Old: execution.waypoint.f6_pathfinder_calculate_owner, constructors 1.
  New: execution.waypoint.movement_speed_owner_261, constructors 0,
  with one speed read. A new bound case proves one calculation.
geometry/pathfinder_tests.rs:
wander_and_home_prove_construction_before_the_next_named_refusal
  Old: execution.motion.f6_home_pathfinder_calculate_owner.
  New: execution.pathfinder.transport_owner at Home cpp:66.
  Both expect two constructors. Wander's expectation is unchanged.

Rebased stock diagnostic: 1908 of 2931 Waypoint constructors finish.
Of those, 1905 calculate: NORMAL 1887, NORMAL|NOT_USING_PATH 13,
NOPATH 5. Three lack a raw default waypoint. Constructor stops:
load_map_without_mesh 433, effective_template_owner 242,
terrain.map_product_unavailable 345, terrain.wmo_area_catalog_owner 3.
These are raw-pose/first-raw-waypoint probes, not recorded execution.
Home stock reach is unavailable because no Home calls were recorded.
No default-query or step-count UB refusals are reached.

Verification on the frozen rebased tree:
- Private and unset source_execution: 1392 each, no failures or skips.
- Native navigation: 224 unit tests and 35 doctests.
- Real navigation helper build and geometry tests: 853, no skips.
- Public square-root wrapper: one boundary-equivalence unit test.
- Strict runtime/sim/vmap/nav all-target clippy and both isolated
  vmap-source feature-boundary clippies pass.
- Workspace format check and genmap pass, 525 code and 8 CVar rows.
- Requested Python gates pass 61, 182, 347 and 22 tests.

Ave Deus Mechanicus
Port `InitOutdoorPvP`/`GetScript`, `OutdoorPvPMgr.cpp:50-72`, and modern,
cooldown and legacy lists, `ObjectMgr.cpp:979-1117,9754-9861`.
`MapDataContainer.cpp:29,46-53` retains the shared loaded container.
`Creature.cpp:2426-2460` copies before map-thread availability rolls.
Keep the SpellId-as-position duplicate lookup, `ObjectMgr.cpp:1059`.

Legacy `CombatCondition` remains explicitly unwritten through copies.
Its `UnitAI.cpp:1213` read refuses by name. Cold legacy lists retain the
constructor's `cooldown=true`, `UnitAI.cpp:58`. Later timer/list changes
can reach the read despite `Disabled=true`, `UnitAI.cpp:61,1181-1213`.
`Chat/NpcCommands.cpp:35` is another reader, not ported or reached here.

`OutdoorPvPEP.cpp:41` queues the graveyard change before map construction,
`OutdoorPvP.cpp:34-35`. Traverse the real current map set. Mutate the
loaded graveyard manager only when the message drains. Missing
valid-team links preserve the high-bit `linkKind` bug and insert into
memory before the exact WorldDatabase INSERT,
`GraveyardManager.cpp:240-249,254-280`. Refuse at :247 if SQL is unbound.
The `TEAM_INVALID` constructor path cannot reach that INSERT.

`PersistentSql` was not reused because `managers.rs:8-44` is a
Serialize-derived CharacterDatabase enum, not a WorldDatabase operation.
The narrow `MessageWork::graveyard_sql` keeps database routing explicit.
Existing message and `PersistentSql` saved/hashed bytes are unchanged.
Native format91 remains unchanged.

Adjacent existing `source_execution` files:
`mod.rs`, `continents.rs`, `manager_dispatch.rs`, `messages.rs`,
`graveyards.rs`, `world_scripts.rs`, `gameobjects.rs`,
`event_ai_catalog.rs`, `unit_ai.rs`, `seal16_startup.rs`,
`seal16_active_init.rs`, `seal16_creature_entry.rs`,
`seal16_gameobject_init.rs`. Other adjacent files:
`production_compiler/mod.rs`, `production_compiler/catalog/mod.rs`,
the runtime `README.md` and regenerated docs.

Changed existing test in `terrain_startup_census`:
`seal16_full01_terrain_spawn_and_event_startup_matches_or_names_first_unported_owner`
through `continue_startup`. Old GO expectation was unbound `GetScript`,
`GameObject.cpp:289`, with26567 matched map-thread words. New expectation
is `GetGORespawnTime`, :949, after null `GetScript`, live continent
`OnObjectCreate`, the non-large chest predicate and
`urand(900,900)=900`, with26568 words and `respawn_delay=900`.
Old creature expectation was the spell-list store, `Creature.cpp:2439`,
with `spell_list_disabled=false`. New expectation is the immunity
lookup, :2467, after list469200/spell5708 with `disabled=Some(true)`,
still with11897 words. Retained fields, original draws and lookup
prefixes remain asserted. Added assertions prove all newly run steps.

Static candidates, not reached: 66 non-empty modern/legacy fallback
pairs have modern key `entry*100+1` and legacy key `entry*100`. Of these,
65 have autocastable unwritten spells; entry1538 has none. The entries
are 589,595,619,785,1181,1183,1538,1539,2180,2181,3272,4286,4287,4288,
4289,4290,4291,4294,4296,4297,4298,4299,4300,4302,4303,4540,4543,4803,
4809,4820,4852,6222,6223,6227,7439,8717,9449,11347,11382,11793,11794,
14507,14509,14510,14682,14834,14987,15623,15928,15929,15930,15936,15952,
16028,16050,16051,16052,16054,16058,16062,16063,16064,16150,16299,16380,
16438. Stock EventAI has no `SET_SPELL_SET` actions and21
`UPDATE_TEMPLATE` actions, none introducing a modern-to-legacy
candidate. Charmed list targets include no legacy lists. Scripted
transform targets include legacy entries10812,10813,11136,8443, with no
modern source actor found. These are static candidates, not reached.
No global future-reach claim is made. The cold-start :1213 reach is0;
4277 of4299 unwritten legacy spells are autocastable if later reached.

Verified on Linux x86_64: `source_execution` with canonical inputs
1397/1397 and all11 supplied variables unset1397/1397, no ignored tests.
Focused spell-list/reader12, outdoor7 and frozen seal16 comparison1
passed. Requested runtime/sim all-target Clippy, geometry no-run,
fmt-check and genmap passed. Python gates passed61/182/347/22.
Seal16 matches world8712, map0/thread6=26568 and map1/thread7=11897
words, total47177, with32 matched SQL statements including the corpse
query. Both maps complete0 objects. Modern targets40/lists707/spells1806
and legacy lists2356/spells4299 all load, with0 dropped by every reason.
Cooldown rows0.

Ave Deus Mechanicus
Propagate CiFixes' optional geometry fixture through the path-calculation
setup tuple and early-return at every caller when that fixture is absent.
Unwrap the wet fixture and bound-speed waypoint fixture the same way.
No production code, assertion, or expected result changes. On x86-64
the fixture is Some and every existing assertion still executes.

Changed helper: `pathfinder_path_tests::setup` now returns an Option.
Changed tests in `geometry/pathfinder_path_tests.rs`:
- `calculate_invalid_coordinates_leave_the_previous_state_untouched_124_128`
- `calculate_stops_at_unbound_transport_before_default_query_86`
- `absent_endpoint_tile_shortcut_and_same_poly_have_distinct_types_169_517`
- `force_destination_uses_strict_point_three_squared_threshold_969`
- `exact_full_straight_step_limit_is_short_before_force_destination_953`
- `normalize_refuses_real_allowed_z_after_shortcut_points_exist_999`
- `multi_poly_reuses_the_old_subrange_and_retains_incomplete_type_563_789`
- `stepped_points_use_detail_height_but_preserve_the_original_endpoint_837_845`
- `wet_calculate_shortcuts_without_random_points_separate_los_call_432_434_1432`
- `force_destination_rebuilds_at_exact_point_three_and_keeps_only_below_969`
- `home_consumes_bound_passenger_state_and_calculates_before_spline_init_66_70`
- `ray_hit_consumes_width_before_threshold_and_keeps_source_end_replacement_723_744`
- `attached_query_never_substitutes_the_default_map_query_87`
- `disabled_query_defers_attachment_until_active_normalization_167_993`
- `normalization_reads_the_recorded_key_before_ignore_normalization_990`
- `dungeon_map_owner_grows_limits_before_the_missing_poly_branch_395_432`
- `newly_enabled_default_pointer_refuses_only_after_the_attachment_read_93`
- `set_current_mesh_checks_query_lifetime_at_the_first_dereference_97`
Changed test in `motion/waypoint_tests.rs`:
- `bound_speed_and_passengers_calculate_before_travel_time_262_278`

Committed first as requested, before integrating the travel and PetAI
commits. Verification runs once on the final combined tree.

Ave Deus Mechanicus
Port the component writes used by `MovementInfo::GetSpeedType` and
`Unit::GetSpeed` before waypoint `PathFinder` construction. Source writes
are `Object.h:753`, `Creature.cpp:155,435-452,2781-2798`, and
`Unit.cpp:412-413,12371-12378,12449-12459`. Speed selection and base speeds
follow `Object.h:769-777` and `Unit.cpp:63-71,8439-8441,8492-8499`.
All CMaNGOS citations use Classic pin `8ec338a1`.

Reuse the selected-model/template rate calculation in
`benilla-sim/src/creature_init/numeric.rs`. The new `model_speed_rates`
helper follows `Creature.cpp:2888-2917` and `Unit.cpp:10260-10274`.
It clamps source zero/negative rates while the existing bounded kernel
retains its original admission checks. `SourceUnits` reuses the selected
model from `initialize_supported_creature` for a bound movement component.
Absent components, flags, and selected rates refuse at their actual read.
The movement field is serde-skipped. Native format 91 and inventory bytes
remain unchanged, with no saved, hashed, or recorded state additions.

`BuildIntPath` retains `firstPoint`, converts every float `+=` result to
`uint32`, appends after conversion, and overwrites `travelTime` from the
direct final distance. See `WaypointMovementGenerator.cpp:257-286` and
`dep/g3dlite/G3D/Vector3.h:714-715`. IEEE NaN/infinity, including
zero-speed division, refuse only at conversions `:279/:284`. A fractional
result between -1 and zero truncates to defined zero. An empty input path
refuses at the actual `back()` read, `:259`.

Continue source lookahead through `:367-394` to `MoveSplineInit` at `:396`.
The repeat key is cursor/nextNode, `path.back()` bits, `travelTime` and
looped. Node data, speed and mesh state do not change inside this loop,
so those are all inputs that determine the next iteration. A repeated
key proves both containers grow until allocation fails. Refuse that
non-terminating execution by name, without an iteration cap.
This is not the forward-progress undefined-behaviour case.

The raw diagnostic retains 2931 opportunities, 1908 constructors and
1905 first calculations. BuildIntPath completes for 442 and all 442 reach
`MoveSplineInit` at `:396`. The other 1463 need selected-display collision
height for `IsSwimmable`, `Creature.cpp:441` and `Unit.cpp:11930`.
No selected model or radius is fabricated. Cycle and all new UB reaches
are zero in these diagnostics. These are not recorded movement or F1
acceptance.

Shared files are `source_execution/unit_ai.rs`, `motion_master.rs`,
`motion/mod.rs` and the runtime README. The changed trait signature is
`MotionExecutionOwner::waypoint_speed(unit, context)`, adding
`MotionContext`. All callers and the waypoint test owner migrate together.
Unit field and initializer additions are separate from other AI edits.

Changed existing test:
`bound_speed_and_passengers_calculate_before_travel_time_262_278`
is renamed
`bound_speed_and_passengers_calculate_before_lookahead_and_spline_init`.
Old expectation: `execution.waypoint.travel_time_numeric_owner_278`,
speed reads 1, constructor completions 1, calculate completions 1.
New expectation:
`execution.waypoint.minimum_path_time_nonterminating_cycle_370`,
with all three counters 2, proving the earlier calculation and travel
body ran. A delayed second invocation reaches
`execution.waypoint.move_spline_init_owner_396` with all counters 3.
Every original assertion remains. No other existing expectation changes.

New tests cover creation flag writes, speed precedence and missing
owners, unchanged inventory bytes, both conversion boundaries, each
compound-assignment truncation, defined IEEE cases, source zero/negative
rate clamping, delayed/minimum-time exits and zero-time cycles.

Verified on Linux x86-64: 96 focused motion tests, 33 creature-init tests,
and source_execution twice, 1403 passed each, canonical private inputs
then all BENILLA variables unset. Runtime/sim/nav strict all-target clippy,
geometry --lib --no-run, workspace fmt check, and genmap passed.
Python gates passed 61/182/347/22 tests. The geometry compile retains an
existing unused test-helper warning; the Detour C++ warnings remain.

Ave Deus Mechanicus
Use the exact `std::max(rate, 0.01f)` comparison from
CMaNGOS Classic 8ec338a1 `Unit.cpp:8494`. IEEE maxNum would replace
NaN with the minimum; an unordered source comparison returns the
original rate instead.

Share the quiet `Single` comparison between `model_speed_rates` and
`SourceCreatureMovement::set_speed_rate`, through the raw-bit
`source_speed_rate_bits` wrapper. Preserve NaN payloads at the clamp.
Do not forge a NaN `SpellFloat`: its constructor already rejects it at
`classic_spell/numeric.rs:31-34`. The existing bounded model kernel's
`positive()` admission remains unchanged.

New tests cover quiet/signalling NaNs, negative zero, 0.005, and the
exact 0.01 threshold. They also prove a preserved NaN reaches GetSpeed
and refuses at each actual waypoint travel conversion,
`WaypointMovementGenerator.cpp:279,284`, before appending a point.
No existing test expectation changes. Native format remains 91.

Verified on Linux x86-64: 34 creature-init tests and 97 focused motion
tests passed, with zero failures or ignored tests. Strict runtime/sim/nav
all-target clippy and workspace fmt check passed. Per the requested
review scope, full source_execution, geometry, and stock census gates
were not rerun for this follow-up.

Ave Deus Mechanicus
Port the owned constructor, update and attack prefixes from
`AI/BaseAI/PetAI.cpp:41-65,102-118,144-167`. Missing raw control
fields, CharmInfo and pet operations refuse at their first source read.
Resolve charmer and creator GUIDs in source order instead of trusting
cached selection handles, `Entities/Unit.cpp:6580-6635,6714-6717`.

Reuse the recorded configuration parser for PetAttackFromBehind with
its false default, `World/World.cpp:736`, `Config.cpp:117-124`.
The canonical recorded configuration sets it at line 870.

Add effect-indexed aura eligibility and pet cast checks,
`PetAI.cpp:429-545`. Keep Spell construction before target facing,
pet learning and SpellStart, `PetAI.cpp:564-587`. These helpers have
authored coverage only, not stock execution reach. Guard null aura
targets and target-table indices at `PetAI.cpp:465,470,501`.

Add the Pet-specific binding in `ai/mod.rs` and `creatures.rs`.
Extend `UnitAiExecutionOwner` and its dependency adapter additively.
Extend `SpellExecutionOwner` at the actual facing and learning calls.
Reuse the global player registry through a narrow `objects.rs` getter,
preserving the world-membership filter without a map restriction,
`Globals/ObjectAccessor.cpp:102-111`.
Keep the existing `SourceBuiltinAi::construct` path unchanged.
Native format stays 91; runtime-only PetAI state has an inventory and
still refuses F7 restore. No persisted field or byte layout changes.

Changed existing test expectation:
`selected_builtin_factory_dispatch_retains_real_bodies_and_named_refusals`
old: `execution.ai.pet_constructor_owner`
new: `execution.pet_ai.live_unit_and_base_binding_owner`
The new stop is `creatures.rs:383`, binding the constructor inputs at
`PetAI.cpp:41`. The test also proves selected kind and registry identity,
entry into the Pet-specific factory branch, unchanged base follow
fields and absence of registered derived construction. No existing
assertion is removed or weakened; all other expectations stay unchanged.

Verified on Linux through mbx with the isolated pet-ai target directory:
- Focused tests: 52 passed, including all 24 new tests.
- Full source_execution: 1405 passed with canonical private inputs;
  1405 passed with all BENILLA inputs unset. No ignored or failed tests.
  Other optional-input cases printed 35/82 SKIP lines respectively.
- Runtime/sim all-target clippy with the requested allowances passed.
- Native geometry lib tests compiled with --no-run; all-workspace fmt
  check and genmap passed.
- Python gates passed: libtest-output 61, native-starter 182,
  classic-export 347, initial-hooks 22. Main owns package-player.

Catalog-04 ordinary uncontrolled PetAI selection is 0 templates and
0 raw spawn rows; constructor completion and update reach are 0,
with no refusal rows. Both new UB guards have stock reach 0 in this
projection. Dynamic summons, charms and F1 parity are not established.

Ave Deus Mechanicus
Berchia and others added 30 commits November 22, 2026 06:28
)

Every unit-field change asked whether the unit carries field watchers by working it out again: the party and raid rows, the selection, a walk of the objects. That cost about 9 µs per notice, and it could disagree with the links the health path already walks.

Reference: a unit's field watchers are linked while its token flags (`+0xc90`) are nonzero (`0x51bbb0`, from `0x60c4b0` and `0x60c65c`), written by `0x60c4a0`, `0x60c4f0` and `0x60c520`. A field change runs the watchers linked on that unit (`0x467f65`).

`unit_has_field_watchers` now reads `UnitWatches::linked`, the state those writers keep. Five test fixtures that seated units without the writers now write the flags the real path writes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Sam <samuv.eth@gmail.com>
…amwhosung#3045)

A `disjoint_set!` held every member's state inline, and `ScriptCallHost`'s is 181 KB. Bevy keeps a system's param state inline from the moment the system is made, so every system that takes the host was 181 KB or more on the stack while a plugin added it. Building the headless client came close to a Linux test thread's 2 MB, and any change near those systems could overflow `the_hosted_vm_keeps_one_state_across_calls`.

The set's state is now boxed; nothing outside the macro changes. A test holds the host's state to at most 64 bytes. On Windows, that test's stack need drops from about 1.5 MB to about 400 KB.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Upstream 4dbca44 (samwhosung samwhosung#3041):
Live reads: a question goes straight to the family that took its type

Fork UI caches routes by question type; backend code is unchanged.

Linux client gates: fmt and both Clippy feature modes passed.
`benilla-ui --lib`: 3,620 passed, 1 ignored and 0 data skips per run,
with installed data and with `WOW_DATA` empty.
`benilla-app --lib script_calls`: 274 reported passed per run,
with 0 data skips installed and 2 data skips with `WOW_DATA` empty.
Python passed: verify-libtest-output 61, native-starter 182,
classic-export 347, initial-hooks 22.
Genmap passed and left the trial tree unchanged.

Ave Deus Mechanicus
The chat lane, the field-notice lane and the input host lend the call host from a `Pair<…, Option<ScriptCallHost>>` once per line, notice or call. Each lend through `Option<T>` ran `ScriptCallHost::validate_param`, which walks every applier and live-read family: about 4 µs against a 55 ns fetch, as large as the item's own work.

`Pair::p1_valid` lends the host as `p1` does but validates once per run and keeps the result in the pair, which is built fresh each run. Nothing adds or removes a resource or an entity while a system runs, so the result cannot change within a run. A chat-lane `UNIT_COMBAT` item drops from about 11 µs to 6, a unit signal from about 10 to 4.4.

Test: `p1_valid_validates_once_a_run`, a missing resource lends `None` at every lend of a run and validates again on the next.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Use one live `DealDamage` path for landed amounts. Keep health and the
first solo tap on the victim generation. Refuse at an unbound source
call before executing the rest of the path.

Move `set_health` and `set_stand_state` from `ai/escort.rs` to methods
on `SourceUnitFields` in `unit_vitals.rs`. Escort keeps its call order.
The new `modify_health` follows Unit.cpp:8062-8090 and uses `SetHealth`.

A Fireball 133 landed input changes health from 55 to 33 and keeps the
first recipient. Evidence: northshire-03 A trace lines 76057589,
76080344 and 76108095. The next source stop is Unit.cpp:1211. No
existing replay expectations change.

Focused combat: 33 passed. The final private and unset source runs
passed 2,017 each, with all 34 combat tests and 1,269 filtered each. All
five sorted startup receipts are byte-identical. Strict Clippy, library
check, fmt, Python 61/182/347/22, and genmap passed.

Ave Deus Mechanicus
Visit the resource team's live maps even when no GUID qualifies.
Use source tier thresholds and one live GUID set for both brands.
Pass loaded GO data and the receiving map to the existing dynamic
factory boundary. Refuse at Object.cpp:2182 if the factory is absent.

`WorldTailOwner` previously exposed world and event access. It now
also binds a reached GO factory request. `seal16_startup.rs` binds
its loaded maps and definitions. `continents_tests.rs` covers absent
GO data, masked GO data and the missing factory. `seal16_active_init.rs`
names the next refusal after the disabled invasion branch.

Seal16 :61738412 returns no world_state rows. All 30 passes schedule
zero GUIDs. Trace :61738425-27 leaves raw 8712 pending. Both map pool
next_owner fields and both aggregate next_owner_map fields change from
WorldState_216.war_effort_spawn_owner to
WorldState_222.emerald_dragons_owner. Both map pool next_source fields
change from WorldState.cpp:216 to WorldState.cpp:222. Frozen receipts
and all counters are unchanged.

Focused 5 authored and 1 private replay passed. Full source_execution
passed 1,990 private and 1,990 unset. Clippy, non-test lib, fmt, Python
61/182/347/22 and genmap last passed. Sorted receipt SHA-256:
757a3dd46ce2299603d071b9e0e1c8746a9f77b150c36aec5e601a24d0662f86

Ave Deus Mechanicus
Store the constructor-supplied account on the live WorldSession.
Player.cpp:15644 will read it from this owner. No production session
constructor caller exists yet.

Migrate the session send tests from true/false to (19, true/false)
and the detached cast test from true to (19, true). The private
create replay moves from true to (1, true), using C proxy line 1514.
No existing assertion changed.

Linux: session 2; source execution private/unset 1,997 each.
Five sorted startup receipts match 1be51204351806460e4df68b52538a5b
366c9eaf6fc5c3be9bdf01f71601a4e4. Clippy, non-test lib check, fmt,
Python 61/182/347/22 and genmap passed.

Ave Deus Mechanicus
Port Player.cpp:6453-6573 before the save transaction uses the
stored honor fields. Retain the live contributions and ranks on
the Player. Reuse cached game seconds and the world date helpers.
Northshire-01 A trace lines 68134692-68134694 match all three
localtime reads. Source setters leave unchanged zero words clean.

The new fixtures cover the recorded zero path, live contributions
and change marks, and the named float cast refusals. The admitted
create has zero reaches of the out-of-range branches. No existing
tests or assertions changed.

Linux: honor 4; source execution private/unset 2,001 each.
Five sorted startup receipts remain byte-identical. Clippy,
non-test lib check, fmt, Python 61/182/347/22 and genmap passed.

Ave Deus Mechanicus
Continue detached Create through CharacterHandler.cpp:506-512 and
emit the ordered Begin, character DELETE, and character INSERT.
Project all 56 operands from the live owners with a separate wall
clock sample. Stop at Player.cpp:15766 before any publish.

The Item factory uses SourceItem::default() in player_items.rs.
Its new enchantment words supply the equipment cache. No other
item constructor or literal needed a change.

In player_tests.rs the private Create call now uses Northshire
from C client-packets.jsonl:11 and calls the new replay assertion
before discard. No existing assertions changed. C proxy line 1514
matches all 56 types and values including the four text binds.
Against A proxy line 1833 all 56 types and 38 values match; the
other 18 are logout differences. In-world zone save still refuses
at Player.cpp:15709.

Linux: focused save 2 and private Create 1; source execution
private/unset 2,003 each. Five startup receipts match the base.
Clippy, non-test lib check, fmt, Python 61/182/347/22 and genmap
passed.

Ave Deus Mechanicus
Run WorldState.cpp:600-611 on the live startup stream. Write each
position before removing its entry. Emit the ordered Save at :242-243
as startup SQL observations. The durable sink belongs to save slice
23w2. Guard the C++ shift at :595 and the cached clock conversion at
:235-236. The empty table at trace :61738412 reaches one valid shift
of 3 and no nonzero timer conversion.

Both F6_MAP_POOL lines:
- next_owner: execution.world.WorldState_222.emerald_dragons_owner
  -> execution.world.WorldState_617.dragon_summon_owner.
- next_source: WorldState.cpp:222 -> WorldState.cpp:617.
F6_SEAL16_STARTUP:
- next_owner_map0 and next_owner_map1: same owner change as above.
- matched_raw_words and next_raw: 8712 -> 8715.
- next_word: 3411341330 -> 174174399.

Trace :61738425-27, :61738435-37 and :61738445-47 give bounds
3/2/1, rolls 3/1/0 and words 8712-8714. :61738460/65 and
:61738482/:61738501 give the ordered SQL and affected rows 0/1.
:61738509-13 shows the reached summon and :61738519-23 gives the
still-pending first display draw. Both F6_FROZEN_PREFIX lines match
byte for byte. Sorted receipt SHA-256:
f7dbb423be70260f6965a713ed825532d13f46c5b225bca7780688b86a7274eb

In world_state.rs, cover both sides of the shift and clock bounds.
In terrain_startup_census.rs, keep the old cutoff for the prefix and
continue reading tail evidence. In seal16_startup.rs, check the old
pending word before the tail and the three consumed draws after it.
In seal16_active_init.rs, update the stop. In seal16_world_state.rs
and seal16_world_tail_weekly.rs, compare the typed SQL in order.

Verified: 4 focused authored tests and 1 private replay. The
source_execution suite passed 2,004 private and 2,004 unset.
Clippy, non-test lib check, fmt, Python 61/182/347/22 and genmap
last passed.

Ave Deus Mechanicus
Extract the CreateFromProto and UpdateEntry phase order from
prepare_source_creature without changing the DB path. The DB adapter
forwards to the existing factory and grid context.

- assign_proto_guid: Creature.cpp:1608 and Object.cpp:115-125.
- proto_template: Creature.cpp:322-327,698-699.
- proto_spawn_model: Creature.cpp:664-668.
- proto_model: Creature.cpp:353-357 and ObjectMgr.cpp:1615-1633.
- proto_random: Creature.cpp:678,1279 and ObjectMgr.cpp:1624.
- proto_thread: Util.cpp:35-39,68-77 uses executing thread's RNG.
- proto_phase: Creature.cpp:335-501,508-538,541-631.
- observe_proto: forwards the existing caller's observer for :1608,
  :670-699 and :353-357. Observations do not affect the source path.

No test changes. All five receipt lines are byte-identical. Both maps
still stop at WorldState.cpp:617. Receipt SHA-256:
f7dbb423be70260f6965a713ed825532d13f46c5b225bca7780688b86a7274eb

Verified: 3 focused constructor tests. The source_execution suite
passed 2,004 private and 2,004 unset. Clippy, non-test lib check,
fmt, Python 61/182/347/22 and genmap last passed.

Ave Deus Mechanicus
Construct the first emerald dragon as a temporary subtype on the
existing live creature. Object.cpp:2028-2056 allocates one map-low
GUID for both identities. Creature.cpp:900-904,1602-1610 binds the
fixed pose and calls the shared CreateFromProto with no spawn data.
Run IsSwimmable at :439-442 and stop before final placement at :906.
TemporarySpawn.cpp:23-26 owns the skipped live subtype fields.

DB bindings keep real rows:
- creatures.rs: mandatory construction and entry rows -> Some for
  DB. ChooseDisplayId :664-668 tests Some before reading the override.
  InitEntry :396,444-456 and UpdateEntry :524-538,541-563,627-628
  now take their source null branches. DB-only delay at :1690,
  height at :1708 and the DB kernel require the same row.
- seal16_creature_create.rs: entry, dead height, create and addon
  inputs and radius keep their real DB binding. Relay at :1742
  now skips absent data. The source radius write at :1688 stays.
- seal16_creature_entry.rs: equipment observation uses Some for
  real rows. The InitEntry swimming input is the existing respawn
  pose, with no change to the DB pose.
- creature_lifecycle.rs: bind Some to the same live DB GUID. Read
  the live GUID for SaveRespawnTime at :2291,2293 and AddCreature
  at :1892. The :1872 checked row continues to own the delay draw.
- spawn_groups/group_links.rs: use the same live GUID for membership
  at SpawnGroup.cpp:76,515-516.
- motion_dependencies.rs: remove the caller-less initialize_motion
  bridge, which built a second MotionMaster from the row. The shared
  constructor writes 5.0 on the live master at Creature.cpp:141.
- creature_entry_tests.rs, creature_tests.rs and
  creature_lifecycle_tests.rs: wrap or read the same real DB fixtures
  with Some. Keep all existing expectations.

Both F6_MAP_POOL lines change next_owner from
execution.world.WorldState_617.dragon_summon_owner to
execution.creature.Creature_906.select_final_point_owner, and
next_source from WorldState.cpp:617 to Creature.cpp:906.
F6_SEAL16_STARTUP takes the same change in both next_owner fields.
Its matched_raw_words and next_raw go from 8715 to 8716, and
next_word from 174174399 to 75745173. The first GUID and entry are
at trace :61738509-13, display at :61738519-23, InitEntry height at
:61738535, and the pending word at :61741102. The receipt constants
and the route and assertions in seal16_startup.rs,
seal16_active_init.rs and seal16_world_state.rs track that stop.
Both frozen prefix lines are byte-identical. Sorted receipt SHA-256:
ce1917cce7a1064f24de402c8d8e656a0c31accc642f207bb5a23dd3c4d95f51

Verified: two focused DB-entry tests and one focused private replay.
The source_execution suite passed 2,004 private and 2,004 unset.
Clippy, non-test lib check, fmt, Python 61/182/347/22 and genmap
last passed. Include the generated links from both world-tail slices.

Ave Deus Mechanicus
Bind DealDamage to live threat and combat timers. Reuse the base
death-prevention latch before EventAI threshold handling. Pass short
SourceCombat and SourceThreats reborrows through CombatExecutionOwner so
neither owner copies Unit state.

Use Relations.cpp:351-416 for the reverse attack check. Read the live
empty forced-reaction map. The Player update flag still refuses at
Relations.cpp:358. Existing threat, hostile-target and assistance
stand-ins still refuse or delegate. CanAttackNow and CanAttackSpell are
different source functions.

Move the inline Faction.dbc and FactionTemplate.dbc decoding in
ai_inputs.rs::load_catalog to add_reputation_row and add_template_row.
Both the catalog and combat fixtures use them. Preserve all existing
catalog tests.

In unit_ai.rs, replace the casting_non_melee guard with a read of the
three live non-melee slots. spells/start.rs::interrupt_non_combat_spells
walks the same slots in source order and reuses the registry interrupt
method (Unit.cpp:7957-7961,4304-4316).

combat_tests.rs updates the Host for the threat reborrow and adds
authored live AI, threat, timer and cast tests. The Fireball-shaped
Mage, multitap and pet cases move from Unit.cpp:1211 CanAttack to
Relations.cpp:358 PLAYER_FLAGS (Northshire trace.tsv:76057589,76080344
for Fireball; multitap and pet are authored). Authored NPC self hits
move from Unit.cpp:1211 CanAttack to the spell delay owner at
Unit.cpp:1250. Existing health, tap and dirty-field assertions remain.

Focused 41. Source execution 2024 private and 2024 unset. Five sorted
startup receipts compare byte for byte (1be51204). Strict Clippy,
non-test library check, fmt and Python 61/182/347/22. Genmap last.

Ave Deus Mechanicus
Run the detached save through `Player.cpp:15766` and stop at
`_SaveQuestStatus` at :15767. Emit each placement operation before
its Item operation. Leave the queue dirty until publication exists.

`player.rs` gives the existing queue nullable slots and its blocked
flag, and records enchantment duration presence. `player_items.rs`
adds the live Item state and persistable fields. Placement now uses
the same `Item::SetState` queue handling (`Item.cpp:684-769`).

`player_save_tests.rs`: both save stops go from
`Player_15766.inventory_owner` to `Player_15767.quest_status_owner`
(`Player.cpp:15766-15767`, C:p1519-1552, A:p1853). The Create test
keeps its original assertions and checks all eight pairs. The authored
A packet fixture checks six executes at A:p1835-1851, including the
unchanged placement (A:p1552,p1847) and changed count (A:p1852).

`player_item_tests.rs`: four `[handle]` assertions now expect
`[Some(handle)]`. `player_tests.rs` flattens the teardown walk after
asserting that all eight captured queue entries are occupied.

Verified on Linux: 5 focused inventory tests, 2 save tests and the
private Create replay. Full source execution passed 2,033 with the
49 private inputs and 2,033 with them unset, 1,269 filtered each.
Five startup receipts match the untouched stack byte for byte.
Clippy, non-test lib check, fmt, Python 61/182/347/22 and genmap
passed.

Ave Deus Mechanicus
The Build player Windows job normalized the traversal away when
the test joined it onto a canonical verbatim path. Build the
fixture path as an OsString and assert it contains ParentDir
before calling the store, as the WorldStore fixture does.

Build player run 44970233246, windows-amd64 job 137048199494.
Linux store tests passed 112; the ignored lock probe passed as a
subprocess. Strict store clippy and fmt passed. The next CI run
will verify Windows.

Ave Deus Mechanicus
Stage the learning save operations in source call order. Keep the
transaction stopped at Player.cpp:15767 until quests can save.

- `player_skills.rs` marks live status at Player.cpp:5063,5383,5442.
  The pinned hash map preserves the order in Player.h:545.
- `player_spellbook.rs` splits packed actions as in Player.h:157-170.
- `session.rs` owns tutorial words and flags, WorldSession.h:357-365.
- `player.rs` registers the helpers and holds the Player-owned maps.
- `player_tests.rs` calls one adapter after the existing Create checks.
  No existing assertion changed.

C proxy p1554-1605 matches 19 writes in order. Authored A checks eight
skill updates and three deletes at p1860-1883. Authored B checks
three deletes at p1569-1576, with no other learning writes.

Focused: seven helpers and one private Create replay. Full private
and unset source execution: 2,051 each, with 1,269 filtered. Five
startup receipts match byte for byte (SHA-256 ce1917cce7a1).
Clippy, non-test lib, fmt, Python 61/182/347/22, and genmap passed.

Ave Deus Mechanicus
Use the live continent terrain and dynamic tree for the fixed
summon's final point. Apply Unit.cpp:11835-11864 before the shared
Creature.cpp:908 relocation. Leave notification at Creature.cpp:912.

Seal16 changes both next_owner fields and both map next_source
fields from Creature.cpp:906 to :912. The next call's zone query
starts at trace :61740831. Raw 8716 and word 75745173 stay pending
at :61741102. No counters change.

Replace the unrelocated pose assertion in seal16_world_state.rs
with the relocated bits (:61740622,:61740831-41) and retain the
original respawn pose. The authored terrain_height_tests.rs case
covers the Unit.cpp:11850-11862 walk and hover branches.

Focused walk/hover and private replay passed. Full source_execution
passed 2,033 private and 2,033 unset. Clippy, non-test lib, fmt,
Python 61/182/347/22, and genmap last passed.

Ave Deus Mechanicus
Share cell and world lookup registration before adding a summon.
Finish Create notifications and addon loading before map insertion.
Bind both SpellAuras.cpp:5174/270 clock pairs from trace :61740996-99
and :61741079-82. Set the temporary fields before Map::Add and run
MotionMaster initialization before the live ScriptDev factory lookup.

Move cell and world lookup registration from add_source_creature
into register_source_creature_at_cell. Move grid geometry creation
from ensure_created into ensure_created_with_products. DB order and
all DB receipt counters stay unchanged.

Share addon self-cast operands in addon_unit_state for both binds.

In seal16_world_state.rs, in_world false -> true and the respawn Z
422ef6e3 -> 42300be4 reflect Object.cpp:2062 and trace :61740831-41,
:61741083-88. The replay now checks both aura holders and effects,
the temporary count, the cold grid, and the queued AI notification.
seal16_startup.rs retains the original constructor assertions and
adds grid registration and the :61740907-16 instance callback.

Both map next_owner and next_source fields and both aggregate owner
fields move from Creature.cpp:912 to ScriptDevAIMgr.cpp:370. Trace
:61740831-41 -> :61741089-95. Raw 8716 and word 75745173 remain
pending at :61741102. No receipt counters change.

Focused temporary properties and private replay passed. Full
source_execution passed 2,034 private and 2,034 unset. Clippy,
non-test lib, fmt, Python 61/182/347/22 and genmap last passed.

Ave Deus Mechanicus
Read the existing Player save field for the ghost and contested PvP
checks at Relations.cpp:168-169,358. Keep one live PLAYER_FLAGS word.

`combat_tests.rs` moves these five refusals from Relations.cpp:358
(PLAYER_FLAGS) to ThreatManager.cpp:483 (TriggerAggroLinkingEvent):
- Fireball health and tap, after the 55 to 33 health write.
- Multitap hit, still without a tap.
- Tap and group checks, after restoring the dealer GUID.
- Pet victim, with its live threat manager registered.
- EventAI damage callback, after DamageTaken advances its step.

The first case now expects one threat reference for the dealer with
authored threat 22, replacing the empty reference list. Unit.cpp:1214
and ThreatManager.cpp:479-483 add threat before linking. Northshire-03 A
trace lines 76057573, 76057589 and 76080344 pin the damage callback,
22 damage and 33 health. The trace does not measure threat.

Verification: 41 focused combat tests; 2,044 source_execution tests
with all 49 private inputs and 2,044 with all 49 unset. The five sorted
startup receipts match byte for byte.
Startup receipt SHA-256:
`ce1917cce7a1064f24de402c8d8e656a0c31accc642f207bb5a23dd3c4d95f51`.
Clippy, non-test lib, fmt, Python 61/182/347/22 and genmap passed.

Ave Deus Mechanicus
Dispatch the client's explicit unit spell through the live mover,
spellbook and map lookup at SpellHandler.cpp:311-391. Schedule the
ordinary SpellStart event before CheckCast at Spell.cpp:3007-3009.

Move benilla-protocol from dev to normal dependencies so the
WorldSession spell ID and targets reads at SpellHandler.cpp:314,370
use the existing wire codec in non-test builds.

Use live collision heights and map LOS at Spell.cpp:4850-4851, then
apply CanAttackSpell at Spell.cpp:5085. Share live player relation
reads with damage. Stop at Spell.cpp:5145 before CheckRange.

The admission test uses northshire-03 A client-packets.jsonl:371.
It checks the queued event against trace.tsv:75160591-75160593.
It does not claim the C:372 SpellStart packet was sent.

Existing test changes:
- main_spell_tests.rs: The harmful filter stop moves from missing
  CanAttackSpell (Relations.cpp:1065) to the restricted owner's
  missing IsAlive (Relations.cpp:1074). This fixture is authored.
- combat_tests.rs: Use the shared relation owner for the forced-rank
  test. Both expectations stay unchanged.
- player_cast.rs: Use the new optional client context in the
  detached test. Its expectations stay unchanged.

Verified: 48 focused tests, 2,047 private and 2,047 unset.
The five sorted startup receipts match byte for byte.
Startup receipt SHA-256:
ce1917cce7a1064f24de402c8d8e656a0c31accc642f207bb5a23dd3c4d95f51.
Clippy, non-test lib, fmt, Python 61/182/347/22 and genmap passed.
Cargo.lock is unchanged.

Ave Deus Mechanicus
Keep quest progress and weekly state on the detached Player. Stage
dirty quest rows in quest ID order, using cached world seconds for
their timers. Preserve dirtiness when autocomplete skips the write.
Stage weekly delete and insert attempts, and refuse unsupported weekly
batches before the store can publish.

Compose the existing learning helpers in source order. In
`player_save_tests.rs`, the C Create stop moves from :15767 to :15775
after the 18 learning writes at C:p1557-1600. The authored stop fixture
expects three more unconditional deletes. `player_tests.rs` passes the
same live spell store to the composed projection. `source_cold_tests.rs`
verifies weekly prepare leaves the current image and lock usable.

Focused save: 12. Source execution: 2,056 private and 2,056 unset
with 1,269 filtered each. Five receipts are byte-identical to baseline.
Store: 113 passed, one subprocess lock probe ignored by libtest.
Strict clippy, non-test lib, fmt, Python 61/182/347/22 and genmap pass.

Ave Deus Mechanicus
Project dirty factions in RepListID order and preserve the signed
standing delta. Keep forced reactions separate. Honor contributions
still refuse at the first NEW write, and the session stages tutorials
last. Detached saves stop at the real commit call at :15779.

`player_save_tests.rs` moves :15775 to :15779 and checks the 19th
learning write, the tutorial insert at C:p1605. `player_tests.rs`
binds the empty tutorial state confirmed by C:p1481-1491. The honor
test covers :16010 without touching existing assertions.

Focused reputation and honor: one each. Source execution: 2,058
private and 2,058 unset, 1,269 filtered each. The five startup
receipts match the baseline byte for byte. Strict clippy, non-test
lib, fmt, four Python suites (61/182/347/22) and genmap pass.

Ave Deus Mechanicus
Move `SolenorResetOwner` to `ai/scripted.rs` as `ScriptedAiResetOwner`.
Preserve its three Solenor methods and refusals. Update `()` and
`SolenorBinding` implementers, `with_solenor_binding`, `SolenorAi`
construct and reset, `SourceScriptedAi` construct and reset, and
`SourceCreatureAis::construct_loaded_script`, `loaded_just_respawned`,
and `SourceCreatureAi::just_respawned` to use the renamed trait.

Bind the temporary dragon to the loaded ScriptDev registry. Reuse the
live CreatureAI base and its generic timers. The emerald dragon and
Taerar constructors each call the inherited dragon Reset. Taerar clears
its flag if set, then casts 24886 through UnitAI on the same RNG thread.
The cast borrows the constructor's base before Creature.cpp:883
installs it. Keep SpellListChanged and JustRespawned pending.

Move the existing `GetCastingObject` checks from `spells/checks.rs`
into `SourceSpell::casting_object` for reuse. Spell 24886 has target A
22, target B 7 and radius index 12 in initial-classicmangos.sql:857002.
Mode 22 writes the caster's live source point and source mask bit at
Spell.cpp:2407-2412,163-169. The shared mode 7 now refuses at
Spell.cpp:2323. The mode 63 assertion is unchanged.

Receipt changes:
- `matched_raw_words`: 8716 to 8722. Trace :61741102-61741152 records
  the six consumed words.
- `next_raw`: 8716 to 8722. `next_word`: 75745173 to 728388447.
  Trace :61741102 is the old boundary; :61741261 is the new one.
- `next_owner` in both map lines and `next_owner_map0` and
  `next_owner_map1` in startup:
  `execution.ai.ScriptDevAIMgr_370.GetAI_owner.boss_taerar` to
  `execution.spells.Spell_2323.FillAreaTargets_owner`.
- `next_source` in both map lines: ScriptDevAIMgr.cpp:370 to
  Spell.cpp:2323. Trace :61741089-95 is the old factory boundary;
  :61741157-59 schedules the cast before its location check.

The two frozen lines and all other map fields are unchanged. The
startup adapter now binds the six draws and checks the fourth queued
event, up from three at trace :61741159. The direct cast owner test
now borrows the same base as the constructor. The authored targeting
test checks the source write before the mode-7 refusal.
The ported-registry census in `ai_selection_tests.rs` gains one entry:
`boss_taerar` goes from absent to 1. Entry 14890 is the only matching
template at initial-classicmangos.sql:430292; the ScriptDev
registration is at bosses_emerald_dragons.cpp:569-572. The 330
templates with a GetAI slot and 273 distinct names stay unchanged.

Verification: four focused tests passed. Full `source_execution`
passed 2,057 tests with 49 private inputs and 2,057 with them unset.
The private run reported 19 SKIPs. The five sorted receipts hash to
f5736919807e36db7e62668aa86fd2fbc75edf96d5803bdbbc987fb360d72690.
Strict Clippy, the non-test library check, fmt, four Python suites
(61, 182, 347, 22 tests), and genmap last all passed.

Ave Deus Mechanicus
- 53fbf8d (samwhosung#3039): Signal unit field changes through linked watchers.
- 0e5c47b (samwhosung#3045): Box disjoint system parameter state.
- 3216a7a (samwhosung#3042): Validate the optional call host once per run.

Native object packets still use the shared watcher path. The fork
has no caller of the removed watcher export and no override of the
changed host lends. Keep its separate cached-state box pending a stack
comparison. Regenerating the map and deviation index produced no diff.

Linux gates:
- `mbx fmt --all -- --check` passed.
- Strict Clippy passed for app and UI, and for app without defaults.
- App lib, installed and empty `WOW_DATA`: 9,221 of 9,221 passed in
  each configuration across the full suite and an isolated rerun;
  33 ignored each. `resident_result_transport_changed_source_allows_
  historical_ack_not_fresh_geometry` failed on a local geometry
  reply deadline at two and four threads under load. It passed in
  both configurations on the same binary with `--exact
  --test-threads=1`. The installed run had 17 GiB of swap in use.
- UI: 3,620 unit and 19 integration tests passed, 1 ignored,
  0 doctests.
- Python: verify-libtest-output 61, native-starter 182,
  classic-export 347, initial-hooks 22 passed.

Ave Deus Mechanicus
Stage the CharacterHandler.cpp:512 save once. Publish the C rows
through SourceColdStore and acknowledge live save state after the
checked receipt. Refuse REMOVED Items at Item.cpp:351 before writing.
Observe the solo roster and send success only after publication.

Replace the C:p1502-1607 commit refusal in player_save_tests.rs with
the full 37-mutation comparison. Its authored final case now checks
the exact six observations through Player.cpp:15777. Keep every
earlier named refusal. player_save_inventory_tests.rs and
player_save_learning_tests.rs consume the same C batch and keep their
A/B assertions. The learning test checks the :16211 slot refusal.
player_tests.rs supplies the live C fixture. source_cold_tests.rs
registers the receipt, reopen and failure tests.

Gates: 12 focused save, one C capture and three focused store tests.

Full source_execution: 2,061 private and 2,061 unset, 1,269 filtered.
All five receipts match 77b8773 (SHA-256 aa6e962505ae3416...).
Store: 116 passed; the outer ignored lock probe ran in its parent.
Strict Clippy, non-test lib, fmt, Python 61/182/347/22, genmap passed.

Ave Deus Mechanicus
PlayerCast::check: named CheckRange refusal -> shared range kernel
at Spell.cpp:5145. The next unbound read is CheckPower at :5153.

- range_objects and range_stores: unbound -> live caster and target,
  loaded range and facing (:6164-6169, :6246-6247).
- combat_reach: unbound -> live Unit words (:6173, :6189).
- range_movement_flags, moving_forward and walking: unbound -> live
  MovementInfo (:6196; Unit.h:1786,1789).
- range_mod_owner and apply_range_mod: unbound -> current Player
  modifier list (:6207-6208; Player.h:2577-2631).

In player_cast.rs, the C:371 Fireball request changes its stop from
CheckRange to CheckPower. The loaded range plus both live reaches is
cached before the new stop. The original Targeting, empty generic
slot and T:75160591-93 queued event checks remain. Startup expectations
are unchanged.

Focused: 1 admission and 19 range. Full source_execution: 2,062
private and 2,062 unset, zero failed, 1,269 filtered each. Private
SKIP count 19. All five sorted startup receipts match baseline.
Strict Clippy, non-test lib, fmt, Python 61/182/347/22, genmap passed.

Ave Deus Mechanicus
PlayerCast::check: named CheckPower refusal -> shared CheckPower
at Spell.cpp:5153. CheckCasterAuras at :5158 remains unbound.

- client_unit_cast: absent skills -> borrow the loaded Player rows.
- player_rank and cast_time: share the Player::GetSpellRank lookup
  (Player.cpp:5885-5897; Spell.cpp:3033-3034,6331).
- power_objects and power_context: unbound -> live caster and resource
  fields (Spell.cpp:6376,6384,6397-6398).
- power_level, power_rank, power_create_health and power_create_mana:
  unbound -> live level, skill rank and base resources (:6331-6342,6364).
- power_flat_modifier and power_multiplier: unbound -> current school
  words (:6357,6367).
- power_mod_owner and apply_cost_mod: unbound -> Player modifier
  list and existing charge/value refusal (:6360-6361).

In player_cast.rs the C:371 Fireball stop moves CheckPower ->
CheckCasterAuras. The test keeps the existing range, slot, event and
Targeting checks. It verifies the stock 30 mana cost, uses 30 and 29
current mana, and verifies CheckPower does not debit the mana field.
See pre-start-classicmangos.sql:837896 and Spell.cpp:6379-6399.
Startup expectations are unchanged.

Focused: 1 admission and 20 power. Full source_execution: 2,062
private and 2,062 unset, zero failed, 1,269 filtered each. Private
SKIP count 19. All five sorted startup receipts match baseline.
Strict Clippy, non-test lib, fmt, Python 61/182/347/22, genmap passed.

Ave Deus Mechanicus
PlayerCast::check: named CheckCasterAuras refusal -> the existing
kernel at Spell.cpp:5158. Use live Unit flags and charmer identity.

- visit_caster_auras: unbound -> borrow the live GetAurasByType list,
  then resolve the effect's spell definition (Spell.cpp:6103-6113).
  The default visits the existing owner slice once and keeps its
  named refusal if unbound.
- check_cancels_aura_types: iterate the snapshot slice -> stop the
  owner visit on the first uncancelled effect (:6107-6117).
- PlayerCast::call: generic RemoveCastAuras refusal -> named Prepare
  action aura stop at Spell.cpp:3046 for the live call.

In player_cast.rs the C:371 Fireball stop moves CheckCasterAuras ->
RemoveAurasOnCast. State Targeting -> Casting and timer 0 -> 1500 ms
at Spell.cpp:3025,3033-3038 and C:373. The range, cost, queued event
and empty slot assertions remain. The authored low mana case now
returns NoPower through the loading-session result suppression. The
new stunned case checks the first live effect's mechanic 7 without
entering Prepare. Startup expectations are unchanged.

The existing cast-time helper computes this timer. Its earlier
SpellMgr.cpp:131 live trade read remains a separate source edge.

Focused: 1 admission and 15 caster aura tests. Full source_execution:
2,062 private and 2,062 unset, zero failed and 1,269 filtered each.
Private SKIP count 19. All five sorted receipts match baseline.
Strict Clippy, non-test lib, fmt, Python 61/182/347/22, genmap passed.

Ave Deus Mechanicus
Upstream samwhosung#3045 boxes disjoint system parameter state. The separate
fork box from 53b2e7b no longer protects the nameplate click test
from a stack overflow, so remove it and match upstream.

The exact nameplate click test passed on the default 2 MiB stack
with and without the fork box. On a 64 KiB grid, both builds
overflowed at 393,216 bytes and first passed at 458,752 bytes.
Both had 1,638,400 bytes of margin at that granularity.

Linux gates: fmt and strict Clippy passed for app plus UI, and
for app without defaults. App lib with installed WOW_DATA passed
9,221 tests with 33 ignored. With empty WOW_DATA, 9,220 passed
and 33 were ignored. The same native geometry reply deadline
seen on the boxed merge failed at four threads; it passed on
the same binary with --exact --test-threads=1. Across both runs,
the empty-data configuration passed all 9,221 tests.

Ave Deus Mechanicus
…the verified merge

Join UpstreamMerge8's signed merge 1a42cf4 and its follow-up
1148535 onto the local P2P foundation. Upstream samwhosung#3045 boxes the
same oversized script host state as the fork's CachedState box, and
measured stack margins were identical, so the follow-up removed the
fork box and script_calls.rs now matches upstream.

The joined tree changes only the 13 client files of the verified
merge. Their contents equal 1148535. No runtime, simulation, store
or script file changes. Genmap produced no diff.

Ave Deus Mechanicus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants