Skip to content

0.5.0

Choose a tag to compare

@dotdevdotdev dotdevdotdev released this 07 Nov 00:26
· 13 commits to main since this release
fecbcd1

What's new

  • ConfigChange guard: a new hook that refuses a settings change which would switch damage control off or redirect it (disableAllHooks, an env that moves the hooks' policy, or our own registration removed or rewritten). Managed-policy changes are audited as observed.
  • Settings writes, at the tool call: a Write or Edit that sets disableAllHooks or drops the registration is blocked; other changes to the hooks key, and shell writes to project or local settings, ask.
  • Nested claude runs: command lines that start claude without hooks (--safe-mode, --bare, --settings carrying disableAllHooks, --setting-sources without the user scope) are blocked; ones that only redirect config ask (--plugin-dir, --settings <file>, CLAUDE_CONFIG_DIR).
  • Tool coverage: Monitor and LSP are judged; every other Claude Code tool has a recorded decision, held to the registration list by a test.
  • Hooks research report (docs/hooks-research.md): all 33 hook events, the handler types and their failure behaviour, every place hooks are registered, and observed payloads.

Improved

  • A Monitor call is judged once, and written to the audit log once, on Claude Code versions that also route it through Bash.
  • The coverage docs agree with the observed payloads (Agent tool name, agent_id).
  • The corpus now replays 213 cases.

Looking ahead

Mentions of files in prompts, and the events the report could not observe.

Feedback and reports welcome: https://github.com/dotdevdotdev/damage-control-dev/issues