Core dist build report
Date: 2026-03-06
Scope
Non-destructive dist build pipeline for packages/core.
Resolving locale, route permissions, and workspace projection.
Current scope: Guest
Category: 90_stabilization | Version: v1.0.0
Owner: DOCUMENT_CUSTODIAN | Review cycle: 90 days
Approval authority: Unspecified
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
Date: 2026-03-06
Non-destructive dist build pipeline for packages/core.
packages/core does not have a src/ directory.index.tsgovernance/, ledger/, kes/, tender/rootDir is ".", not "src"Updated files:
packages/core/package.jsonpackages/core/tsconfig.jsonpackage.jsonChanges:
main -> dist/index.jstypes -> dist/index.d.tsbuild script -> tsc -p tsconfig.json && node ../../scripts/fix-esm-relative-imports.mjs distdev script -> tsx index.tsbuild:packages now builds:
@kvary/ai-layer@kvary/memory-layer@kvary/coreCommands executed:
npm --prefix packages/core run buildnpm run build:packagesnpm exec -- node -e "import('./packages/core/dist/index.js')..."npm exec -- node -e "import('./packages/core/dist/governance/appendGovernanceRecord.js')..."Results:
packages/core/dist/index.js presentpackages/core/dist/index.d.ts presentBuild output count:
packages/core/dist: 234 filesDirect imports referencing packages/core/src/*.js or packages/core/src/*.ts:
Files importing @kvary/core package paths:
apps/web/next.config.jsapps/web/src/app/[locale]/(portal)/kes/HashVerificationPanel.tsxapps/web/src/app/[locale]/(portal)/kes/SigningSlotPanel.tsxapps/web/src/app/[locale]/(portal)/kes/page.tsxapps/web/src/app/[locale]/[country]/(portal)/kes/HashVerificationPanel.tsxapps/web/src/app/[locale]/[country]/(portal)/kes/SigningSlotPanel.tsxapps/web/src/app/[locale]/[country]/(portal)/kes/page.tsxservices/api/src/adapters/kesInput.tsservices/api/src/auctions/engine.tsservices/api/src/auctions/engine.jsservices/api/src/auctions/ledger.tsservices/api/src/auctions/rebuildSnapshot.tsservices/api/src/auctions/snapshot.tsservices/api/src/governance/buildSubjectSnapshot.tsservices/api/src/routes/kes.tsservices/api/src/routes/kes.jsservices/api/src/state/inMemoryLedger.tsservices/api/src/tenders/engine.tsservices/api/src/tenders/engine.jsservices/api/src/tenders/ledger.tsservices/api/src/tenders/snapshot.tsapps/web still aliases @kvary/core to the workspace package root in next.config.js.services/api consumes many @kvary/core/* subpaths.import "@kvary/core" root-package consumers were detected.Source JS files still present under packages/core:
packages/core/index.jspackages/core/governance/index.jspackages/core/governance/appendGovernanceRecord.jspackages/core/ledger/appendLedgerEntry.jspackages/core/kes/appendKesProposeVersion.jspackages/core/tender/appendTenderTransition.jsThese are cleanup candidates for a later phase only after subpath runtime resolution is fully migrated away from source files.
packages/core blocked the first build:
policy/buildPolicyFreezeRecord.tsany in tender/verifyTenderLifecycle.ts