refactor(8.0): remove dead, unreachable, and unwired modules

Pre-GA dead-code sweep. A deterministic import-reachability walk from the
package's real entry points (the exports map, the CLI bin, the conversation
surface) found 34 source modules that nothing reachable imports — they
compile and ship as dist output that no consumer or internal path can ever
reach. All were superseded duplicates, abandoned parallel implementations,
or built-but-never-wired features:

  - superseded duplicates of live modules: an older "unified" entry, a
    standalone neural-import variant, a static NLP processor + its matcher,
    a parallel API-types module, a duplicate progress-types module
  - an abandoned import path (orchestrator + entity deduplicator + barrels)
    left behind when ingestion moved to the coordinator
  - unwired feature modules (instance pool, import presets, cached
    embeddings, relationship-confidence scorer) reachable only from tests
  - dead leaf utilities (write buffer, deleted-items index, bounded
    registry, two crypto shims, a cache manager, a structured logger, a
    stale v5 type-migration helper, a browser-only FS type shim) and
    several dead re-export barrels
  - a CLI catalog command wired into no command

Also removed two tests that only exercised deleted modules, repointed two
VFS tests off a deleted barrel onto the implementation module, and deleted
one example that demoed removed features.

Verified: clean build (both tsc passes), unit 1505 + integration 607 green,
and a re-run of the reachability walk reports zero remaining orphans.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
David Snelling 2026-06-24 15:18:40 -07:00
parent 03d654061f
commit bf0afe8563
39 changed files with 2 additions and 10497 deletions

View file

@ -1,38 +0,0 @@
/**
* @module columnStore
* @description Unified column store for filtering, sorting, range queries,
* and text search on any field type with exact precision at billion scale.
*
* Replaces MetadataIndex's sparse chunk/bloom filter/bucketing internals
* with per-field sorted columns. Design lineage: Lucene doc values + roaring
* bitmap acceleration.
*/
export { ColumnStore } from './ColumnStore.js'
export type { ColumnStoreConfig } from './ColumnStore.js'
export { ColumnTailBuffer } from './ColumnTailBuffer.js'
export { ColumnManifest } from './ColumnManifest.js'
export { ColumnSegmentCursor, TailBufferCursor } from './ColumnSegmentCursor.js'
export {
writeSegmentToBuffer,
readSegmentFromBuffer,
writeHeader,
readHeader,
crc32
} from './ColumnSegmentFormat.js'
export {
ValueType,
CIDX_MAGIC,
CIDX_VERSION,
HEADER_SIZE,
FOOTER_SIZE,
DEFAULT_FLUSH_THRESHOLD,
FLAG_MULTI_VALUE
} from './types.js'
export type {
ColumnStoreProvider,
SegmentHeader,
SegmentFooter,
SegmentMeta,
ManifestData
} from './types.js'