chore: delete 31 zero-importer DIFF-SYNC stub files#2262
Merged
alexey-pelykh merged 1 commit intomainfrom Apr 11, 2026
Merged
Conversation
Remove 31 stub files (marked "Gutted in RemoteClaw fork") that were
created during DIFF-SYNC batches B1-B4 to satisfy imports that no
longer exist. Each stub has zero importers — no alive code depends
on them.
Deleted stubs by domain:
- src/acp/ (2): control-plane/manager, policy
- src/agents/ (14): auth-profiles/session-override, bootstrap-cache,
cli-runner, context-window-guard, huggingface-models,
pi-embedded-runner/run/params, pi-model-discovery, skills,
skills/refresh, synthetic-models, together-models, venice-models
- src/commands/ (10): auth-choice.apply.{anthropic,byteplus,
huggingface,volcengine}, auth-token, doctor-memory-search,
doctor-sandbox, model-picker, models, onboard-skills
- src/gateway/ (4): exec-approval-manager,
server-methods/exec-approval, test-helpers.openai-mock,
test-openai-responses-model
- src/infra/ (1): system-run-approval-binding
- src/memory/ (1): status-format
- src/sessions/ (1): model-overrides
28 stubs with real importers are retained — documented in #2192.
Closes #2192
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Audits all 59 DIFF-SYNC stub files (<=20 lines, marked "Gutted in RemoteClaw fork") created during batches B1-B4 and deletes the 31 that have zero importers.
tsc --noEmitpasses, no new test failures introducedRetained stubs (28) — documented for future cleanup
src/config/src/agents/src/infra/src/commands/src/cli/src/memory/Disposition registry (HQ)
Added 4 missing entries to
upstream/disposition.tsv:EXCLUDE src/acp/control-plane/manager.tsEXCLUDE src/agents/bootstrap-cache.tsEXCLUDE src/infra/exec-safety.tsEXTRACT src/config/sessions.tsTest plan
tsc --noEmit— zero errorsvitest run— 1374 passed, 3 failed (all pre-existing)vi.mockorimportreferences to deleted files breakCloses #2192
🤖 Generated with Claude Code