Skip to content

Remove dead passthrough methods from AgentManager - #615

Merged
selfcontained merged 1 commit into
mainfrom
agt_3b832a77945e/job-debt-collector-9a78d3c5
May 28, 2026
Merged

Remove dead passthrough methods from AgentManager#615
selfcontained merged 1 commit into
mainfrom
agt_3b832a77945e/job-debt-collector-9a78d3c5

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Removed getPersonaReviewsByParent and getReviewerRecheckContext passthrough methods from AgentManager — these had zero production callers
  • Removed the unused ReviewerRecheckContext type re-export
  • Removed the orphaned test for getReviewerRecheckContext
  • The underlying functions in persona-reviews.ts remain available for direct use

Why this qualifies as tech debt

Dead passthrough methods inflate the AgentManager class surface area and create the illusion of a required interface contract. Removing them clarifies which manager methods are actually depended on, making future decomposition of the class easier.

Next run

The next tech debt run will continue manager.ts decomposition: the remaining ~170 lines of persona/feedback/telemetry passthrough methods that are used but could potentially be called directly on the underlying modules.

🤖 Generated with Claude Code

getPersonaReviewsByParent and getReviewerRecheckContext had zero
production callers — the underlying persona-reviews.ts functions
remain available for direct use. Also removes the unused
ReviewerRecheckContext type re-export and the orphaned test.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@selfcontained
selfcontained merged commit 244f168 into mainMay 28, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_3b832a77945e/job-debt-collector-9a78d3c5 branch May 28, 2026 09:15
Sign up for freeto 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

@selfcontained