devices
runner nix smoke / nix label and flake smoke (push) Canceled after 0s

This commit is contained in:
2026-10-15 01:05:01 +00:00
parent 60d2e5d80f
commit 06925e9af8
10 changed files with 495 additions and 44 deletions
+10 -2
View File
@@ -10,7 +10,8 @@ Configuration:
- `ROUTINE_API_URL` defaults to `http://127.0.0.1:8090`.
- `ROUTINE_API_TOKEN` is sent as a bearer token when set.
- `ROUTINE_AGE_RECIPIENT` enables encryption of private titles and notes.
- `ROUTINE_AGE_RECIPIENT` pre-fills this device's public recipient when it is
registered in the Devices view.
- `ROUTINE_AGE_IDENTITY_FILE` points to the local age identity used for
decryption. The identity is never sent to the server.
@@ -27,6 +28,11 @@ private title decrypts successfully, the TUI displays it instead. If no private
title exists—or the identity is unavailable—the TUI displays the public title.
Notes are always inside the encrypted JSON.
Register each device in the Devices view before creating private content. The
client fetches all active public recipients and encrypts one age payload that
each registered device can decrypt. Revoking a device excludes it from future
payloads but does not re-encrypt existing tasks and routines.
Because the production server is loopback-only, either run the TUI on
`hectic-lab` or open a local tunnel first:
@@ -36,13 +42,15 @@ ssh -N -L 8090:127.0.0.1:8090 hectic-lab
Keys:
- `Tab`: switch between tasks, routines, and the archive.
- `Tab`: switch between tasks, routines, the archive, and encryption devices.
- `h`/`l`: previous/next day; `t`: today.
- `j`/`k`: move selection; `r`: refresh; `q`: quit.
- `a`: add a task or routine; `Ctrl+S`: save a form; `Esc`: cancel.
- On Tasks, `Space` completes, `s` reschedules, and `x` archives after confirmation.
- On Archive, `u` restores to the original day and section; `x` permanently
deletes after confirmation.
- On Devices, `a` registers a public age recipient and `x` revokes it after
confirmation. Private identities remain local and must never be entered here.
Weekly routine days use ISO numbers (`1` Monday through `7` Sunday). Monthly
days use `1` through `31`; days beyond the end of a short month clamp to its