The new dedup helper in src/binary/patchloom.ts:ensurePatchloomReadyOrNotify is used in 3 commands but has no direct unit tests (only indirect via command flows).
Add tests in test/unit/binary.test.ts exercising:
- ready + supported -> returns path
- not ready -> notifies and returns null
- needs upgrade -> notifies and returns null
Use resolvePatchloomStatusWithInputs mocks.
The new dedup helper in src/binary/patchloom.ts:ensurePatchloomReadyOrNotify is used in 3 commands but has no direct unit tests (only indirect via command flows).
Add tests in test/unit/binary.test.ts exercising:
Use resolvePatchloomStatusWithInputs mocks.