← Back to wkappbot-core
wkappbot-core
★★★
taskkill compat shim: a11y-first kill routing
v1.6 STRICT POLICY: --force <pid1,pid2,...> is the ONLY way to kill anything via taskkill -- listed PIDs are killed exactly, others survive. All other invocations (/IM, /PID, bare *.exe) are CLASSIFY-ONLY: enumerate matches, print PROTECTED/ZOMBIE/UNKNOWN report, exit 1, kill nothing. v1.6: --force now also prints a PRESERVED block listing every matching PID in scope (from /IM filter, or the wkappbot family if no /IM was given) that was NOT in the --force list, with classification tag. Output ends with 'Killed: N / Preserved: M' summary plus a copy-paste hint when surviving zombies remain. The --force-all flag has been REMOVED. Implementation: TaskkillCompatCommand.cs (TaskkillForcePids) + TaskkillCompatCommand.Classify.cs (TaskkillPrintForceReport). Help text: CommandHelp.cs taskkill entry.
user/developer
operatortaskkillkilla11ygrapcompatshimbusybox
Steps
- Invoke via taskkill.exe (busybox symlink) OR...
- /PID N maps to regex:^\[N\] (anchored PID pr...
- Bare positional: digits -> /PID, *.exe -> /I...
- /F is ignored (a11y kill is force by default...
- For complex filters use grap directly: wkapp...
- Run 'wkappbot taskkill --help' to see the fu...
- Verified 2026-04-21: test-taskkill-help.cmd...
- Verified 2026-05-03: callout window placemen...
- v1.5 (2026-05-06): --force-all REMOVED. --fo...
- v1.6 (2026-05-05): --force output now shows...
- v1.7 (2026-05-06): taskkill classify and --f...
- REQUESTED BEHAVIOR (suggest 2026-05-26): /IM...
- v1.9 (2026-05-28): DEFAULT PATH now auto-kil...
- SPEC v2.0 (2026-05-28): PROTECTED = process...
- SPEC v2.1 CORRECTION (2026-05-28): PROTECTED...
- UNCLE-KILL LESSON (Opus 2026-05-29): GetDesc...