Repository navigation
v7.205.27
Redact credentials in issue-tracer receipts
Security
-
Redact credentials before writing issue-tracer review, reproduction, recurrence, merge-approval, and branch-freshness receipts to disk. Issue identifiers, commit identities, and structured gate decisions remain intact.
-
The shared evidence redactor also recognizes credential assignments in colon-separated diagnostic text. Similar free-text status segments may be masked. Existing receipts are left as stored.
-
Branch freshness receipts redact credentials in fetch-failure reasons and user overrides. Whitespace introduced while redacting a reason is replaced with underscores so the status keeps its existing format. The denial message uses the sanitized reason.
-
Review existing issue-tracer receipts under
.swarm/locally if they may contain credentials. Rotate any exposed credentials and remove stale receipts through your normal retention process.
Windows closed DB handle release and post-commit transaction isolation (#3932)
What
Two follow-up fixes from PR #3931 (#3889, #3900):
- Windows closed project DB lock (EBUSY) during lane teardown:
closeProjectDb(src/db/project-db.ts) now closes SQLite connections via strictdb.close(true)with a bounded GC-assisted retry fallback (collectGarbageBestEffort), and triggers one best-effort GC pass after dropping cache references on Windows so evicteddb.queryand unfinalizeddb.preparestatements do not keep.swarm/swarm.dblocked on immediate close-then-remove teardown. Worktree removal (src/worktree/core.ts) and.git-less remnant reclamation (src/worktree/ownership.ts) also triggercollectGarbageBestEffortbefore retrying WindowsEBUSY/EPERMlock errors. - Post-commit transaction errors never misreport a durable commit as rolled back: once
COMMITsucceeds,withImmediateTransaction(src/db/durability.ts) releases transaction ownership immediately and isolates the post-commitPRAGMA synchronous = NORMALrestore and theafterOuterCommithook. A failure in either step no longer throws an error indistinguishable from a rollback: the committed value is returned and the failure is logged as an always-visibleCRITICAL-WARNline. Pre-commit failures still roll back and throw the original error, and a failedPRAGMA synchronousrestore on that rollback path is now logged the same way instead of being dropped.