feat: add /dev refractor-test integration test command #161

Merged
cal merged 10 commits from feat/refractor-integration-test into main 2026-04-10 02:23:22 +00:00

10 Commits

Author SHA1 Message Date
cal
d123437f0e Merge branch 'main' into feat/refractor-integration-test
All checks were successful
Ruff Lint / lint (pull_request) Successful in 31s
2026-04-10 02:23:09 +00:00
Cal Corum
f3a83f91fd fix: remove dead parameters from PR review feedback
All checks were successful
Ruff Lint / lint (pull_request) Successful in 13s
Remove unused `player_name` param from `_execute_refractor_test` and
unused `final` param from `update_embed` closure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 08:34:02 -05:00
Cal Corum
5b43f8dad3 fix: address code review — use PD_SEASON, top-level imports, fix kwargs typing
All checks were successful
Ruff Lint / lint (pull_request) Successful in 22s
- Replace hardcoded CURRENT_SEASON = 11 with PD_SEASON from helpers.constants
- Move get_team_by_owner import to top-level (no circular dependency)
- Replace kwargs dict unpacking with explicit keyword args (fixes Pyright)
- Remove unused os import
- Add comment documenting on_timeout limitation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 08:00:11 -05:00
Cal Corum
c683e36daf feat: conditionally load dev_tools cog when not in prod
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:54:33 -05:00
Cal Corum
9257852c3e feat: add refractor-test execute phase with step-by-step reporting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:53:10 -05:00
Cal Corum
129971e96b feat: add DevToolsCog with refractor-test setup phase
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:20:38 -05:00
Cal Corum
2067a02a23 feat: add play/game/decision data builders for refractor test
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:12:15 -05:00
Cal Corum
777e6de3de feat: add CleanupView for refractor test data
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:06:37 -05:00
Cal Corum
0aeed0c76f feat: add refractor test stat calculation helpers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:05:43 -05:00
Cal Corum
9922f3bb3e chore: add .worktrees/ to .gitignore
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 06:55:47 -05:00