Repository navigation
AgentDetox 0.4.1
AgentDetox 0.4.1 improves everyday use, large-write latency, and recovery from contaminated context. It remains a preview release and is not a security boundary or factual verifier.
- Selectively remove contaminated added lines while preserving benign content and later edits; preview, version checks and quarantine protect recovery.
- Keep Claude runtime caches and cosmetic settings changes quiet while guarding executable configuration.
- Reuse provenance indexes and analyze outside the global store lock, with version checks before committing history.
- Load fewer modules for hooks and queue observed bytes for background contradiction checks.
- Add frozen acceptance cases, concurrent-write checks, wheel lifecycle checks and real-client scenarios.
On the reference Mac, the initial 100-sample run passed all 12 latency budgets: ordinary Bash pre/post P95 145.6 ms, a 100-line post-write check with 3.9 MB history 95.3 ms, and four concurrent writes plus a Bash pair 491.0 ms. These exclude optional NLI inference and plugin downloads. Busy-host full reruns passed 10/12 and 11/12; the affected scenarios passed focused follow-up checks. Failed runs and paired baseline comparisons are retained in the report.
Validation includes 901 local tests passed (one skipped), two offline regression gates with declared semantic gaps, and ten latest real Claude Code scenarios passing across 13 sessions, including three retained native-sensitive-path setup failures.
See the changelog, latency protocol, accuracy limitations, and real-client results.