Add fleet evolution: genetic breeding, atlas gossip, BGP router, seeder/miner, genealogy, court gates, APK scout, personas, WSUS mimic, and P2 test coverage

This commit is contained in:
AetherForge
2026-06-07 05:00:22 -07:00
parent 7b2d41cda8
commit 82d74abfcf
38 changed files with 486 additions and 120 deletions

View File

@@ -30,6 +30,16 @@ func stuckSpreadAttempts() []TierAttempt {
return attempts
}
func TestBuildCourtPromptListsRetryCommands(t *testing.T) {
bundle := BuildCourtPrompt(AgentSnapshot{Stuck: true}, "", nil, PersonaBalanced)
if !strings.Contains(bundle.SystemPrompt, "spread_retry_lane") {
t.Fatalf("missing spread_retry_lane in court prompt: %s", bundle.SystemPrompt)
}
if !strings.Contains(bundle.SystemPrompt, "skip_tier") {
t.Fatalf("missing skip_tier in court prompt")
}
}
func TestBuildCourtPromptProsecutorFailures(t *testing.T) {
snap := AgentSnapshot{
AgentID: "agent-stuck",