Problem
#7290 proposed migrating packages/loopover-miner/lib/** to TypeScript, phased for gate safety.
Phase 1 (#7299) landed the tsc build pipeline. This issue is batch 3.1 of 4 (Phase 3): convert this batch's
files, using the same in-place-emit pattern Phase 1 already wired up.
Proposal
Convert these files (and their hand-maintained .d.ts siblings) from .js to real .ts:
lib/metrics-cli.js
lib/feasibility-cli.js
lib/idea-feasibility-cli.js
lib/calibration-cli.js
lib/tenant-cli.js
lib/migrate-cli.js
No tsconfig.json changes are needed -- its existing include glob (bin//*.ts, lib//*.ts)
picks up newly-converted files automatically.
Note: lib/tenant-cli.js does not exist in the tree yet (planned by #7275, blocked on #7180) -- skip it when this batch is picked up, or convert it then if it has landed by that point.
Deliverables
Test Coverage Requirements
No behavior change from this migration alone. Existing tests for these modules must continue to
pass unmodified (only import paths/build output shape might need adjustment).
Expected Outcome
These files are real, compiler-verified TypeScript with zero behavior change.
Links & Resources
Problem
#7290 proposed migrating packages/loopover-miner/lib/** to TypeScript, phased for gate safety.
Phase 1 (#7299) landed the tsc build pipeline. This issue is batch 3.1 of 4 (Phase 3): convert this batch's
files, using the same in-place-emit pattern Phase 1 already wired up.
Proposal
Convert these files (and their hand-maintained .d.ts siblings) from .js to real .ts:
lib/metrics-cli.jslib/feasibility-cli.jslib/idea-feasibility-cli.jslib/calibration-cli.jslib/tenant-cli.jslib/migrate-cli.jsNo tsconfig.json changes are needed -- its existing include glob (bin//*.ts, lib//*.ts)
picks up newly-converted files automatically.
Note:
lib/tenant-cli.jsdoes not exist in the tree yet (planned by #7275, blocked on #7180) -- skip it when this batch is picked up, or convert it then if it has landed by that point.Deliverables
Test Coverage Requirements
No behavior change from this migration alone. Existing tests for these modules must continue to
pass unmodified (only import paths/build output shape might need adjustment).
Expected Outcome
These files are real, compiler-verified TypeScript with zero behavior change.
Links & Resources