KoalaTrapLord
030bdf2b81
fix: CAST_PATTERN and LAND_PLAY_PATTERN regex to match Forge verbose log prefixes
...
- CAST_PATTERN: Add optional (?:Add To Stack:\s*)? prefix to match Forge's verbose log format
- LAND_PLAY_PATTERN: Add optional (?:Land:\s*)? prefix to match Forge's verbose log format
- Add [PARSE] diagnostic logging after combat stats parsing to confirm spells/lands/cmdr stats per seat
Root cause: Forge verbose output prefixes cast lines with "Add To Stack: " and land lines with "Land: "
but the regexes expected Ai(N) at the start of the line, causing 0 matches for all combat stats.
2026-03-19 22:06:17 -04:00
rgriffith
c83f7e0141
fix: repair broken if-statement on line 162
2026-03-19 21:45:42 -04:00
KoalaTrapLord
e5377ef4bc
fix: correct indentation and add forge-gui candidate path
2026-03-19 18:24:57 -04:00
KoalaTrapLord
56ea2602b4
fix: scan sibling dirs for res/ in _resolve_forge_dir (finds forge-gui/res)
2026-03-19 18:19:32 -04:00
KoalaTrapLord
d86109c5c0
Fix duplicate WHERE clause in _load_deck_cards_by_name SQL query
2026-03-19 17:54:34 -04:00
KoalaTrapLord
d9dd098ca3
fix: add power, toughness, keywords to _load_deck_cards_by_name SQL query
2026-03-19 17:43:57 -04:00
KoalaTrapLord
69ce5b340e
fix: normalize indentation in _finish_sim (line 184-185)
2026-03-19 17:13:13 -04:00
KoalaTrapLord
103a74a0e1
fix: update DeepSeek brain default api_base to 192.168.0.240:1234
2026-03-19 17:11:56 -04:00
KoalaTrapLord
147121582b
fix: update DeepSeek/LM Studio default URL to 192.168.0.240:1234
2026-03-19 17:10:14 -04:00
KoalaTrapLord
8be96ab47d
fix: use coach.report_generator for deck report generation
2026-03-19 17:05:03 -04:00
KoalaTrapLord
e2653b3f72
fix: align sim results path with coach (routes/results)
2026-03-19 17:03:00 -04:00
KoalaTrapLord
7efac34279
fix: persist sim results to disk + auto-generate deck reports
2026-03-19 16:59:55 -04:00
KoalaTrapLord
b00df14f30
fix: use card_name key from _load_deck_cards_by_name (KeyError: 'name')
2026-03-19 16:51:27 -04:00
KoalaTrapLord
3542efd982
fix: align build_java_command with LabCli picocli args (--forge-jar, --forge-dir, --deck1..4)
2026-03-19 16:42:03 -04:00
KoalaTrapLord
1f93b5510d
fix: add missing load_weights() to rules.py
2026-03-19 15:49:00 -04:00
KoalaTrapLord
5c31be6023
fix: add Config extra=ignore to DeckCardWithStatus to prevent 422 from adapter extra fields
2026-03-19 15:34:18 -04:00
KoalaTrapLord
76139477be
fix: replace pplx.model with getattr, update V3 error messages for Ollama
2026-03-19 15:26:15 -04:00
KoalaTrapLord
0e5d7ba7d3
fix: harden _find_java17 to search multiple vendors, JAVA_HOME, and warn on wrong version
2026-03-19 15:23:44 -04:00
KoalaTrapLord
4ec6ed57d5
fix: add missing urllib imports to deckbuilder.py for Scryfall card lookup
2026-03-19 15:11:33 -04:00
KoalaTrapLord
08d81a4336
fix: remove stale Perplexity API key error message, allow Ollama/local mode to generate without hard block
2026-03-19 14:58:39 -04:00
KoalaTrapLord
f6ed40a253
fix: correct indentation in init_coach_service V3 deck gen block
2026-03-19 14:46:16 -04:00
KoalaTrapLord
9fd39e42c7
feat(phase-10): add DeckBuilderAdapter unit tests
2026-03-19 14:35:00 -04:00
KoalaTrapLord
72107df2ae
feat(phase-10): add comprehensive Pydantic model tests
2026-03-19 14:32:43 -04:00
KoalaTrapLord
2738bbdba4
feat: add scrython>=2.0.0 to requirements.txt
2026-03-19 14:28:38 -04:00
KoalaTrapLord
0bbc78ef23
fix: rewire routes/coach.py to use DeckBuilderAdapter + fix IndentationError
2026-03-19 14:02:23 -04:00
KoalaTrapLord
c2b470e251
refactor: replace DeckGeneratorV3 import with DeckBuilderAdapter alias
2026-03-19 13:50:30 -04:00
KoalaTrapLord
6135feb644
feat: add run_substitution stub + clean up adapter
2026-03-19 13:49:13 -04:00
KoalaTrapLord
b3b664872b
refactor: rewire V3 deck gen init to use DeckBuilderAdapter (Ollama)
2026-03-19 13:41:15 -04:00
KoalaTrapLord
a80e8908e1
fix: indent _deck_gen_v3_error inside if block in coach.py
2026-03-19 13:35:44 -04:00
KoalaTrapLord
a8ef10d5b7
feat: add DeckBuilderAdapter to bridge Ollama pipeline to legacy API
2026-03-19 13:24:29 -04:00
KoalaTrapLord
86af4b6de5
fix: close missing paren in _call_pplx_api client.post()
2026-03-19 13:16:22 -04:00
KoalaTrapLord
332606d6b5
Merge pull request #62 from KoalaTrapLord/feat/deck-builder-phase0
...
feat: Commander AI Deck Builder (Ollama gpt-oss:20b)
2026-03-19 12:45:04 -04:00
KoalaTrapLord
70dfa3d3e0
fix: robust JSON extraction for LLM responses (_extract_json)
2026-03-19 12:29:49 -04:00
KoalaTrapLord
f970b6d571
fix: api __init__ imports modules not classes
2026-03-19 12:08:26 -04:00
KoalaTrapLord
5ade916207
fix: make conversation log always visible with initial ready message
2026-03-19 11:50:52 -04:00
KoalaTrapLord
cc53c58344
feat(phase-0): add deck builder deps (requests, bs4, ollama)
2026-03-19 11:33:45 -04:00
KoalaTrapLord
3e64aa67eb
feat(phase-6): implement deck assembler (Ollama JSON parser)
2026-03-19 11:32:14 -04:00
KoalaTrapLord
70a7c07b81
feat: add conversation log panel below Generate Deck button
2026-03-19 11:31:10 -04:00
KoalaTrapLord
1b4e9f5a66
feat(phase-3): implement community scraper (Moxfield + Archidekt)
2026-03-19 11:30:53 -04:00
KoalaTrapLord
c962d1f16a
feat(phase-9): implement FastAPI + CLI entrypoint
2026-03-19 11:29:29 -04:00
KoalaTrapLord
dcdf15c56a
feat(phase-8): add deck_builder package init with public API
2026-03-19 11:28:08 -04:00
KoalaTrapLord
b0214009f4
feat(phase-8): add api __init__ exports
2026-03-19 11:27:07 -04:00
KoalaTrapLord
5fe0ac2bd6
feat(phase-8): add core __init__ exports
2026-03-19 11:26:04 -04:00
KoalaTrapLord
fc09249ad3
feat(phase-7): add pipeline __init__ exports
2026-03-19 11:24:47 -04:00
KoalaTrapLord
d2c7783ce1
feat(phase-7): implement 7-step deck build pipeline
2026-03-19 11:23:38 -04:00
KoalaTrapLord
0ccf35f241
feat(phase-5): implement collection filter with CSV loader
2026-03-19 11:22:09 -04:00
KoalaTrapLord
9a5105b0d6
feat(phase-5): implement rules engine with ban list and validation
2026-03-19 11:19:42 -04:00
KoalaTrapLord
6a688d1cd0
feat(phase-4): implement Ollama gpt-oss:20b client with 6 core functions
2026-03-19 11:18:13 -04:00
KoalaTrapLord
d9639a8414
feat(phase-3): implement EDHrec JSON client
2026-03-19 11:16:28 -04:00
KoalaTrapLord
633fd43b28
fix: replace sonar/sonar-pro model options with gpt-oss:20b in UI
2026-03-19 11:15:43 -04:00