Summary
Two dead/partially-dead subsystems identified during WI-075 post-gate audit.
1. src/process/supervisor/ (10 files, zero external callers)
No code outside the supervisor/ directory imports getProcessSupervisor(),
createProcessSupervisor(), or any other export from this module.
Files:
src/process/supervisor/index.ts (barrel + singleton)
src/process/supervisor/supervisor.ts (implementation)
src/process/supervisor/supervisor.test.ts
src/process/supervisor/registry.ts
src/process/supervisor/registry.test.ts
src/process/supervisor/types.ts
src/process/supervisor/adapters/child.ts
src/process/supervisor/adapters/child.test.ts
src/process/supervisor/adapters/env.ts
Action: Delete entire directory.
2. src/providers/ (5 files, partially dead)
The original disposition marked all 10 files GUT. WI-069 reduced to 5 files. Of the
remaining 5:
Dead (zero external callers):
src/providers/github-copilot-models.ts — GitHub Copilot model catalog
src/providers/github-copilot-models.test.ts — tests for above
src/providers/github-copilot-token.ts — Copilot token management
src/providers/github-copilot-token.test.ts — tests for above
Live (3 external callers):
src/providers/kilocode-shared.ts — exports KILOCODE_BASE_URL and
KILOCODE_DEFAULT_MODEL_REF, imported by:
src/commands/onboard-auth.credentials.ts
src/commands/onboard-auth.models.ts
src/commands/onboard-auth.config-core.ts
Action:
- Delete 4 dead github-copilot files
- Evaluate
kilocode-shared.ts — if the onboard-auth commands that use it are themselves
dead or will be modified during rebrand (M4), the constant can be inlined or moved to
the consuming files. Otherwise keep.
Verification
Summary
Two dead/partially-dead subsystems identified during WI-075 post-gate audit.
1. src/process/supervisor/ (10 files, zero external callers)
No code outside the
supervisor/directory importsgetProcessSupervisor(),createProcessSupervisor(), or any other export from this module.Files:
src/process/supervisor/index.ts(barrel + singleton)src/process/supervisor/supervisor.ts(implementation)src/process/supervisor/supervisor.test.tssrc/process/supervisor/registry.tssrc/process/supervisor/registry.test.tssrc/process/supervisor/types.tssrc/process/supervisor/adapters/child.tssrc/process/supervisor/adapters/child.test.tssrc/process/supervisor/adapters/env.tsAction: Delete entire directory.
2. src/providers/ (5 files, partially dead)
The original disposition marked all 10 files GUT. WI-069 reduced to 5 files. Of the
remaining 5:
Dead (zero external callers):
src/providers/github-copilot-models.ts— GitHub Copilot model catalogsrc/providers/github-copilot-models.test.ts— tests for abovesrc/providers/github-copilot-token.ts— Copilot token managementsrc/providers/github-copilot-token.test.ts— tests for aboveLive (3 external callers):
src/providers/kilocode-shared.ts— exportsKILOCODE_BASE_URLandKILOCODE_DEFAULT_MODEL_REF, imported by:src/commands/onboard-auth.credentials.tssrc/commands/onboard-auth.models.tssrc/commands/onboard-auth.config-core.tsAction:
kilocode-shared.ts— if the onboard-auth commands that use it are themselvesdead or will be modified during rebrand (M4), the constant can be inlined or moved to
the consuming files. Otherwise keep.
Verification
src/process/supervisor/directory deletedsrc/providers/kilocode-shared.tsevaluated and resolved (inlined, moved, or kept)pnpm buildpassespnpm testpasses