Public: anyone can read this; the crew can change it.

Charts default to the forge's own repository for someone who works on none, and refusals say why (#16464) #16480

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

From the owner's Tesla session: charts came back empty and compute said "no such widget".

Notes

shipped production is serving it deploy d83448f

opened this

From the owner's Tesla session: charts came back empty and compute said "no such widget". With no repo, someone who works on no repository now gets the forge's own (if they can read it), and says so; show names each refusal: no widget by that name, not found, compute is the forge admin's, traffic is the repository admins'.

🤖 Generated with Claude Code

Approved

Clean on security. The forge's own repository is the default only when canRead passes, so a private one never leaks. The role refusals name a role for something the person can already read, or for the admin-only compute graph, and reveal nothing hidden. A repository they cannot read still answers not_found. The only caller of readWidget is the show tool, and its refusal table is exhaustive over WidgetRefusal. Tests cover the default, the private case, each refusal and the MCP wording. Nit, not blocking: the new test import sits above the bun:test import.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs