The dashboard calls API operations the archie binary does not serve #2121

Closed
opened 2026-11-23 11:48:50 +00:00 by sam · 1 comment
Owner

The dashboard requests paths that are missing from api/openapi.yaml, so these pages fail or show nothing against the archie binary.

Dashboard paths with no served operation (compared by the first two path segments):

  • alerts, alerts dismiss
  • audit, audit export
  • bindings
  • channels
  • chat update (update, defer, install)
  • config
  • control-plane: apply-status, catalog, resources
  • curators
  • identities
  • logs
  • orgs/current, and org agents
  • policies/{id}
  • repositories
  • schedules
  • secret-references/check
  • setup
  • skills
  • summary
  • task-meta, tasks
  • usage
  • version
  • work-requests

Done when

For each path, the binary serves it or the dashboard stops calling it (page removed or moved to an operation that exists). A comparison of the dashboard's request paths against api/openapi.yaml lists nothing.

The dashboard requests paths that are missing from `api/openapi.yaml`, so these pages fail or show nothing against the `archie` binary. Dashboard paths with no served operation (compared by the first two path segments): - alerts, alerts dismiss - audit, audit export - bindings - channels - chat update (update, defer, install) - config - control-plane: apply-status, catalog, resources - curators - identities - logs - orgs/current, and org agents - policies/{id} - repositories - schedules - secret-references/check - setup - skills - summary - task-meta, tasks - usage - version - work-requests ## Done when For each path, the binary serves it or the dashboard stops calling it (page removed or moved to an operation that exists). A comparison of the dashboard's request paths against `api/openapi.yaml` lists nothing.
sam added the highbug labels 2026-11-23 11:48:50 +00:00
Author
Owner

Fixed in ea6385879. Every /api path the dashboard's source names is now either served by the binary or gone, and ui/test/api-paths.test.ts fails the gate on the next one.

Kept and moved onto served operations: control policy text (/api/policies/{kind} was already served, the kind is a closed union of the two served operations), org members (add/suspend/reactivate via /api/orgs/{id}/members), model providers/aliases/policy, instructions, credentials, captures, mappings, and the events chain, whose Bindings step is a trigger in this model and is now the Triggers step.

Removed, with the client methods and their tests: the task board (tasks, task-meta, attempts, changes, debug, transcript, logs, log download, action), activity feed, setup panel and quick task, logs, alerts, audit and its export, usage, summary, version, bindings and dispatches, schedules, channels, repositories, work requests, skills, curators, the control-plane settings layer and its pages (channels, scheduling policy, issue routing), identities, org agents, the org switcher, secret-reference checks and setup.

Two consequences filed rather than fixed in passing: #2145 the shell's attention count had one of these reads and is gone, #2146 org agent assignment has no API operation at all, #2147 the capability map still names the sections whose pages are gone.

Verified on a clean worktree at HEAD plus this commit: task check passes through ui build, pages:check, fmt, proto:check, db:check, openapi:check, vet, lint, build and go test. test:ui passes except chat-more-menu, which fails identically on unmodified main (#2148).

Fixed in ea6385879. Every /api path the dashboard's source names is now either served by the binary or gone, and `ui/test/api-paths.test.ts` fails the gate on the next one. Kept and moved onto served operations: control policy text (`/api/policies/{kind}` was already served, the kind is a closed union of the two served operations), org members (add/suspend/reactivate via `/api/orgs/{id}/members`), model providers/aliases/policy, instructions, credentials, captures, mappings, and the events chain, whose Bindings step is a trigger in this model and is now the Triggers step. Removed, with the client methods and their tests: the task board (tasks, task-meta, attempts, changes, debug, transcript, logs, log download, action), activity feed, setup panel and quick task, logs, alerts, audit and its export, usage, summary, version, bindings and dispatches, schedules, channels, repositories, work requests, skills, curators, the control-plane settings layer and its pages (channels, scheduling policy, issue routing), identities, org agents, the org switcher, secret-reference checks and setup. Two consequences filed rather than fixed in passing: #2145 the shell's attention count had one of these reads and is gone, #2146 org agent assignment has no API operation at all, #2147 the capability map still names the sections whose pages are gone. Verified on a clean worktree at HEAD plus this commit: `task check` passes through ui build, pages:check, fmt, proto:check, db:check, openapi:check, vet, lint, build and go test. `test:ui` passes except `chat-more-menu`, which fails identically on unmodified main (#2148).
sam closed this issue 2026-11-27 08:04:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2121