feat: publish standalone worker

Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
Gleb Tv
2026-07-13 17:55:14 +03:00
Коммит 2c7a0236da
309 изменённых файлов: 44004 добавлений и 0 удалений

18
internal/webapp/doc.go Обычный файл
Просмотреть файл

@@ -0,0 +1,18 @@
// Package webapp implements the local web UI for the distributed
// monitoring worker. See docs/distributed/worker-web-app.md.
//
// Phase 1 (MVP) implements:
//
// - Local-only auth (section 5.3): first-run password printed to
// the worker log, bcrypt-hashed in the local SQLite store, forced
// change on first login, session cookie with HTTP-only/Secure
// (loopback-aware)/SameSite=Strict.
// - Pages: overview, discovered apps (read-only), checks
// (read-only), notifications (read-only), logs (worker log only),
// settings (worker fields), updates.
// - Server status: /proc and sysfs only (no SMART, no docker).
// - Audit log with 7-day retention.
//
// Phase 2+ (OAuth, basic auth, compose management, public bind,
// docker socket, secret storage) is explicitly out of scope here.
package webapp