- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
675 B
Markdown
13 lines
675 B
Markdown
---
|
|
id: 65a610d6-5434-43c1-bd3c-6af338259586
|
|
type: solution
|
|
title: "Dynamic salary cap refactor complete"
|
|
tags: [major-domo, python, refactor, salary-cap, transactions, draft]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2025-12-09T23:14:23.610725+00:00"
|
|
updated: "2025-12-09T23:14:23.610725+00:00"
|
|
---
|
|
|
|
Replaced all hardcoded 32.0/32.001 salary cap values in draft.py and transactions.py with dynamic Team.salary_cap field. Created get_team_salary_cap() and exceeds_salary_cap() helper functions in helpers.py that support both dict and Pydantic models. Error messages now show actual team cap. 21 unit tests covering all edge cases. Feature branch: feature/dynamic-salary-cap
|