wkappbot-core
★★☆
Admin Eye 2-phase broadcast close for clean hand-over
When a new admin Eye spawns, it evicts old admin Eye(s) via 2-phase 'broadcast close' before claiming the wkappbot_elevated pipe. Phase 1 (graceful) signals Global\WKAppBotAdminEyeBroadcastClose named event; listening admins cancel their CTS and exit. Phase 2 (force kill) enumerates wkappbot-core processes and Process.Kill()s them when pipe still present — bootstrap path when old admin lacks the listener. Ensures clean gap (no admin Eye window present) before new takes over, eliminating named-pipe contention.
Steps
- WHY THE PATTERN EXISTS Admin Eye can fall in...
- PHASE 1 — GRACEFUL BROADCAST New admin calls...
- PHASE 2 — FORCE KILL FALLBACK If pipe still...
- WIRING INTO ADMIN EYE STARTUP In EyeCommand...
- SUBPROCESS TIMEOUT BACKSTOP Inside admin Eye...
- CALLER-SIDE FAST-FAIL PAIRING In Core --sudo...
- OBSERVABILITY MARKERS (PULSE + stderr) Expec...
- REGRESSION TESTS bin/wkappbot.hq/experience/...