P3-10b: User documentation and administrator deployment guide #43
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#43
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-10. Do this before P3-11 (release gate) — an unreleased client with no documentation cannot be beta-tested by anyone outside this repo.
Written by whoever writes the code. Documentation drifts from reality the moment it is written by someone who did not build the thing. If you implemented the MSI properties, you write the section on them.
Files
docs/user-guide.md,docs/admin-deployment.md,docs/troubleshooting.mdREADME.md1. User guide
For someone who has never heard of WebDAV and does not want to.
Write for the person who is annoyed. Every page here is read by someone whose files did not do what they expected.
2. Administrator deployment guide
This is the document that makes an organisation adopt you, and the one competitors charge for.
msiexecproperty list from P3-9. Every public property, with an example. An admin should never need to read the.wxs./etc/cairn/policy.json).cairn://URL format and QR code.3. Troubleshooting
fs.inotify.max_user_watches) · slow first sync on a large tree.cairnsync --once --dry-runto see what the engine intends without it doing anything. This is the best debugging tool in the product — say so.Language
English only. These are reference documents; the UI is translated (P3-3b), the docs are not. Revisit if a customer asks.
Steps
README.md.git commit -s -m "docs: user guide, admin deployment guide, troubleshooting"Acceptance criteria
Amendment — 2026-09-11: what the guides must say about cairnsync (phase-2 final review)
Phase 2 shipped
cmd/cairnsync. Its package doc (cmd/cairnsync/main.go:1-72) is the source oftruth. Several behaviours an administrator must know are recorded only in phase-2 review files. The
administrator guide and the troubleshooting page must state each of these. Under this issue's rule,
"nothing implemented is undocumented", each is a gap until it is written down.
<server>/dav/home/on a Cairn with per-userhomes (P2-R13).
/dav/itself holds onlyhomeandspaces.main.go:47-49,:315-319). Every device of the account shares one Cairn, and any of them may run Windows. Soa:b.txt,CON.txtand a trailing dot or space are skipped with a reason, even on Linux.%, which cairnd decodes twice (P2-R15); Cairn's own.cairn-meta.json,.cairn-stateand.cairn-upload-*; symbolic links and other specialentries, together with everything below them; and case collisions.
localPath. Thecheck is lexical, so a spelling that differs in case or goes through a symlink slips past it
(Task 28 F4). Never share a state database between folder pairs, and never copy one to another.
flock(Task 28 F5).--oncemode, the first SIGINT or SIGTERM lets the running pass finish, and asecond one stops the process at once (Task 28 F6, CV7). An interrupted upload resumes on the next
run.
never retried in a loop.
clients writing one file at the same moment can overwrite each other. The client re-checks each
copy just before writing, which narrows that window but cannot close it.
the empty mount point reads as every file deleted. Final review X2 adds a refusal for this case.
Document its message, and how an administrator confirms a deliberate delete-all.
--jsonevents (main.go:51-71).(
curl -K -), never with-uon the command line (Task 28 F7).