@crvouga/homelab 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,6 @@
2
2
  "name": "mise-npm-install",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "vercel": "68.2.0"
5
+ "vercel": "68.5.0"
6
6
  }
7
7
  }
package/README.md CHANGED
@@ -454,12 +454,6 @@ never reaches a report. On Linux, lingering keeps the host after logout;
454
454
  the remedy names `loginctl enable-linger` and converge does not run it.
455
455
  Retirement runs `paradev hosts remove`. The `paradev:*` checks only warn.
456
456
 
457
- Under `t3.profile`, `fleet.json` names top-level T3 settings every machine
458
- holds the same, such as tool servers. A setting not named there stays the
459
- machine's own, and one edited on a machine since `converge` last wrote it
460
- is reported as `T3_PROFILE_CONFLICT` by the check `t3:profile`, never
461
- overwritten.
462
-
463
457
  Secrets are asked for by purpose (`monitoring-account-password`, `monitoring-tunnel-token`,
464
458
  `proxy-tunnel-token`); see [`src/secrets.ts`](src/secrets.ts).
465
459
 
@@ -51,7 +51,7 @@ services:
51
51
  # per-user file by hub-darwin.yml.
52
52
  cloudflared:
53
53
  profiles: [public-endpoint]
54
- image: cloudflare/cloudflared:2026.11.2@sha256:55c7e3e8d89d5e8d20b75a82f3602cbf98e06db406e73e282073cfdc5a9a3af6
54
+ image: cloudflare/cloudflared:2026.12.0@sha256:cfe98613e211b393c5dd7dfd7adc4d302a16d87d7601b5f193edf343cc1e0254
55
55
  user: '1000:1000'
56
56
  restart: unless-stopped
57
57
  command:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.21.2",
3
3
  "image": "henrygd/beszel:0.21.2@sha256:b0be90bd4aee2993fde763032a5098ce4386fba43cfe5031ec017b8d9e8c97a2",
4
- "tunnelImage": "cloudflare/cloudflared:2026.11.2@sha256:55c7e3e8d89d5e8d20b75a82f3602cbf98e06db406e73e282073cfdc5a9a3af6",
4
+ "tunnelImage": "cloudflare/cloudflared:2026.12.0@sha256:cfe98613e211b393c5dd7dfd7adc4d302a16d87d7601b5f193edf343cc1e0254",
5
5
  "agents": {
6
6
  "amd64": "0359a4c3b9d800ba865b2be4081c7f0df8ba29a8c5c0ac76e72f490f28496909",
7
7
  "arm64": "4f5dcea27c3f9e2ba30218e7d7039f4df548ded1c470df9eefe00975722aad13",
@@ -70,6 +70,20 @@
70
70
  - name: Inspect existing service ownership
71
71
  ansible.builtin.service_facts:
72
72
  tasks:
73
+ - name: Inspect the retired coding-agent launcher link
74
+ ansible.builtin.stat:
75
+ path: '{{ development_home }}/.local/share/personal/fleet/agent-commands'
76
+ follow: false
77
+ register: retired_agent_commands
78
+
79
+ - name: Remove the fleet-owned coding-agent launcher link
80
+ ansible.builtin.file:
81
+ path: '{{ development_home }}/.local/share/personal/fleet/agent-commands'
82
+ state: absent
83
+ when:
84
+ - retired_agent_commands.stat.islnk | default(false)
85
+ - retired_agent_commands.stat.lnk_target == 'current/agents/bin'
86
+
73
87
  - name: Install the pinned packages
74
88
  ansible.builtin.import_tasks: tasks/packages.yml
75
89
  - name: Configure Docker
@@ -100,7 +100,8 @@
100
100
  "restartBackoffBaseSeconds": 120,
101
101
  "restartBackoffMaxSeconds": 1800,
102
102
  "watchdogLogLines": 4000,
103
- "hangSnapshotsKept": 10
103
+ "hangSnapshotsKept": 10,
104
+ "bootServingSeconds": 180
104
105
  },
105
106
  "t3Stability": {
106
107
  "maxRestarts24h": 3,
@@ -205,6 +205,11 @@
205
205
  # exhaust; agents use disk-backed /var/tmp (aged by tasks/resources.yml).
206
206
  Environment=TMPDIR=/var/tmp
207
207
  Environment=NODE_OPTIONS=--max-old-space-size={{ sizing.agentBuildMiB }}
208
+ # An unattended worker leaves the login keyring locked, and the
209
+ # desktop app's main thread blocks forever on libsecret when
210
+ # Chromium's password store is the keyring. basic is a file under
211
+ # T3CODE_HOME, so a locked keyring never stops T3 from serving.
212
+ Environment=ELECTRON_PASSWORD_STORE=basic
208
213
  # Serve on loopback only: the route is tailscale serve to 127.0.0.1.
209
214
  # The running app rewrites its settings, so they are set before it
210
215
  # starts; a failure never keeps T3 from starting (worker:exposure).
@@ -212,7 +217,7 @@
212
217
  ExecStartPre=-/usr/bin/python3 -I -B /usr/local/lib/personal-fleet/t3-local-only.py --home %h/.t3
213
218
  # Native Wayland hangs before the first window on Asahi (16K pages);
214
219
  # XWayland works on every GNOME worker, so use it everywhere.
215
- ExecStart="{{ t3_desktop_dir }}/t3code" --ozone-platform=x11
220
+ ExecStart="{{ t3_desktop_dir }}/t3code" --ozone-platform=x11 --password-store=basic
216
221
  KillMode=mixed
217
222
  # A server that hangs does not stop on SIGTERM: do not wait the 90 s
218
223
  # default before it is killed. Agent scopes (t3code-*.scope) are
package/docs/runbooks.md CHANGED
@@ -14,7 +14,7 @@ It reads a code by where it stands, never by the word it ends with. The CLI
14
14
  proxy documents the codes of its own commands in
15
15
  [its README](../cliproxy/README.md); the ones converge reports are here.
16
16
 
17
- There are 462 codes; 106 need a person.
17
+ There are 458 codes; 106 need a person.
18
18
 
19
19
  ## Bootstrap of a new or returning worker
20
20
 
@@ -359,10 +359,6 @@ runaway, write `1` to that agent scope’s `cgroup.kill`.
359
359
  - `T3_CUSTOMIZATIONS_INVALID`: check that keybindings are a JSON array, theme files are regular files listed by the pinned T3 CLI, and the encoded customization snapshot fits the 1 MiB fleet state document limit.
360
360
  - `T3_CLIENT_SETTINGS_INVALID`: repair the manager’s client-settings.json so its settings are a JSON object.
361
361
  - `T3_CLIENT_SETTINGS_TOO_LARGE`: the desktop preferences exceed the fleet state's 1 MiB document limit. Reduce the document on the manager and rerun converge.
362
- - `T3_PROFILE_CONFLICT`: t3 profile conflict.
363
- - `T3_PROFILE_PENDING`: t3 profile pending.
364
- - `T3_PROFILE_RECORD_INVALID`: t3 profile record invalid.
365
- - `T3_PROFILE_UNVERIFIED`: t3 profile unverified.
366
362
  - `T3_RENDERER_LIMIT_UNVERIFIED`: check the delegated renderer cgroup after an idle desktop restart and recovery timer tick.
367
363
  - `T3_RENDERERS_HIGH`: the desktop renderers exceed their memory budget. Reload the app when idle.
368
364
  - `T3_PROTECTION_ESCAPED`: the T3 listener lacks its CPU, I/O or memory reserve; the summary names which (`cpu`, `io`, `memory`). Run converge: it declares the reserve for the unit T3 serves from and reloads the user manager, which applies it to the running T3 without a restart. `io` alone, while the user manager does not hand the io controller down (measured in its `cgroup.subtree_control`; its `cgroup.controllers` lists io as soon as the declaration is loaded), is not T3 leaving its unit and only warns: converge declares the controller, and the user manager takes it on its next start, so reboot the worker while it runs no agent turn (`homelab converge --maintenance-reboot`, which reboots for it as for pending updates); restarting T3 does not change it.
@@ -370,7 +366,6 @@ runaway, write `1` to that agent scope’s `cgroup.kill`.
370
366
  - `T3_RESTART_PENDING`: a restart of the worker's T3 (a new release, a staged policy, a return to loopback) waits for its agent turns to end. The remedy says how long it has waited and when its deadline falls: `personal-worker-recovery` applies it at the first check with no turn running, and `t3RestartMaxDeferralHours` after it was first deferred although turns run, which ends them. A failure means the deadline passed and the timer did not apply it: check `worker:service-recovery` and run `homelab converge`. To restart at once, run `homelab converge --restart-busy`.
371
367
  - `T3_SERVER_INSTALL_FAILED`: t3 server install failed: the pinned server of a headless worker is missing from the toolchain, or `t3-headless.yml` did not apply.
372
368
  - `T3_SERVER_STOPPED`: t3 server stopped: the lingering `t3code-headless.service` of a headless worker is not running.
373
- - `T3_SETTINGS_BUSY`: t3 settings busy.
374
369
  - `T3_VERSION_UNKNOWN`: a warning of `t3:version`: T3 on the machine the check names has not recorded the version it runs, so it cannot be compared with the pin. Start T3 there once, then run `homelab converge`.
375
370
  - `T3_VERSION_SKEW`: a warning of `t3:version`: T3 on the machine the check names runs another release than the fleet pins; the remedy names both. `homelab converge` installs the pinned release on a worker and restarts T3. On the manager, converge switches a running desktop to the verified bundle when the running release differs from the pin. The same release is left running. See `T3_DESKTOP_ACTIVATION_SCHEDULED`.
376
371
  - `T3_UPDATES_UNMANAGED`: a failure of `t3:updates`: the administrator policy of T3 on the manager does not turn its own updater off, so T3 may update itself away from the pinned release. Stage the fleet's policy once, as an administrator, with the command the remedy prints. **Needs a person.**
@@ -380,6 +375,7 @@ runaway, write `1` to that agent scope’s `cgroup.kill`.
380
375
  - `T3_NO_GRAPHICAL_SESSION`: logged by `personal-worker-recovery` on a desktop worker with a count: no graphical session is running, so the desktop app cannot run and the run fails. After three checks in a row the display manager is restarted so that auto-login starts a session, three times at most; after that the log says a person must log in at the worker.
381
376
  - `T3_RESTART_DEADLINE`: not a failure. `personal-worker-recovery` logs it when a restart of T3 has waited `t3RestartMaxDeferralHours` (`ansible/ubuntu/policy.json`) and is applied although agent turns run: they end. `worker:t3-deadline-restarts` counts these of the last 24 hours as a warning. Nothing is left to repair: send the threads whose turn ended their next message.
382
377
  - `WIP_GUARD_HEAVY`: a warning of `worker:wip-guard`: a run of the work-in-progress guard in the last 24 hours took longer than `resourceSafety.wipGuard.slowRunSeconds` or used more than `peakWarnMiB` (`ansible/ubuntu/policy.json`). Each run ends with a JSON `run` line in `journalctl --user -u personal-worker-wip-guard.service`. The cost is a worktree with a large tree of files Git does not ignore: ignore its build output or remove the worktree.
378
+ - `T3_BOOT_SERVING_LATE`: a failure of `worker:t3-health`: T3 answers now, but its unit became active later than `t3Service.bootServingSeconds` (`ansible/ubuntu/policy.json`) after this boot. A worker that lost power is given that long to serve on loopback with no one at the machine. Read the journal of the T3 unit and of `personal-worker-recovery` for what delayed the start.
383
379
  - `T3_HANG_SNAPSHOT`: not a failure. `personal-worker-recovery` logs it on the first failed check of the T3 local API with the directory it wrote under `~/.local/state/personal/t3-hangs` (the newest ten are kept): each thread of T3 with the kernel call it waits in (`wchan`), the pressure, the busiest processes and the journal of the unit. Read it before the third failed check restarts T3 and destroys the evidence. `worker:t3-health` names the newest one after a restart.
384
380
  - `T3_RESTART_BACKOFF`: not a failure. `personal-worker-recovery` logs it when T3 is unresponsive again soon after the watchdog restarted it: each restart for unresponsiveness within the hour makes the next one wait twice as long (`t3Service.restartBackoffBaseSeconds`, at most `restartBackoffMaxSeconds` in `ansible/ubuntu/policy.json`), so a persistent fault does not restart T3 every few minutes. Find the cause in the snapshots (`T3_HANG_SNAPSHOT`).
385
381
  - `T3_RESTARTS_FREQUENT`: a failure of `worker:t3-stability`: the watchdog restarted T3 for being unresponsive more than `t3Stability.maxRestarts24h` times in the last 24 hours. Each restart leaves a server that answers, so no other check reports it. The remedy names the newest snapshots of why T3 hung; look for agents or recovery jobs running heavy work at that time.
@@ -579,7 +579,9 @@ by the client with the worker certificate in `check --workers --json`.
579
579
 
580
580
  The worker seals the password with systemd credentials and publishes the RDP
581
581
  item in the volatile session keyring at startup. Its encrypted login keyring
582
- can stay locked. The desktop service shares the existing primary display.
582
+ can stay locked: the desktop app stores Chromium passwords in a file
583
+ (`--password-store=basic` on `t3code-desktop.service`), so a locked keyring
584
+ never blocks T3. The desktop service shares the existing primary display.
583
585
  The manager checks pre-authentication negotiation and the certificate.
584
586
  A client login is needed to confirm authenticated control.
585
587
 
@@ -89,8 +89,11 @@ a blocking socket send (`wchan` `sock_alloc_send_pskb`) while the local API
89
89
  timed out, and every stop waited the full stop timeout (#501). The headless
90
90
  server (`t3code-headless.service`) is the same server without any of those
91
91
  peers: it starts at boot with nobody logged in, needs no display manager, GPU
92
- or desktop packages, and waits for no graphical session. Whether it also stops
93
- the stalls is measured on the canary, not assumed (below).
92
+ or desktop packages, and waits for no graphical session. A desktop worker that
93
+ stays on the desktop app stores Chromium passwords in a file
94
+ (`--password-store=basic`), so the locked login keyring of an unattended
95
+ session cannot block its main thread either. Whether headless also stops the
96
+ stalls is measured on the canary, not assumed (below).
94
97
 
95
98
  What on a worker needs the desktop app, and what does not. Each row says where
96
99
  it is established:
@@ -337,6 +340,19 @@ one:
337
340
  drop SSH. `converge --maintenance-reboot` upgrades it to the pin in a
338
341
  detached unit and waits for the worker to answer again.
339
342
 
343
+ After an unclean power loss a worker reaches "T3 answers on loopback" with
344
+ no one at the machine. `t3Service.bootServingSeconds` (`ansible/ubuntu/policy.json`,
345
+ 180 seconds from the boot) is that limit, and `worker:t3-health` fails with
346
+ `T3_BOOT_SERVING_LATE` when this boot's T3 unit became active later than
347
+ that. The tunnel registers once the server answers; the check measures the
348
+ loopback API, which is what the watchdog and the route both need. A desktop
349
+ worker's unit stores Chromium passwords in a file under `T3CODE_HOME`
350
+ (`--password-store=basic`), so a locked login keyring never blocks the T3
351
+ path; the RDP credential stays in the volatile session keyring. The VM test
352
+ power-cycles the guest without a clean shutdown and requires the headless
353
+ server to answer within that limit, and the desktop path within the longer
354
+ time a graphical auto-login takes.
355
+
340
356
  A package run cut off by a power loss is finished by the next sync: the
341
357
  baseline waits for the APT lock, runs `dpkg --configure -a` once (bounded to
342
358
  ten minutes) and audits again; only a database still inconsistent stops with
package/mise.lock CHANGED
@@ -1613,10 +1613,10 @@ backend = "npm:@yarnpkg/cli-dist"
1613
1613
  specifiers = ["4.19.0"]
1614
1614
 
1615
1615
  [[tools."npm:vercel"]]
1616
- version = "68.2.0"
1617
- aube = { path = ".mise/locks/npm-vercel/68.2.0", digest = "sha256:7b76e57920271a2d73af3fd0f22a1f67ae3b688e477b00f9c54b64e0e0a6395e" }
1616
+ version = "68.5.0"
1617
+ aube = { path = ".mise/locks/npm-vercel/68.5.0", digest = "sha256:acb7702f21b240b54230d4827c12f68ca25efd8bf572113d49921bbea38683c1" }
1618
1618
  backend = "npm:vercel"
1619
- specifiers = ["68.2.0"]
1619
+ specifiers = ["68.5.0"]
1620
1620
 
1621
1621
  [[tools."npm:wrangler"]]
1622
1622
  version = "4.170.0"
@@ -1696,74 +1696,74 @@ url = "https://github.com/opentofu/opentofu/releases/download/v1.13.11/tofu_1.13
1696
1696
  url_api = "https://api.github.com/repos/opentofu/opentofu/releases/assets/813177535"
1697
1697
 
1698
1698
  [[tools.pnpm]]
1699
- version = "12.25.1"
1699
+ version = "12.26.0"
1700
1700
  backend = "aqua:pnpm/pnpm"
1701
- specifiers = ["12.25.1"]
1701
+ specifiers = ["12.26.0"]
1702
1702
 
1703
1703
  [tools.pnpm."platforms.linux-arm64"]
1704
- checksum = "sha256:808a65b1794fd9da3f573e250694fd643c5c756c3c4dd54df36dafb165c710a3"
1705
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-arm64.tar.gz"
1706
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135311"
1704
+ checksum = "sha256:321767eb7939c3d09577fed77d1c0c1b0802b690000f301382ea0b9297e01c2e"
1705
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-arm64.tar.gz"
1706
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897786"
1707
1707
  provenance = "github-attestations"
1708
1708
 
1709
1709
  [tools.pnpm."platforms.linux-arm64-musl"]
1710
- checksum = "sha256:300e60a1109d5b086a96b696c63d35bad1478f6a3f9145f3d6d9f64d0fd58cb9"
1711
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-arm64-musl.tar.gz"
1712
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135312"
1710
+ checksum = "sha256:d90eb5287fe7adc27467d06388e2aafa37e3982de2ec4eaa08cd710b9b34b7b1"
1711
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-arm64-musl.tar.gz"
1712
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897783"
1713
1713
  provenance = "github-attestations"
1714
1714
 
1715
1715
  [tools.pnpm."platforms.linux-x64"]
1716
- checksum = "sha256:390495e98adbed7ff00d8c2828d68ee39ad0b5bd95490e1e1be745e5fdbb7723"
1717
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-x64.tar.gz"
1718
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135310"
1716
+ checksum = "sha256:1b27412c9d86763b5722a6e563c34f894e9ddcfa8f613d8778a476633b4e4402"
1717
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64.tar.gz"
1718
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897768"
1719
1719
  provenance = "github-attestations"
1720
1720
 
1721
1721
  [tools.pnpm."platforms.linux-x64-baseline"]
1722
- checksum = "sha256:390495e98adbed7ff00d8c2828d68ee39ad0b5bd95490e1e1be745e5fdbb7723"
1723
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-x64.tar.gz"
1724
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135310"
1722
+ checksum = "sha256:1b27412c9d86763b5722a6e563c34f894e9ddcfa8f613d8778a476633b4e4402"
1723
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64.tar.gz"
1724
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897768"
1725
1725
  provenance = "github-attestations"
1726
1726
 
1727
1727
  [tools.pnpm."platforms.linux-x64-musl"]
1728
- checksum = "sha256:2c52728e059553e48cf8556c9a8d74baaa495f40f278cc8cbfe78fa360a76ad0"
1729
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-x64-musl.tar.gz"
1730
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135321"
1728
+ checksum = "sha256:69a290bc5f10574bac61086b969c902f73d979c6a1d81070600ba95408cabbe8"
1729
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64-musl.tar.gz"
1730
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897775"
1731
1731
  provenance = "github-attestations"
1732
1732
 
1733
1733
  [tools.pnpm."platforms.linux-x64-musl-baseline"]
1734
- checksum = "sha256:2c52728e059553e48cf8556c9a8d74baaa495f40f278cc8cbfe78fa360a76ad0"
1735
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-linux-x64-musl.tar.gz"
1736
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135321"
1734
+ checksum = "sha256:69a290bc5f10574bac61086b969c902f73d979c6a1d81070600ba95408cabbe8"
1735
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64-musl.tar.gz"
1736
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897775"
1737
1737
  provenance = "github-attestations"
1738
1738
 
1739
1739
  [tools.pnpm."platforms.macos-arm64"]
1740
- checksum = "sha256:4085aac529c6583d0e6805079a4826faec4f1dbf7c6b5bceb178badf7b58d489"
1741
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-darwin-arm64.tar.gz"
1742
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135316"
1740
+ checksum = "sha256:3b71a8a0cf3f1bdb8d65c2d06bf54575201ee4a62b7ec568e874af5c31022760"
1741
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-arm64.tar.gz"
1742
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897787"
1743
1743
  provenance = "github-attestations"
1744
1744
 
1745
1745
  [tools.pnpm."platforms.macos-x64"]
1746
- checksum = "sha256:368bb745c246dd31c34b4173217f751a4b4f23aa1df5fbd8b8411e3fdf648c17"
1747
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-darwin-x64.tar.gz"
1748
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135315"
1746
+ checksum = "sha256:8d224eb669a321628a167a4dc0dcacbf25d3aea446b67683f8340aa7858e8805"
1747
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-x64.tar.gz"
1748
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897779"
1749
1749
  provenance = "github-attestations"
1750
1750
 
1751
1751
  [tools.pnpm."platforms.macos-x64-baseline"]
1752
- checksum = "sha256:368bb745c246dd31c34b4173217f751a4b4f23aa1df5fbd8b8411e3fdf648c17"
1753
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-darwin-x64.tar.gz"
1754
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135315"
1752
+ checksum = "sha256:8d224eb669a321628a167a4dc0dcacbf25d3aea446b67683f8340aa7858e8805"
1753
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-x64.tar.gz"
1754
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897779"
1755
1755
  provenance = "github-attestations"
1756
1756
 
1757
1757
  [tools.pnpm."platforms.windows-x64"]
1758
- checksum = "sha256:729c9e30a2d00c1d8fb36e179e7e90d1d0da885da6ce4df8c22fb393c390d101"
1759
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-win32-x64.zip"
1760
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135329"
1758
+ checksum = "sha256:a69c7aad32dd39eef8f1dbb0cc06d81d12e58cd77ba9aae8f2f45ebd8895bd7d"
1759
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-win32-x64.zip"
1760
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897770"
1761
1761
  provenance = "github-attestations"
1762
1762
 
1763
1763
  [tools.pnpm."platforms.windows-x64-baseline"]
1764
- checksum = "sha256:729c9e30a2d00c1d8fb36e179e7e90d1d0da885da6ce4df8c22fb393c390d101"
1765
- url = "https://github.com/pnpm/pnpm/releases/download/v12.25.1/pnpm-win32-x64.zip"
1766
- url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/810135329"
1764
+ checksum = "sha256:a69c7aad32dd39eef8f1dbb0cc06d81d12e58cd77ba9aae8f2f45ebd8895bd7d"
1765
+ url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-win32-x64.zip"
1766
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897770"
1767
1767
  provenance = "github-attestations"
1768
1768
 
1769
1769
  [[tools.python]]
@@ -1997,75 +1997,75 @@ backend = "core:rust"
1997
1997
  specifiers = ["1.100.1"]
1998
1998
 
1999
1999
  [[tools.shellcheck]]
2000
- version = "0.11.0"
2000
+ version = "0.12.0"
2001
2001
  backend = "aqua:koalaman/shellcheck"
2002
- specifiers = ["0.11.0"]
2002
+ specifiers = ["0.12.0"]
2003
2003
 
2004
2004
  [tools.shellcheck."platforms.linux-arm64"]
2005
- checksum = "sha256:12b331c1d2db6b9eb13cfca64306b1b157a86eb69db83023e261eaa7e7c14588"
2005
+ checksum = "sha256:ce1d8583a588c1065afc6808ee2d80746d463228323281e625300b3c5df35491"
2006
2006
  checksum_source = "mise-versions"
2007
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.aarch64.tar.xz"
2008
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056934"
2007
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.aarch64.tar.xz"
2008
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569078"
2009
2009
 
2010
2010
  [tools.shellcheck."platforms.linux-arm64-musl"]
2011
- checksum = "sha256:12b331c1d2db6b9eb13cfca64306b1b157a86eb69db83023e261eaa7e7c14588"
2011
+ checksum = "sha256:ce1d8583a588c1065afc6808ee2d80746d463228323281e625300b3c5df35491"
2012
2012
  checksum_source = "mise-versions"
2013
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.aarch64.tar.xz"
2014
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056934"
2013
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.aarch64.tar.xz"
2014
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569078"
2015
2015
 
2016
2016
  [tools.shellcheck."platforms.linux-x64"]
2017
- checksum = "sha256:8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198"
2017
+ checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
2018
2018
  checksum_source = "mise-versions"
2019
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.x86_64.tar.xz"
2020
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056942"
2019
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
2020
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
2021
2021
 
2022
2022
  [tools.shellcheck."platforms.linux-x64-baseline"]
2023
- checksum = "sha256:8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198"
2023
+ checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
2024
2024
  checksum_source = "mise-versions"
2025
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.x86_64.tar.xz"
2026
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056942"
2025
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
2026
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
2027
2027
 
2028
2028
  [tools.shellcheck."platforms.linux-x64-musl"]
2029
- checksum = "sha256:8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198"
2029
+ checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
2030
2030
  checksum_source = "mise-versions"
2031
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.x86_64.tar.xz"
2032
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056942"
2031
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
2032
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
2033
2033
 
2034
2034
  [tools.shellcheck."platforms.linux-x64-musl-baseline"]
2035
- checksum = "sha256:8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198"
2035
+ checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
2036
2036
  checksum_source = "mise-versions"
2037
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.linux.x86_64.tar.xz"
2038
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056942"
2037
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
2038
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
2039
2039
 
2040
2040
  [tools.shellcheck."platforms.macos-arm64"]
2041
- checksum = "sha256:56affdd8de5527894dca6dc3d7e0a99a873b0f004d7aabc30ae407d3f48b0a79"
2041
+ checksum = "sha256:4ea9ce683eb2a3350fb87940161b0c2c15e5d98dff3f410860401c9c9664c11a"
2042
2042
  checksum_source = "mise-versions"
2043
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.darwin.aarch64.tar.xz"
2044
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056932"
2043
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.aarch64.tar.xz"
2044
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569010"
2045
2045
 
2046
2046
  [tools.shellcheck."platforms.macos-x64"]
2047
- checksum = "sha256:3c89db4edcab7cf1c27bff178882e0f6f27f7afdf54e859fa041fca10febe4c6"
2047
+ checksum = "sha256:31b90f7479ff233e612e5a30b8120bd16194bc7453e9dfdbec40328ad791850a"
2048
2048
  checksum_source = "mise-versions"
2049
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.darwin.x86_64.tar.xz"
2050
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056930"
2049
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.x86_64.tar.xz"
2050
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569011"
2051
2051
 
2052
2052
  [tools.shellcheck."platforms.macos-x64-baseline"]
2053
- checksum = "sha256:3c89db4edcab7cf1c27bff178882e0f6f27f7afdf54e859fa041fca10febe4c6"
2053
+ checksum = "sha256:31b90f7479ff233e612e5a30b8120bd16194bc7453e9dfdbec40328ad791850a"
2054
2054
  checksum_source = "mise-versions"
2055
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.darwin.x86_64.tar.xz"
2056
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056930"
2055
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.x86_64.tar.xz"
2056
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569011"
2057
2057
 
2058
2058
  [tools.shellcheck."platforms.windows-x64"]
2059
- checksum = "sha256:8a4e35ab0b331c85d73567b12f2a444df187f483e5079ceffa6bda1faa2e740e"
2059
+ checksum = "sha256:42c9b96f4fe8a066c2895af28eb6ddfc95cc90ec17d0b7ddb8ced40237418507"
2060
2060
  checksum_source = "mise-versions"
2061
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.zip"
2062
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056944"
2061
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.zip"
2062
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569174"
2063
2063
 
2064
2064
  [tools.shellcheck."platforms.windows-x64-baseline"]
2065
- checksum = "sha256:8a4e35ab0b331c85d73567b12f2a444df187f483e5079ceffa6bda1faa2e740e"
2065
+ checksum = "sha256:42c9b96f4fe8a066c2895af28eb6ddfc95cc90ec17d0b7ddb8ced40237418507"
2066
2066
  checksum_source = "mise-versions"
2067
- url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.zip"
2068
- url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056944"
2067
+ url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.zip"
2068
+ url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569174"
2069
2069
 
2070
2070
  [[tools.shfmt]]
2071
2071
  version = "3.15.0"
package/mise.toml CHANGED
@@ -15,7 +15,7 @@ delta = "conda:git-delta"
15
15
 
16
16
  [tools]
17
17
  gh = "2.106.0"
18
- shellcheck = "0.11.0"
18
+ shellcheck = "0.12.0"
19
19
  actionlint = "1.7.12"
20
20
  opentofu = "1.13.11"
21
21
  bun = "1.4.5"
@@ -26,7 +26,7 @@ azure-cli = { version = "2.94.0", lazy = true }
26
26
  restic = { version = "0.20.0", os = ["linux", "macos"], lazy = true }
27
27
  # Replicates the fleet state database to the storage bucket (src/state).
28
28
  litestream = { version = "0.5.19", os = ["linux", "macos"], lazy = true }
29
- pnpm = "12.25.1"
29
+ pnpm = "12.26.0"
30
30
  "npm:@yarnpkg/cli-dist" = "4.19.0"
31
31
  deno = "2.9.8"
32
32
  python = "3.15.2"
@@ -43,7 +43,7 @@ bat = "0.27.0"
43
43
  delta = "0.23.0"
44
44
  git-lfs = "3.8.1"
45
45
  docker-cli = "29.10.1"
46
- "npm:vercel" = "68.2.0"
46
+ "npm:vercel" = "68.5.0"
47
47
  "npm:wrangler" = "4.170.0"
48
48
  railway = "5.77.1"
49
49
  vault = "2.2.2"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/homelab",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Keeps a set of development machines in sync: one manager and many workers",
5
5
  "license": "MIT",
6
6
  "repository": "github:crvouga/homelab",
@@ -73,6 +73,6 @@
73
73
  "engines": {
74
74
  "node": ">=22"
75
75
  },
76
- "gitHead": "29f68ea25349af4bcc3fc0315aba6ec39d7a282f",
77
- "gitCommittedAt": "2026-12-02"
76
+ "gitHead": "60fd0791e43ea7febf8b1ff6d2233881b8bde31f",
77
+ "gitCommittedAt": "2026-12-03"
78
78
  }
@@ -1431,14 +1431,6 @@
1431
1431
  "manual": "Approve first T3 pairing in interactive converge or with t3.pairOnEnrollment; a replaced worker is paired by replace or the next converge, and converge applies the rest."
1432
1432
  }
1433
1433
  },
1434
- {
1435
- "id": "t3:profile",
1436
- "meaning": "The declared T3 settings are in place on this machine.",
1437
- "severity": "required",
1438
- "repair": {
1439
- "manual": "Approve first T3 pairing in interactive converge or with t3.pairOnEnrollment; a replaced worker is paired by replace or the next converge, and converge applies the rest."
1440
- }
1441
- },
1442
1434
  {
1443
1435
  "id": "t3:running-version",
1444
1436
  "meaning": "The running T3 server is the installed release and no restart of it is pending; a pending restart waits for running agent turns, until its deadline.",
@@ -2216,7 +2208,7 @@
2216
2208
  },
2217
2209
  {
2218
2210
  "id": "worker:t3-health",
2219
- "meaning": "T3 local API answers with its environment identity within 10 seconds.",
2211
+ "meaning": "T3 local API answers with its environment identity within 10 seconds, and the unit activation time is checked against the boot-serving limit.",
2220
2212
  "severity": "required",
2221
2213
  "repair": {
2222
2214
  "manual": "Re-converge the worker with converge: it applies the whole worker policy at the approved revision."
@@ -665,18 +665,8 @@
665
665
  "t3": {
666
666
  "type": "object",
667
667
  "additionalProperties": false,
668
- "description": "What every machine's T3 Code holds beyond the provider instances generated from the proxy's accounts.",
668
+ "description": "How the T3 Code environments reach each other.",
669
669
  "properties": {
670
- "profile": {
671
- "type": "object",
672
- "description": "Top-level T3 settings every machine holds the same (tool servers, projects, selected preferences). Keys not named here stay local; a key edited on a machine since homelab last wrote it is reported as a conflict, never overwritten.",
673
- "propertyNames": {
674
- "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$",
675
- "not": {
676
- "const": "providerInstances"
677
- }
678
- }
679
- },
680
670
  "meshAccess": {
681
671
  "const": "full-access",
682
672
  "description": "Maintain directed full-access T3 grants between all enrolled environments."
@@ -399,7 +399,6 @@ export const CHECK_MEANINGS: Record<string, string> = {
399
399
  't3:private-route': "T3's private HTTPS route is served.",
400
400
  't3:client-settings':
401
401
  'The complete T3 desktop preferences match the manager’s snapshot.',
402
- 't3:profile': 'The declared T3 settings are in place on this machine.',
403
402
  't3:running-version':
404
403
  'The running T3 server is the installed release and no restart of it is pending; a pending restart waits for running agent turns, until its deadline.',
405
404
  't3:service': 'The pinned T3 app runs.',
@@ -515,7 +514,7 @@ export const CHECK_MEANINGS: Record<string, string> = {
515
514
  'worker:service-recovery': 'Worker services recover after failure.',
516
515
  'worker:sudo': 'Designated worker user has noninteractive sudo.',
517
516
  'worker:t3-health':
518
- 'T3 local API answers with its environment identity within 10 seconds.',
517
+ 'T3 local API answers with its environment identity within 10 seconds, and the unit activation time is checked against the boot-serving limit.',
519
518
  'worker:convergence':
520
519
  'The worker last applied the approved revision and its last apply succeeded.',
521
520
  'worker:pressure-events':
@@ -9,20 +9,11 @@ export type IdeId = (typeof SUPPORTED_IDES)[number];
9
9
 
10
10
  /** What `t3` in fleet.json declares for every machine's T3. */
11
11
  export interface T3Definition {
12
- /** Top-level T3 settings every machine holds the same: tool servers,
13
- * projects, selected preferences. A key not named here stays local.
14
- */
15
- profile?: Record<string, unknown>;
16
12
  /** Allow first pairing during sync; absent asks on an interactive terminal. */
17
13
  pairOnEnrollment?: boolean;
18
14
  meshAccess?: 'full-access';
19
- /** Models T3 must offer for every account of a tool, by tool. */
20
15
  }
21
16
 
22
- const KEY = /^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/;
23
- /** Settings another part of homelab owns. */
24
- const RESERVED = ['providerInstances'];
25
-
26
17
  function invalid(detail: string): never {
27
18
  throw new FleetUsageError(`Invalid fleet.json: ${detail}`);
28
19
  }
@@ -53,29 +44,15 @@ export function parseT3(value: unknown): T3Definition {
53
44
  if (
54
45
  !record(value) ||
55
46
  Object.keys(value).some(
56
- (key) => !['profile', 'pairOnEnrollment', 'meshAccess'].includes(key)
47
+ (key) => !['pairOnEnrollment', 'meshAccess'].includes(key)
57
48
  )
58
49
  )
59
- invalid('t3 holds only profile, pairOnEnrollment and meshAccess.');
50
+ invalid('t3 holds only pairOnEnrollment and meshAccess.');
60
51
  const result = meshPolicy(value['meshAccess']);
61
52
  if (value['pairOnEnrollment'] !== undefined) {
62
53
  if (typeof value['pairOnEnrollment'] !== 'boolean')
63
54
  invalid('t3.pairOnEnrollment must be a boolean.');
64
55
  result.pairOnEnrollment = value['pairOnEnrollment'];
65
56
  }
66
- if (value['profile'] !== undefined) {
67
- const profile = value['profile'];
68
- if (
69
- !record(profile) ||
70
- Object.keys(profile).some(
71
- (key) => !KEY.test(key) || RESERVED.includes(key)
72
- ) ||
73
- JSON.stringify(profile).length > 65_536
74
- )
75
- invalid(
76
- 't3.profile names top-level T3 settings (not providerInstances) and stays under 64 KiB.'
77
- );
78
- result.profile = profile;
79
- }
80
57
  return result;
81
58
  }
package/src/ide/ide.ts CHANGED
@@ -2,15 +2,14 @@ import type { Check, FleetNode, Runner } from '../types';
2
2
 
3
3
  /** What every supported IDE is asked for. An implementation owns its own
4
4
  * install, service and policy (an Ansible role per IDE, with the common
5
- * variable contract: version, checksum, policy, instances, profile) and is
5
+ * variable contract: version, checksum, policy, instances) and is
6
6
  * reached only through these calls, so the orchestration never names one.
7
7
  */
8
8
  export interface Ide {
9
9
  /** The name the fleet configuration enables it by, under `ides`. */
10
10
  readonly id: string;
11
- /** The IDE's settings on this machine: provider instances from the account
12
- * roster, the declared profile and the models it offers. Run on the manager
13
- * and on every worker by the machine itself.
11
+ /** The IDE's settings on this machine. Run on the manager and on every
12
+ * worker by the machine itself.
14
13
  */
15
14
  settings(context: MachineContext): Promise<Check[]>;
16
15
  /** The manager's own IDE: its settings, its pinned version and its policy. */