major-domo-v2/commands/transactions
Cal Corum 58043c996d fix: auto-detect player roster type in trade commands instead of assuming ML
/trade add-player hardcoded from_roster=MAJOR_LEAGUE for all players,
causing incorrect transaction records when trading MiL/IL players. This
cascaded into false roster validation errors for other teams' /dropadd
commands because pre-existing transaction processing misidentified which
roster a player was leaving from.

Now looks up the player's actual team and calls roster_type() to determine
the correct source roster. Same fix applied to /trade supplementary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 23:29:01 -06:00
..
__init__.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
CLAUDE.md Update transaction docs for trade acceptance workflow 2025-12-04 13:57:17 -06:00
DESIGN.md Transactions cog in place 2025-09-24 09:32:04 -05:00
dropadd.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
ilmove.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
management.py Fix sWAR display precision and draft team role pings 2025-12-12 18:41:46 -06:00
trade_channel_tracker.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
trade_channels.py CLAUDE: Fix trade system bugs and add smart channel updates 2025-10-09 20:55:19 -05:00
trade.py fix: auto-detect player roster type in trade commands instead of assuming ML 2026-03-01 23:29:01 -06:00