zlh-grind/ANTI_DRIFT_GUARDRAIL.md

728 B

ZLH Frontend Guardrails

This file is intended for Codex / AI agents and human contributors.

Primary Objective

ZeroLagHub's frontend is a control surface, not a game UI.

Guardrails

  • Prefer boring, predictable UI over clever abstractions
  • Do not introduce new visual metaphors without removing an old one
  • No "sci-fi" effects unless strictly informational
  • Avoid abstractions that hide client/server boundaries

Terminal & Realtime UI Rules

  • Terminal components must be isolated and client-only
  • No terminal logic in shared utilities
  • No implicit socket initialization at import time

When Unsure

Default to:

  • Removing code
  • Leaving a comment
  • Asking for review

Silence is better than instability.