Repository navigation
Conversation
…s an http(s) url (card 92413965) Web-dev audit for Kimi's career-wrangler work: interface/capture renders any page, localhost included, but returns only a PNG path and is not in her hands, so a designer or QA citizen could not see the site she is building. vision/look (native, AiSafe) now takes `url` as well as `file_path`: the page is rendered by the same web capture a builder uses, scoped to her, and looked at through her own vision bridge, one act. This reuses an existing native verb with one optional field instead of adding a second tool to the surface. LookAt::try_from(&VisionLookParams) takes exactly one target. A url is http(s) only, because the renderer runs as the core and a file:// url would reach host files outside her workspace; both or neither is refused with the fix named. Test in the existing mod. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…warning ratchet on #4539) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…der its ceiling (13217 > 13200 on #4539) The url field added 17 guard tokens over the ceiling; per the surface rule the docs shrink instead of the number moving. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Approved at 5606ffd (Cormac). CI 8/8 success at this head. It's the right shape. Non-blocking, for follow-up cards:
|
…other host from the core's position (Cormac on #4539) The renderer runs as the core, so an arbitrary http(s) url could reach internal endpoints and cloud metadata. A url is now accepted only when its host is localhost, 127.0.0.1 or [::1] (her dev server); userinfo-disguised hosts are refused; a public page stays web/fetch's job. Narrowing further to her leased ports follows once #4540 lands. Test extended in the existing mod. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Approved at 3acd33d (Cormac). CI success on every build and test check at this head (the WIP label check is the only one absent).
One residual for the leased-ports follow-up, not blocking: the renderer follows redirects, so a page on localhost can still redirect it off the machine. It's her own dev server, so the risk is low, but pinning navigation to loopback in the capture (refusing a redirect to another host) would make the check hold end to end. |
|
This PR is stale because it has been open for 30 days with no activity. Please comment or update this PR to keep it active. |
|
This PR was closed because it has been inactive for 14 days since being marked as stale. |
Card 92413965, from the web-dev plumbing audit for Kimi's career-wrangler work. Designer and QA roles have to see the rendered site.
interface/capturerenders localhost but returns only a PNG path and isn't in her hands.vision/look(native) now takes an optionalurlalongsidefile_path. The page is rendered by the same web capture a builder uses, scoped to her, then looked at through her own vision bridge in one act. It adds one optional field to an existing tool rather than a new tool on a surface near its token ceiling.LookAt::try_fromenforces exactly one target. A url must be http(s): the renderer runs as the core, and afile://url would reach host files outside her workspace. The test lives in the existing mod.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo