chore(web): narrow SCOPE_ORDER to 3 layers, drop builtin UI affordances #946
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!946
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/941"
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?
Removes
"builtin"fromSCOPE_ORDER, the mcp-tab scope filter, and the service-config scope chips. Wires "Reset to factory defaults" toPOST /api/service-config/reset-defaults(endpoint in separate story).ScopeIdnarrowed to"global";anchored-scope.tsladders updated to 3 tiers.Test plan
mcp-tab.test.tsx: no builtin option in scope filter; Reset present for global cards (12 tests pass).settings.service.test.tsx(new): no builtin chip; factory-reset button callsresetServiceConfigToFactoryDefaults.skills-tab.test.tsx: inherited-row test updated to global-scoped ancestor.Closes #941
Correct.
SCOPE_ORDERnarrowed cleanly,SCOPE_LABELSretainsbuiltinfor legacy display, context simplification is valid, factory-reset wired correctly with error handling. Tests cover all changed paths.Nit (non-blocking):
resetMutation(individual field patch) anddeleteAllMutation(full factory reset) now share the same toast text "Reset to factory defaults" — minor UX ambiguity but out of scope here.PR has conflicts — please rebase on main before merging.
0d45644a958fafd161a7