The worker set the accessory policy after AppKit had already registered it as a Dock app, so 11 of 15 launches showed Foreground for about 30 ms. Now it sets LSUIElement in its main bundle's info before the kernel starts AppKit, and fails to start unless the policy came up as accessory. tests/scripts/dock-macos.sh samples each worker's type from its start until the first tile; on the Mac mini 30 launches were all UIElement, and the shipped worker fails it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>