News for hackers. Stuff that matters.
Re:Claude Code runs Git reset –hard origin/main against proj... by alwillis on Monday March 30, 2026 @03:14AM (#47571350)
Claude Code hooks are deterministic; the agent can’t bypass them [1].

For example you force a linter to run or for tests to run.

Claude Code defaults to running in a sandbox on macOS and Linux. Claude Cowork runs in a Linux VM.

[1]: https://code.claude.com/docs/en/hooks-guide

There are no comments on this comment yet.