Severity: Low | Area: backend/env | Evidence: src/config/env.ts:152-156
Impact: Fragile: if a deploy sets the real secret to exactly change-me-in-production, boot fails; conversely the sentinel value is only caught in production. Fix: Use a presence check (length>0) + distinct sentinel. Acceptance: Boot fails when variable is empty, passes when set to a real value.
Severity: Low | Area: backend/env | Evidence:
src/config/env.ts:152-156Impact: Fragile: if a deploy sets the real secret to exactly
change-me-in-production, boot fails; conversely the sentinel value is only caught in production. Fix: Use a presence check (length>0) + distinct sentinel. Acceptance: Boot fails when variable is empty, passes when set to a real value.