feat: onboarding wizard -- guided first-run setup for new deployments #52
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#52
Loading…
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?
New Turnstone deployments currently require manual YAML editing to define log sources, a pattern file, and the DB path. This creates friction for non-expert operators (support engineers, sysadmins unfamiliar with the stack) and makes enterprise pilots harder to set up quickly.
Onboarding wizard flow (3-step, shown only on first launch when no sources are configured):
Detect environment -- auto-discover available log sources:
/var/log/journal,journalctlavailability)/var/log/nginx,/var/log/apache2, etc.)Select and name sources -- checklist of discovered sources with friendly names; allow manual add
Confirm and write -- preview the generated
sources.yamlsnippet, write it, trigger initial gleanAdditional touches:
Acceptance criteria:
sources.yamlshows wizard on first navigation to Sources viewsources.yamlthat gleans successfullyImplemented. Backend: app/services/discover.py (journald/Docker/file detection), app/services/nl_source.py (keyword+LLM interpretation), GET /api/setup/status + /discover, POST /api/setup/write + /interpret. Frontend: SetupWizard.vue (3-step Detect→Select→Confirm), wired into SourcesView (shows on first run when no sources.yaml; Add Source button reuses it post-setup). NL field with manual form fallback. 372 tests passing, build clean.