Adds focused regression coverage for residual high-risk seams that open coverage PRs #298–#302 do not claim, plus CI stabilizers for the unchanged main tip.
invalidateRuntimeTrust(..., false)), does not retry watch(), and only fail-closes after explicit invalidationerror event clears the memo so subsequent uses re-fingerprint and catch mid-process tree editsverifyRuntimeIntegrityForUse calls coalesce onto one tree walkapp_started once after successful init and app_updated once on version bumpsetConfig rejects clear+set mutual exclusion for memory/skill/tool-output model fields (validation_failed, no persist)test/coworkRuntime.test.ts (+ tiny __internal watch/coalesce hooks in src/coworkRuntime/integrity.ts)apps/desktop/test/product-analytics-apply.test.ts (+ injectable captureProductEventImpl in productAnalytics.ts)test/session/agentSession.settings.test.tsapps/desktop/test/research-readiness.test.tsx desktop bridge/persistence reset; apps/mobile/bun.lock canary refreshThese paths gate runtime trust fail-closed behavior, analytics lifecycle correctness under idle desktop state churn, and config-patch validation that previously only had happy-path coverage. A silent break would allow tampered runtimes to stay trusted in-process, double-fire lifecycle analytics, or accept contradictory config clears.
biome check)bun run lint, bun run typecheck, bun run docs:check cleanbun run test: all 672 files passed (Bun 1.4.0-canary)Cursor Agent and others added 4 commits ·
View commitsOnly the target repository owner can merge this pull request.
Sign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 2 months ago
test: cover integrity watcher, analytics lifecycle, and config clear conflicts
#303 main ← cursor/missing-test-coverage-17f3
Updated 19 hours ago