site: a REST API the agent builds on lex-web, replacing the zip demo - #196
Merged
Merged
Conversation
The typed-issue demo was a pure function and the run was hidden in a log file, so it played in two seconds with nothing to look at. The new one is a real run on a fresh clone with an empty store: a one-line "check lex.toml" nudge, no package named. The agent found lex-web, read it, built /health and /quote/:topic on its router, closed the issue, and the recording ends with the server answering real curls. Tool calls stream live instead of going to a log. Also states the wrinkle it exposed: importing lex-web's router widens the runtime effect grant well past the declared [net]. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
zipdemo in "Try it" (and thelex issue showblock) with a real run where the agent builds a small REST API. Prompt is minimal — "checklex.tomlbefore hand-rolling it"; no package is named. The agent foundlex-web, read it, and built/healthand/quote/:topicon its router.curls.[net](follow-up filed separately).Test plan
lex issue verify→verified(attestation on head)/health200,/quote/courage200 JSON,/quote/wisdom200 JSON,/nope404 JSONNote: an earlier attempt "verified" in 18 s only because the working store still held ops from a previous killed run — discarded, not used.
🤖 Generated with Claude Code