optionId and text / more than 3, and extra keys on completion paths.cwd, missing/blank targetSessionId and checkpointId, and extras on read/delta/checkpoint/restore/delete.maxBytes, non-integer generations, empty style patches, unknown patch ops, and batches over 50,000 operations.isolation: "brief" without a briefing, and out-of-range timeoutMs.reviews over activity-derived rounds, and still falls back to activity when reviews are absent.test/jsonrpc.task-request-schema-rejects.test.ts (new)test/jsonrpc.backups-request-schema-rejects.test.ts (new)test/jsonrpc.workspace-request-schema-rejects.test.ts (new)test/import/conversations.workspaceMapping.test.ts (new)test/workflows/schema.test.ts (new)test/server/tasks/taskReviewPolicy.rounds.test.ts (new)These are fail-closed gates on high-blast-radius surfaces: task mode, backup restore/delete, canvas/spreadsheet writes, import workspace targeting, and the workflow worker trust boundary. A schema or mapping regression here can reach the wrong workspace, accept oversized/malformed writes, leak pending workflow RPCs, or apply the wrong review history. The tests are deterministic unit/schema checks with no production behavior changes.
Recent perf-only commits (Promise.all config/workspace refresh, knip export narrowing) were skipped as behavior-preserving. Known production holes (startup {ready:true, error}, Codex absolute rollout paths, sync action() throw) were not locked as intended.
biome check on touched files: cleanbun run typecheck, bun run check, bun run docs:check, test/platform-boundary.test.ts: passbun run test: new files passed in-suite; run exited 1 after test/session.stream-pipeline.test.ts mid-file on this host (output dropped). Not introduced by these tests.Sign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 4 months ago
test: cover task, backup, workspace, and import fail-closed gates
#331 main ← cursor/missing-test-coverage-3f4c
Updated 3 weeks ago