Convention: Where should production URLs be documented as the canonical ...

Documentation for Sessions

📏 Convention: Where should production URLs be documented as the canonical ...

Date: 2026-02-03
Time: 03:22:05 UTC
Session: editor2-76.91
Agent: documentation
Confidence: 100%
Status: ✅ Documented


📋 Decision Context

Question:

Where should production URLs be documented as the canonical reference to prevent mistakes?

Task: Session 82.5 - Environment-Aware URLs: Production URL source of truth


🎯 Decision Made

Chosen:

Use environment.shared.ts as canonical reference

Options Considered:

  1. Keep URLs in multiple places (docs, code, configs)
  2. Use environment.shared.ts as single source
  3. External configuration file (JSON/YAML)

💭 Reasoning

Made mistake of inventing mcp.gograb.space instead of checking actual config. environment.shared.ts already exists, is well-documented, TypeScript provides type safety, used by all Angular apps, has clear comments with Railway URLs. Easy to reference during development. Single source of truth prevents URL inconsistencies.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation