Repository navigation
v0.5.10
Upgrade notes
This release tightens several defaults. Read these before upgrading a
production gateway.
Policy and config
defaults.llm_fail_modeis now enforced (#805, #813, #840). It used
to be accepted and ignored, so every LLM approver failure denied.
"closed"(the default) keeps that behaviour."open"applies only
to judge outages: transport errors and timeouts, HTTP 429 and 5xx,
and undecodable responses. A 401/403/400/404 from the provider, or a
missing credential secret, denies regardless of the setting. Each
fail-open resolution is logged and the reason lands on the action
row. Values other thanopenandclosedare now a validation
error.<<file:NAME>>includes must resolve inside the config file's
directory (#819). Absolute paths and..are rejected at load time.gateway.log_pathis now written (#806, #814). Failure to open the
file is fatal at startup. The file is created with mode 0600 and a
warning is logged when an existing file is looser than that.
Network behaviour
- UDP/443 is dropped for every destination, not only for VIPs (#838).
Previously QUIC (HTTP/3) to a public host bypassed the HTTPS rules
entirely, since only TCP/443 is intercepted. Browsers and clients
fall back to TCP; clients that hard-require QUIC will fail. - The WireGuard gateway falls back to unbatched UDP sends when the
underlying path refuses GSO batches (#830). This fixes the stall on
small-MTU paths (Tailscale, some cloud VPCs) reported in #790. The
fallback is sticky for the life of the listener. - Enrolment material (WireGuard config, API token) is handed out
exactly once per approved join (#824). A second poll for the same
code getsexpired_token; re-runclawpatrol join.
Credentials and identity
- The dashboard no longer trusts
Tailscale-User-Loginor
X-Forwarded-Forfrom loopback proxies (#825, #840). Identity comes
from the tsnet whois of the connecting peer only. Deployments that
fronted the dashboard with a reverse proxy on localhost and relied
on that header lose the identity, not access. - ClickHouse HTTPS and Gemini credentials are injected as headers
instead of URL query parameters (#823, #831). Placeholders in
?password=/?user=(ClickHouse) and?key=(Gemini) are removed
from the forwarded URL, and agent-suppliedX-ClickHouse-User/
X-ClickHouse-Keyheaders are stripped before injection. - Postgres agents get a generic upstream authentication failure
instead of the upstream's message (#820). - Injected credentials are redacted from response body samples, not
only request samples (#829).
Behaviour changes that are not breaking
clawpatrol runreports the daemon's own error when the daemon dies
during startup, and only blames the daemon on EOF (#807, #812).- Kubernetes credentials are selected by bearer placeholder, so one
profile can bind severalkubernetescredentials (#798). - HTTP body capture is completion-aware; fixture export refuses
partially captured bodies (#800). signal_cliHITL notifier (#757). Last notifier added to core;
further integrations are built as plugins (#834).- Go 1.26.6, golang.org/x/crypto 0.57.0, cel-go 0.30.0, grpc 1.83.2:
govulncheck reports no reachable advisories (#808, #821, #840).
Schema migrations 0020 and 0021 are additive; downgrading to v0.5.9
against an upgraded database works.
What's Changed
- docs: state that clawpatrol run is not a local sandbox by @piscisaureus in #804
- fix(kubernetes): select credentials by bearer placeholder by @rajiteh in #798
- approvers: honor defaults.llm_fail_mode on model-call failures by @piscisaureus in #805
- gateway: write gateway.log_path by @piscisaureus in #806
- run: report the daemon's own error when it dies during startup by @piscisaureus in #807
- run: rename a constant that shadowed the cap builtin by @piscisaureus in #809
- docs: add CONTRIBUTING, SECURITY and issue templates by @piscisaureus in #810
- deps: clear open Dependabot alerts by @piscisaureus in #808
- run: only blame the daemon for startup failure on EOF by @piscisaureus in #812
- postgres: send agents a generic upstream-auth failure by @piscisaureus in #820
- gateway: open log_path after state_dir exists and tee robustly by @piscisaureus in #814
- approvers: keep the fail-open reason on the final allow by @piscisaureus in #813
- config: keep <file:...> includes inside the config directory by @piscisaureus in #819
- deps: grpc 1.83.1 -> 1.83.2 by @piscisaureus in #821
- onboard: hand out approved auth material exactly once by @piscisaureus in #824
- credentials: keep ClickHouse and Gemini secrets out of URL queries by @piscisaureus in #823
- docs: two statements that no longer matched the code by @piscisaureus in #826
- docs: say what is stored at rest and what protects it by @piscisaureus in #828
- fix: make HTTP body capture completion-aware by @magurotuna in #800
- run: stop advising users to disable AppArmor's userns restriction by @piscisaureus in #827
- web: stop trusting Tailscale-User-Login from loopback proxies by @piscisaureus in #825
- mitm: redact injected credentials from response body samples by @piscisaureus in #829
- wireguard: fall back to unbatched sends when the path MTU is small by @piscisaureus in #830
- fixes from a second review pass over today's changes by @piscisaureus in #831
- feat(credentials): add signal_cli HITL notifier by @13pass in #757
- docs: integrations are built as plugins, not added to core by @piscisaureus in #834
- gateway: drop UDP/443 for every destination, not only VIPs by @piscisaureus in #838
- pre-release: toolchain and dependency bumps, fail-open only on judge outages by @piscisaureus in #840
- docs: run has no --conf flag by @piscisaureus in #842
New Contributors
Full Changelog: v0.5.9...v0.5.10