Data UI Backlog

Instance knows its environment

A running instance cannot today determine whether it is development, staging, or production — nothing inside the process carries it; the port it binds and the domain HAProxy routes to it are external facts (model-name names the app, not the environment; dev and staging Model Bank are both modelbank). Surfaced by the generate-button prompt-log design (2026-09-27): the log origin/filename can name the app but not the environment, so dev and staging generations are indistinguishable in the log.

Environment vocabulary of record: docs/deployment.md → "Environments" (the :domain-stg item, DONE 2026-09-13). This item gives the instance that vocabulary at runtime:

Small item; do it with or just before the generate-button prompt logging.

Slot
9800
Status
10 Open
Tags
backend, scripts
Contributors
Donnie