Skip to content

Commit fdcd3e1

Browse files
2 parents db4e997 + f811bdf commit fdcd3e1

5 files changed

Lines changed: 22 additions & 4 deletions

File tree

Brewfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ brew 'less'
3333
brew 'moreutils'
3434
brew 'procs'
3535
brew 'pstree'
36+
brew 'ripgrep'
3637
brew 'the_silver_searcher'
3738
brew 'tree'
3839
brew 'watch'

bin/bk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
# Wrapper that runs bk from a mise-managed go:buildkite/cli build.
3+
#
4+
# Why: bk v3.32.2 (latest brew release) has a keyring availability check that
5+
# does a write test, which fails in sandboxed environments (e.g. Claude Code).
6+
# The fix landed on main (252ea51, 2026-03-19) but hasn't been released yet.
7+
# This wrapper runs the main build via mise until a fixed version ships in brew.
8+
#
9+
# Once bk >= 3.33 (or whatever includes the fix) is released via brew,
10+
# this wrapper can be removed and the mise go: tool uninstalled.
11+
#
12+
# See: gt-93a6 (upstream fix tracking)
13+
14+
exec mise exec go:github.com/buildkite/cli/v3 -- cli "$@"

claude/stacks/buildkite.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"sandbox": {
44
"network": {
55
"allowedHosts": [
6+
"api.buildkite.com",
67
"buildkite.com"
78
]
89
},

config/gh/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ prompt: enabled
88
pager:
99
# Aliases allow you to create nicknames for gh commands
1010
aliases:
11-
co: pr checkout
12-
default-branch: '!gh api repos/:owner/:repo | jq --raw-output .default_branch'
13-
sup: pr checks
14-
sw: pr checkout
11+
co: pr checkout
12+
default-branch: '!gh api repos/:owner/:repo | jq --raw-output .default_branch'
13+
sup: pr checks
14+
sw: pr checkout
1515
version: '1'

config/mise/conf.d/dotfiles.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[tools]
22
fnox = "latest"
3+
go = "1.26"
4+
"go:github.com/buildkite/cli/v3" = "main"
35
goss = "latest"
46
hk = "1.20.0"
57
pkl = "0.30.0"

0 commit comments

Comments
 (0)