docs: update README with Feb 8 handover - metrics, console UI, agent updates complete

This commit is contained in:
jester 2026-02-08 22:53:37 +00:00
parent 3869ca7cba
commit eb46e18d4e

View File

@ -2,27 +2,37 @@
Execution workspace for **ZeroLagHub (ZLH)**. Execution workspace for **ZeroLagHub (ZLH)**.
This repo is intentionally lightweight and is used for: This repository is intentionally lightweight and is used for:
- handovers / "where we left off" notes - project handovers / "where we left off" notes
- architecture decisions + rationale - architecture decisions and rationale
- config snippets worth preserving - system constraints and guardrails
- TODO lists that don't belong in a code repo - scratch investigations that shouldn't live in code repos
## Latest handover (2026-02-07) ---
- `SCRATCH/2026-02-07_customer-id-schema.md` ## Latest handover (2026-02-08)
- Why a newly registered user looked "hashed" (it's Prisma `cuid()`),
- Why `ContainerInstance.customerId` got polluted with `u-dev-001`,
- The chosen short-term rule: **use `req.user.id` everywhere**.
- `SCRATCH/2026-02-07_prometheus-grafana.md` **System state**
- Prometheus HTTP service discovery via API `/sd/exporters`, - API, frontend, and agent are now aligned and operational.
- Grafana dashboard import gotchas + the "CPU doesn't match top" note, - Interactive PTY-backed consoles are stable for both dev and game servers.
- Next steps to power portal server cards with metrics. - Customer isolation is enforced end-to-end (API → frontend).
- Agent update system is live, versioned, and hash-verified.
- `SCRATCH/2026-02-07_host-controls-and-delete-failsafe.md` **Key areas completed**
- Decision: keep delete failsafe, add host controls. - Metrics API (server-side Prometheus summaries)
- Game console UI (metrics, notes, player presence)
- Agent auto-update pipeline (manifest + SHA validation)
- Minecraft player presence via agent `/game/players`
- Forge startup race condition resolved
- Prometheus SD schema + auth fixes
## Scratchpad **Primary focus moving forward**
- Final UI polish & stabilization
- Concurrent provisioning validation
- Hardening agent update + rollback paths
- Defining GA readiness criteria
`SCRATCH/` contains one-off notes that may later be promoted into formal docs. See:
- `SESSION_LOG.md` for chronological execution details
- `OPEN_THREADS.md` for remaining work
- `ANTI_DRIFT*.md` for guardrails and constraints