Commit bad8583
Bring untracked local design/setup docs into the repo (#165)
## Summary
Several design and setup docs were sitting in a gitignored `ldocs/`
directory outside the repo. Reviewed them all and moved the ones that
are still accurate/useful into `docs/`, fixing them up along the way;
the rest were left out (stale planning artifacts, scratch notes, or
personal deploy scripts hardcoded to specific hosts/IPs).
- **`docs/development/guest-identity.md`** and
**`guest-identity-implementation.md`** — the guest identity design docs.
Turned out to be load-bearing: `kbox/identity.py`, `merge_users.py`,
`user.py`, `database/users.py`, and `web/server.py` all cite
`ldocs/GUEST_IDENTITY_CONTINUITY.md` /
`ldocs/GUEST_IDENTITY_TECHNICAL_DESIGN.md` by path as their design
rationale — a dead link for anyone cloning the repo. Repointed every one
of those in-code references to the new tracked paths.
- **`docs/development/relay-proposal.md`** — the cloud-relay proposal
these docs reference as future context.
- **`docs/setup/youtube-api.md`** (new directory, for operator-facing
setup guides as distinct from developer guidance) — API key setup
walkthrough, with the stale "configure via a script that no longer
exists" step replaced by the actual web UI config-screen flow. Linked
from both Quick Start sections in README.
- **`docs/development/macos-setup.md`** — macOS dev environment setup,
trimmed of a `run_kbox.sh` wrapper script reference that doesn't exist
in the repo.
- Folded the dual-HDMI-display `kmssink` investigation into
`gstreamer-pipeline.md`'s existing "Traps" section as a new entry,
rather than keeping it as a standalone file.
Left out: an old pre-implementation architecture doc (superseded by the
actual code), scratch notes, an empty test-plan file, a karaoke
party-lifecycle reference doc (vision doc, not useful to future
contributors), onboarding notes built around scripts that no longer
exist, and two personal deploy scripts hardcoded to specific hosts.
## Test plan
- [x] `uv run ruff check .` / `mypy` / pre-commit hooks all pass (ran
automatically on commit)
- [ ] Skim the new/moved docs for accuracy against current behavior
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent d405173 commit bad8583
15 files changed
Lines changed: 1480 additions & 15 deletions
File tree
- docs
- development
- setup
- kbox
- database
- web
- static/js
- templates/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
350 | 376 | | |
351 | 377 | | |
352 | 378 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments