Skip to content

Commit bd2af43

Browse files
committed
refactor(agent): delete unused fleet barrel and restore allowlist
1 parent 798ff34 commit bd2af43

3 files changed

Lines changed: 24 additions & 217 deletions

File tree

‎scripts/dead-export-allowlist.txt‎

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,19 @@ packages/opencode-go/src/models.ts: satisfies
3939
packages/opencode-go/src/models.ts: readonly
4040

4141
# Agent-package public API (CL-9800 extraction wave): each @corbits/code-agent-*
42-
# workspace package's public surface (agent/defineAgent + the config card) is
43-
# consumed by the app registry/barrel once the fleet merges; on a per-extract
44-
# branch they have no in-repo consumer yet. Public API by design — owned by the
45-
# agent-template lane; remove with the code if the package is deleted.
42+
# workspace package's six-name entry-point surface (agent, defineAgent, director,
43+
# tools, systemPrompt, config) is the package's public contract. The closed
44+
# director fan-in (src/agent/directors/registry.ts) consumes `director`; the
45+
# remaining names are public API by design (custom-agent authoring surface), and
46+
# were previously laundered through the deleted src/agent/fleet.ts tests-only
47+
# barrel. Honest public API — owned by the agent-template lane; remove with the
48+
# code if the package is deleted.
49+
agents/dispatch/src/index.ts: agent
50+
agents/dispatch/src/index.ts: defineAgent
4651
agents/dispatch/src/config.ts: satisfies
4752
agents/dispatch/src/config.ts: boolean
53+
agents/warden/src/index.ts: agent
54+
agents/warden/src/index.ts: defineAgent
4855
agents/warden/src/config.ts: satisfies
4956
agents/warden/src/config.ts: boolean
5057
agents/designer/src/index.ts: agent
@@ -103,13 +110,22 @@ packages/prompt-variance/src/index.ts: PromptVarianceFamily
103110
packages/prompt-variance/src/index.ts: PromptVarianceRow
104111

105112
# Agent-package public API (CL-9800 extraction wave): each @corbits/code-agent-*
106-
# workspace package's public surface (agent/defineAgent + the config card) is
107-
# consumed by the app registry/barrel once the fleet merges; on a per-extract
108-
# branch they have no in-repo consumer yet. Public API by design — owned by the
109-
# agent-template lane; remove with the code if the package is deleted.
113+
# workspace package's six-name entry-point surface (agent, defineAgent, director,
114+
# tools, systemPrompt, config) is the package's public contract. The closed
115+
# director fan-in (src/agent/directors/registry.ts) consumes `director`; the
116+
# remaining names are public API by design (custom-agent authoring surface), and
117+
# were previously laundered through the deleted src/agent/fleet.ts tests-only
118+
# barrel. Honest public API — owned by the agent-template lane; remove with the
119+
# code if the package is deleted.
120+
agents/artist/src/index.ts: agent
121+
agents/artist/src/index.ts: defineAgent
110122
agents/artist/src/config.ts: satisfies
111123
agents/artist/src/config.ts: boolean
124+
agents/shakespeare/src/index.ts: agent
125+
agents/shakespeare/src/index.ts: defineAgent
112126
agents/shakespeare/src/config.ts: satisfies
113127
agents/shakespeare/src/config.ts: boolean
128+
agents/prober/src/index.ts: agent
129+
agents/prober/src/index.ts: defineAgent
114130
agents/prober/src/config.ts: satisfies
115131
agents/prober/src/config.ts: boolean

‎src/agent/fleet.test.ts‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

‎src/agent/fleet.ts‎

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)