The capability map still names dashboard sections that no longer exist #2147

Closed
opened 2026-11-27 08:04:22 +00:00 by sam · 1 comment
Owner

Why: #2121 removed the pages for tasks, work requests, logs, skills, curators, channels, task execution, organisations, tools, plugins, container runtime, agent profiles, org agents, org audit, org usage and org work intake, and modules/governance/accounts_api.go still lists every one of them as false. The list is served API (GET /api/capabilities), so it advertises sections nothing can render, and internal/webui still probes for pages that are gone (pageProbes()).

Done when: a section the dashboard cannot render is not in the response, ui/src/lib/capabilities.ts and internal/webui/api_capabilities.go agree on the names that remain, and no probe names a path with no page.

**Why**: #2121 removed the pages for tasks, work requests, logs, skills, curators, channels, task execution, organisations, tools, plugins, container runtime, agent profiles, org agents, org audit, org usage and org work intake, and `modules/governance/accounts_api.go` still lists every one of them as `false`. The list is served API (`GET /api/capabilities`), so it advertises sections nothing can render, and `internal/webui` still probes for pages that are gone (`pageProbes()`). **Done when**: a section the dashboard cannot render is not in the response, `ui/src/lib/capabilities.ts` and `internal/webui/api_capabilities.go` agree on the names that remain, and no probe names a path with no page.
sam added the bug label 2026-11-27 08:04:34 +00:00
sam added the low label 2026-11-27 08:04:41 +00:00
Author
Owner

Fixed in 77e291fdf.

modules/governance/accounts_api.go no longer lists the sixteen sections #2121's pages removal orphaned (tasks, work requests, logs, skills, curators, channels, task execution, tools, plugins, container runtime, agent profiles, org agents, org audit, org usage, org work intake) and drops bindings from the served list. What it reports now maps to a page: an organisation is reported unavailable because its page exists while its writes do not, and every other name is one a surviving route declares.

internal/webui/api_capabilities.go drops the section keys and probes for the same gone pages; pageProbes() is down to the two its surviving pages still make (add a member, put the access policy).

No new test: the check that would catch the next drift is Go reading the route meta the generator turns into ui/pages/pages.json, which needs the section name carried into that catalogue first. Say the word and I will do that as the follow-up, since it also catches a section that is missing rather than dead.

task check passes on a clean worktree at the commit.

Fixed in 77e291fdf. `modules/governance/accounts_api.go` no longer lists the sixteen sections #2121's pages removal orphaned (tasks, work requests, logs, skills, curators, channels, task execution, tools, plugins, container runtime, agent profiles, org agents, org audit, org usage, org work intake) and drops `bindings` from the served list. What it reports now maps to a page: an organisation is reported unavailable because its page exists while its writes do not, and every other name is one a surviving route declares. `internal/webui/api_capabilities.go` drops the section keys and probes for the same gone pages; `pageProbes()` is down to the two its surviving pages still make (add a member, put the access policy). No new test: the check that would catch the next drift is Go reading the route meta the generator turns into `ui/pages/pages.json`, which needs the section name carried into that catalogue first. Say the word and I will do that as the follow-up, since it also catches a section that is missing rather than dead. `task check` passes on a clean worktree at the commit.
sam closed this issue 2026-11-27 08:36:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2147