← 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
operator taskkill kill a11y grap compat shim busybox

## Steps

1. Invoke via taskkill.exe (busybox symlink) OR...
2. /PID N maps to regex:^\[N\] (anchored PID pr...
3. Bare positional: digits -> /PID, *.exe -> /I...
4. /F is ignored (a11y kill is force by default...
5. For complex filters use grap directly: wkapp...
6. Run 'wkappbot taskkill --help' to see the fu...
7. Verified 2026-04-21: test-taskkill-help.cmd...
8. Verified 2026-05-03: callout window placemen...
9. v1.5 (2026-05-06): --force-all REMOVED. --fo...
10. v1.6 (2026-05-05): --force output now shows...
11. v1.7 (2026-05-06): taskkill classify and --f...
12. REQUESTED BEHAVIOR (suggest 2026-05-26): /IM...
13. v1.9 (2026-05-28): DEFAULT PATH now auto-kil...
14. SPEC v2.0 (2026-05-28): PROTECTED = process...
15. SPEC v2.1 CORRECTION (2026-05-28): PROTECTED...
16. UNCLE-KILL LESSON (Opus 2026-05-29): GetDesc...

🔒 Pro Skill
Get Pro Access →