Accommodation Legacy Host Retirement Plan
Purpose
This document inventories what remained on the old accommodation host inside before the Sprint 65 retirement cut and defines the removal package that was executed.
Resolving locale, route permissions, and workspace projection.
Current scope: Guest
Category: 10_normative | Version: v1.0.0
Owner: DOCUMENT_CUSTODIAN | Review cycle: 90 days
Approval authority: GOVERNANCE_ADMIN
Documentation portal is read-only. Editing and mutation endpoints are disabled.
Kvary platform is originally created in Georgian. Where a Georgian version exists, Georgian is authoritative for platform UI, documentation, and legal interpretation.
Translations into other languages are provided for convenience. Some records may originate in other languages and carry their own source or legal locale for a specific flow, but where a Georgian version is available, the Georgian version prevails for platform-level wording and interpretation.
Metadata incomplete: Document ID, Version, Status, Owner Role, Last Review Date, Next Review Date, Change Log
This document inventories what remained on the old accommodation host inside before the Sprint 65 retirement cut and defines the removal package that was executed.
svc-tenders| Item | Current location | Classification | Why it remains |
| --- | --- | --- | --- |
| legacy accommodation mount and runtime wiring | services/svc-tenders/src/server.ts | needed temporarily for rollback | This is the live fallback host while the rollback window remains open. |
| legacy accommodation route registration | services/svc-tenders/src/routes/registerAccommodationRoutes.ts | needed temporarily for rollback | The fallback host cannot serve accommodation traffic without it. |
| legacy route-support copy | services/svc-tenders/src/routes/support/accommodationRouteSupport.ts | needed temporarily for rollback | Required by the fallback route host and still mirrors active route mapping behavior. |
| copied accommodation runtime module tree | services/svc-tenders/src/accommodation | needed temporarily for rollback | Includes command handlers, preferred read repositories, quote logic, validation, and projections used by the fallback host. |
| compatibility accommodation read repository | services/svc-tenders/src/accommodation/compatibilityReadRepository.ts | unresolved | This is legacy residue behind root compatibility hosting, not the active primary route path. |
| root accommodation compatibility methods | services/svc-tenders/src/repository.ts | unresolved | Root hosting still exposes older accommodation compatibility reads even though active route-time truth no longer depends on it. |
| accommodation-related migrations under svc-tenders | services/svc-tenders/migrations | unresolved | Migration ownership has not been transferred to svc-accommodations, and several files are mixed with vacancy/legacy detail concerns. |
| gateway route family | services/api/src/routes/accommodations.ts and adjacent accommodation routes | shared on purpose | The gateway façade and env seam stay outside the extracted accommodation runtime. |
| gateway target helper and env seam | services/api/src/routes/accommodationsServiceTarget.ts, services/api/.env | shared on purpose | This remains the rollback-safe contract for routing accommodation traffic. |
| shared auth / identity resolution | shared /auth/me contract and JWT ingress | shared on purpose | Auth semantics must stay consistent across fallback and extracted hosts. |
Safe retirement candidate once the rollback window is explicitly closed:
services/svc-tenders/src/server.tsservices/svc-tenders/src/routes/registerAccommodationRoutes.tsservices/svc-tenders/src/routes/support/accommodationRouteSupport.tsservices/svc-tenders/src/accommodation, excluding any residue that is intentionally deferredThese are all fallback-host artifacts rather than shared contracts.
services/apiACCOMMODATIONS_SERVICE_URL ?? TENDERS_SERVICE_URL/auth/mesvc-tenders accommodation mount until the rollback window is explicitly closedBefore deleting the legacy host slice:
svc-accommodations remains the live primary target in services/api/.envsvc-accommodationssvc-tenders hostsvc-tendersThe rollback window is ready to close only when all of the following are true:
svc-accommodations as the sole supported accommodation runtimesvc-tenders as an accommodation fallback hostsvc-tenders is either included in the deletion package or explicitly deferred as non-routing residue