Files

30 lines
3.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Complete time-skipped observer admission — 2026-11-27
The changed existing remote-speed pipeline fixture passes **173 checks** against the completed parent rollup libraries. Base is `75d0ba657669337f85171d18656759c11971d54e`; headers and copied native/protocol libraries come from that integration boundary. [Library hashes](host-inputs.json), [result](after.log), and [receipt](receipt.json) identify the run. Only this changed fixture was compiled and run; no native/codec rebuild or full gate.
## Contract and evidence boundary
Source `build/source-server-main-20261124/source/src/game/Handlers/MovementHandler.cpp:965–1001`, `HandleMoveTimeSkippedOpcode`, checks the mover and constructs the broadcast from `GetPackGUID()` plus uint32 lag. Its `SendMovementMessageToSet(..., true, _player)` excludes the sending player. `Objects/Object.cpp:1966` passes that exception through both direct and broadcaster paths. The transport boarding branch instead refreshes transport visibility; this fixture does not model that source-only branch.
Maintained native writer `servers/trinity-forever/src/server/game/Server/Packets/MovementPackets.cpp:1043`, `MoveSkipTime::Write`, emits mover GUID and uint32 elapsed. Existing `src/remote_speeds.cpp:198,211,234` maps the observer route to 0x60004a and preserves those fields. Existing `native/entity_translation.cpp:220–260` requires a current visible unit and matching named peer generation; time-skip is not a self-allowed observer route. Paths above are relative to `/mnt/Games/@project` except repository `src` and `native` paths.
This reuses source/maintained-writer and existing route evidence. It does not establish a new 70334 reader dispatch or live acceptance, and does not infer native-reader rules from source policy. The source exclusion supports the selected-player negative; stale presentation checks exercise the existing gateway binding contract.
## Assertions
[Changed integrated fixture](../../../../tests/native_remote_speed_pipeline_test.cpp#L335) sends each admission case as a complete packed GUID plus four elapsed bytes through `NativeEntityTranslation::translate`. The creation codec callback throws if called, so no mock serializer replaces this route.
- Exact single opcode and complete payload for a valid peer, with elapsed 0, 120, and UINT32_MAX.
- Complete selected-self and unknown-peer negatives, independent of truncation.
- Unsent/ineligible/zero-generation actor; wrong presentation realm/map or native identity; missing/unnamed/blocked/generation-mismatched peer; non-unit kind and removed actor.
- Changed translate-call realm and map reject the old presentation.
- Every admission rejection increments unsupported once and is followed by an exact valid peer packet after restoring presentation in the same translator.
- Recreated actor remains held with old naming generation and succeeds when that generation catches up.
- Every truncation and a trailing byte are tested with a valid peer, followed by successful valid traffic. These are framing checks, not evidence for self exclusion.
The previous selected-self test supplied only a GUID and could not distinguish parser rejection from admission. It is replaced rather than relabeled. No failing-before runtime regression is claimed: all new cases pass the unchanged implementation. Retirement and recreation here are explicit binding-state transitions, not a claim of full source create/destroy or world logout integration.
## Remaining boundaries
This closes the ledger’s complete-payload self/unknown/stale/map/realm gap for 0x319 at the entity translation boundary. No 0xc5 changes, no parent movement/runtime edits, no client actions. Full world/session teardown and native reader/runtime acceptance remain outside this focused result.