claude-memory/graph/solutions/swar-cap-validation-for-transaction-builder-4207f9.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

700 B

id type title tags importance confidence created updated
4207f988-30cb-4555-873f-9a4f7e2ed55b solution sWAR cap validation for transaction builder
major-domo
python
fix
transaction-builder
swar
0.7 0.8 2026-01-06T19:17:15.255699+00:00 2026-01-06T19:17:15.255699+00:00

Fixed missing sWAR cap validation in TransactionBuilder.validate_transaction(). The validation calculated projected sWAR but never checked against the team's salary cap. Added: major_league_swar_cap field to RosterValidationResult, validation logic using Team.salary_cap with fallback to config.swar_cap_limit, updated status display with / indicators. Affects both /ilmove and /dropadd commands.