Memory Layer Strict-Safe Rerun Report
- Date: 2026-03-06
- Package:
packages/memory-layer - Duplicate pairs scanned: 6
- Current build pipeline:
dist/vianpm --prefix packages/memory-layer run build - Current repo conclusion: all source
.jssiblings are compiled duplicates and no live repo code still depends on them.
Evidence
packages/memory-layerbuild passes todist.- No repo matches for raw
packages/memory-layer/src/*.jsor@kvary/memory-layer/src/*imports outside config aliases to source.ts. apps/webstill maps@kvary/memory-layerto source.tsfiles, but not to source.jsfiles.packages/memory-layer/srccontains no internal.jsimport specifiers, so source-TS consumers do not require sibling source.jsfiles.- Package root import resolves through
dist/index.js.
Pair Classification
| TS file | JS file | Classification | Why | Delta |
|---|---|---|---|---|
| packages/memory-layer/src/config.ts | packages/memory-layer/src/config.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
| packages/memory-layer/src/db.ts | packages/memory-layer/src/db.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
| packages/memory-layer/src/index.ts | packages/memory-layer/src/index.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
| packages/memory-layer/src/repository.ts | packages/memory-layer/src/repository.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
| packages/memory-layer/src/schema.ts | packages/memory-layer/src/schema.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
| packages/memory-layer/src/types.ts | packages/memory-layer/src/types.js | STRICT_SAFE_NOW | sibling .ts exists; dist build is in place; no live repo consumer references the source .js; no raw filesystem reads remain; source .ts graph has no .js specifiers. | was MANUAL_VERIFY; now cleared by dist build + consumer rescan. |
Blocking Surface Recheck
apps/web/tsconfig.jsonstill maps@kvary/memory-layerto../../packages/memory-layer/src/index.tsandsrc/*.apps/web/next.config.jsstill aliases@kvary/memory-layerto the package root.- These are not blockers for source
.jsdeletion because they resolve source.ts/ package root, not source.js. packages/memory-layer/package.jsonstill exposes./src/*for compatibility; repo scan found no current consumers of that export.
Updated Classification Summary
STRICT_SAFE_NOW: 6STILL_MANUAL_VERIFY: 0TEST_ONLY_SAFE: 0BLOCKED_BY_RUNTIME_USAGE: 0BLOCKED_BY_FILESYSTEM_SEMANTICS: 0