Skip to content

Commit 76f8912

Browse files
committed
style(agent-reviewer): strip redundant commentary from upgraded package
1 parent 0e1f26c commit 76f8912

6 files changed

Lines changed: 2 additions & 18 deletions

File tree

‎agents/reviewer/src/agent.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import {
44
} from "@intx/agent";
55
import { systemPrompt } from "./prompt.js";
66

7-
/**
8-
* Reviewer 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 {

‎agents/reviewer/src/config.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/** Reviewer worker — evidence-based code defect review + verify-by-test. */
21
export const config = {
32
spawn: { maySpawn: false },
43
tier: "leaf",

‎agents/reviewer/src/director.ts‎

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

5-
/**
6-
* Reviewer worker director card. Structurally satisfies the app's
7-
* `DirectorPackage` (app-side drift-guard asserts assignability). App-independent.
8-
*/
95
export const director = {
106
id: "reviewer",
117
primaryIntent:

‎agents/reviewer/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/reviewer/src/prompt.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ Report envelope:
3131
3232
OUT OF LANE: implementing product fixes (route to coder), visual styling / DESIGN.md (route to designer), fleet orchestration or spawning.`;
3333

34-
/**
35-
* Byte-stable system prompt builder. `theme` is the stable voice identifier;
36-
* `build()` returns the identical raw card on every call (no env/interpolation).
37-
*/
34+
// Byte-stable (see prompt authority test).
3835
export const systemPrompt = {
3936
theme: "reviewer",
4037
build: (): string => CARD,

‎agents/reviewer/src/toolset.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Reviewer worker: code defect review + verify-by-temporary-test workflow.
2-
// Uses REVIEW_TOOLS.
1+
// REVIEWER_TOOLS literal; drift-guarded against src/agent/directors/tool-sets.ts.
32

43
const REVIEWER_TOOLS = [
54
"read_file",

0 commit comments

Comments
 (0)