Files
schmidt.florian 284e692993 web: allow direct IP dashboard and worker access (#26)
Support direct HTTP IP access on port 5187 without hostname registration or a required proxy. Preserve dashboard/machine authentication and CSRF checks. Update Proxmox setup, D14, tests and documentation for 1.2.3.

Closes #25
2026-11-15 16:42:12 +01:00

14 lines
1.9 KiB
Markdown

# Architecture
- [2026-11-14] D14's Fleet library reuses Core Pace/LimitAnalysis/ApiPrices; the web host and outbound worker add no second forecast implementation. Working-time schedules remain outside D7.
- [2026-11-14] Quota is one newest observation per account/window, not a sum. Source ids dedupe consumption across machines; local/session figures include shared copies and cannot be summed as machine-exclusive use.
- [2026-11-15] Legacy hourly history needs one account-attributed source and UTC-hour cutoff; provider and DataEmail checks match raw usage even after rebinding. Reconcile Codex increases before clipping; without a pre-cutoff baseline, omit the first cumulative total and warn rather than counting imported use twice.
- [2026-11-14] LoginCoordinator is memory-only and binds browser session/machine/profile/worker boot/deadline. CLI identity verification is separate from process success; never serialize login URLs, codes or authorization responses into fleet state.
- [2026-11-14] Persist worker export metadata before cursor advancement. Server merges acknowledged source records so an empty restart heartbeat cannot erase history. Current login health and historical data attribution are separate fields.
- [2026-11-15] Proxmox host creates the CT only. HTTP :5187 works directly by IP; HTTPS/proxy is optional, with no fixed host allowlist (D14). `finaltoken-update` fetches/builds/activates inside the CT, preserving state. Legacy migration changes only the known listener and disables the owned proxy; binaries and listener have separate rollback.
- [2026-11-15] Public source uses MIT; notices travel with ZIP/plugin and Proxmox outputs. `tools/source_policy.py` excludes recognized live config/keys/runtime data from both publication checks and source archives. Audit disk and index separately; inspect all historical trees, not just one filename hint per blob. Visibility/history changes need explicit authorization.
## Archive