settings/SU-3: restructure agent-config — rename Secrets, split tabs to side-nav #834
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As an operator, I want per-agent Secrets / History / Admin to live as separate side-nav items under Agents, and "Secrets" renamed so it doesn't collide with the AES kv store, so that the term "Secrets" has one meaning.
Context
Two surfaces both called "Secrets":
/settings/secrets— AES-256-GCM kv store referenced by${SECRET:NAME}in artifact bodies (settings.secrets.tsx)./settings/agent-config?tab=secrets— per-agent config secrets (features/agent-config/secrets-tab.tsx).Plus
/settings/agent-configuses a nested tab bar (Secrets / History / Admin), which conflicts with SU-1's single-side-nav rule.Acceptance criteria
Routes
/settings/agent-configdeprecated; replaced by three sibling routes:/settings/agents/per-agent-secrets(was?tab=secrets)/settings/agents/config-history(was?tab=history)/settings/agents/admin(was?tab=admin)/settings/agent-config?tab=*URLs redirect to new routes preserving query params (e.g.qfor History).Naming
/settings/secretsretains its name (it's the unambiguous one).Tests
?tab=history&q=fooredirects to/settings/agents/config-history?q=foo.Out of scope
/settings/secretspage — unchanged.References
apps/web/src/routes/settings.agent-config.tsx— current host.apps/web/src/features/agent-config/{secrets-tab,history-tab}.tsx— feature components.apps/web/src/routes/settings.secrets.tsx— the other Secrets.