Skip to content

chore: delete .env.example and add a bidirectional env-registry check #30

Closed

Description

@allisonmahmood

Problem

.env.example is a second copy of the server env registry that nothing loads and that has already drifted (it is missing four variables getServerConfig reads). The real registry is getServerConfig in packages/config; the human-facing one is the env fence in docs/SELF_HOSTING.md. Two copies rot independently.

Kill the second copies — "a good point for reliable maintainability." — omarchy PR 2

Do

  • Delete .env.example; drop the !.env.example line from .gitignore and the entry in .github/labeler.yml; fix any doc that points at it.
  • Add a bidirectional env-registry test: every variable getServerConfig reads appears in the SELF_HOSTING.md env fence, and every variable in the fence is read by getServerConfig. Read the variable names from the config source (an exported list or a parse of the defaults), not from a hand-maintained array.

Done when

.env.example is gone and the test fails if either side gains or loses a variable the other does not have.


Filed from the foundation map task File the DX backlog from the decisions doc. Allison's reasoning is quoted from her agent-DX decision log (t3code and omarchy surveys, reviewed 2026-08-26).

Activity

  1. added
    ready-for-agent
    area:server
    area:ci
    area:docs
    on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ciarea:docsarea:serverready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions