chore: remove Tier-A unused SaaS modules (browser-operator, tts, vision) (Sam & Claude) #7
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/prune-tier-a-unused"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Verified-safe slice of the prune plan: only modules with ZERO importers (static
or dynamic) — confirmed by import-graph scan, not name-based categorization.
Removed (src 62,085 -> 61,280; 805 lines, 6 files):
unrelated and untouched
substrings of "provisioning")
Aligns with config.ts core profile ("no budget/TTS/STT/vision"). Post-delete
import-graph scan is clean.
NOT included from the original "delete now" list — they have real importers and
were mis-bucketed: memory-architecture/lifecycle + database-architecture (the DB
pool — core infra), outbound-images (live Telegram path), transcription/stt-guard
(Telegram voice), tenant-/platform-/surface-/stripe- (woven in). Those need
untangle-then-delete, not a blind removal.
GATE (run on a host with deps): npm run typecheck && npm run test (vitest).
No local node_modules here, so verification was the import graph.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Type of Change
.agent/skills/Description
For Skills
Verified-safe slice of the prune plan: only modules with ZERO importers (static or dynamic) — confirmed by import-graph scan, not name-based categorization. Removed (src 62,085 -> 61,280; 805 lines, 6 files): - src/browser-operator.ts (+test) — no references anywhere - src/tts.ts (+test) — 0 importers; ttsMode config elsewhere is unrelated and untouched - src/vision.ts (+test) — 0 importers (prior "vision" hits were substrings of "provisioning") Aligns with config.ts core profile ("no budget/TTS/STT/vision"). Post-delete import-graph scan is clean. NOT included from the original "delete now" list — they have real importers and were mis-bucketed: memory-architecture/lifecycle + database-architecture (the DB pool — core infra), outbound-images (live Telegram path), transcription/stt-guard (Telegram voice), tenant-*/platform-*/surface-*/stripe-* (woven in). Those need untangle-then-delete, not a blind removal. GATE (run on a host with deps): npm run typecheck && npm run test (vitest). No local node_modules here, so verification was the import graph. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>