You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Follow-ups from Spec 108-e scope attribution review (#1436) #1437
Low-severity findings left open after the review and live QA of #1436 (Spec 108-e).
internal/httpapi/server.go:1936 (and the legacy branch at 1974): GET /servers?profile=<name> from a non-admin token pinned to a narrower profile is limited only by the token's allowed_servers, not by the caller's own pin. Its tool_count can therefore count tools that the caller's profile hides. GET /tools applies filterProfileToolRows first, so the two routes disagree. Only an aggregate count is exposed.
A disabled server contributes no rows to GET /tools?client= or ?profile=, because disabling disconnects the server and leaves its tool set empty. FR-032/E14 expects a server_state row. Either list disabled servers' tools or remove server_state from the FR-032/E14 text.
For a scoped SSE subscriber, its own internal_tool_call.completed event has no attribution, while its own tool_call.completed does. This errs toward withholding, so nothing leaks.
Quickstart recipe 108-e step 15 expects /ui/usage?profile= and /ui/tools?client= to open already filtered, with a chip. That is 108-i/108-j scope. Revisit the recipe once they land.
Info: the name of a revoked agent token cannot be reused (DELETE /tokens/ro-bot returns 204, then recreating ro-bot fails).
Activity
feat(web): profile scope on Tools, Activity, Sessions and Usage (Spec…
feat(attention): Spec 108 warnings as attention kinds, profile scope …
fix(httpapi): intersect the profile pin into the shared enumeration p…