Skip to content

v0.1.1: repository policies, Claude Agent SDK, hook watch

Choose a tag to compare

@amit-chauhan-aws amit-chauhan-aws released this 18 Oct 21:56
· 77 commits to main since this release

Interlock checks every tool call your AI agent proposes before it runs, and every tool result before the agent reads it. It runs locally, with no account or cloud required.

pipx install interlockd     # or: uv tool install interlockd
interlock init

New

  • Repository policies. Commit .interlock/policy.yaml to a repository and everyone running Interlock gets it for calls made inside that repository. It is re-read when it changes, with no restart. A repository's policy can only make your own stricter (enforce mode, stricter rule actions, fewer allowed hosts, MCP blocks), so a poisoned repository can't switch rules off. Trust a repository explicitly with trust.trusted_workspaces to give its policy full effect. interlock policy lint --workspace <repo> shows what was not applied.
  • Claude Agent SDK (guard_options(options)): in-process PreToolUse / PostToolUse hooks. Verified live: a refused force-push, a withheld injected README.
  • Semantic Kernel (guard_kernel(kernel)), Google ADK (guard_agent(agent)) and CrewAI (crewai.install()) integrations, tested end to end.
  • Hook watch. The daemon re-checks the hooks it installed every minute. A removed hook or a modified shim, and its repair, is recorded in the hash-chained audit log; interlock report lists them.
  • interlock bench measures latency on your machine. Decisions take about 1.2 ms at p50. See docs/PERFORMANCE.md.
  • interlock --version; interlock doctor tells you when a newer release is on PyPI.
  • Linux sandbox (bubblewrap) verified in CI.
  • A getting-started guide: docs/GETTING-STARTED.md.

Improved

  • Faster audit writes: decision p50 went from 4.2 ms to 1.2 ms.
  • interlock init --harness X only prints notes for the agents you chose.
  • doctor no longer reports shims from an earlier version as tampered, and the daemon refreshes them.
  • The GitHub Action is listed on the Marketplace as Interlock Agent Security.

Fixed docs

  • While the daemon is down, the hooks apply fail_mode.default. The per-category entries had been described as applying too.

GitHub Action

- uses: interlockd/interlock@v0.1.1
  with: { fail-on: high }

Full changelog: CHANGELOG.md