| Metadata | Value |
|---|---|
| Status | Active |
| Version | 1.1.0 |
| Last Updated | 2026-09-10 |
| Author | Sangeetha Grantha Team |
| Document Type | Evidence record |
[!NOTE] Historical evidence: results, counts, commands, and observations below belong to the original work described here. The editorial update date is not a new test or corpus verification. For present behavior, use current feature map.
Standardize environment variable handling across the monorepo using a single source of truth defined in tools.yaml and loaded via dotenv.
dotenv-kotlin to load from ./config with standard precedence (Dev -> Local -> System Env).libs.dotenv.kotlin dependency.envDir to ../../config to share environment files with the backend.local.env workflow.| Component | File | Change |
|---|---|---|
| Config | tools.yaml | Define externalizable variables |
| Config | config/README.md | Document structure |
| DAL | build.gradle.kts | Add dotenv dependency |
| DAL | DatabaseConfigLoader.kt | Refactor loading logic |
| Frontend | vite.config.ts | Point envDir to central config |
| Ops | config.md | Update canonical docs |
| Ops | steel-thread-runbook.md | Aligned runbook |
Ref: application_documentation/10-implementations/01-platform/environment-variable-standardization.md