Migrated from docs/pending-work-plan.md §7 + docs/Shugur-Migration-Plan.md Phase 6.
Goal
Remove SHUGUR_* fallbacks once the production migration gate is satisfied. This is optional and deferred — it is not part of the immediate branding work.
Gate to remove aliases
The alias-removal gate requires ALL of the following:
- A documented production inventory confirming every known production system, local deployment script, Compose environment, CI job, and operator documentation uses
NOSTR_* variables.
- At least one successful production deployment using only canonical variables.
- A rollback test that restores the previous
SHUGUR_*-compatible behavior.
- An announced deprecation period has elapsed.
Until those conditions are satisfied, the fallback logic is a deliberate compatibility feature rather than unfinished cleanup.
Required changes (when gate is satisfied)
- Remove
SHUGUR_* environment variable fallback in relay/internal/config/config.go.
- Remove the deprecation warning.
- Update fresh-install templates to use
NOSTR_* only.
- Update tests to remove legacy-alias coverage.
- Publish a release note documenting the breaking change.
- Run the full validation matrix from
docs/Shugur-Migration-Plan.md §8.
Acceptance criteria
- All four gate conditions recorded in the issue with evidence.
SHUGUR_* references removed from configuration code.
- Validation matrix passes from a clean checkout.
- Release note published.
Dependencies
Source
Migrated from docs/pending-work-plan.md §7 and docs/Shugur-Migration-Plan.md Phase 6.
Migrated from
docs/pending-work-plan.md§7 +docs/Shugur-Migration-Plan.mdPhase 6.Goal
Remove
SHUGUR_*fallbacks once the production migration gate is satisfied. This is optional and deferred — it is not part of the immediate branding work.Gate to remove aliases
The alias-removal gate requires ALL of the following:
NOSTR_*variables.SHUGUR_*-compatible behavior.Until those conditions are satisfied, the fallback logic is a deliberate compatibility feature rather than unfinished cleanup.
Required changes (when gate is satisfied)
SHUGUR_*environment variable fallback inrelay/internal/config/config.go.NOSTR_*only.docs/Shugur-Migration-Plan.md§8.Acceptance criteria
SHUGUR_*references removed from configuration code.Dependencies
Source
Migrated from
docs/pending-work-plan.md§7 anddocs/Shugur-Migration-Plan.mdPhase 6.