v0.1.4policy-scout2026-06-10

Git integration with pre-commit hooks and lockfile scanning

Policy Scout can now install a pre-commit hook that checks staged files before each commit and detect lockfile tampering between commits.

v0.1.42026-06-10
  • ·hooks.py installs and removes a pre-commit hook routing staged content through sweep and secret checks
  • ·staged_scanner.py limits checks to the current index, keeping pre-commit latency bounded
  • ·lockfile_diff.py detects unexpected lockfile changes between commits, surfacing dependency tampering
  • ·context.py exposes git state (branch, staged files, last commit SHA) to policy consumers