1bf5b526be
Work-Package: M02-QAR-INTEGRATOR-CLOSEOUT-001 Agent: sindo-main-codex Tests: all M02 contracts, renderer dry-run, documentation and coordination gates passed Fidelity: direct binding evidence and reference-only timing/routing are separated; remaining locomotion/camera gaps stay explicit
4.4 KiB
4.4 KiB
M02 — Player Decomposition
Outcome
Разделить тестового player controller на input, movement, camera, terrain query и presentation без изменения наблюдаемого поведения.
Steps
- Заменить hardcoded keys на remappable Input Map actions с профилем 3.3.5a.
- Выделить
PlayerInputSource → MoveIntent. - Выделить local movement state/controller.
- Выделить
TerrainQueryи убрать прямой ADT parsing из player. - Выделить third-person camera rig и camera collision policy.
- Выделить character appearance и animation presenters.
- Оставить sprint/flight debug-функции только в sandbox profile.
- Добавить movement/camera state tests и regression scene.
Fidelity evidence
Скорости, повороты, jump/fall/swim/fly, camera orbit/zoom и input semantics сверяются с клиентом 3.3.5a. Debug sprint не считается gameplay parity.
Exit criteria
Каждый компонент заменяем независимо; sandbox управляется не хуже baseline; gameplay logic не загружает визуальные assets.
Evidence
- Date: 2026-07-15
- Revision/worktree: merged master
eb122d5; closeoutwork/sindo-main-codex/m02-integrator-closeout. - Commands:
verify_player_input.gd;verify_local_player_movement.gd;verify_player_movement_capabilities.gd;verify_terrain_query.gd;verify_third_person_camera_rig.gd;verify_character_presentation.gd;verify_coordinate_conversion_boundaries.gd;verify_streaming_focus.gd;tools/run_render_baseline.ps1 -DryRun; documentation, coordination and diff-hygiene gates. - Results: input PASS (
16actions,9intent cases,3profiles, one provenance fixture,3real-scene cases); movement PASS (15cases,2state transitions); profile capabilities PASS (3profiles, sprint/flight allow/reject and2scenes); terrain PASS (4contract, interpolation, cache and2failure cases); camera PASS (12state and3policy cases); presentation PASS (9appearance and10animation cases across3scenes); coordinate boundary PASS (103files,5consumers); StreamingFocus PASS (2runtime scenes,3capture tools). Renderer dry-run passed project, material, dedupe and shutdown gates, manifest7/7/7, calibration maximum error0.000015, server-spawn renderer and all seven planned checkpoints. - Fidelity comparison: selected build-12340 default bindings are direct private
observations pinned by
DefaultBindings.wtfSHA-25635FFA0E4E2356A13A0633A848F9E57ABE7DF9D8A16C2245E15D33013AD2F56A5andBindings.xmlSHA-2562E01276AFB7462F1417710F13B4BF1A456341F7F28CC8AE0D6D9C7442D7F6793; only sanitized selected facts are committed.3.141594rad/s keyboard turn is pinned to TrinityCore 3.3.5 revision2853a621d6af91a803787a2b8a509f4ce3e0300d; right-mouse A/D strafe routing is supported by WoWee revision626243e937fb93965fa583a6507ed5a1aa7dda4b. These two sources are compatibility references, not direct client timing/ conditional-behavior proof. Translation speeds and camera values remain sandbox regression baselines rather than original-client parity evidence; jump/fall/swim/fly gameplay is not implemented by this decomposition target. Debug sprint/free flight is proven unable to execute inBlizzlike335. - Changed files: typed input intent/actions/source, local movement/capabilities, terrain query, camera rig/collision policy, character appearance/animation presenters, player composition, Input Map configuration, asset-free regression scenes, sanitized input fixture, M02 verifiers, module specifications and M02 coordination claims.
- Remaining risks: direct build-12340 timing evidence for movement/camera,
jump/fall/swim/fly, autorun, left-button camera/select behavior, active camera
collision, terrain slopes/holes/liquids, persisted keybindings, server authority,
prediction and reconciliation remain for M09/M10/M12. Runtime renderer scenes
continue to default to explicit
RenderSandboxuntil an application shell selectsBlizzlike335. M02 makes no complete1:1compatibility claim.