Loading module
Resolving locale, route permissions, and workspace projection.
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
Status: VERIFIED
Sprint: Cleanup Sprint 07
This note records the current route boundary cleanup inside services/svc-tenders after Sprint 07. It does not claim clean domain extraction. It documents the safer internal split that now exists.
File:
services/svc-tenders/src/server.tsStill owns:
This remains a MIXED composition shell. It is smaller than before, but not yet fully decomposed.
File:
services/svc-tenders/src/routes/registerVacancyRoutes.tsOwns active vacancy HTTP registration for:
Runtime dependencies injected from server.ts:
VacancyReadRepositoryVacancyCommandHandlersTruth note:
File:
services/svc-tenders/src/routes/registerAccommodationRoutes.tsOwns active accommodation HTTP registration for:
Runtime dependencies injected from server.ts:
AccommodationCommandHandlersAccommodationReadRepositoryAccommodationOwnerReadRepositoryTruth note:
AccommodationReadRepositoryserver.ts directly registered:
This mixed:
server.ts now registers those clusters through:
registerVacancyRoutes(...)registerAccommodationRoutes(...)This makes the runtime boundary visible without changing public route paths.
Sprint 07 made one behavior-level truth improvement:
/my-accommodation-bookings/accommodation-listings/:id/bookingsThese previously returned hardcoded empty arrays with migration comments. They now call the existing read-model methods on AccommodationReadRepository.
That does not create new booking semantics. It only exposes already-available read truth.
Still centralized in server.ts because wider movement would be riskier in this sprint:
Even with route extraction, vacancy public reads are still backed by mixed compatibility logic:
vacancies catalog fallbackThat is explicit now, but not resolved.
Public accommodation discovery is cleaner than vacancy because it already uses AccommodationReadRepository, but ownership is still inside svc-tenders even though long-term platform direction points toward future accommodation/workstay extraction.
Recommended Sprint 08 direction:
server.ts further into tender/declaration routes vs KES/ICPI/Butkhuzi routes