Skip to content

Commit 9f57029

Browse files
committed
Tweak validator, codebase-commands-explorer, move file-lister-max to graveyard
1 parent 18d4d3c commit 9f57029

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { publisher } from '../constants'
2-
1+
import { publisher } from '../.agents/constants'
32
import {
43
PLACEHOLDER,
54
type SecretAgentDefinition,
6-
} from '../types/secret-agent-definition'
7-
import { AssistantMessage } from 'types/util-types'
5+
} from '../.agents/types/secret-agent-definition'
6+
import type { AssistantMessage } from '../.agents/types/util-types'
87

98
const definition: SecretAgentDefinition = {
109
id: 'file-lister-max',

.agents/codebase-commands-explorer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ const definition: AgentDefinition = {
119119
required: ['projectOverview', 'workingCommands'],
120120
},
121121

122-
systemPrompt: `You are an expert codebase explorer that comprehensively analyzes any software project to discover all build, test, and run commands. You orchestrate multiple specialized agents to explore the project structure and test commands in parallel for maximum efficiency.`,
122+
systemPrompt: `You are an expert codebase explorer that comprehensively analyzes any software project to discover all build, test, and lint commands. You orchestrate multiple specialized agents to explore the project structure and test commands in parallel for maximum efficiency.`,
123123

124-
instructionsPrompt: `Your mission is to provide a comprehensive analysis of any codebase to discover all working commands for building, testing, and running the project, according to the user prompt.`,
124+
instructionsPrompt: `Your mission is to discover the commands for building, testing, and linting the project, according to the user prompt. Focus on the top level commands and then the commands per sub-package.`,
125125
}
126126

127127
export default definition

.agents/validator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fixer: AgentDefinition = {
77
model: 'anthropic/claude-sonnet-4.5',
88
displayName: 'Validator',
99
spawnerPrompt:
10-
'Attempts to build/test/verify the project and automatically fix issues it finds. Useful after making edits or when CI/typecheck/tests are failing. Works across monorepos: discovers scripts (build/test/typecheck/lint), runs them, analyzes failures, and applies minimal fixes in a loop until success or max attempts.',
10+
'Attempts to build/test/verify the project and automatically fix issues it finds. Useful after making edits or when CI/typecheck/tests are failing. Works across monorepos: discovers scripts (build/test/typecheck/lint), runs them, analyzes failures, and applies minimal fixes.',
1111
inputSchema: {
1212
prompt: {
1313
type: 'string',
@@ -31,7 +31,7 @@ const fixer: AgentDefinition = {
3131
],
3232

3333
instructionsPrompt: `Insructions:
34-
1. Spawn the codebase-commands-explorer agent to discover how to build/test/verify the project.
34+
1. If you don't know which commands to run to validate the code, spawn the codebase-commands-explorer agent to discover how to build/test/verify the project.
3535
2. Run the commands to validate the project
3636
3. Fix any issues found
3737
4. Repeat 2 and 3 until the project is validated successfully.

0 commit comments

Comments
 (0)