forked from tailcallhq/forgecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforge.default.yaml
More file actions
93 lines (88 loc) · 3.14 KB
/
Copy pathforge.default.yaml
File metadata and controls
93 lines (88 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
variables:
operating_agent: Forge
top_p: 0.8
top_k: 30
updates:
frequency: "daily"
auto_update: false
# Define model anchors with simpler, purpose-based names
models:
# Role-based model definitions - easy to swap implementation
- &advanced_model anthropic/claude-sonnet-4
agents:
- id: forge
title: "Implementation focussed"
description: |-
Implementation-focused agent designed to execute tasks by making actual changes to your codebase,
running shell commands, creating/modifying files, and performing hands-on software development work.
Use this agent when you need to build features, fix bugs, refactor code, install dependencies, or
make any concrete changes to your project. It follows a structured approach with task analysis,
solution strategy, implementation, and quality assurance.
compact:
max_tokens: 2000
token_threshold: 160000
model: *advanced_model
retention_window: 6
message_threshold: 200
prompt: "{{> system-prompt-context-summarizer.hbs }}"
model: *advanced_model
system_prompt: |-
{{> system-prompt-engineer-act.hbs }}
user_prompt: |-
{{#if (eq event.name 'forge/user_task_update')}}
<feedback>{{event.value}}</feedback>
{{else}}
<task>{{event.value}}</task>
{{/if}}
tools:
- forge_tool_fs_read
- forge_tool_fs_create
- forge_tool_fs_remove
- forge_tool_fs_patch
- forge_tool_process_shell
- forge_tool_net_fetch
- forge_tool_fs_search
- forge_tool_fs_undo
- forge_tool_attempt_completion
subscribe:
- forge/user_task_init
- forge/user_task_update
max_walker_depth: 1
- id: muse
title: "Analysis and planning focussed"
description: |-
Analysis and planning-focused agent designed to examine your codebase, create detailed
implementation plans, and provide strategic recommendations without making any actual changes.
Use this agent when you need project analysis, architectural guidance, documentation creation,
risk assessment, or comprehensive planning before implementation. It creates detailed Markdown
plans in the plans/ directory with objectives, implementation steps, verification criteria,
and alternative approaches for future execution.
compact:
max_tokens: 2000
token_threshold: 120000
model: *advanced_model
retention_window: 6
message_threshold: 200
prompt: "{{> system-prompt-context-summarizer.hbs }}"
model: *advanced_model
system_prompt: |-
{{> system-prompt-engineer-plan.hbs }}
user_prompt: |-
{{#if (eq event.name 'muse/user_task_update')}}
<feedback>{{event.value}}</feedback>
{{else}}
<task>{{event.value}}</task>
{{/if}}
Only create new plans or update existing ones.
Do not modify, create, or delete any code files.
tools:
- forge_tool_fs_read
- forge_tool_net_fetch
- forge_tool_fs_search
- forge_tool_fs_create
- forge_tool_fs_patch
- forge_tool_attempt_completion
subscribe:
- muse/user_task_init
- muse/user_task_update
max_walker_depth: 1