-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
120 lines (104 loc) · 3.44 KB
/
Copy pathconfig.example.toml
File metadata and controls
120 lines (104 loc) · 3.44 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
schema_version = 2
[instance]
key = "owner"
# Runtime paths default to `<config_dir>/state`. Omit them when using an
# instance created by `braid setup`; set them explicitly only when you need a
# custom layout.
[runtime]
auto_migrate = false
[github]
app_id = 123456
repository = "owner/repository"
handle = "braid"
api_version = "2022-11-28"
private_key_file = "/absolute/path/to/instance/github-app.pem"
# Either set webhook_secret_environment or webhook_secret_file. The file holds
# only the webhook_secret; provider API keys live in the user secrets dir.
webhook_secret_file = "/absolute/path/to/instance/secrets.toml"
projects_v2_enabled = false
[scheduler]
quiet_seconds = 30
event_threshold = 8
reconciliation_seconds = 60
[[runtimes]]
adapter_type = "codex"
version = "codex-cli 0.147.0-alpha.6.5"
executable = "/Applications/ChatGPT.app/Contents/Resources/codex"
home = "/absolute/path/to/instance/provider/codex"
stable_schema_sha256 = "7d79fe309dd7520843459070f3884ecf0e39cee2620c1c49aad6efb4eca76ecb"
experimental_schema_sha256 = "a14d4878fe7b8cdd31059dbca11d7167d8cfd06effa2f7991b5364439063a5c8"
# Alternative: Pi runtime with DeepSeek
# [[runtimes]]
# adapter_type = "pi"
# version = "0.84.3"
# executable = "/usr/local/bin/pi"
# home = "/absolute/path/to/instance/provider/pi"
[[llm_providers]]
id = "openai"
protocol = "openai"
api_key_file = "/absolute/path/to/user/secrets/openai.toml"
[[llm_providers.models]]
model_id = "gpt-5.6-sol"
input_cost = 0.0
output_cost = 0.0
cache_input_cost = 0.0
[[llm_providers]]
id = "deepseek"
protocol = "openai-compatible"
api_key_file = "/absolute/path/to/user/secrets/deepseek.toml"
[[llm_providers.models]]
model_id = "deepseek-chat"
input_cost = 0.0
output_cost = 0.0
cache_input_cost = 0.0
[tools]
git = "/usr/bin/git"
gh = "/opt/homebrew/bin/gh"
wrangler = "/opt/homebrew/bin/wrangler"
[server]
ingress = "127.0.0.1:8080"
health = "127.0.0.1:8081"
[telemetry]
endpoint = "http://127.0.0.1:4318"
sample_ratio = 0.10
incident_mode = false
export_timeout_seconds = 5
service_name = "braid"
log_format = "text"
[[profiles]]
id = "issue-codex"
display_name = "Codex design partner"
tags = ["issue"]
adapter_type = "codex"
adapter_version = "codex-cli 0.147.0-alpha.6.5"
provider = "openai"
model = "gpt-5.6-sol"
reasoning = "high"
user_instructions = "Keep design discussion concise and maintain the Issue description as working memory."
# Optional. The source Git checkout of the configured repository, shared by
# all profiles as the worktree provisioning source (one repository = one
# source checkout). Defaults to <config_dir>/source. Agent sessions never edit
# it directly; they run in provisioned generation-scoped worktrees.
# workspace = "/absolute/path/to/repository-source-checkout"
github_actor_node_id = "MDQ6VXNlcjEyMzQ1"
status_surfaces = ["issue"]
github_context_soft_ratio = 0.80
github_context_hard_bytes = 524288
[[profiles]]
id = "pr-codex"
display_name = "Codex implementation agent"
tags = ["pr", "implementation"]
adapter_type = "codex"
adapter_version = "codex-cli 0.147.0-alpha.6.5"
provider = "openai"
model = "gpt-5.6-sol"
reasoning = "high"
user_instructions = "Implement from linked Issue working memory and keep GitHub comments brief."
# workspace: see the issue profile above; omit it to share the default
# instance source checkout.
github_actor_node_id = "MDQ6VXNlcjEyMzQ1"
status_surfaces = ["pr"]
github_context_soft_ratio = 0.80
github_context_hard_bytes = 524288
[profile_selection]
default_pr_profile = "pr-codex"