tools: update inside LXC and use the existing proxy (#22)

Use the operator's HTTPS proxy with a private backend on port 5187. Limit the Proxmox host script to container creation and install a self-updating command inside the LXC. Preserve keys/history during legacy proxy migration and keep root updater code isolated from unprivileged build output.

Closes #21
This commit was merged in pull request #22.
This commit is contained in:
2026-11-15 13:06:04 +01:00
parent c75446008c
commit 43caf1e412
20 changed files with 657 additions and 608 deletions
+6
View File
@@ -328,6 +328,12 @@ worker per OS user, following the developer's direction in
Local settings remain local; the newest quota observation's profile supplies the pace threshold,
hidden windows and freshness interval. Account timezone controls calendar days. No working-hour
forecast is added. Old/expired limits are displayed but have no current forecast.
- The Proxmox host script creates the LXC only. It does not install a reverse proxy. The server
exposes private HTTP port 5187 behind the operator's existing HTTPS proxy, preserving Host.
`finaltoken-update` fetches/builds/activates updates inside the container. An update from the
old bundled-proxy layout changes its known listener and disables only the installer-owned
proxy, with configuration rollback on a failed backend check. See
[the deployment guide](proxmox.md).
- Quota is the newest observed account/window value, never the sum across machines. Consumption
uses Claude response ids and ordered Codex session cumulative counts across machine copies.
Conflicting event metadata is excluded with a warning. Raw metadata history and observations