KES Code Boundary Hardening
Historical Status Note
This document records the first hardening move that happened before the extracted runtime and later compatibility-layer removal.
Resolving locale, route permissions, and workspace projection.
النطاق الحالي: ضيف
الفئة: 10_normative | الإصدار: v1.0.0
المالك: DOCUMENT_CUSTODIAN | دورة المراجعة: 90 يومًا
جهة الاعتماد: GOVERNANCE_ADMIN
بوابة الوثائق للقراءة فقط. نقاط نهاية التعديل والتغيير معطلة.
منصة Kvary أُنشئت أصلًا باللغة الجورجية. وحيثما تتوفر نسخة جورجية، تبقى الجورجية هي اللغة المعتمدة لواجهة المنصة والوثائق والتفسير القانوني.
تُوفَّر الترجمات إلى اللغات الأخرى لسهولة الاستخدام فقط. وقد تنشأ بعض السجلات بلغات أخرى وتحمل لغة مصدر أو لغة قانونية خاصة بذلك المسار، ولكن حيثما تتوفر نسخة جورجية تكون الأولوية للنسخة الجورجية في صياغة المنصة وتفسيرها.
البيانات الوصفية غير مكتملة: Document ID, Version, Status, Owner Role, Last Review Date, Next Review Date, Change Log
This document records the first hardening move that happened before the extracted runtime and later compatibility-layer removal.
svc-kesCurrent truth:
svc-tenders KES HTTP host: retiredservices/svc-tenders/src/kes/validation.ts and contracts.ts: removed as live pathsThe path references below are historical hardening evidence, not current runtime ownership.
Sprint 88 moved the clearly KES-owned schema block out of the mixed root validator and into:
Moved schemas:
createKesOrchestratorCaseSchemaapproveKesOrchestratorLandownerSchemapublishKesOrchestratorAuctionSchemaconfirmKesOrchestratorFundingSchemaassignKesOrchestratorTaskSchemasubmitKesOrchestratorInspectionSchemarequestKesOrchestratorPaymentSchemaapproveKesOrchestratorPaymentSchemasettleKesOrchestratorPaymentSchemacloseKesOrchestratorCaseSchemaupsertKesOrchestratorProcessMapSchemaRoute behavior stayed unchanged:
safeParse(...) usage pattern400 invalid_payload error shapeKES-owned route, repository-port, and domain-facing types were isolated into:
The new KES-owned contract file now owns:
This reduced direct dependency on mixed root layers in two places:
src/kes/contracts.ts and KES schemas from src/kes/validation.tsReduced:
validation.tsWhat the root repository became instead:
Still shared on purpose:
/auth/me principal resolution in server.ts