Skip to content

Agent access in Settings, the admin Agents page and sign-out - #69

Open
dcmcand wants to merge 1 commit into
slice/agent-tokens-16-routesfrom
slice/agent-tokens-17-ui
Open

dcmcand wants to merge 1 commit into
slice/agent-tokens-16-routesfrom
slice/agent-tokens-17-ui

Conversation

@dcmcand

@dcmcand dcmcand commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Slice 17: Agent access in the UI

Settings shows a person whether agents can act for them with a "Turn off for this session" control, the admin Agents page can look up, revoke and allow a person, and signing out says agents keep working.

Spec: nebari-dev/tapas/docs/superpowers/specs/2026-11-30-agent-token-broker-design.md
Plan: nebari-dev/tapas/docs/superpowers/plans/2026-12-01-agent-tokens-and-frames.md (Slice 17)
Contracts touched: Sign-in page query parameters (next, error, signedOut) gain agents
Depends on: #68

  • Settings: four states (off, blocked, active, not yet); "Turn off for this session", which lasts until the next sign-in and also signs the person out.
  • Admin Agents: find a person through the people directory, then revoke, block or allow by identity name.
  • Sign-out: ?signedOut=1&agents=1 says agents keep working.
  • Hidden entirely when agentTokens is off.

Validation

Step Command / action Expected Result
ui cd ui && pnpm typecheck && pnpm test ok typecheck ok; 891 tests pass at --maxWorkers=4 (the default count times out in unrelated files under this host's load)
build make local ok exit 0

Settings shows a person whether coding agents can act for them, since
when, or that an admin turned it off, with a "Turn off for this session"
control that says it lasts until the next sign-in, which can happen
without a click, and that turning it off also signs them out.

The admin Agents page finds a person through the people directory,
shows their agent access, and revokes it until allowed or allows it
again. Signing out with agent access on tells the person their agents
keep working. Everything is hidden when the switch is off.

contracts.md and the plan's evidence and deviations are updated.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant