Skip to content

fix(ai): comprehensive AI improvements for active production#1050

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/debug-ai-supply-cache-cMmNk
Jan 26, 2026
Merged

fix(ai): comprehensive AI improvements for active production#1050
braedonsaunders merged 1 commit into
mainfrom
claude/debug-ai-supply-cache-cMmNk

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

Multiple fixes to make AI more active and aggressive:

  1. Build order no longer skips steps when waiting for requirements

    • Added pre-checks for building requirements and production buildings
    • AI now waits properly instead of counting as failure and skipping
  2. Macro rules now run alongside build order (not instead of)

    • AI keeps producing units/workers while waiting for build order steps
    • Prevents idle accumulation of resources
  3. Lowered macro rule thresholds for earlier activation:

    • infantry_bay_first: workers 10 -> 6
    • extractor_first: workers 10 -> 8
    • workers_basic: faster cooldown, higher saturation cap
    • train_army_aggressive: lower mineral threshold, faster cooldown
  4. Added catchall rule to spend excess minerals

    • Triggers at 200+ minerals to prevent floating resources
    • Trains mixed infantry at high rate

These changes ensure AI stays active throughout the game instead of getting stuck waiting for requirements or floating resources.

Multiple fixes to make AI more active and aggressive:

1. Build order no longer skips steps when waiting for requirements
   - Added pre-checks for building requirements and production buildings
   - AI now waits properly instead of counting as failure and skipping

2. Macro rules now run alongside build order (not instead of)
   - AI keeps producing units/workers while waiting for build order steps
   - Prevents idle accumulation of resources

3. Lowered macro rule thresholds for earlier activation:
   - infantry_bay_first: workers 10 -> 6
   - extractor_first: workers 10 -> 8
   - workers_basic: faster cooldown, higher saturation cap
   - train_army_aggressive: lower mineral threshold, faster cooldown

4. Added catchall rule to spend excess minerals
   - Triggers at 200+ minerals to prevent floating resources
   - Trains mixed infantry at high rate

These changes ensure AI stays active throughout the game instead of
getting stuck waiting for requirements or floating resources.
@braedonsaunders braedonsaunders merged commit feb4be2 into main Jan 26, 2026
@braedonsaunders braedonsaunders deleted the claude/debug-ai-supply-cache-cMmNk branch January 26, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants