==> Dispatch: phase 2 A* supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty' [LCM] Failed to initialize: database is locked supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty' Done. `engine/pathfinding.py` — the only file touched. **API** - `astar_path(game_map, start, goal, occupied=None) -> list[Point]` — 4-directional A*, Manhattan heuristic, returns `[start, ..., goal]`, `[]` on no path / non-floor endpoint / occupied goal. Never raises. - Obstacles: walls + occupied tiles (no stacking). Start tile is exempt (mover already stands there). `occupied=None` derives blockers from `game_map.entities` via `blocks_movement` (public helper `blocked_positions`); an explicit collection overrides — chase callers pass enemies-only so the player's tile stays a valid goal. **Verification** - Self-check (`python -m engine.pathfinding`): 5 generated maps × 20 random floor→floor paths each (endpoints, 4-dir contiguity, no revisits, all-walkable); wall endpoints and walled-off goals → `[]`; occupied chokepoint blocks (explicit set *and* derived from `map.entities`); start-exempt; straight corridor yields the Manhattan-optimal path. - `python tests/smoke.py --phase 1`: PASS (no regression). - `--phase 2` fails only on the `phase_not_built(2)` stub — untouched, per instructions, awaiting the gate integrator.