chore: remove Tier-A unused SaaS modules (browser-operator, tts, vision) (Sam & Claude) #7

Merged
clawdie merged 1 commit from chore/prune-tier-a-unused into main 2026-06-05 13:22:07 +02:00
Owner

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

Type of Change

  • Skill - adds a new skill in .agent/skills/
  • Fix - bug fix or security fix to source code
  • Simplification - reduces or simplifies source code

Description

For Skills

  • I have not made any changes to source code
  • My skill contains instructions for Claude to follow (not pre-built code)
  • I tested this skill on a fresh clone
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> ## Type of Change - [ ] **Skill** - adds a new skill in `.agent/skills/` - [ ] **Fix** - bug fix or security fix to source code - [ ] **Simplification** - reduces or simplifies source code ## Description ## For Skills - [ ] I have not made any changes to source code - [ ] My skill contains instructions for Claude to follow (not pre-built code) - [ ] I tested this skill on a fresh clone
clawdie added 1 commit 2026-06-05 13:21:34 +02:00
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>
clawdie merged commit 677ed3d8b9 into main 2026-06-05 13:22:07 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-ai#7
No description provided.