Add scout constellation mode for APK venue persona packs.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Cluster 3+ scout_report hits on the same SSID within 10 minutes; server infers airport/campus/retail venue class and pushes persona spread_policy. Emberwake weather-map merges active scout biomes. Includes agent, server API, and Vitest coverage.
This commit is contained in:
17
agent/deploy/scout_wifi_test.go
Normal file
17
agent/deploy/scout_wifi_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package deploy
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestScoutWiFiSSIDFromEnv(t *testing.T) {
|
||||
t.Setenv("AETHERFORGE_WIFI_SSID", " Airport-Lounge ")
|
||||
if got := ScoutWiFiSSID(); got != "Airport-Lounge" {
|
||||
t.Fatalf("ssid=%q", got)
|
||||
}
|
||||
_ = os.Unsetenv("AETHERFORGE_WIFI_SSID")
|
||||
if got := ScoutWiFiSSID(); got != "" {
|
||||
t.Fatalf("expected empty, got %q", got)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user