closeAll must close every live connection; clearing a stream owner must not close the RPC connection.thread/hydrate reject extras, blank identities, unknown enums, negative/fractional counters, padded ISO timestamps, malformed feed items (blank ids, unknown kinds, invalid tool states, blank retryOf, unknown error codes, terminal-lock data with a non-terminal status), and invalid workflow runs (blank runId, extras, live outcome, oversize errors, negative agent index).test/h3.device-connections.test.tstest/shared/session-snapshot-schema-rejects.test.tstest/shared/agent-target-paths.test.tsRecent main commits extracted the H3 connection registry from the server. A reuse/close miss would leak SSE owners or serve a closed connection after re-pair. Snapshot schema is the last gate before SQLite, import, and hydrate; a loosened feed/error/workflow union would persist corrupt state across desktop, mobile, and CLI. Target-path normalization is shared by spawn RPC, the spawn tool, and session-db mappers — dropping a blank path would silently change the child's workspace scope.
Does not duplicate open coverage PRs #331–#336.
test/platform-boundary.test.ts: 12 tests greenbun run check, bun run typecheck, bun run docs:check: cleanbiome check --write on touched filesSign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 4 months ago
test: cover H3 device lifecycle, snapshot rejects, and spawn paths
#337 main ← cursor/missing-test-coverage-fd4c
Updated 2 weeks ago