claude-memory/graph/solutions/rosterlink-refactor-for-bench-players-db7b8c.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
700 B
Markdown

---
id: db7b8cba-1884-4def-ae36-033fdf1b70db
type: solution
title: "RosterLink refactor for bench players"
tags: [strat-gameplay-webapp, python, vue, refactor, rosterlink, bench-players]
importance: 0.7
confidence: 0.8
created: "2026-01-18T04:15:29.580857+00:00"
updated: "2026-01-18T04:15:29.580857+00:00"
---
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.