Skip to content

Commit f0241bc

Browse files
committed
style(agent-prober): strip redundant commentary from extracted package
1 parent c0f2bbf commit f0241bc

6 files changed

Lines changed: 2 additions & 21 deletions

File tree

‎agents/prober/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-
* Prober 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/prober/src/config.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
/** Prober worker — measure-only latency/behavior prober per family/model. */
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; test defaults to medium effort in identity.ts, matching the
7-
// measure-only lane).
84
modelRole: "test",
95
} as const satisfies {
106
spawn: { maySpawn: boolean };

‎agents/prober/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-
* Prober worker director card (CL-7656). Structurally satisfies the app's
7-
* `DirectorPackage` (app-side drift-guard asserts assignability). App-independent.
8-
*/
95
export const director = {
106
id: "prober",
117
primaryIntent:

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ OUT OF LANE: shipping product code, tuning prompts or model-family
5252
policy (route to follow-up tickets), building a new harness, fleet
5353
orchestration, architecture essays without measurements.`;
5454

55-
/**
56-
* Byte-stable system prompt builder. `theme` is the stable voice identifier;
57-
* `build()` returns the identical raw card on every call (no env/interpolation).
58-
*/
55+
// Byte-stable (see prompt authority test).
5956
export const systemPrompt = {
6057
theme: "prober",
6158
build: (): string => CARD,

‎agents/prober/src/toolset.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Prober worker (CL-7656): measure-only latency/behavior prober per
2-
// family/model. Uses REVIEW_TOOLS.
1+
// PROBER_TOOLS literal; drift-guarded against src/agent/directors/tool-sets.ts.
32

43
const PROBER_TOOLS = [
54
"read_file",

0 commit comments

Comments
 (0)