feat(wizard): WIZ-9 re-run wizard affordance + admin reset #713
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!713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/680"
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?
Summary
/settings/agent-config?tab=adminwith a "Re-run setup wizard" buttonPOST /onboarding/reset(wipes wizard state only) then navigates to/onboardingTest plan
settings.agent-config.test.tsx(5 new WIZ-9)onboarding.test.tsx62 files, 800 tests)Closes #680
🤖 Generated with Claude Code
All AC met; CI green.
Pre-fill logic correct: watched-repos → repo selection, role→name map → TypesStep
initialNames,FORGEJO_TOKEN_*lookup →[saved]placeholder. Effect gate (all three prefill queries must settle beforestepRestored=true) prevents partial-apply races cleanly.Nit (non-blocking):
postOnboardingResethas a redundant&& res.status !== 204guard — 204 is alwaysres.ok, so the branch is dead. Harmless.