Skip to content

refactor(agent): delete unused fleet barrel and restore allowlist - #1382

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-10308-delete-unused-srcagentfleetts-barrel
Oct 9, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-10308-delete-unused-srcagentfleetts-barrel

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Deletes the unused src/agent/fleet.ts barrel and its test. Nothing in production imported it; runtime fan-in is DIRECTOR_REGISTRY (src/agent/directors/registry.ts), which stays the closed director fan-in including qa-lead.
  • Restores the ten package agent / defineAgent exports as honest public-API rows on the dead-export allowlist, replacing the tests-only barrel that laundered them.

Verification

  • bun run check passes: lint, typecheck, dead-exports guard, build, and the guarded test suite — 8548 pass / 0 fail.
  • bun run check:dead-exports: 281 consumer-less exports, 281 allowlisted, 0 violations.
  • src/subagent/agent-fleet.ts and e2e/fleet.ts (a different subsystem) untouched.

Fixes CL-10308

@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

CL-10308

@TheGreatAxios
TheGreatAxios merged commit 9b8ba29 into main Oct 9, 2026
13 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-10308-delete-unused-srcagentfleetts-barrel branch October 9, 2026 15:28
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