diff --git a/docs/sprints/sprint-2/joint.md b/docs/sprints/sprint-2/joint.md index bea579cb0..62c6edae5 100644 --- a/docs/sprints/sprint-2/joint.md +++ b/docs/sprints/sprint-2/joint.md @@ -4,21 +4,20 @@ **Branches:** `server` + `client` (merge to main for integration) -## Pre-Sprint +## Design Tasks -| # | Task | Owner | Notes | -|---|------|-------|-------| -| #359 | Resolve Q-018 (shadowcast algorithm) | Tyre, Dudley | Blocks #110. Benchmark symmetric vs recursive at 150x150 scale. | -| #360 | Resolve Q-019 (entity ID stability) | Tyre, Dudley | Affects client entity lifecycle (#130). | -| #358 | Design ObserverSnapshot v2 schema | Tyre | Add visible_tiles, player_facing, game_time fields. Both teams need this before fog integration. | +| # | Title | Owner | Blocks | +|---|-------|-------|--------| +| #359 | Resolve Q-018: shadowcasting algorithm selection | server (Tyre, Dudley) | #110 | +| #360 | Resolve Q-019: entity ID stability | joint (Tyre, Dudley) | #130 | +| #358 | Design ObserverSnapshot v2 schema | joint (Tyre) | #112, #113, #25 | ## Integration Tickets | # | Title | Blocked by | |---|-------|------------| -| #81 | End-to-end connection test | ~~Sprint 1 carry-over~~ **done** | -| #356 | Fog data through bridge | Server #112, Client #113 | -| #357 | Sprint 2 proof: fog of perception | All above | +| #356 | Fog data through bridge | #112, #113 | +| #357 | Sprint 2 proof: fog of perception | #356, #116, #25 | Use `db/connectors/ticket show ` for full details. @@ -43,9 +42,9 @@ This is the first moment the game *feels* like an immersive sim — you can't se ## Notes -- **#81 (done):** End-to-end connection test completed in Sprint 1. Full round-trip verified. -- **ObserverSnapshot v2:** The current `ObserverSnapshot` (`server/src/bridge/types.rs`) only has `tick` + `entities: Vec`. Sprint 2 needs: tile visibility data, facing direction, time-of-day. Design the expanded schema before both teams start, so the contract is clear. -- **Fog data through bridge:** Server #112 produces visibility-filtered snapshots. Client #113 consumes them. The bridge already handles MessagePack serialization — new fields just need to be added to both sides. +- **#81 (done):** End-to-end connection test completed in Sprint 1. IPC bridge is operational. +- **#358 (ObserverSnapshot v2):** The current `ObserverSnapshot` (`server/src/bridge/types.rs`) only has `tick` + `entities: Vec`. Sprint 2 needs: tile visibility data, facing direction, time-of-day. Design the expanded schema before both teams start, so the contract is clear. +- **#356 (Fog data through bridge):** Server #112 produces visibility-filtered snapshots. Client #113 consumes them. The bridge already handles MessagePack serialization — new fields just need to be added to both sides. - **Test plan per D-030 Phase 1:** Sprint 2 aligns with D-030's "Phase 1 (sprint 1-2): test infra + collision/pathfinding/time." Collision tests exist (`movement.rs`). Shadowcasting (#110) needs unit tests for known LOS scenarios (corridor, corner peek, wall block). Vision cone (#111) needs sector boundary tests. ## PR Workflow