SVC Tenders Route Boundary
Status: VERIFIED Sprint: Cleanup Sprint 07
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 platforması ilkin olaraq gürcü dilində yaradılıb. Gürcü versiyası mövcud olduqda, platforma UI, sənədlər və hüquqi şərh üçün gürcü dili üstün sayılır.
Digər dillərə tərcümələr rahatlıq üçün verilir. Bəzi qeydlər konkret axın üçün başqa dildə yarana və öz source/legal locale məlumatına malik ola bilər, lakin gürcü versiyası mövcud olduqda platforma səviyyəli ifadə və şərh üçün gürcü versiyası üstünlük təşkil edir.
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