Cut
Small cuts in src/interfaces/cli that do not remove any documented behaviour.
Findings
- shrink:
KIND_TO_TABLE / TABLE_TO_KIND are inverse maps of each other and JSON_COLUMNS / BOOLEAN_COLUMNS carry three empty arrays each (src/interfaces/cli/transfer.ts:49). One map plus a lookup (~25 lines).
- delete: the deprecated
migrate --source / --batch-size / --force forwarding (src/interfaces/cli/index.ts:566) if the legacy-importer sub-issue has not already removed it (~14 lines).
- delete: the
update.ts re-exports and the engram-visualizer.service entry if the dead-exports sub-issue has not already removed them.
Verification
npm run build and npm run test:run green before and after. engram export followed by engram import into a fresh database round-trips the same counts.
Cut
Small cuts in
src/interfaces/clithat do not remove any documented behaviour.Findings
KIND_TO_TABLE/TABLE_TO_KINDare inverse maps of each other andJSON_COLUMNS/BOOLEAN_COLUMNScarry three empty arrays each (src/interfaces/cli/transfer.ts:49). One map plus a lookup (~25 lines).migrate --source/--batch-size/--forceforwarding (src/interfaces/cli/index.ts:566) if the legacy-importer sub-issue has not already removed it (~14 lines).update.tsre-exports and theengram-visualizer.serviceentry if the dead-exports sub-issue has not already removed them.Verification
npm run buildandnpm run test:rungreen before and after.engram exportfollowed byengram importinto a fresh database round-trips the same counts.