-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow.glean.yaml
More file actions
87 lines (77 loc) · 2.03 KB
/
Copy pathworkflow.glean.yaml
File metadata and controls
87 lines (77 loc) · 2.03 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
# Shared Stokowski runtime configuration. Pipelines live in workflows/*.yaml.
tracker:
kind: linear
project_slug: "94a76f2ac65f"
assignee: me
linear_states:
todo: "Todo"
active: "In Progress"
review: "Human Review"
gate_approved: "Gate Approved"
rework: "Rework"
terminal: [Done, Closed, Cancelled, Canceled, Duplicate]
polling:
interval_ms: 15000
workspace:
root: ~/.local/share/stokowski/workspaces/linear-cli
hooks:
after_create: |
git clone --depth 1 --recursive git@github.com:rubyists/linear-cli .
mise trust
mise install
mise exec -- mix deps.get
mise exec -- mix setup
before_run: |
# Best-effort refresh onto origin/main. A failed hook fails the whole agent
# run, so only a rebase that cannot be cleaned up is fatal.
if ! git fetch origin main; then
echo "before_run: git fetch origin main failed; skipping rebase" >&2
exit 0
fi
if ! changes="$(git status --porcelain)"; then
echo "before_run: git status failed; skipping rebase" >&2
exit 0
fi
if [ -n "$changes" ]; then
echo "before_run: preserving uncommitted workspace changes; skipping rebase"
exit 0
fi
if ! git rebase origin/main; then
echo "before_run: rebase onto origin/main failed; aborting it" >&2
if ! git rebase --abort; then
echo "before_run: git rebase --abort failed; the workspace needs manual repair" >&2
exit 1
fi
fi
exit 0
timeout_ms: 240000
claude:
permission_mode: auto
max_turns: 20
turn_timeout_ms: 3600000
stall_timeout_ms: 300000
agent:
max_concurrent_agents: 4
max_retry_backoff_ms: 300000
max_concurrent_agents_by_state:
investigate: 2
ground-check: 2
implement: 2
code-review: 1
glean: 1
improvement: 1
merge: 1
prompts:
global_prompt: .ai/prompts/global.md
server:
host: 127.0.0.1
port: 4200
routing:
default: feature
rules:
- label: bug
workflow: bug-fix
- label: spike
workflow: spike
- label: exploration
workflow: exploration