- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
700 B
Markdown
13 lines
700 B
Markdown
---
|
|
id: 4207f988-30cb-4555-873f-9a4f7e2ed55b
|
|
type: solution
|
|
title: "sWAR cap validation for transaction builder"
|
|
tags: [major-domo, python, fix, transaction-builder, swar]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2026-01-06T19:17:15.255699+00:00"
|
|
updated: "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.
|