-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.toml
More file actions
170 lines (138 loc) · 5.94 KB
/
config.toml
File metadata and controls
170 lines (138 loc) · 5.94 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
model_reasoning_effort = "high"
model_verbosity = "low"
approval_policy = "on-request"
sandbox_mode = "workspace-write"
project_doc_fallback_filenames = ["CLAUDE.md"]
model = "gpt-5.4"
model_context_window = 1000000 # Use 1M Context Window
model_auto_compact_token_limit = 850000 # Use 800K Auto Compact Token Limit
personality = "pragmatic"
suppress_unstable_features_warning = true
compact_prompt = """You are performing CONTEXT CHECKPOINT COMPACTION. Create a handoff summary another LLM can continue without losing intent.
Prioritize:
- The user's explicit requests and current intent
- Progress made, key decisions, and rationale
- Files/code touched (paths, key snippets, important signatures)
- Errors encountered and how they were resolved
- Remaining work and the immediate next action
Write with a crisp, professional style:
- concise, structured, high-signal
- grounded in observed conversation details (no speculation)
- preserve constraints, trade-offs, and open questions
Return exactly this structure:
<analysis>
Brief chronological analysis of the conversation, including major pivots and user feedback.
</analysis>
<summary>
1. Primary Request and Intent
2. Key Technical Concepts
3. Files and Code Sections
4. Errors and fixes
5. Problem Solving
6. All user messages (non-tool)
7. Pending Tasks
8. Current Work
9. Optional Next Step (must align with the latest explicit user request; quote the relevant latest line when applicable)
</summary>"""
approvals_reviewer = "guardian_subagent"
[features]
undo = true
enable_request_compression = true
apply_patch_freeform = true
multi_agent = true
collaboration_modes = true
personality = true
memories = true
child_agents_md = true
# js_repl = true
# runtime_metrics = true
# plugins = true
responses_websockets = true
responses_websockets_v2 = true
prevent_idle_sleep = true
artifact = true
# Question Tool On Default Mode Too
# default_mode_request_user_input = true
guardian_approval = true
tool_suggest = true
[agents]
max_depth = 1
max_threads = 32
# max_depth = 2
# max_threads = 64
job_max_runtime_seconds = 96000 # Default: 1800 seconds
[agents.plan]
description = "Architecture and implementation planner. USE FOR: execution plans, dependency sequencing, risk and rollback strategy. NOT FOR: direct code edits or fast lookups. Produces actionable, file-scoped steps and verification guidance."
config_file = "agents/plan.toml"
[agents.librarian]
description = "External research specialist. USE FOR: library patterns, upstream APIs, and version-specific behavior analysis. NOT FOR: local code edits. Provides sourced references and applicability notes for implementation."
config_file = "agents/librarian.toml"
# [agents.code-fast]
# description = "Rapid code authoring agent. USE FOR: scaffolding, boilerplate, and quick feature implementation. NOT FOR: debugging or analysis (use fast) or hardening passes."
# config_file = "agents/code-fast.toml"
[agents.code-small]
description = "Small-scope code authoring agent. USE FOR: tightly scoped implementation tasks, concise targeted fixes, and low-blast-radius edits. NOT FOR: debugging or analysis-only tasks (use fast or general), scaffolding-heavy speed runs (use code-fast), or broader production changes (use code)."
config_file = "agents/code-small.toml"
[agents.code]
description = "Default code authoring agent. USE FOR: writing new features, implementing changes, production-oriented code. NOT FOR: debugging analysis (use general) or adversarial review."
config_file = "agents/code.toml"
[agents.code-deep]
description = "High-fidelity code authoring agent. USE FOR: complex critical-path implementations requiring exhaustive correctness. NOT FOR: reasoning-only analysis (use deep) or quick prototypes."
config_file = "agents/code-deep.toml"
# [agents.fast]
# description = "Fast general-purpose agent for quick analysis and fixes. USE FOR: rapid debugging, triage, small mixed-concern patches. NOT FOR: dedicated feature implementation (use code-fast) or deep reasoning."
# config_file = "agents/fast.toml"
[agents.deep]
description = "Deep reasoning agent for complex analysis. USE FOR: multi-file debugging, intricate refactoring logic, high-risk technical decisions. NOT FOR: straightforward code authoring (use code-deep) or trivial edits."
config_file = "agents/deep.toml"
[agents.reviewer]
description = "Code review specialist. USE FOR: security, correctness, regression, and testing risk review. NOT FOR: implementation unless asked. Returns severity-ranked findings with concrete remediation guidance."
config_file = "agents/reviewer.toml"
[agents.advocate]
description = "Adversarial reasoning specialist. USE FOR: pre-mortems, assumption audits, and stress-testing plans. NOT FOR: low-risk routine edits. Challenges proposals and provides concrete mitigations with trade-offs."
config_file = "agents/advocate.toml"
[analytics]
enabled = false
[sandbox_workspace_write]
network_access = true
writable_roots = ["/tmp"]
[tui]
# Send desktop notifications when approvals are required or a turn completes.
# Defaults to false.
notifications = true
animations = false
status_line = [
"model-with-reasoning",
"git-branch",
"context-remaining",
"context-used",
"five-hour-limit",
"weekly-limit",
"used-tokens"
]
# [Start] MCP Servers
[mcp_servers.context7]
url = "https://mcp.context7.com/mcp"
[mcp_servers.context7.http_headers]
CONTEXT7_API_KEY = "ctx7sk-7d9ad015-a1c2-43a0-b671-d1870dc68561"
[mcp_servers.sequentialthinking-tools]
command = "npx"
args = ["-y", "mcp-sequentialthinking-tools@latest"]
startup_timeout_sec = 20
[mcp_servers.actor-critic-thinking]
command = "npx"
args = ["-y", "mcp-server-actor-critic-thinking@latest"]
startup_timeout_sec = 20
[mcp_servers.shannon-thinking]
command = "npx"
args = ["-y", "server-shannon-thinking@latest"]
startup_timeout_sec = 20
[mcp_servers.time]
command = "uvx"
args = ["mcp-server-time@latest"]
startup_timeout_sec = 20
[mcp_servers.repomix]
command = "npx"
args = ["-y", "repomix@latest", "--mcp"]
startup_timeout_sec = 20
# [End] MCP Servers