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
Console API: the security and act scopes, with actions over the API and auditing #1756
#1753 (Spec: the Console API). Governing decision: ADR 0026.
What to build
The security and act scopes gate what they're meant to gate, and the Console's actions work over the API with an audit trail.
With read, a Security run shows its row and stages, but its details and findings (the Security page, its Session traces, finding records) need security.
With act, a client can Stop a live Command, make a Dismissal and Undo one, enter Scores, settle a Bug origin, approve a proposed Eval task, and set the Theme and hidden sections. Each is a POST under /api/v1 that behaves exactly like its CLI twin and returns its --json.
An Other-account Command stays refused for Stop and Dismissal, with the owning account named, as the CLI refuses it.
Every API call that changes anything appends to the Console log: the token holder (or session address), the endpoint and the outcome. Reads aren't logged.
The Activity log line for a Stop or Dismissal made with a token reads "by token <holder>", alongside today's CLI and Console wording.
Acceptance criteria
An HTTP test: a read token gets a Security run's row but a 403 naming security for its details, and a security token gets them.
An HTTP test: an act token stops a live fixture Command and makes and undoes a Dismissal. A read token gets a 403 naming act for each.
Stop or Dismissal of an Other-account Command through the API is refused, naming the account, and nothing in that account's logs changes.
The Console log records each change with the holder and the outcome, and records no reads.
The Activity log names "by token <holder>" for API Stops and Dismissals.
The eval judgments and look settings work through the API with act, with JSON equal to their CLI twins.
docs/guide.md lists which scope each kind of call needs.
Activity
JacobStephens2 commentedon Nov 5, 2026
Closed by #1789, merged into issue-1753 by a thirdshift Ticket run with Self-merge.