Skip to content

fix(brew): install chainctl as a cask from the Chainguard tap - #42

Merged
jmeridth merged 1 commit into
mainfrom
fix/chainctl-cask
Nov 30, 2026
Merged

jmeridth merged 1 commit into
mainfrom
fix/chainctl-cask

Conversation

@jmeridth

Copy link
Copy Markdown
Owner

What/Why

The Chainguard tap moved chainctl from Formula/ to Casks/, so the brew entry in Brewfile.work fails with "No available formula". This switches it to a cask entry and keeps trusted: true.

Proof it works

After brew uninstall --formula chainctl, setup installs chainctl 0.2.417 from the cask at /opt/homebrew/bin/chainctl.

Risk

Low. One line, work machines only. Machines with the old formula need a one-time brew uninstall --formula chainctl before the cask installs cleanly.

AI role

Claude Opus 5.5 found the cause in the tap README and made the edit. A human verified the install locally.

## What/Why

chainguard-dev/homebrew-tap moved chainctl from Formula/ to Casks/, so the
`brew` entry fails with "No available formula". Switch Brewfile.work to a
`cask` entry and keep `trusted: true`.

## Proof it works

- After `brew uninstall --formula chainctl`, setup installs chainctl from the cask.
- `which chainctl && chainctl version` shows /opt/homebrew/bin/chainctl, 0.2.417.
- `ruby -c Brewfile.work` reports Syntax OK.

## Risk

Low. One Brewfile line, work machines only. Any machine with the old formula
must run `brew uninstall --formula chainctl` once first, or the cask conflicts
with the existing binary.

## AI role

Claude Opus 5.5 found the cause in the tap README and made the edit. A human
checked the install locally.

## Review focus

Whether `trusted: true` still suppresses the tap trust prompt on a `cask` line.

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth self-assigned this Nov 30, 2026
@github-actions github-actions Bot added the fix Bug fix label Nov 30, 2026
@jmeridth
jmeridth marked this pull request as ready for review November 30, 2026 22:05
@jmeridth
jmeridth merged commit 5a68f3d into main Nov 30, 2026
5 checks passed
@jmeridth
jmeridth deleted the fix/chainctl-cask branch November 30, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant