Skip to content

refactor!: remove dead packages with no importers - #305

Merged
Patel230 merged 1 commit into
mainfrom
feat/remove-dead-packages
Sep 14, 2026
Merged

Patel230 merged 1 commit into
mainfrom
feat/remove-dead-packages

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

Removes 30 packages that have no Go importers, are not referenced by CI or
scripts, and are not documented as active seams. Follow-up to #304.

~9k LOC deleted. Build, vet, lint, boundary guards, and targeted tests pass.

Removed

deps, engine/async, engine/code, engine/prompt, engine/trajectory,
fastcopy, feature/ide, feature/voice, hunktracker, localize,
magicdocs, observability/{alerts,conformance,logfield}, preset,
profile, system/{bus,retention,shutdown}, task, tools, container,
bench, tui/diff, filestate, gitsnapshot, lockutil,
intelligence/harness, system/cron, plus the unused root files in
context/, resilience/, and system/.

Kept (still reachable)

  • context/repomap — used by cmd/options.go
  • resilience/{health,retry,ratelimit} — used by the engine and
    verify-milestone.sh
  • testaudit — CI package-boundary guard

Docs

Drop the README "adopted capabilities" rows and design-doc references for the
removed packages.

Verification

  • go build ./..., go vet ./..., golangci-lint (0 issues)
  • Targeted tests for cmd, engine, config, resilience, context, testaudit
  • gofumpt v0.10.0 clean; boundary guards pass

Delete 30 packages that nothing imports, are not referenced by CI or
scripts, and are not documented as active seams:

deps, engine/async, engine/code, engine/prompt, engine/trajectory,
fastcopy, feature/ide, feature/voice, hunktracker, localize, magicdocs,
observability/{alerts,conformance,logfield}, preset, profile,
system/{bus,retention,shutdown}, task, tools, container, bench, tui/diff,
filestate, gitsnapshot, lockutil, intelligence/harness, system/cron, and
the unused root context/resilience/system files.

Kept: context/repomap (used by cmd/options.go), resilience/{health,retry,
ratelimit} (used by engine + verify-milestone.sh), and testaudit (CI
package-boundary guard).

Drop the README adopted-capabilities rows and doc references for the
removed packages.
@Patel230
Patel230 merged commit 5c0f477 into main Sep 14, 2026
25 checks passed
@Patel230
Patel230 deleted the feat/remove-dead-packages branch September 14, 2026 13:34
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