163 lines
13 KiB
Markdown
163 lines
13 KiB
Markdown
# State-dependent source route coverage ledger — 2026-11-27
|
||
|
||
> Later evidence: [2026-11-28 coverage follow-up](current-status-20261128.md) closes the three old host gaps for0xc5,0x319 and0x172; this original ledger remains historical.
|
||
|
||
|
||
This ledger accounts for exactly the eleven historical state-dependent observations in [ec1b15b3 audit](../source-opcode-coverage-20261127/audit.json). It records assertions, not an inference that every route needs the same admission policy. All eleven have positive host evidence; three have explicit remaining host coverage gaps (0xc5, 0x172, 0x319). No route is promoted to native-reader or live-client acceptance by this ledger.
|
||
|
||
## Evidence boundary
|
||
|
||
Reused the [446-test gate receipt](../host-fixture-rollup-20261127/route-integration-receipt.json): zero failures and seven explicit platform skips. Its log SHA256 is `5342882970b882c902cbd83081308359dc79c4ade05bbe2b311bfab9699f19a7`; the guild, remote-speed, pet-unlearn/mount, source-combat and peer-lifecycle blocks report Test Passed. Later despawn/custom-animation evidence is from their focused receipts, not retroactively attributed to that gate. Parent third integration gate remains outside this report. No full gate or unchanged fixture was rerun.
|
||
|
||
## Route assertions
|
||
|
||
### 0x92 SMSG_GUILD_EVENT
|
||
|
||
Fixture `tests/guild_notifications_test.cpp`: [L49](../../../../tests/guild_notifications_test.cpp#L49), [L60](../../../../tests/guild_notifications_test.cpp#L60), [L61](../../../../tests/guild_notifications_test.cpp#L61), [L81](../../../../tests/guild_notifications_test.cpp#L81).
|
||
|
||
Positive: Exact guild event payloads; roster identities enable removal/rank/leader conversion.
|
||
|
||
Negative: Removal before roster; ambiguous identities/ranks, missing GUID, truncated or trailing data.
|
||
|
||
Evidence: 446 gate: source-guild-petition-ticket-notifications
|
||
|
||
Remaining boundary: No new native reader or in-game guild/club acceptance; Aurora is separate.
|
||
|
||
### 0xb3 SMSG_GAMEOBJECT_CUSTOM_ANIM
|
||
|
||
Fixture `tests/native_go_custom_lifecycle_test.cpp`: [L16](../../../../tests/native_go_custom_lifecycle_test.cpp#L16), [L18](../../../../tests/native_go_custom_lifecycle_test.cpp#L18), [L20](../../../../tests/native_go_custom_lifecycle_test.cpp#L20), [L23](../../../../tests/native_go_custom_lifecycle_test.cpp#L23), [L24](../../../../tests/native_go_custom_lifecycle_test.cpp#L24), [L28](../../../../tests/native_go_custom_lifecycle_test.cpp#L28), [L31](../../../../tests/native_go_custom_lifecycle_test.cpp#L31), [L32](../../../../tests/native_go_custom_lifecycle_test.cpp#L32).
|
||
|
||
Positive: Exact bound GO animation; pre-create/metadata hold survives and replays exactly once on valid binding.
|
||
|
||
Negative: Non-GO emitters, invalid presentation, expiry, generation/map/realm/owner changes, destroy/out-of-range/logout, eviction and malformed framing.
|
||
|
||
Evidence: go-custom-lifecycle-20261127/receipt.json: 51 checks, 26 failures before, 0 after; dcc8a794
|
||
|
||
Remaining boundary: Native dispatch/reader and live bobber acceptance remain external; no new reader scan.
|
||
|
||
### 0xc5 MSG_MOVE_TELEPORT
|
||
|
||
Fixture `tests/native_remote_speed_pipeline_test.cpp`: [L304](../../../../tests/native_remote_speed_pipeline_test.cpp#L304), [L308](../../../../tests/native_remote_speed_pipeline_test.cpp#L308).
|
||
|
||
Positive: Exact observer teleport opcode/body via real entity translator.
|
||
|
||
Negative: Peer pipeline excludes this opcode from its ownership; shared speed negatives do not prove teleport lifecycle admission.
|
||
|
||
Evidence: 446 gate: native-bound-remote-speed-pipeline and native-peer-player-lifecycle
|
||
|
||
Remaining boundary: Direct route-specific malformed, unknown/stale presentation and lifecycle-negative cases remain unproved. Native runtime acceptance not established here.
|
||
|
||
### 0x127 SMSG_SET_PROFICIENCY
|
||
|
||
Fixture `tests/native_proficiency_route_test.cpp`: [L13](../../../../tests/native_proficiency_route_test.cpp#L13), [L18](../../../../tests/native_proficiency_route_test.cpp#L18), [L22](../../../../tests/native_proficiency_route_test.cpp#L22), [L30](../../../../tests/native_proficiency_route_test.cpp#L30).
|
||
|
||
Positive: Weapon/armor classes: all mask bits and complete masks, exact bundle.
|
||
|
||
Negative: All 254 unsupported classes; truncation/tail; recovery.
|
||
|
||
Evidence: proficiency-route-20261127/receipt.json: 333 checks, 254 failures before, 0 after; fa9f5cad; included 446 gate
|
||
|
||
Remaining boundary: Client UI acceptance remains external; no invented world-readiness restriction.
|
||
|
||
### 0x14e SMSG_CANCEL_COMBAT
|
||
|
||
Fixture `tests/source_combat_event_test.cpp`: [L38](../../../../tests/source_combat_event_test.cpp#L38), [L42](../../../../tests/source_combat_event_test.cpp#L42), [L45](../../../../tests/source_combat_event_test.cpp#L45), [L48](../../../../tests/source_combat_event_test.cpp#L48), [L50](../../../../tests/source_combat_event_test.cpp#L50), [L53](../../../../tests/source_combat_event_test.cpp#L53).
|
||
|
||
Positive: Empty source emits exactly one 0x4d0025 empty event and preserves bindings; valid event recovers after each malformed request.
|
||
|
||
Negative: Nonempty lengths 1 (zero and nonzero), 8 and 32 throw Error.
|
||
|
||
Evidence: This commit: 14 added assertions; changed fixture 357 assertions PASS, unchanged runtime.
|
||
|
||
Remaining boundary: No new native reader/runtime acceptance. Empty producer/writer contract does not justify invented state admission rules.
|
||
|
||
### 0x172 SMSG_MOUNTSPECIAL_ANIM
|
||
|
||
Fixture `tests/native_pet_unlearn_mount_test.cpp`: [L77](../../../../tests/native_pet_unlearn_mount_test.cpp#L77), [L79](../../../../tests/native_pet_unlearn_mount_test.cpp#L79), [L81](../../../../tests/native_pet_unlearn_mount_test.cpp#L81).
|
||
|
||
Positive: Visible remote player emits mount-special opcode.
|
||
|
||
Negative: Creature, selected self and unknown actor emit no mount-special opcode.
|
||
|
||
Evidence: 446 gate: native-pet-unlearn-mount-guards
|
||
|
||
Remaining boundary: Positive checks opcode presence only: full server payload and generation/map/logout matrix remain unproved. Client-direction kit-count checks do not close this gap.
|
||
|
||
### 0x215 SMSG_GAMEOBJECT_DESPAWN_ANIM
|
||
|
||
Fixture `tests/native_go_despawn_lifecycle_test.cpp`: [L35](../../../../tests/native_go_despawn_lifecycle_test.cpp#L35), [L36](../../../../tests/native_go_despawn_lifecycle_test.cpp#L36), [L38](../../../../tests/native_go_despawn_lifecycle_test.cpp#L38), [L47](../../../../tests/native_go_despawn_lifecycle_test.cpp#L47), [L59](../../../../tests/native_go_despawn_lifecycle_test.cpp#L59), [L64](../../../../tests/native_go_despawn_lifecycle_test.cpp#L64), [L69](../../../../tests/native_go_despawn_lifecycle_test.cpp#L69), [L71](../../../../tests/native_go_despawn_lifecycle_test.cpp#L71), [L75](../../../../tests/native_go_despawn_lifecycle_test.cpp#L75).
|
||
|
||
Positive: Exact packed current GUID for supported GO/totem/dynamic emitters; animation preserves binding; replacement uses new presentation.
|
||
|
||
Negative: Unknown/zero, invalid types/presentation/world state; destroy/logout; malformed framing.
|
||
|
||
Evidence: go-despawn-lifecycle-20261127/receipt.json: 37 checks, 17 failures before, 0 after; f3e6c48 (later than 446 gate)
|
||
|
||
Remaining boundary: Maintained writer/generic packed-GUID evidence is not a fresh native dispatch/reader or live animation proof.
|
||
|
||
### 0x24c SMSG_SPELLLOGEXECUTE
|
||
|
||
Fixture `tests/source_combat_event_test.cpp`: [L129](../../../../tests/source_combat_event_test.cpp#L129), [L132](../../../../tests/source_combat_event_test.cpp#L132), [L135](../../../../tests/source_combat_event_test.cpp#L135), [L143](../../../../tests/source_combat_event_test.cpp#L143).
|
||
|
||
Positive: Exact execution event with repeated effect aggregation and power drain.
|
||
|
||
Negative: All truncations/tail through verify; unsupported effect roles, unnamed durability slot, unpresented actor.
|
||
|
||
Evidence: 446 gate: native-source-combat-event-notifications; changed fixture 357 PASS also includes these cases
|
||
|
||
Remaining boundary: Unsupported effects remain explicitly held; tested subset is not all effect roles or live client acceptance.
|
||
|
||
### 0x278 SMSG_PLAY_OBJECT_SOUND
|
||
|
||
Fixture `tests/native_object_sound_lifecycle_test.cpp`: [L32](../../../../tests/native_object_sound_lifecycle_test.cpp#L32), [L34](../../../../tests/native_object_sound_lifecycle_test.cpp#L34), [L43](../../../../tests/native_object_sound_lifecycle_test.cpp#L43), [L55](../../../../tests/native_object_sound_lifecycle_test.cpp#L55), [L59](../../../../tests/native_object_sound_lifecycle_test.cpp#L59), [L63](../../../../tests/native_object_sound_lifecycle_test.cpp#L63), [L66](../../../../tests/native_object_sound_lifecycle_test.cpp#L66), [L69](../../../../tests/native_object_sound_lifecycle_test.cpp#L69).
|
||
|
||
Positive: Exact sound payload for visible actors; replacement uses current GUID.
|
||
|
||
Negative: Unknown/zero, inactive world, stale/unloaded actor, retired binding/logout and malformed frame.
|
||
|
||
Evidence: object-sound-lifecycle-20261127/receipt.json: 33 checks, 20 failures before, 0 after; 00ef220a; included 446 gate
|
||
|
||
Remaining boundary: Native reader/runtime sound presentation not newly established by host tests.
|
||
|
||
### 0x2f4 SMSG_WEATHER
|
||
|
||
Fixture `tests/native_weather_route_test.cpp`: [L33](../../../../tests/native_weather_route_test.cpp#L33), [L34](../../../../tests/native_weather_route_test.cpp#L34), [L38](../../../../tests/native_weather_route_test.cpp#L38), [L40](../../../../tests/native_weather_route_test.cpp#L40), [L43](../../../../tests/native_weather_route_test.cpp#L43), [L47](../../../../tests/native_weather_route_test.cpp#L47), [L50](../../../../tests/native_weather_route_test.cpp#L50), [L51](../../../../tests/native_weather_route_test.cpp#L51).
|
||
|
||
Positive: All four source types, grade boundaries/adjacent values, instant bit; exact bundle; ignored legacy sound and preserved negative zero.
|
||
|
||
Negative: Invalid types, nonfinite/out-of-range grade, truncation/tail; recovery.
|
||
|
||
Evidence: weather-route-20261127/receipt.json: 151 checks PASS; c581a4b6; included 446 gate
|
||
|
||
Remaining boundary: Client weather scene semantics remain external; row membership is not presentation proof. No invented lifecycle policy.
|
||
|
||
### 0x319 MSG_MOVE_TIME_SKIPPED
|
||
|
||
Fixture `tests/native_remote_speed_pipeline_test.cpp`: [L322](../../../../tests/native_remote_speed_pipeline_test.cpp#L322), [L324](../../../../tests/native_remote_speed_pipeline_test.cpp#L324), [L335](../../../../tests/native_remote_speed_pipeline_test.cpp#L335).
|
||
|
||
Positive: Exact peer GUID and 120ms elapsed in native 0x60004a packet.
|
||
|
||
Negative: Existing selected-self packet is missing elapsed bytes: proves malformed suppression, not isolated self-mover policy.
|
||
|
||
Evidence: 446 gate: native-bound-remote-speed-pipeline
|
||
|
||
Remaining boundary: Well-formed self/unknown/stale and lifecycle negatives remain unproved; native runtime acceptance external.
|
||
|
||
For 0xc5, the separate ownership assertion is [native_peer_player_pipeline_test.cpp:327](../../../../tests/native_peer_player_pipeline_test.cpp#L327). The remote-speed state-mutation cases exercise speed opcodes, so they are not counted as teleport lifecycle negatives.
|
||
|
||
## Added CANCEL_COMBAT coverage
|
||
|
||
Before this change the combat fixture had 343 assertions and no direct CANCEL_COMBAT semantic assertion. Added fourteen assertions to the integrated fixture: five exact event checks, five binding-preservation checks, and four malformed-payload checks. Each malformed request is followed by a valid request. The unchanged route passes: **357 assertions, zero failures** ([log](combat-after.log)). This is a coverage gap closure, not a demonstrated runtime bug or a claimed failing-before regression.
|
||
|
||
Source contract: `/mnt/Games/@project/build/source-server-main-20261124/source/src/game/Objects/Player.cpp:19121`, `Player::SendAttackSwingCancelAttack`, constructs `WorldPacket(SMSG_CANCEL_COMBAT, 0)`. Maintained native writer: `/mnt/Games/@project/servers/trinity-forever/src/server/game/Server/Packets/CombatPackets.h:135`, `CancelCombat`, allocates zero fields and returns the packet unchanged. The existing translator consumes the entire empty input and emits 0x4d0025. These support empty framing, not a newly invented actor or world-state restriction. No fresh binary scan or native opcode-reader claim.
|
||
|
||
Compiled only the changed fixture with C++20, `-Wall -Wextra -Wpedantic -Werror`, includes `include`/`native`, and linked copied completed host libraries with `-lgateway_native -lgateway_protocol -lcrypto -lz`. [Input hashes](host-inputs.json) identify the snapshot; source size/mtime/inode were stable across copying. No codec/native rebuild.
|
||
|
||
## Cross-cutting activation evidence
|
||
|
||
Reused [parent activation receipt](../gameobject-activation-20261127/receipt.json): 180 passing checks after the source per-viewer ACTIVATE1 → native4 fix on both create and sparse updates (including clearing). This is separate from the eleven opcodes and does not prove client minimap behavior or a particular player’s quest eligibility. No duplicate SQL or activation test run. This is historical evidence only: parent’s 20:32:53 outbox correction supersedes 08883120 with 85f7b9ca (conditional chest mapping 0x4024 and same-source-batch handling), through rollup 75d0ba65/revert 0d37c0b0. The old 180 checks do not validate that replacement; no replacement test result is claimed here.
|
||
|
||
## Finite outcome
|
||
|
||
The complete historical ledger is closed as documentation; the three stated host coverage gaps and all stated reader/runtime boundaries remain visible. Only the missing 0x14e fixture checks were added. No entity, codec, parent rollup, or other test files changed.
|