P3-4: Setup wizard and zero-touch enrolment #33
Labels
No labels
data-integrity
engine
platform
procurement
remote
scaffold
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/cairn-desktop#33
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?
Depends on P3-3.
Goal
Success criterion #1 from the spec: a non-technical user completes setup in under two minutes with only a server URL and credentials. Measure it — time a real person.
Files
internal/app/setup.go,frontend/setup.*The flow
cairn.example.org,https://cairn.example.org, orhttps://cairn.example.org/dav/and normalise all three. Users paste whatever they were sent. Probe the URL and report clearly if it is not a Cairn server, unreachable, or has a bad certificate./auth/mode, aslogin.htmlalready does). Then branch:~/Cairn. Warn if the chosen folder is non-empty, and explain plainly what will happen: existing files will be uploaded, remote files will be downloaded, and nothing will be deleted.Zero-touch enrolment
Support a
cairn://URL and a QR code carrying the server URL (and optionally username), so an administrator can send one link that pre-fills steps 1 and 2. Register the URL scheme per platform.If policy (P3-1) already supplies
server, skip step 1 entirely and show it as managed.Error messages carry the weight
This screen is where trust is won or lost. Be specific:
Steps
cairn://handling and QR parsing.git commit -s -m "feat(app): setup wizard with zero-touch enrolment"Acceptance criteria