Queue Manager docs

Queue Manager — Product Spec (Contract)

Virtual waiting room / traffic management, CrowdHandler & Queue-it class.

Stack (fixed — do not change)

File ownership (builders stay in their lane)

PathOwner
server.js, lib/engine.js, lib/roomstore/, lib/token.jsengine builder
public/waiting.html (+ inline CSS/JS)visitor-UI builder
public/admin.html (+ inline CSS/JS)dashboard builder
snippet/qm.js, INTEGRATION.mdintegration builder
test/*.test.jseach builder adds own
PROGRESS.html, SPEC.mdorchestrator only

Core concepts

HTTP API (contract — UI builders code against this)

Versioning policy

Every route below is served at /api/v1/<route> (canonical, pinned) and at the unversioned /api/<route> (permanent alias, same handler, byte-identical response). The snippet is deployed on third-party origins that cannot be upgraded in lockstep with this server, so it asks for /api/v1/* and falls back to /api/* once per page if the server 404s the prefix.

Visitor

Edge check (used by snippet)

Targeting (public, used by edge connectors)

Install checks and connector registry (public)

Health (public, unauthenticated)

Quality bar (what critics judge)