Skip to content

Commit ccb20f3

Browse files
committed
style(agent-shakespeare): strip redundant commentary from extracted package
1 parent 4991eb8 commit ccb20f3

6 files changed

Lines changed: 7 additions & 16 deletions

File tree

‎agents/shakespeare/src/agent.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export function defineAgent(): AgentDefinition {
1010
return coreDefineAgent({
1111
id: "shakespeare",
1212
systemPrompt: systemPrompt.build(),
13-
tools: [], // tool mounting is consumer/app-side; surface enforced by drift-guard
13+
tools: [],
1414
capabilities: [],
1515
inference: {
1616
sources: [{ provider: "openai", model: "gpt-5" }],
1717
},
1818
tags: { fleet: "0.3.36", lane: "shakespeare" },
1919
});
20-
}
20+
}

‎agents/shakespeare/src/config.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/** Shakespeare worker — docs maintenance (PRODUCT / ARCHITECTURE / IMPLEMENTATION). */
21
export const config = {
32
spawn: { maySpawn: false },
43
tier: "leaf",
@@ -7,4 +6,4 @@ export const config = {
76
spawn: { maySpawn: boolean };
87
tier: string;
98
modelRole: string;
10-
};
9+
};

‎agents/shakespeare/src/director.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export const director = {
1717
spawn: config.spawn,
1818
tier: config.tier,
1919
modelRole: config.modelRole,
20-
} as const;
20+
} as const;

‎agents/shakespeare/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export { agent, defineAgent } from "./agent.js";
22
export { director } from "./director.js";
33
export { tools } from "./toolset.js";
44
export { systemPrompt } from "./prompt.js";
5-
export { config } from "./config.js";
5+
export { config } from "./config.js";

‎agents/shakespeare/src/prompt.ts‎

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

43
const CARD = `You are ShakespeareDirector (Shakespeare), a specialist in Corbits Code.
54
@@ -59,10 +58,6 @@ DONE GATE: Stop when every success_criteria item from the brief is met OR explic
5958
6059
OUT OF LANE: shipping product features, pure code review, orchestration, treating docs as optional, DESIGN.md ownership, becoming Coder or Reviewer as primary.`;
6160

62-
/**
63-
* Byte-stable system prompt builder. `theme` is the stable voice identifier;
64-
* `build()` returns the identical raw card on every call (no env/interpolation).
65-
*/
6661
export const systemPrompt = {
6762
theme: "shakespeare",
6863
build: (): string => CARD,

‎agents/shakespeare/src/toolset.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Shakespeare worker: docs maintenance — PRODUCT / ARCHITECTURE /
2-
// IMPLEMENTATION only. Docs lane uses DOCS_TOOLS: no run_shell.
3-
41
const SHAKESPEARE_TOOLS = [
52
"read_file",
63
"grep",
@@ -16,4 +13,4 @@ const SHAKESPEARE_TOOLS = [
1613
"delete_file",
1714
] as const;
1815

19-
export const tools: readonly string[] = [...SHAKESPEARE_TOOLS];
16+
export const tools: readonly string[] = [...SHAKESPEARE_TOOLS];

0 commit comments

Comments
 (0)