Skip to content

Commit 5634a90

Browse files
committed
refactor(agent): consolidate native director fleet to ten core agents
1 parent 893dc84 commit 5634a90

58 files changed

Lines changed: 606 additions & 1646 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎agents/intern/package.json‎

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

‎agents/intern/src/index.ts‎

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

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"tar": "^7.5.1"
8787
},
8888
"dependencies": {
89-
"@corbits/agent-intern": "workspace:*",
9089
"@corbits/codex-provider": "0.1.1",
9190
"@corbits/oauth-core": "0.2.0",
9291
"@corbits/openai-responses": "0.2.1",

‎scripts/eval-capability.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ describe("buildEvalDiagnostics", () => {
405405
expect(diagnostics.reasoningEffort).toBe("high");
406406
});
407407

408-
test("--director builder reports the director's own advertised allowlist", async () => {
408+
test("--director coder reports the director's own advertised allowlist", async () => {
409409
const diagnostics = await buildEvalDiagnostics(
410-
sampleConfig({ director: "builder" }),
410+
sampleConfig({ director: "coder" }),
411411
);
412412
expect(diagnostics.advertisedTools).not.toEqual(
413413
(await buildEvalDiagnostics(sampleConfig({}))).advertisedTools,

‎src/agent/default-agents.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { directorProfiles } from "./directors/registry.js";
22
import type { AgentPlugin } from "./profile-types.js";
33

4-
// Spawnable profiles = closed director fleet minus primary skywalker.
4+
// Spawnable profiles = closed director fleet minus primary dispatch.
55
// Closed DIRECTOR_IDS are reserved: plugin/local profiles that collide are
66
// skipped at load (CL-7015) — no override or alias of the fleet.
77
export const defaultAgentsPlugin: AgentPlugin = {
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import type { DirectorPackage } from "../types.js";
2+
import { BUILD_TOOLS } from "../tool-sets.js";
3+
4+
/**
5+
* Artist worker: visual asset specialist.
6+
* Hand-crafts SVGs, visual diagrams (Mermaid, ASCII art), and structured
7+
* generative graphic prompts for image generation models.
8+
*/
9+
export const artistPackage: DirectorPackage = {
10+
id: "artist",
11+
primaryIntent:
12+
"Author hand-crafted SVGs, visual diagrams, and generative graphic prompts",
13+
outOfLane: [
14+
"backend or core product implementation",
15+
"code defect review or testing",
16+
"fleet orchestration or spawning",
17+
],
18+
description:
19+
"Visual asset specialist — SVGs, visual diagrams, and generative graphic prompts",
20+
tools: { allow: BUILD_TOOLS },
21+
spawn: { maySpawn: false },
22+
tier: "leaf",
23+
modelRole: "implement",
24+
systemPrompt: `You are ArtistDirector (Artist), a specialist in Corbits Code.
25+
26+
PRIMARY INTENT: create visual assets — clean vector SVGs, technical and architectural diagrams, and structured generative image prompts.
27+
28+
Capabilities & Disciplines:
29+
1. Hand-crafted SVGs:
30+
- Clean, lightweight, semantic XML vector graphics.
31+
- Proper viewBox, responsive scaling, scalable stroke-width, semantic SVG elements (\`<path>\`, \`<rect>\`, \`<circle>\`, \`<g>\`).
32+
- Accessible metadata (\`<title>\`, \`<desc>\`, \`aria-label\`).
33+
- Theme awareness: support light/dark modes using \`currentColor\` or CSS custom properties.
34+
- Clean geometry: precise bezier curves, minimal point count, zero bloated editor artifacts.
35+
2. Visual Diagrams:
36+
- Technical architectures, sequence flows, state machines, and data pipelines.
37+
- Mermaid diagrams (flowchart, sequenceDiagram, stateDiagram, classDiagram, erDiagram).
38+
- Clean, readable ASCII / Unicode box-drawing diagrams for markdown and terminal output.
39+
- Clear visual grouping, readable node labels, and logical layout direction.
40+
3. Generative Graphic Prompts:
41+
- Highly detailed, self-contained prompts tailored for text-to-image models.
42+
- Explicit definitions of subject, art style, composition, camera perspective, lighting, color palette, and mood.
43+
- Avoid negative prompt cliches; specify positive desired visual attributes clearly.
44+
45+
Workflow:
46+
1. Understand the visual brief: purpose, medium (web SVG, terminal, markdown doc, generative asset), and target dimensions.
47+
2. Draft or edit the visual assets directly in target files.
48+
3. Validate vector validity (well-formed XML for SVGs, valid syntax for Mermaid).
49+
4. Report completed visual deliverables under Summary / Findings / Blockers / Paths.
50+
51+
OUT OF LANE: non-visual code implementation, backend logic, code defect review, fleet orchestration.`,
52+
};

‎src/agent/directors/bruckheimer/package.ts‎

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

‎src/agent/directors/builder/package.ts‎

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

0 commit comments

Comments
 (0)