diff --git a/CLAUDE.md b/CLAUDE.md index f3840be..1fb2740 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -77,7 +77,7 @@ - `go run`, never `go build` — no binary artifacts. Use `go vet` to check compilation. `sudo go run .` when root is needed. - Install binaries to `~/bin` (`go env -w GOBIN=$HOME/bin`), not `~/.local/bin` — no hiding tools under dotfile paths. - Use literal initialization (`map[string]bool{}`) over `make()`. -- All-lowercase log messages. Prepend `[ERROR]` where applicable. +- All-lowercase log messages. Severity goes in the log level (`slog`), never as an `[ERROR]` prefix in the message. - Always fix gofmt without asking: any Go file you see that `gofmt -l` flags gets fixed, including lines you didn't write. This overrides "only reformat lines you touch". # Shell