Skip to content

Commit 1ca2d86

Browse files
committed
style(agent-artist): strip redundant commentary from extracted package
1 parent e45083f commit 1ca2d86

6 files changed

Lines changed: 2 additions & 26 deletions

File tree

‎agents/artist/src/agent.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ import {
44
} from "@intx/agent";
55
import { systemPrompt } from "./prompt.js";
66

7-
/**
8-
* Artist ready agent — `agent = defineAgent()` plus the named component parts
9-
* (director/tools/systemPrompt/config) form the whole package surface.
10-
*/
117
export const agent: AgentDefinition = defineAgent();
128

139
export function defineAgent(): AgentDefinition {
1410
return coreDefineAgent({
1511
id: "artist",
1612
systemPrompt: systemPrompt.build(),
17-
tools: [], // tool mounting is consumer/app-side; surface enforced by drift-guard
13+
tools: [],
1814
capabilities: [],
1915
inference: {
2016
sources: [{ provider: "openai", model: "gpt-5" }],

‎agents/artist/src/config.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
/** Artist worker — visual asset specialist. */
21
export const config = {
32
spawn: { maySpawn: false },
43
tier: "leaf",
5-
// Preserved from the original in-tree card (behavior wins over the contract
6-
// §5 map; both implement and docs default to medium effort in identity.ts).
74
modelRole: "implement",
85
} as const satisfies {
96
spawn: { maySpawn: boolean };

‎agents/artist/src/director.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ import { tools } from "./toolset.js";
22
import { systemPrompt } from "./prompt.js";
33
import { config } from "./config.js";
44

5-
/**
6-
* Artist worker director card. Structurally satisfies the app's
7-
* `DirectorPackage` (app-side drift-guard asserts assignability).
8-
* App-independent: imports `@intx/*` types only, no Corbits shared package.
9-
*/
105
export const director = {
116
id: "artist",
127
primaryIntent:

‎agents/artist/src/index.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ export { director } from "./director.js";
33
export { tools } from "./toolset.js";
44
export { systemPrompt } from "./prompt.js";
55
export { config } from "./config.js";
6-
// No workflow export. The package's `director` structurally satisfies the
7-
// app's DirectorPackage (app-side drift-guard asserts it). No type re-export
8-
// to any Corbits shared package.

‎agents/artist/src/prompt.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Artist raw director card. Byte-stable, single authority — the app formats
2-
// the identity header via formatDirectorSystemPrompt, never this file.
1+
// The app formats the identity header via formatDirectorSystemPrompt.
32

43
const CARD = `You are ArtistDirector (Artist), a specialist in Corbits Code.
54
@@ -30,10 +29,6 @@ Workflow:
3029
3130
OUT OF LANE: non-visual code implementation, backend logic, code defect review, fleet orchestration.`;
3231

33-
/**
34-
* Byte-stable system prompt builder. `theme` is the stable voice identifier;
35-
* `build()` returns the identical raw card on every call (no env/interpolation).
36-
*/
3732
export const systemPrompt = {
3833
theme: "artist",
3934
build: (): string => CARD,

‎agents/artist/src/toolset.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Artist worker: visual asset specialist.
2-
// Hand-crafts SVGs, visual diagrams (Mermaid, ASCII art), and structured
3-
// generative graphic prompts for image generation models.
4-
51
const ARTIST_TOOLS = [
62
"read_file",
73
"grep",

0 commit comments

Comments
 (0)