Skip to content

Commit e59852e

Browse files
committed
Simplify base2 to remove code-reviewer and validator. No more 'normal' mode either, only base2-fast (which is also base2) and base2-max
1 parent 43cac13 commit e59852e

File tree

11 files changed

+25
-362
lines changed

11 files changed

+25
-362
lines changed

.agents/base2/base2-alloy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createBase2 } from './base2'
22
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
33

4-
const base2 = createBase2('normal')
4+
const base2 = createBase2('fast')
55
const definition: SecretAgentDefinition = {
66
...base2,
77
id: 'base2-alloy',

.agents/base2/base2-gpt-5-planner.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

.agents/base2/base2-gpt-5-single-step.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createBase2 } from './base2'
22
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
33

44
const definition: SecretAgentDefinition = {
5-
...createBase2('normal'),
5+
...createBase2('fast'),
66
id: 'base2-gpt-5-single-step',
77
model: 'openai/gpt-5',
88
reasoningOptions: {

.agents/base2/base2-gpt-5-worker-simple.ts

Lines changed: 0 additions & 40 deletions
This file was deleted.

.agents/base2/base2-gpt-5-worker.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const definition: SecretAgentDefinition = {
1616
'researcher-web',
1717
'researcher-docs',
1818
'commander',
19-
'code-reviewer-gpt-5',
20-
'validator-gpt-5',
2119
'context-pruner',
2220
),
2321

@@ -34,12 +32,9 @@ The user asks you to implement a new feature. You respond in multiple steps:
3432
2. Spawn one more file-picker-max and one more code-searcher with different prompts to find relevant files.
3533
2a. Read all the relevant files using the read_files tool.
3634
3. Use the str_replace or write_file tool to make the changes.
37-
4. Spawn a code-reviewer-gpt-5 to review the changes. (Try not to spawn multiple code-reviewers if possible.)
38-
5. Fix any issues raised by the reviewer.
39-
6. Spawn a validator-gpt-5 to run validation commands (tests, typechecks, etc.) to ensure the changes are correct. (Try not to spawn multiple validators if possible.)
40-
7. Inform the parent agent you're done with your edits, but that it should double-check your work.`,
35+
4. Inform the parent agent you're done with your edits, but that it should double-check your work.`,
4136

42-
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and code-searcher to get codebase context, the code-reviewer-gpt-5 to review the changes, and the validator-gpt-5 to run validation commands (tests, typechecks, etc.) to ensure the changes are correct.`,
37+
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and code-searcher to get codebase context.`,
4338
}
4439

4540
export default definition

.agents/base2/base2-gpt-5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { buildArray } from '@codebuff/common/util/array'
22
import { createBase2 } from './base2'
33
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
44

5-
const base = createBase2('normal')
5+
const base = createBase2('fast')
66

77
const definition: SecretAgentDefinition = {
88
...base,

.agents/base2/base2-hybrid-max.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

.agents/base2/base2-max-simple.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

.agents/base2/base2-with-gpt-5-planner.ts

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)