Skip to content

feat(web-fetch): add tools.web.fetch.headers for operator request headers - #115545

Merged
jesse-merhi merged 31 commits into
mainfrom
jesse-merhi/web-fetch-headers
Aug 1, 2026
Merged

jesse-merhi merged 31 commits into
mainfrom
jesse-merhi/web-fetch-headers

Conversation

@jesse-merhi

@jesse-merhi jesse-merhi commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Operators who route outbound traffic through a gateway they control can attach request metadata to model-provider traffic, but not to direct web_fetch requests. In deployments with gateway-enforced egress, that means web_fetch cannot reach the approved route even though the same deployment can route model traffic.

Why This Change Was Made

Adds tools.web.fetch.headers, an opt-in string map applied only to the direct, SSRF-guarded web_fetch request.

{
  tools: {
    web: {
      fetch: {
        headers: {
          Authorization: "Bearer ${WEB_FETCH_TOKEN}",
          "X-Routing-Target": "${WEB_FETCH_ROUTING_TARGET}",
        },
      },
    },
  },
}

The contract is:

  • Operator-selected headers are allowed, including Authorization, Cookie, X-Api-Key, and deployment-specific routing headers.
  • Every configured value is schema-marked sensitive, regardless of its name. Exposed config and debug-proxy request captures redact it.
  • Fetch-owned headers (Accept, Accept-Language, User-Agent, and Sec-Fetch-Mode), framing/hop-by-hop headers, and values the runtime Headers implementation cannot carry are dropped per entry.
  • Accepted headers participate in a hashed cache discriminator without storing their values in the cache key.
  • Provider fallbacks never receive these headers.
  • Same-origin redirects preserve them. Cross-origin redirects apply the existing guarded-fetch safe allowlist.

Values are plain strings and support normal ${VAR} config substitution. Structured SecretRef objects are not accepted by this string-map field; sensitivity comes from the schema marking every map value sensitive.

The headers are sent to the initial URL selected by the model. Credential headers should therefore be configured only when that is the intended trust boundary. This does not relax SSRF policy, DNS pinning, redirect limits, or trusted-proxy rules.

User Impact

Operators can now send deployment-specific routing, authentication, or service-injection headers with direct web_fetch traffic. The feature is additive and disabled by default. Existing request and cache behavior is unchanged when no headers are configured.

Evidence

Behavioral coverage verifies:

  • direct delivery of routing and credential headers;
  • redaction from exposed config and debug captures;
  • refusal of fetch-owned, framing, invalid, and unsendable entries;
  • cache partitioning only on headers that reach the initial request;
  • late-bound config values and provider-fallback isolation;
  • existing guarded-fetch behavior and config help/schema snapshots.

Checks on rebased head e1d0a8fca38:

  • Eight focused request, provider, config, capture, and guarded-fetch suites: 218 tests passed across 5 Vitest shards on Node 25.9.0.
  • Rebased-head pnpm check:changed: passed on Blacksmith Testbox, including core production/test typechecks, all core/UI/package lint shards, generated metadata/API baselines, dead-export scans, import cycles, and boundary/database/media/runtime guards.

No screenshot is included because this changes a backend/config request contract and no rendered UI state.

Review Note

The implementation is intentionally local to web_fetch. It uses the runtime Headers implementation for transport validation and the existing guarded-fetch, redirect, cache, config-sensitivity, and capture-redaction seams rather than introducing a second credential policy.

Maintainer policy decision: enabling tools.web.fetch.headers intentionally authorizes the accepted configured headers on every initial direct web_fetch URL selected by the model. Header names are arbitrary, so OpenClaw does not infer which values are credentials or add a separate destination allowlist. Operators must configure credential-bearing headers only when that global first-hop scope is their intended trust boundary. Cross-origin redirects remain restricted by the existing safe-header filter.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling size: L maintainer Maintainer-authored PR labels Jul 29, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Jul 29, 2026
@clawsweeper

clawsweeper Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 12:04 PM ET / 16:04 UTC.

ClawSweeper review

What this changes

Adds opt-in tools.web.fetch.headers so operators can send sensitive routing or authentication headers only with direct, SSRF-guarded web_fetch requests.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

This PR remains necessary: current web_fetch builds a fixed direct-request header set and has no operator-header configuration, while the branch adds that missing capability through the existing guarded-fetch, cache, config-redaction, and capture-redaction paths. The documented opt-in first-hop trust boundary has been explicitly accepted in the PR discussion; this is not a correctness blocker, but the maintainer label and MEMBER authorship keep final merge handling human-owned.

Priority: P2
Reviewed head: 39b4904ddb5124bdc713810740f537ac0df64a17

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused, well-covered core feature that reuses the correct request and redaction boundaries; the remaining action is human merge ownership for the accepted trust model.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR context records after-fix behavioral suites and exact-head Testbox validation, and the live item carries proof: sufficient; this backend configuration contract has no meaningful rendered UI state to screenshot.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR context records after-fix behavioral suites and exact-head Testbox validation, and the live item carries proof: sufficient; this backend configuration contract has no meaningful rendered UI state to screenshot.
Evidence reviewed 6 items Current-main gap: The checked-out main path creates the direct request with only its fixed Accept, User-Agent, and Accept-Language headers; its web-fetch config type has no headers field. The central operator-header capability is therefore not already implemented on main.
Existing redirect protection: The shared guarded-fetch redirect helper retains only an explicit safe-header allowlist after a cross-origin redirect, so authorization- and cookie-like configured headers do not propagate to the redirected origin.
PR owner-boundary implementation: The proposed patch validates configured headers at the direct web-fetch request boundary, partitions the cache by accepted headers, and passes their names to the existing capture path for redaction rather than creating a parallel fetch or credential system.
Findings None None.
Security None None.

How this fits together

web_fetch turns a model-selected HTTP(S) URL into a guarded outbound request, then returns extracted content or a provider fallback result. This PR adds operator-supplied request metadata at that direct-request boundary while preserving redirect safety, cache separation, and diagnostic redaction.

flowchart LR
  A[Operator config] --> B[Web fetch tool]
  C[Model-selected URL] --> B
  B --> D[Header validation and cache key]
  D --> E[SSRF-guarded direct request]
  E --> F[Redirect safety filter]
  E --> G[Redacted debug capture]
  E --> H[Fetched content or provider fallback]
Loading

Before merge

  • Resolve merge risk (P1) - This additive setting intentionally allows accepted configured headers, including credentials, on every initial model-selected direct web_fetch URL; operators must use it only when that first-hop trust boundary is intended.
  • Resolve merge risk (P2) - The setting adds one compatibility-sensitive config surface. The implementation must retain its disabled-by-default behavior, sensitive-value redaction, redirect stripping, provider-fallback isolation, and cache partitioning in the final merge result.
  • Complete next step (P2) - No repair is indicated; a human owner should perform the final exact-head merge review because this MEMBER PR carries the protected maintainer label and an intentional security-sensitive operator contract.
Agent review details

Security

None.

PR surface

Source +141, Tests +406, Docs +64, Generated +1. Total +612 across 18 files.

View PR surface stats
Area Files Added Removed Net
Source 8 150 9 +141
Tests 6 406 0 +406
Docs 1 64 0 +64
Config 0 0 0 0
Generated 3 4 3 +1
Other 0 0 0 0
Total 18 624 12 +612

Review metrics

Metric Value Why it matters
Config surface 1 added setting: tools.web.fetch.headers This introduces a compatibility-sensitive operator configuration contract, even though it is disabled by default.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/agents/tools/web-fetch.ts, persistent cache schema: src/agents/tools/web-fetch.provider-fallback.test.ts, persistent cache schema: src/config/schema.help.runtime.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Merge with the documented trust boundary (recommended)
    After exact-head checks remain green, accept this disabled-by-default operator setting with its explicit warning that configured headers reach initial model-selected URLs.
  2. Pause for a different product contract
    Do not merge if maintainers want destination allowlisting or credential-name inference, because that would replace the accepted global first-hop contract rather than mechanically tighten this patch.

Technical review

Best possible solution:

Merge the focused core configuration only after human review of the exact head confirms the documented opt-in first-hop boundary and the existing guarded-fetch protections remain intact.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is an additive configuration capability, not a report of broken existing behavior. Current source confirms the capability is absent from the direct web_fetch request path.

Is this the best way to solve the issue?

Yes. Given the accepted product boundary, adding the setting at the direct web-fetch owner and reusing guarded-fetch redirect handling, cache identity, and capture redaction is preferable to a parallel gateway or provider-specific workaround.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5ae401d9084f.

Labels

Label justifications:

  • P2: This is a bounded opt-in core feature with meaningful operator impact but no demonstrated active regression or release-blocking failure.
  • merge-risk: 🚨 compatibility: The PR adds a persistent config key, generated schema/help metadata, and cache behavior that operators may rely on after upgrade.
  • merge-risk: 🚨 security-boundary: Configured sensitive headers can intentionally reach initial model-selected destinations, making the documented first-hop trust boundary material before merge.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR context records after-fix behavioral suites and exact-head Testbox validation, and the live item carries proof: sufficient; this backend configuration contract has no meaningful rendered UI state to screenshot.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR context records after-fix behavioral suites and exact-head Testbox validation, and the live item carries proof: sufficient; this backend configuration contract has no meaningful rendered UI state to screenshot.

Evidence

What I checked:

  • Current-main gap: The checked-out main path creates the direct request with only its fixed Accept, User-Agent, and Accept-Language headers; its web-fetch config type has no headers field. The central operator-header capability is therefore not already implemented on main. (src/agents/tools/web-fetch.ts:636, 30972edaea78)
  • Existing redirect protection: The shared guarded-fetch redirect helper retains only an explicit safe-header allowlist after a cross-origin redirect, so authorization- and cookie-like configured headers do not propagate to the redirected origin. (src/infra/net/redirect-headers.ts:21, 30972edaea78)
  • PR owner-boundary implementation: The proposed patch validates configured headers at the direct web-fetch request boundary, partitions the cache by accepted headers, and passes their names to the existing capture path for redaction rather than creating a parallel fetch or credential system. (src/agents/tools/web-fetch.ts:203, 39b4904ddb51)
  • Config secrecy coverage: The PR registers every map value as sensitive, adds schema/redaction coverage, and updates exposed-config help so nonstandard routing-header values are redacted even when their names do not imply a secret. (src/config/zod-schema.agent-runtime.ts:426, 39b4904ddb51)
  • Related merged implementation provenance: A merged current-main sibling, feat(google): allow operator headers on Gemini web search (#115549), establishes that operator request headers are already an accepted provider-specific pattern; it does not solve direct web_fetch, whose request is owned by core. (extensions/google/src/gemini-web-search-provider.runtime.ts:205, d3f4530ce890)
  • Review and proof context: The PR body records focused behavioral coverage and a rebased-head Blacksmith Testbox check:changed pass; the live PR context also marks proof: sufficient and reports successful required checks on the current head. (src/agents/tools/web-fetch.headers.test.ts:1, 39b4904ddb51)

Likely related people:

  • Jesse Merhi: Introduced the merged Google web-search operator-header feature that is the closest current-main sibling and authored the proposed direct web-fetch implementation. (role: recent area contributor; confidence: high; commits: d3f4530ce890; files: extensions/google/src/gemini-web-search-provider.runtime.ts, docs/tools/gemini-search.md)
  • Pavan Kumar Gondhi: Recent history ties this contributor to the guarded HTTP redirect work whose shared cross-origin safe-header rule constrains this PR's security behavior. (role: redirect-safety contributor; confidence: medium; commits: 3c6259ebb70c; files: src/infra/net/fetch-guard.ts, src/infra/net/redirect-headers.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (22 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-01T14:35:26.223Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:11:08.175Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:20:59.256Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:26:56.103Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:33:49.133Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:40:39.374Z sha 8490386 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:52:26.602Z sha 39b4904 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:58:47.641Z sha 39b4904 :: needs maintainer review before merge. :: none

@jesse-merhi
jesse-merhi force-pushed the jesse-merhi/web-fetch-headers branch from ba3e48a to 6713b1e Compare July 30, 2026 17:19
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 31, 2026
@jesse-merhi
jesse-merhi force-pushed the jesse-merhi/web-fetch-headers branch from 3b6f001 to bc0e4a7 Compare July 31, 2026 18:04
@jesse-merhi
jesse-merhi marked this pull request as ready for review July 31, 2026 18:05
Copilot AI review requested due to automatic review settings July 31, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 31, 2026
@jesse-merhi
jesse-merhi marked this pull request as draft July 31, 2026 18:21
@jesse-merhi
jesse-merhi marked this pull request as ready for review July 31, 2026 18:29
@clawsweeper clawsweeper Bot removed the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Jul 31, 2026
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 1, 2026
@jesse-merhi

Copy link
Copy Markdown
Member Author

Maintainer decision: accept the documented first-hop trust boundary. tools.web.fetch.headers is intentionally opt-in and may send configured headers to every initial model-selected direct web_fetch URL. Keep the current design: no destination allowlist or credential-name inference; cross-origin redirect stripping, provider-fallback isolation, capture redaction, and SecretRef behavior remain as documented. Proceed with exact-head verification and merge.

@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

1 similar comment
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 1, 2026
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

1 similar comment
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

# Conflicts:
#	docs/.generated/config-baseline.sha256
@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@jesse-merhi
jesse-merhi merged commit 8b21c23 into main Aug 1, 2026
188 of 190 checks passed
@jesse-merhi
jesse-merhi deleted the jesse-merhi/web-fetch-headers branch August 1, 2026 16:07
@jesse-merhi

Copy link
Copy Markdown
Member Author

Merged via squash.

pull Bot pushed a commit to soitun/moltbot that referenced this pull request Aug 1, 2026
* origin/main: (44 commits)
  fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486)
  fix(doctor): reject contradictory lint check selectors (openclaw#117495)
  fix(anthropic): honor configured model pricing (openclaw#117275)
  refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373)
  refactor(test): derive changed tooling routes (openclaw#117407)
  fix(kova): clarify extension memory attribution (openclaw#117500)
  fix(imessage): sanitize private context on every outbound path (openclaw#117501)
  fix(ci): align release validation fixtures (openclaw#117494)
  fix(talk): preserve owner authorization in realtime consults (openclaw#114163)
  fix(ui): surface aborted-run diagnostics (openclaw#117497)
  perf(models): skip Ollama row runtime loading (openclaw#117465)
  fix(cli): report user profile command outcomes (openclaw#117466)
  fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419)
  fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412)
  fix(models): avoid waiting on promotions before listing models (openclaw#117322)
  refactor(plugins): inherit shared package boundary settings (openclaw#117474)
  fix(systemd): parse all inline environment assignments (openclaw#117484)
  feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545)
  fix(qa): Slack progress lane misses successful delivery (openclaw#117391)
  refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476)
  ...
abdulrahman305 pushed a commit to qenex-ai/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (41 commits)
  fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486)
  fix(doctor): reject contradictory lint check selectors (openclaw#117495)
  fix(anthropic): honor configured model pricing (openclaw#117275)
  refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373)
  refactor(test): derive changed tooling routes (openclaw#117407)
  fix(kova): clarify extension memory attribution (openclaw#117500)
  fix(imessage): sanitize private context on every outbound path (openclaw#117501)
  fix(ci): align release validation fixtures (openclaw#117494)
  fix(talk): preserve owner authorization in realtime consults (openclaw#114163)
  fix(ui): surface aborted-run diagnostics (openclaw#117497)
  perf(models): skip Ollama row runtime loading (openclaw#117465)
  fix(cli): report user profile command outcomes (openclaw#117466)
  fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419)
  fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412)
  fix(models): avoid waiting on promotions before listing models (openclaw#117322)
  refactor(plugins): inherit shared package boundary settings (openclaw#117474)
  fix(systemd): parse all inline environment assignments (openclaw#117484)
  feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545)
  fix(qa): Slack progress lane misses successful delivery (openclaw#117391)
  refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
…ders (openclaw#115545)

* feat(web-fetch): add tools.web.fetch.headers for operator request headers

* docs(web-fetch): update cache discriminator comment

* fix(web-fetch): reserve runtime and cookie headers

* fix(web-fetch): harden operator header normalization

* fix(web-fetch): align header safety contracts

* fix(web-fetch): close header logging gaps

* fix(web-fetch): report case-colliding headers

* fix(web-fetch): reject stale colliding headers

* fix(web-fetch): refuse credential token aliases

* fix(web-fetch): preserve empty header values

* fix(web-fetch): refuse credential-shaped headers

* chore(config): refresh web fetch header baselines

* test(web-fetch): cover header security contracts

* fix(web-fetch): narrow credential header refusal

* fix(web-fetch): preserve trace metadata headers

* fix(web-fetch): keep header validation internal

* test(web-fetch): satisfy strict test contracts

* fix(web-fetch): refuse vendor credential headers

* fix(web-fetch): refuse authentication signatures

* fix(web-fetch): detect qualified auth signatures

* fix(web-fetch): refuse auth-suffixed headers

* fix(web-fetch): refuse compact credential headers

* fix(secrets): audit authentication signatures

* fix(web-fetch): redact operator headers in captures

* fix(web-fetch): keep capture metadata internal

* fix(web-fetch): allow sensitive operator headers

* test(web-fetch): cover normalized operator headers

* docs: note web fetch request headers

* chore(config): refresh web fetch header baseline

* chore: remove release-owned changelog entry
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (44 commits)
  fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486)
  fix(doctor): reject contradictory lint check selectors (openclaw#117495)
  fix(anthropic): honor configured model pricing (openclaw#117275)
  refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373)
  refactor(test): derive changed tooling routes (openclaw#117407)
  fix(kova): clarify extension memory attribution (openclaw#117500)
  fix(imessage): sanitize private context on every outbound path (openclaw#117501)
  fix(ci): align release validation fixtures (openclaw#117494)
  fix(talk): preserve owner authorization in realtime consults (openclaw#114163)
  fix(ui): surface aborted-run diagnostics (openclaw#117497)
  perf(models): skip Ollama row runtime loading (openclaw#117465)
  fix(cli): report user profile command outcomes (openclaw#117466)
  fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419)
  fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412)
  fix(models): avoid waiting on promotions before listing models (openclaw#117322)
  refactor(plugins): inherit shared package boundary settings (openclaw#117474)
  fix(systemd): parse all inline environment assignments (openclaw#117484)
  feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545)
  fix(qa): Slack progress lane misses successful delivery (openclaw#117391)
  refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (27 commits)
  fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486)
  fix(doctor): reject contradictory lint check selectors (openclaw#117495)
  fix(anthropic): honor configured model pricing (openclaw#117275)
  refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373)
  refactor(test): derive changed tooling routes (openclaw#117407)
  fix(kova): clarify extension memory attribution (openclaw#117500)
  fix(imessage): sanitize private context on every outbound path (openclaw#117501)
  fix(ci): align release validation fixtures (openclaw#117494)
  fix(talk): preserve owner authorization in realtime consults (openclaw#114163)
  fix(ui): surface aborted-run diagnostics (openclaw#117497)
  perf(models): skip Ollama row runtime loading (openclaw#117465)
  fix(cli): report user profile command outcomes (openclaw#117466)
  fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419)
  fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412)
  fix(models): avoid waiting on promotions before listing models (openclaw#117322)
  refactor(plugins): inherit shared package boundary settings (openclaw#117474)
  fix(systemd): parse all inline environment assignments (openclaw#117484)
  feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545)
  fix(qa): Slack progress lane misses successful delivery (openclaw#117391)
  refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (41 commits)
  fix(plugins): compare authoring metadata by canonical JSON semantics (openclaw#117486)
  fix(doctor): reject contradictory lint check selectors (openclaw#117495)
  fix(anthropic): honor configured model pricing (openclaw#117275)
  refactor(plugins): reuse scoped loader for capability discovery (openclaw#117373)
  refactor(test): derive changed tooling routes (openclaw#117407)
  fix(kova): clarify extension memory attribution (openclaw#117500)
  fix(imessage): sanitize private context on every outbound path (openclaw#117501)
  fix(ci): align release validation fixtures (openclaw#117494)
  fix(talk): preserve owner authorization in realtime consults (openclaw#114163)
  fix(ui): surface aborted-run diagnostics (openclaw#117497)
  perf(models): skip Ollama row runtime loading (openclaw#117465)
  fix(cli): report user profile command outcomes (openclaw#117466)
  fix(active-memory): detect Chinese recall intent in escalate mode (openclaw#117338) (openclaw#117419)
  fix(workboard): ignore caller-supplied archivedAt when creating a card (openclaw#116412)
  fix(models): avoid waiting on promotions before listing models (openclaw#117322)
  refactor(plugins): inherit shared package boundary settings (openclaw#117474)
  fix(systemd): parse all inline environment assignments (openclaw#117484)
  feat(web-fetch): add tools.web.fetch.headers for operator request headers (openclaw#115545)
  fix(qa): Slack progress lane misses successful delivery (openclaw#117391)
  refactor: deduplicate Codex prompt snapshot fixtures (openclaw#117476)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants