Repository navigation
Expand file tree
/
Copy pathforeman.example.toml
More file actions
87 lines (70 loc) · 2.54 KB
/
Copy pathforeman.example.toml
File metadata and controls
87 lines (70 loc) · 2.54 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
# Foreman Configuration
# Copy this file to foreman.toml and configure your settings.
[foreman]
name = "hive-fleet-01"
log_level = "info"
max_concurrent_agents = 10
# ─── Task Sources (all optional) ─────────────────────────────────
# Linear integration — watches for tickets with matching labels/status
[linear]
api_key = "${LINEAR_API_KEY}"
team = "TRO"
watch_labels = ["agent-ready"]
watch_status = "Todo"
# GitHub Issues integration — watches for issues with matching labels
[github]
token = "${GITHUB_TOKEN}"
owner = "your-org"
repo = "your-repo"
watch_labels = ["agent-ready"]
watch_state = "open"
# Slack integration — watches channels for !agent commands
[slack]
bot_token = "${SLACK_BOT_TOKEN}"
watch_channels = ["#eng-agents"]
trigger_prefix = "!agent"
post_progress = true
# ─── Model Definitions ────────────────────────────────────────────
[models.architect]
provider = "anthropic"
model = "claude-opus-4-6"
role = "planning, architecture, complex reasoning"
max_tokens = 8192
temperature = 0.3
[models.coder]
provider = "anthropic"
model = "claude-sonnet-4-5-20250929"
role = "code generation, implementation"
max_tokens = 4096
temperature = 0.2
[models.reviewer]
provider = "local"
endpoint = "http://localhost:11434"
model = "qwen3:32b"
role = "code review, linting, quick checks"
max_tokens = 2048
[models.fast]
provider = "anthropic"
model = "claude-haiku-4-5-20251001"
role = "classification, routing, simple transforms"
max_tokens = 1024
# ─── Routing ──────────────────────────────────────────────────────
[routing]
strategy = "capability_match"
fallback_chain = ["coder", "architect", "fast"]
# ─── Sandbox ──────────────────────────────────────────────────────
[sandbox]
type = "docker"
warm_pool = 3
timeout_minutes = 30
cleanup = "on_success"
[sandbox.cloud]
provider = "fly"
app = "foreman-sandboxes"
region = "iad"
# ─── Policy ───────────────────────────────────────────────────────
[policy]
protected_paths = ["package.json", ".env*", ".github/*"]
blocked_commands = ["rm -rf /", "curl | sh"]
max_diff_lines = 500
require_approval_above = 200