carlos / platform Public

host: drop the dead movedRoutes

No caller since movedAppSet.route took its body (34e2fbc6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev fc28a7ac1d195bed657a67bbabec80dc08f93b5a parent 88f93b7
1 file changed, +0 −7
  • internal/host/changeindex.go +0 −7
diff --git a/internal/host/changeindex.go b/internal/host/changeindex.go
index 32cc3d896..2e293bc84 100644
--- a/internal/host/changeindex.go
+++ b/internal/host/changeindex.go
@@ -198,13 +198,6 @@ func indexScopes(acted, obs map[string]uint64) []string {
return moved
}
-// movedRoutes keeps the routes whose (account, app) has an app scope in
-// moved. Account scopes keep nothing here: their effect on a box (an
-// account soft-deleted) is Reconcile's, which runs whole.
-func movedRoutes(moved []string) func(registry.Route) bool {
- return movedApps(moved).route
-}
-
// movedAppSet is the (account, app) pairs of a scoped pass's moved app
// scopes: the one set both the route legs (route) and the policy reads
// (policy, ReconcileConfig.PolicyScope) are restricted to, so they cannot