Release 0.64.0: Build Validation Enhancements

We’re pleased to announce version 0.64.0 of the Screeps GPT autonomous bot.

What’s New

New Features

  • Build Validation Enhancements: Implemented comprehensive build artifact validation to prevent corrupted or empty files from being deployed
    • Added file size validation (non-zero check and 500-byte minimum threshold)
    • Added content validation to verify main.js exports the required loop function
    • Enhanced validation for both monolithic and modular build architectures
    • Validation applies to all module files in modular builds (behavior.js, bootstrap.js, etc.)
    • Exported validateFile() function for testing and reusability
    • Created 12 comprehensive unit tests in tests/unit/build-validation.test.ts
    • Tests cover empty files, small files, missing exports, and various export patterns
    • Updated packages/utilities/scripts/lib/buildProject.ts with enhanced validation logic
    • Prevents critical deployment failures by catching build errors early in the pipeline
    • Resolves issue: fix(build): enhance build validation to check file size and content validity
  • Strategic Planning Automation: Implemented autonomous strategic planning agent that analyzes bot performance and creates improvement roadmaps
    • Added workflow: .github/workflows/copilot-strategic-planner.yml (runs every 8 hours)
    • Created comprehensive strategic planner prompt: .github/copilot/prompts/strategic-planner
    • Integrates bot snapshots, PTR telemetry, profiler data, and documentation for strategic analysis
    • Identifies improvement opportunities across six categories: performance, economy, expansion, defense, infrastructure, automation
    • Creates evidence-based issues with clear priorities, acceptance criteria, and implementation approaches
    • Updates strategic documentation to maintain alignment with bot capabilities
    • Learning feedback loop from past implementations to avoid repeating mistakes
    • Detailed documentation in docs/automation/strategic-planning.md
    • Updated docs/automation/overview.md with strategic planning workflow description
    • Completes autonomous development loop: Monitoring → Strategic Planning → Implementation → Validation
    • Resolves issue: feat(automation): implement strategic planning Copilot agent for autonomous bot improvement

Full Changelog: 0.64.0 on GitHub