For agentic workers: REQUIRED SUB-SKILL: Use superpowers:test-driven-development while executing every behavior change and superpowers:verification-before-completion before handoff.
Goal: Eliminate official CUA underscore-name registry misses and make Windows packaged-app launch resolve by exact AUMID evidence in the local source development runtime.
Architecture: Keep mcp__computer-use__* as the only provider-visible contract and add runtime-only aliases after the existing official-authority gate. Keep Win32 executable launch unchanged; add a separate native IApplicationActivationManager plus PKEY_AppUserModel_ID identity path for packaged apps.
Tech Stack: TypeScript 5.9, Vitest 4, Node 24, N-API/node-addon-api 7, C++17, Windows UI Automation, Win32 COM/Shell APIs, pnpm 10.
C:\Users\dev\z-code and C:\Users\dev\zcode-cua./remote, or replayable paths.pnpm typecheck and pnpm lint in both repositories.Files:
apps/zcode-cli/packages/core/tests/mcp-tool-bridge.test.tsapps/zcode-cli/packages/core/tests/Modify: apps/zcode-cli/packages/core/src/mcp/index.ts
[ ] Add RED tests for official trusted alias lookup and canonical-only contract projection.
[ ] Add RED tests proving a third-party descriptor receives no alias.
[ ] Add RED integration coverage proving alias calls enter permission/hooks/events/MCP dispatch under the canonical name.
[ ] Implement a single official-CUA server-segment alias on the ToolEntry.
[ ] Reject alias collisions instead of overwriting a canonical tool.
[ ] Run the focused core tests.
Files:
C:\Users\dev\zcode-cua\src\native\ax_win.ccC:\Users\dev\zcode-cua\src\native\types.tsC:\Users\dev\zcode-cua\src\broker\server\nativeAxSource.tsC:\Users\dev\zcode-cua\binding.gypAdd or modify focused native ABI tests under C:\Users\dev\zcode-cua\test\native\
[ ] Add RED source/ABI tests for activateApplicationByAumid and applicationInfoByAumid.
[ ] Implement exact PKEY_AppUserModel_ID lookup with visible HWND enumeration and PID deduplication.
[ ] Implement IApplicationActivationManager activation without shell command construction.
[ ] Export the two additive Windows-only ABI methods and update TypeScript declarations.
[ ] Rebuild the native addon and run focused ABI tests.
Files:
C:\Users\dev\zcode-cua\src\broker\server\windowsSystemSurface.tsC:\Users\dev\zcode-cua\src\broker\server\nodeSystemSurface.tsC:\Users\dev\zcode-cua\src\broker\server\helperMain.tsC:\Users\dev\zcode-cua\src\broker\server\axReadOnly.tsC:\Users\dev\zcode-cua\src\broker\server\electronAppHelpers.tsC:\Users\dev\zcode-cua\src\broker\server\electronNativeBackend.tsModify focused tests under C:\Users\dev\zcode-cua\test\
[ ] Add RED system-surface tests for native AUMID activation and invalid combinations.
[ ] Add RED resolver/backend tests for existing unique app, post-activation polling, zero candidates, and multiple candidates.
[ ] Inject the loaded addon into the Windows system surface.
[ ] Add the exact AUMID lookup branch without weakening Win32 executable identity.
[ ] Run focused launch and resolver tests.
Files:
C:\Users\dev\zcode-cua\plugin\skills\computer-use\SKILL.mdapps/zcode-cli/packages/zcode-cua-plugin/skills/computer-use/SKILL.mdC:\Users\dev\zcode-cua\docs\platforms.mdModify: docs/cua/windows-source-development.md
[ ] State that Windows packaged apps accept AUMID input and subsequent actions should use the returned PID.
[ ] State that Win32 names should be executable names such as notepad.exe.
[ ] Remove any claim that ApplicationFrameHost.exe is a packaged-app identity.
[ ] Run plugin sync/manifest regression tests.
pnpm typecheck and pnpm lint in both repositories.pnpm test in zcode-cua; record any pre-existing unrelated failures precisely.zcode-cua and z-code with Conventional Commits.