Master/agent phase 1: live inventory #6

Closed
opened 2026-10-12 12:09:14 +00:00 by shcizo · 0 comments
Owner

Master and per-machine agents that show every service on every machine live in the web UI, behind Authentik login. Nothing can be updated yet; today's cmd/server keeps handling updates.

Scope (spec, "Implementation phases" 1)

  • Wire protocol, pinned-key TLS (MASTER_KEY), per-agent tokens
  • Agent: inventory (Compose, Swarm on managers, plain containers), Docker event debounce, reconnect with backoff
  • Master: Postgres store, agent hub, SSE change broker, OIDC login with ALLOWED_GROUP + CSRF
  • UI: Overview and Agents pages (add agent → compose snippet, revoke)

Done when the manual smoke test at the end of the plan passes against the real Authentik and at least swarm-mgr plus the machine running slusk.

Spec: https://gitea.shcizo.se/shcizo/package-updater/src/branch/main/docs/superpowers/specs/2026-10-12-master-agent-design.md
Plan: https://gitea.shcizo.se/shcizo/package-updater/src/branch/main/docs/superpowers/plans/2026-10-12-master-agent-phase-1-inventory.md

Master and per-machine agents that show every service on every machine live in the web UI, behind Authentik login. Nothing can be updated yet; today's `cmd/server` keeps handling updates. **Scope** (spec, "Implementation phases" 1) - Wire protocol, pinned-key TLS (`MASTER_KEY`), per-agent tokens - Agent: inventory (Compose, Swarm on managers, plain containers), Docker event debounce, reconnect with backoff - Master: Postgres store, agent hub, SSE change broker, OIDC login with `ALLOWED_GROUP` + CSRF - UI: Overview and Agents pages (add agent → compose snippet, revoke) **Done when** the manual smoke test at the end of the plan passes against the real Authentik and at least `swarm-mgr` plus the machine running slusk. Spec: https://gitea.shcizo.se/shcizo/package-updater/src/branch/main/docs/superpowers/specs/2026-10-12-master-agent-design.md Plan: https://gitea.shcizo.se/shcizo/package-updater/src/branch/main/docs/superpowers/plans/2026-10-12-master-agent-phase-1-inventory.md
shcizo added this to the Master/agent milestone 2026-10-12 12:09:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shcizo/package-updater#6