bbsbot
2026-03-30
Archetype system, roster loading, tradewars_spawn_roster MCP tool, 194 new tests
103 files · 13,195+ · 127-
Archetype strategy system with 8 strategies
9 files changed
base.pyArchetypeStrategy base classmerchant.pyMerchantStrategy archetypescout.pyScoutStrategy archetypebanker.pyBankerStrategy and DiplomatStrategypirate.pyPirateStrategy with combat/fighter executorswarlord.pyWarlordStrategy with combat executorsindustrialist.pyIndustrialistStrategy with executor_colonizeswarchestrator.pySwarchestratorStrategy: orchestrates SwarchDirective assignmentsarchetype-system-design.mdArchetype system design spec
- Full archetype strategy system added: ArchetypeStrategy base class with 8 concrete strategies. MerchantStrategy and ScoutStrategy for trading/exploration. BankerStrategy and DiplomatStrategy for economy management. PirateStrategy and WarlordStrategy with combat/fighter executor integration. IndustrialistStrategy with colonize executor. SwarchestratorStrategy distributes SwarchDirective assignments to roster bots. All strategies registered in StrategyManager.
instantiate
behavioral
3 files
base.pypirate.pyswarchestrator.py
Roster loading and spawn-roster infrastructure
3 files changed
roster.pyRosterLoader data models and roster.yaml; AccountPoolStore gains register_account and acquire_by_usernamesettings.pyroster_id, archetype, roster_file added to Settingsswarm.pyPOST /swarm/spawn-roster endpoint
- RosterLoader loads bot roster definitions from roster.yaml with per-bot archetype and credential mappings. AccountPoolStore gains register_account and acquire_by_username for roster-based account management. base_roster.yaml defines the default bot roster. POST /swarm/spawn-roster endpoint triggers roster spawn.
instantiate
behavioral
2 files
roster.pyswarm.py
tradewars_spawn_roster MCP tool and dashboard archetype chips
2 files changed
control_roster.pytradewars_spawn_roster MCP tool for AI-driven roster spawningcomponents.pyArchetype chips with configurable color map displayed per bot in the dashboard
- tradewars_spawn_roster MCP tool allows AI agents to trigger roster spawning via MCP. Dashboard shows per-bot archetype chips with a configurable color map. Worker reports archetype in status updates. roster_id and archetype fields added to BotStatusTradeWars.
instantiate
behavioral
2 files
control_roster.pycomponents.py
Corporation formation and 194 new tests
3 files changed
corporation.pyCorporation formation with 70% test coveragetest_warp_executor.py39 tests for warp/move executortest_exploration.py116 tests for exploration mixin, route management, and worker identity
- Corporation formation added with 70% test coverage. 194 new tests: 39 for warp/move executor (screen detection, preflight, path navigation, verification), 116 for exploration mixin/route management/worker identity. text_only mode added to bbs_read to strip CP437 art for text processing.
qualify
internal
2 files
test_warp_executor.pytest_exploration.py