Skip to content

chore: 죽은 모듈 및 dead export 삭제 #186

@justn-hyeok

Description

@justn-hyeok

Summary

73개의 완전 미사용 export와 통째로 죽은 모듈 8개 정리.

통째로 죽은 모듈 (삭제 후보)

파일 줄수 상태
core/src/config/converter.ts 76 완전 미사용 (jsonToYaml, yamlToJson, configToYaml)
core/src/config/migrator.ts 288 완전 미사용 (needsMigration, migrateConfig, applyMigration)
core/src/pipeline/dsl-parser.ts ~180 완전 미사용 (parsePipelineDsl, serializePipelineDsl)
github/src/comment.ts ~70 완전 미사용 (postPrComment, findExistingComment, updatePrComment)
github/src/session-diff.ts ~60 완전 미사용 (diffSessionIssues, formatSessionDiffMarkdown)
notifications/src/discord-live.ts ~230 완전 미사용 (createDiscordLiveHandler, sendDiscordPipelineSummary)
notifications/src/event-stream.ts ~50 완전 미사용 (createEventStreamHandler)
shared/src/meme/index.ts ~150 완전 미사용 (getMemeVerdict 등 8개)

주의: plugins/ (530줄)와 rules/ (223줄)는 #185 에서 별도 결정

개별 dead export (73개)

주요 클러스터:

  • core/src/l0/model-registry.ts — 5개 미사용 함수 (setRegistry, getModelsByProvider 등)
  • core/src/config/templates.ts — 3개 미사용 템플릿 함수
  • core/src/pipeline/ — 6개 미사용 포맷/유틸 함수
  • core/src/types/config.ts — 8개 미사용 타입/스키마
  • shared/src/utils/ — 6개 미사용 유틸 함수

전체 목록은 .0320Docs/codebase-audit-dead-unused-code.md 섹션 3-A 참조.

불필요 export 키워드 (185개)

로컬에서만 사용되는데 export 붙은 심볼. 삭제 시 API surface 축소 + tree-shaking 개선.
별도 PR로 처리 가능.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions