read-only / no-project-write, aborted turns, mid-write content drift, and symlink path rebinds; failed late mutate gates roll back created directories.output-error, and count/preview only user/assistant messages.responseMessages on the actual error and ignores invalid provider-state shapes.process, Bun, fetch, and require.javascript: URLs; an existing local owner/repo path is not treated as GitHub.ready: true plus error.test/tools/mutationGuard.test.tstest/import.conversations.normalize.test.tstest/import.conversations.snapshot.test.tstest/diagnostics.credentials.test.tstest/session.partialTurnError.test.tstest/sessionBackup.locking.test.tstest/sessionDb.fileHardening.test.tstest/utils.restrictedRealm.test.tstest/extensions.source.test.tstest/jsonrpc.runtime-diagnostics-schema-rejects.test.tsThese helpers sit on write, import, backup, secret, and install paths and had no dedicated tests on main. A silent change there can overwrite the wrong file, corrupt imports, leak credentials, tear backups, or install from the wrong source. The new cases lock fail-closed behavior rather than implementation details.
Does not duplicate open coverage PRs #331–#341. Main tip is still e2d5f95e.
bun run check and bun run typecheck: cleanSign in to comment.
Update README.md
#125 mobile-fixes ← main
Updated 4 months ago
test: cover mutation TOCTOU, import normalize, and credential redaction
#342 main ← cursor/missing-test-coverage-f6e0
Updated last week