claude-memory/graph/solutions/rosterlink-refactor-for-bench-players-db7b8c.md

874 B

id type title tags importance confidence created updated relations
db7b8cba-1884-4def-ae36-033fdf1b70db solution RosterLink refactor for bench players
strat-gameplay-webapp
python
vue
refactor
rosterlink
bench-players
0.7 0.8 2026-01-18T04:15:29.580857+00:00 2026-03-03T06:37:31.706834+00:00
target type direction strength edge_id
4cb03629-1d2d-467f-90af-01dc405abcd1 RELATED_TO incoming 0.69 70510679-06db-425a-b967-a48ef9925337

Refactored bench player storage from Lineup table (position=BN) to RosterLink table with player_positions JSONB column. Added player_data JSONB to cache name/image/headshot at lineup submission, eliminating runtime API calls. Added is_pitcher/is_batter computed properties supporting two-way players. Key fix: CP (Closer Pitcher) must be in PITCHER_POSITIONS set alongside P, SP, RP, CL.