WorkStay Code Boundary Hardening
Purpose
This document records the first real code-boundary hardening pass for the current backend surfaces that most credibly belong to a future WorkStay-style platform:
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 records the first real code-boundary hardening pass for the current backend surfaces that most credibly belong to a future WorkStay-style platform:
It does not claim that a unified WorkStay runtime already exists.
Added vacancy-owned contract module:
This module now owns:
StoredVacancySummaryStoredOwnerVacancyPostingStoredMyVacancyApplicationStoredVacancyApplicationOwnerViewStoredOwnerVacancyApplicationVacancyRouteSupportWhat changed around it:
VacancyRouteSupport from the vacancy-owned contract module instead of defining it inline.Added accommodation-owned contract module:
This module now owns:
StoredAccommodationSummaryStoredAccommodationDetailStoredAccommodationGalleryItemStoredOwnerAccommodationListingAccommodationListingListItemAccommodationListingDetailMyAccommodationBookingItemAccommodationBookingByListingItemOwnerAccommodationReservationItemAccommodationRouteSupportWhat changed around it:
AccommodationRouteSupport from the accommodation-owned contract module instead of defining it inline.The most important mixed-dependency reduction in this sprint was:
Instead:
That means the root repository remains a compatibility host, but not the primary contract owner for the active vacancy/accommodation runtime paths.
This sprint did not hide the still-mixed parts:
vacancies inside services/svc-tenders/src/vacancy/readRepository.tsaccommodations still exist in services/svc-tenders/src/accommodation/compatibilityReadRepository.tssvc-tenders shellThese are still real blockers to full extraction and should remain explicit.
Main remaining blockers after this sprint:
This sprint made the code boundary more truthful:
That is a safer base for future vacancy-runtime prep, accommodation-runtime prep, or a later combined WorkStay extraction decision.