Files
nixos-core/scripts
kiskaadee 194d1bf3ff feat(appctl): implement dual-transport daemon and wire gitops worker to daemon
- Add multi-threaded HTTP/1.1 AppctlDaemon over UDS (/run/homelab/appctl.sock, mode 0660) and loopback TCP (127.0.0.1:9001).
- Implement 64 KiB request body cap and routes GET /v1/health and POST /v1/operations.
- Extract Linux SO_PEERCRED on UDS connections for peer_uid and viewer fallback.
- Authenticate Bearer tokens, enforce RBAC policy, log append-only audit events, and dispatch through OperationalRouter.
- Rewire gitops_dispatcher.py to parse manifests via core_manifest.parse_manifest() and delegate workload.update to daemon over UDS.
- Add comprehensive test suite in tests/unit/test_appctl_daemon.py (12 new tests, 248 total passing).
2026-10-19 13:34:36 -05:00
..