Skip to content

Tags: G7CNF/ironclaw

Tags

staging-tested

Toggle staging-tested's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add generic host-verified /webhook/tools/{tool} ingress (nearai#757)

* Add generic host-verified webhook ingress for tools

* Stabilize trace E2E test rig and approval behavior

* Fix webhook security issues from review feedback

- Reject tools without webhook_capability() (was unauthenticated RCE)
- Remove secret-in-query-string fallback (leak via logs/referrers)
- Require approval for event_emit tool (escalation via routine triggers)
- Simplify header_value() (HeaderMap already case-insensitive)
- Redact internal errors from webhook HTTP responses
- Remove unused hmac_timestamp_tolerance_secs field
- Add regression test for tool without webhook capability

[skip-regression-check]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Harden webhook ingress: require auth mechanism, body limit layer, health check

- Reject webhook capabilities that declare no auth mechanism (empty
  WebhookCapability would previously allow unauthenticated access)
- Add DefaultBodyLimit layer to reject oversized payloads before buffering
- Health check (GET) now verifies tool has webhook_capability(), not just
  existence
- Add regression tests for all three fixes

[skip-regression-check]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix auto_approve_tools inconsistency between dispatcher and thread_ops

dispatcher.rs skips all approval checks (including Always) when
auto_approve_tools is true, but thread_ops.rs still required approval
for Always tools. This caused deferred tool calls to unexpectedly halt
in test rigs and auto-approve configurations.

Match dispatcher behavior: short-circuit all approval when
auto_approve_tools is enabled.

[skip-regression-check]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v0.17.0

Toggle v0.17.0's commit message
chore: Release package ironclaw version 0.17.0

v0.16.1

Toggle v0.16.1's commit message
chore: Release package ironclaw version 0.16.1

v0.16.0

Toggle v0.16.0's commit message
chore: Release package ironclaw version 0.16.0

v0.15.0

Toggle v0.15.0's commit message
chore: Release package ironclaw version 0.15.0

v0.14.0

Toggle v0.14.0's commit message
chore: Release package ironclaw version 0.14.0

v0.13.1

Toggle v0.13.1's commit message
chore: Release package ironclaw version 0.13.1

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: add type annotation for Vec<String> to fix Windows build (nearai…

…#452)

The compiler cannot infer the element type of `conflicts` on Windows
because all `push` calls are inside `#[cfg(unix)]` blocks which don't
compile on Windows.

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

v0.12.0

Toggle v0.12.0's commit message
chore: Release package ironclaw version 0.12.0

v0.11.1

Toggle v0.11.1's commit message
chore: Release package ironclaw version 0.11.1