Download Latest Version v1.0.6 source code.zip (707.6 kB)
Email in envelope

Get an email when there's a new version of Claude Code Safety Net

Home / v1.0.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-12 619 Bytes
v1.0.2 source code.tar.gz 2026-06-12 573.1 kB
v1.0.2 source code.zip 2026-06-12 704.0 kB
Totals: 3 Items   1.3 MB 0

Bug fix: Preserve effective cwd when cd targets the current directory.

Previously, commands like cd . or cd /current/path would reset the effective cwd to unknown, potentially causing false-positive blocks on subsequent segments. The analyzer now resolves cd targets and recognizes when the directory hasn't actually changed, keeping the cwd intact.

Changes

  • fix(analyze): Preserve effective cwd when cd targets the current directory
  • fix(explain): Align cwd trace with resolved cd-to-same-directory behavior
  • test(rm): Assert rm -rf stays allowed after cd to current cwd
Source: README.md, updated 2026-06-12