You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(shell, corpora-curator): Phase 5 — drop the legacy env-var reads, the rename now runs end to end
The two-name window existed because Railway supplied the STRATEGY_CURATOR
spellings and both vars are inlined at build time. Railway now supplies only the
CORPORA_CURATOR names and the legacy variables are deleted, so the middle term
in each fallback chain is dead weight. All four files read one name.
The infrastructure half of the rename was executed at the same time, against a
project with no active users and a remote database, so the additive-domain
dance in the plan was skipped for a straight cut: dockerfilePath and build
command repointed at apps/corpora-curator, the service renamed, the old
generated domain deleted and a new one generated, both PUBLIC_CORPORA_CURATOR_*
variables set, both PUBLIC_STRATEGY_CURATOR_* variables deleted, and the stale
RAILPACK_STATIC_FILE_ROOT corrected.
Two things worth recording, both now in the refactor doc. A generated domain
does NOT follow a service rename — it is its own object with its own ID, the
service kept serving the old hostname after being renamed, and generate_domain
is a no-op while any domain exists, so it has to be deleted and regenerated.
And no Railway MCP tool renames a service; the CLI's `railway api` GraphQL
passthrough does it via serviceUpdate, without the agent ever handling the auth
token.
`STRATEGY_CURATOR` now appears nowhere in the tree outside changelog entries,
DESIGN.md's historical revisions, and the refactor doc that records the
transition — all deliberate.
Verified with a real docker build of the shell and corpora-curator images after
the edits; both green.
Files changed:
- shell/rsbuild.config.ts, shell/Dockerfile
- apps/corpora-curator/rsbuild.config.ts, apps/corpora-curator/Dockerfile
- context-v/refactors/Rename-Strategy-Curator-To-Corpora-Curator.md — the
sequence marked executed, plus the domain and MCP-gap findings
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PZJvZWco3z7SR2dEhFqEjA
0 commit comments