test(cowork-service): platform-client + flush-scheduler tests (17 new tests)
New test files:
- lib/platform-client.test.ts (8 tests): audit posting, telemetry batch,
usage records, flag polling, error handling, query params
- lib/flush-scheduler.test.ts (9 tests): lifecycle start/stop, flushAll with
IPC drain → platform-service posting, IPC error handling, empty responses,
pollAndSyncFlags with local registry + IPC update, failure graceful handling
49 tests passing (was 32), 8 test files, typecheck clean.