Core tooling path cleanup report
Date: 2026-03-06
Resolving locale, route permissions, and workspace projection.
النطاق الحالي: ضيف
الفئة: 90_stabilization | الإصدار: v1.0.0
المالك: DOCUMENT_CUSTODIAN | دورة المراجعة: 90 يومًا
جهة الاعتماد: غير محدد
بوابة الوثائق للقراءة فقط. نقاط نهاية التعديل والتغيير معطلة.
منصة Kvary أُنشئت أصلًا باللغة الجورجية. وحيثما تتوفر نسخة جورجية، تبقى الجورجية هي اللغة المعتمدة لواجهة المنصة والوثائق والتفسير القانوني.
تُوفَّر الترجمات إلى اللغات الأخرى لسهولة الاستخدام فقط. وقد تنشأ بعض السجلات بلغات أخرى وتحمل لغة مصدر أو لغة قانونية خاصة بذلك المسار، ولكن حيثما تتوفر نسخة جورجية تكون الأولوية للنسخة الجورجية في صياغة المنصة وتفسيرها.
البيانات الوصفية غير مكتملة: Document ID, Version, Status, Owner Role, Last Review Date, Next Review Date, Change Log
Date: 2026-03-06
Tooling-only stabilization for:
Both scripts previously read:
packages/core/governance/types.tsDependency type:
Classification:
SAFE_TO_REDIRECT_TO_DIST_SUBPATHReason:
GovernanceRecordType union textpackages/core/dist/governance/types.d.ts is a stable package build artifact for this purposeThe shell script previously compiled raw source files:
packages/core/canonical/canonicalSerialize.tspackages/core/hashing/hashV2.tspackages/core/ledger/hashV2Ledger.tsDependency type:
tests/selfcheck-outClassification:
SAFE_TO_REDIRECT_TO_DIST_SUBPATHReason:
packages/core/dist already contains the needed JS artifactsNew path strategy:
@kvary/core/package.jsondist/governance/types.d.tsThis keeps the scripts package-boundary aware and removes direct dependency on repo source layout.
New path strategy:
tests/selfcheck-out/{canonical,hashing,ledger} existspackages/core/dist/canonical/canonicalSerialize.jspackages/core/dist/hashing/hashV2.jspackages/core/dist/ledger/hashV2Ledger.jsThis keeps the test harness behavior intact while removing raw .ts compilation.
Changed files:
The compiled JS governance-consistency script had an existing iterator-spread bug around matchAll().
That bug was fixed while migrating the path source:
Array.from(...)This does not alter script intent; it restores parity with the TypeScript variant.
Executed:
npm --prefix packages/core run build
npm exec -- tsx scripts/verify-governance-consistency.ts
npm exec -- node scripts/verify-governance-consistency.js
bash scripts/run-ledger-v2-golden.sh
Results:
packages/core build succeededObserved warning:
bash scripts/run-ledger-v2-golden.sh emits a Node warning about typeless package JSON when running copied ESM files from tests/selfcheck-outNothing else in this tooling cluster was changed.
No services, apps, or runtime entrypoints were touched.
packages/core cleanupThis change narrows the remaining manual-verify surface.
What it unlocks:
packages/core/*.ts or packages/core/*.js source duplicates based on raw filesystem couplingWhat still remains before a narrower safe-delete pass:
packages/core consumers outside this tooling clusternode_modules/@kvary/core symlink behaviorThis tooling cluster is now stabilized away from direct raw packages/core/*.ts filesystem reads.
That is a real cleanup unlock for the next packages/core manual-verify reduction pass.