The machine you develop on stops being written into the repo

Every device address, login, key path, password and local venv path in the
.claude/ skills moves to dev.env at the repo root: gitignored, with a tracked
dev.env.example showing the shape. The skills now name $DEV_* keys and say to
read dev.env first, so they still run -- against whoever's hardware.

Two of the values were not secrets so much as a wrong assumption. The device
paths under that home directory are now $HOME-relative in run_instrumented.sh,
instrument.py and drive_console.py, and the deploy docs point at $DEPLOY_USER
and $KEY_PATH, which those scripts already parameterised. Hardcoding a home
directory was only ever correct for one machine.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5 committed 2026-09-06 01:33:38 -04:00
1 parent 4d8ba0fc5e
commit 892aefa11b
12 files changed
+83 -28

No files matched your search

+3 -1
View File
@@ -32,7 +32,9 @@ sh calculinux-setup.sh
Two prerequisites the setup script checks for but cannot embed:
- **Deploy key** — place the read-only GitHub deploy key at `$HOME/.ssh/id_ed25519`
- **Deploy key** — place the read-only GitHub deploy key at
`/home/$DEPLOY_USER/.ssh/id_ed25519` (`DEPLOY_USER` defaults to `meshterm`; `KEY_PATH`
overrides the location outright)
(mode 600) before running; the clone uses it over SSH.
- **Wi-Fi credentials** — the kick only nudges a network iwd already knows. Either connect
once by hand (`iwctl station wlan0 connect <SSID>`) or export `WIFI_SSID` and `WIFI_PSK`
+1 -1
View File
@@ -34,7 +34,7 @@
# rounded frame corners + the list cursor the bare console can't draw).
#
# Two prerequisites this script cannot safely embed and will check for / guide you through:
# * the read-only deploy key at $HOME/.ssh/id_ed25519 (never commit a private key);
# * the read-only deploy key at $KEY_PATH (never commit a private key);
# * Wi-Fi credentials known to iwd. The kick only nudges an ALREADY-known network. Either
# provision it once by hand (`iwctl station wlan0 connect <SSID>`), or export
# WIFI_SSID and WIFI_PSK before running and this script writes the iwd config for you.