devbox/internal
shoemoney 5440054a41 feat(hub): gc --dry-run, dashboard token auth, /healthz + /readyz 🛡️🧹
Three hub-side operability/security closures:

- 🧹 `devbox-hub gc --dry-run`: previews the exact snapshots + chunks the
  sweep would remove (computed from reachability — same set the real run
  deletes) without mutating a thing. Cheap insurance before a destructive GC.
- 🔐 dashboard token auth (`--dashboard-token`): a non-loopback bind was
  unauthenticated (warning only) and leaked device names/activity. Token is
  accepted via ?token=, Authorization: Bearer, or an HttpOnly cookie pinned
  on first ?token= — so EventSource/fetch authenticate with index.html
  untouched. Constant-time compare.
- 🩺 `/healthz` (liveness) + `/readyz` (DB-ping → 503 when unreachable): real
  probes for the compose selfheal profile / LBs, which only had /metrics.

Tests: TestGCDryRun (accurate + non-destructive), TestDashboardAuth.
2026-06-30 12:14:54 -05:00
..
chunk feat(M3): live two-way sync — SSE fan-out + daemon + mount 🔄 2026-06-23 00:12:39 -05:00
config feat(M6.5): devbox deploy — pin a mount to a snapshot (no push) 🚀 2026-06-23 01:17:20 -05:00
control refactor: ponytail-audit cuts — dead Windows Publish stub + dedup Daemon iface 🧹 2026-06-23 11:13:38 -05:00
daemon chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
hooks refactor(M7): cmp.Or for editor env, share hooks.Executable (ponytail) ♻️ 2026-06-23 01:32:22 -05:00
hub feat(hub): gc --dry-run, dashboard token auth, /healthz + /readyz 🛡️🧹 2026-06-30 12:14:54 -05:00
identity feat(M2): wire protocol foundation 🔌 2026-06-22 23:30:01 -05:00
ignore fix(sec): secret guard no longer leaks creds — case-insensitive + more patterns 🔑🛡️ 2026-06-23 02:15:28 -05:00
manifest chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
secret chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
syncer chore: prep for public release — MIT license + github.com module path 🌍⚖️ 2026-06-23 19:19:09 -05:00
transport feat(M8a): adversarial auth audit — close +s escalation + add invite revocation 🛡️ 2026-06-23 20:27:12 -05:00
watch fix: foundation hardening from review pass 🛡️ 2026-06-22 23:24:55 -05:00