Repository navigation
feat: examples/ with hello, files, todo and fetch - #21
Merged
Merged
Conversation
StevenCyb
force-pushed
the
feat/examples
branch
from
November 17, 2026 07:41
2762be2 to
b92588d
Compare
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StevenCyb
force-pushed
the
feat/examples
branch
from
November 17, 2026 09:02
b92588d to
7ae6a83
Compare
StevenCyb
enabled auto-merge (squash)
November 17, 2026 09:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What / why
example/becomesexamples/: the existing tour moves toexamples/features/(history kept) and four small, copy-able servers are added, each its own module with a README and unit tests.Layout
examples/README.md: index (what, how to run)examples/features: every feature once (moved)examples/hello: one toolexamples/files: read-only directory browser over stdio (FILES_ROOT), path traversal refusedexamples/todo: JSON-file todo list (TODO_FILE), Setup/Teardown, prompt, resourceexamples/fetch:fetch_urlwith allowlist (FETCH_ALLOW, empty denies), size limit, timeoutAll references updated (e2e, parser and cmd tests, CI, READMEs, templates). The CI test job vets and tests every module under
examples/.Tested
gofmt,
go vet, golangci-lint (0 issues),go test -race ./..., vet and test of every example module. Newe2e/examples_test.goruns each new example over stdio (temp dir, temp file, httptest server).🤖 Generated with Claude Code