zlh-grind/README.md

29 lines
1012 B
Markdown

# zlh-grind
Execution workspace for **ZeroLagHub (ZLH)**.
This repo is intentionally lightweight and is used for:
- handovers / "where we left off" notes
- architecture decisions + rationale
- config snippets worth preserving
- TODO lists that don't belong in a code repo
## Latest handover (2026-02-07)
- `SCRATCH/2026-02-07_customer-id-schema.md`
- 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`
- Prometheus HTTP service discovery via API `/sd/exporters`,
- Grafana dashboard import gotchas + the "CPU doesn't match top" note,
- Next steps to power portal server cards with metrics.
- `SCRATCH/2026-02-07_host-controls-and-delete-failsafe.md`
- Decision: keep delete failsafe, add host controls.
## Scratchpad
`SCRATCH/` contains one-off notes that may later be promoted into formal docs.