Summary
Several modules carry "Minimal stub" / TODO(integration) / "throwing stub" comments that are stale — the code is fully implemented. These mislead readers (and audits) into thinking work is incomplete. Pure comment cleanup, no behavior change.
Stale markers to remove/update
src/types.ts:2 — // Minimal stub — full implementation lands in Unit 1. → file is fully implemented (chunkToDict, chunkFromDict, searchResultToDict, …).
src/utils.ts:2 — // Minimal stub — full implementation lands in Unit 3. → fully implemented (isGitUrl, resolveChunk, formatResults, …).
src/cli.ts:8 — // TODO(integration): replace stub when sibling modules land → all sibling modules are imported and real.
src/indexing/index.ts:7-13 — header says fromGit: stub (T005) and loadFromDisk: throwing stub (T007), but both are fully implemented (fromGit at :196, loadFromDisk at :389). Update the "Wiring status" block.
Out of scope
The genuine functional stubs are tracked separately:
Acceptance criteria
Summary
Several modules carry "Minimal stub" /
TODO(integration)/ "throwing stub" comments that are stale — the code is fully implemented. These mislead readers (and audits) into thinking work is incomplete. Pure comment cleanup, no behavior change.Stale markers to remove/update
src/types.ts:2—// Minimal stub — full implementation lands in Unit 1.→ file is fully implemented (chunkToDict,chunkFromDict,searchResultToDict, …).src/utils.ts:2—// Minimal stub — full implementation lands in Unit 3.→ fully implemented (isGitUrl,resolveChunk,formatResults, …).src/cli.ts:8—// TODO(integration): replace stub when sibling modules land→ all sibling modules are imported and real.src/indexing/index.ts:7-13— header saysfromGit: stub (T005)andloadFromDisk: throwing stub (T007), but both are fully implemented (fromGitat:196,loadFromDiskat:389). Update the "Wiring status" block.Out of scope
The genuine functional stubs are tracked separately:
Acceptance criteria
bun run typecheck+bun teststill green.