Vacancy Legacy Host Retirement Plan
Remaining Legacy-Host Items
| Item | Path | Current Role | Classification | Notes |
| --- | --- | --- | --- | --- |
| Legacy Vacancy route mount and wiring | services/svc-tenders/src/server.ts | keeps old Vacancy host reachable on :4020 | needed temporarily for rollback | remove when rollback window closes |
| Legacy Vacancy route registration | services/svc-tenders/src/routes/registerVacancyRoutes.ts | fallback-only Vacancy HTTP surface | needed temporarily for rollback | remove with legacy mount |
| Legacy Vacancy route support | services/svc-tenders/src/routes/support/vacancyRouteSupport.ts | fallback-only auth/parser adapter for Vacancy routes | needed temporarily for rollback | remove with legacy route slice |
| Legacy preferred Vacancy runtime copy | services/svc-tenders/src/vacancy/readRepository.ts | fallback host still serves mixed public truth and owner/applicant reads through this file | | remove when old route host is retired |
| Legacy Vacancy command/runtime copy | , , , , , | fallback host still executes Vacancy writes and preferred runtime reads | | remove with legacy route host if no remaining in-process callers depend on them |
| Root compatibility residue for Vacancy public/owner/applicant reads | | older callers and compatibility helpers still reach Vacancy reads here | | retirement can follow after host deletion if no remaining callers survive |
| Vacancy compatibility readers | , | legacy read truth and older compatibility call paths | | these may survive route-host deletion a bit longer if compatibility callers remain |
| Vacancy JS residue in | , route JS copies if present | compiled residue, not canonical TS source | | not part of the real route-host decision, but removable in a later hygiene pass |
| Live API seam | and sibling Vacancy routes | routes traffic to primary or fallback target | | stays shared after host retirement |
| Primary/fallback env seam | , root startup flow | live API points Vacancy traffic to , but default root startup still does not provision the service | | this is the current rollback-window blocker |
| Vacancy-focused opt-in API helper | | still useful as an explicit extracted-target helper while default startup remains incomplete | | remove after startup normalization and host retirement |