Skip to content

fix(tools): enforce WebFetch boundaries and truthful retrieval provenance (#433) - #435

Draft
BunsDev wants to merge 2 commits into
mainfrom
fix/433-webfetch-boundaries
Draft

BunsDev wants to merge 2 commits into
mainfrom
fix/433-webfetch-boundaries

Conversation

@BunsDev

@BunsDev BunsDev commented Nov 1, 2026

Copy link
Copy Markdown
Member

Summary

Tests-first correction for #433. This draft starts with authority regressions against the unmodified WebFetch backend. It is not ready to merge.

Context

Changes

  • Add tests proving that WebFetch must not advertise itself as an unrestricted read or pass is_read_only=true to legacy permission handlers.
  • Preserve coverage of the existing manager-backed network permission rules and deny precedence.
  • Planned next increments: independently enforced public HTTP(S) transport; bounded response processing and fresh extraction cache; structured provenance and Research consumer contract.

Validation

  • git diff --check
  • cargo fmt --all
  • cargo check --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • Targeted regression command: cargo test --package claurst-tools --locked --test web_fetch_authority.
  • Not run locally: this environment has no cargo or rustc, and direct checkout fails DNS resolution. GitHub connector reads and branch writes work. Existing PR CI will be inspected for actual failures before backend corrections; no successful Rust execution is claimed.

PR Readiness

  • Initial diff is limited to the new authority regression test file.
  • Generated files were not edited by hand.
  • User-facing docs/help updated with the final producer contract.
  • No credentials, private data or unrelated logs are included.
  • Remaining risk: implementation and qualification are still in progress. Keep draft until completed and independently reviewed.

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 1, 2026 8:58pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 52024778 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant