Skip to content

Repository hygiene — ignore local environment files #388

Description

@Flow-Fly

Goal

Prevent local server environment files containing database or future service credentials from being committed accidentally.

Context

The server now documents local configuration through server/.env.example, including DATABASE_URL. The repository ignores *.local, but does not currently ignore .env or .env.* files.

Scope

  • Ignore local .env files at the repository root and within workspaces.
  • Keep documented example/template files such as .env.example trackable.
  • Check the repository for already tracked or accidentally committed local environment files.
  • Add a focused regression check if the repository has an existing configuration-residue test pattern.

Acceptance criteria

  • .env and environment-specific local variants are ignored.
  • .env.example files remain trackable.
  • No existing tracked example or CI configuration is hidden.
  • git check-ignore demonstrates both the protected local-file case and the retained example case.

Agent Assessment

Risk: low. This is a narrow repository-hygiene change with objective git check-ignore verification.

Worker-ready: no. Queue behind the active architectural slice unless intentionally bundled with workspace/container hardening.

Non-goals

  • No credential rotation or secret-manager integration.
  • No changes to runtime configuration behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic-loopTracked by the reusable agentic loop workflowagentic-taskChild issue intended for agent implementationenhancementNew feature or requestready-for-agentReady for a bounded agent implementation passrisk:lowLow-risk, bounded, objectively verifiable work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions