Skip to content

Conversation

@heusalagroupbot
Copy link
Collaborator

Summary

Add http_fetch tool with offline tests, manifest/docs wiring, and SSRF guard environment flag; includes testutil builder for tool compilation.

Scope

  • tools/cmd/http_fetch/**
  • docs/reference/http_fetch.md
  • tools/testutil/**

Risks

  • Network access in tests is fully stubbed via httptest.Server; CI should be offline-safe.

Test plan

  • go test ./tools/cmd/http_fetch -v
  • Verifies 200, HEAD, redirects cap, gzip decode, truncation, SSRF block.

References: FEATURE_CHECKLIST.md Tool: http_fetch line.

Copy link
Contributor

@thejhh thejhh left a comment

Choose a reason for hiding this comment

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

Looks fine

@thejhh thejhh merged commit 72015f7 into main Aug 20, 2025
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.

3 participants