Skip to content

cleanup: delete dead git-ops primitives + PatchRegistry.all_patches#14

Merged
ProtocolWarden merged 1 commit into
mainfrom
cleanup/delete-dead-git-ops-and-all-patches
Jun 18, 2026
Merged

cleanup: delete dead git-ops primitives + PatchRegistry.all_patches#14
ProtocolWarden merged 1 commit into
mainfrom
cleanup/delete-dead-git-ops-and-all-patches

Conversation

@ProtocolWarden

Copy link
Copy Markdown
Owner

Part of the cross-repo incomplete-integration remediation (Phase 3 — DELETE).

Removes over-ported dead code from the initial fork-manager port (PR #2):

  • git/git_ops.py: remote_url, list_files_changed_between
  • patches.py: PatchRegistry.all_patches

Verified safe: all three have zero src callers, zero tests, are not in any __all__, and have no cross-repo consumers (grepped across all repos). The wired git primitives and the used patch accessors (for_source / by_source / get) are kept.

66 tests green; ruff check . clean; working-detector audit B2-env-only. (The pre-existing stale T7 doctor warnings for validation//vocabulary/ dirs are unrelated and not a CI gate in this repo.)

🤖 Generated with Claude Code

Remove over-ported dead code from the initial fork-manager port (PR #2):
- git/git_ops.py: remote_url, list_files_changed_between
- patches.py: PatchRegistry.all_patches

All three have zero src callers, zero tests, are not in any __all__, and have
no cross-repo consumers (verified across all repos). The wired git primitives
and the used patch accessors (for_source / by_source / get) are kept.

66 tests green; ruff clean; audit B2-env-only.

Part of the cross-repo incomplete-integration remediation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ProtocolWarden ProtocolWarden merged commit 6ecb259 into main Jun 18, 2026
7 checks passed
@ProtocolWarden ProtocolWarden deleted the cleanup/delete-dead-git-ops-and-all-patches branch June 18, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant