Repository navigation
docs: record the release-archive and Homebrew decision as ADR 0319 - #1405
Merged
Merged
Conversation
The archive + Homebrew pipeline shipped under an explicit spine waiver, so no ADR recorded it. That left no durable answer to why GoReleaser runs alongside ko, why the existing public tap rather than a new one, why four platforms, why the archive is flat, or why the deprecated `brews:` block is retained — all decided with reasons that lived only in PR bodies. Reuse ADR number 0319. It was allocated to an unmerged proposal in the closed #1238 and is referenced nowhere on main; by this repository's own rule that merging is the approval event, it was never an ADR. The document says so explicitly and describes that narrower proposal under Rejected alternatives, so the reused number is explained rather than merely vacant. Status Accepted with a Context note stating plainly that the implementation shipped first, so the dates do not imply a process that did not happen. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
rdimitrov
force-pushed
the
docs/adr-0319-release-archives
branch
from
September 11, 2026 11:02
3e8f96d to
6a4bc0f
Compare
JAORMX
approved these changes
Sep 11, 2026
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The archive + Homebrew pipeline shipped under an explicit spine waiver, so no ADR recorded it. That left no durable answer to a set of questions a future reader will certainly ask:
stacklok/homebrew-taprather than a new per-project tap?brews:block retained instead of migrating tohomebrew_casks?vprefix?All decided with reasons that currently live only in PR bodies.
Reusing ADR number 0319
0319 was allocated to an unmerged proposal in the now-closed #1238 and is referenced nowhere on
main— not indocs/,AGENTS.md,.claude/, nor the ADR index.TestRealADRNumberUniquenessglobs on-diskdocs/adr/*.md, so it never saw that branch either. By this repository's own rule — merging is the approval event, proved by git ancestry — that file was never an ADR.The reuse is explained inside the document: the Context section names the earlier proposal, and Rejected alternatives describes its narrower decision (Darwin arm64 only, hand-written packaging script, versioned directory) and why it was set aside. That is better than leaving a silent gap plus an orphaned thread. A follow-up comment on #1238 points at this ADR so the closed thread reconciles.
Honesty about the process
Status: Accepted, with a Context note stating plainly that the implementation shipped first under an explicit waiver and that this records the decision after the fact. Without that line the dates would imply a process that did not happen. Writing it is a docs change recording an already-shipped decision, so Routine — no spine for the ADR itself.Development stage
Contract linkage
.goreleaser.yamland.github/workflows/release.ymlalready do onmain.Interface conformance
No gRPC/protobuf, exported Go API, tool schema, CLI, config, event, persistence or trust-boundary change. Two markdown files.
Issue relationship
Relates to #890
Type of change
Test plan
Baseline checks
task test) — exit code 0, 0 FAIL linestask docs) — 375 documents, 3450 references, 0 broken links/anchors, 0 ambiguous/orphans/unreachabletask api:checkruns undertask test/panel-review— not rungo test ./docs/lintpasses, covering bothTestRealADRNumberUniquenessandCheckCitations. Every cited path was confirmed to exist before citing.One thing caught by the gate, worth knowing: the first draft linked
../../user-docs/install.mdandtask docsfailed with 1 broken link —user-docs/is excluded from the matlatl corpus (.matlatlignore:59), and mine was the only relative link of its kind anywhere indocs/. The convention is the published URL or an absolute blob URL; it now useshttps://mecatl.dev/docs/install.Changes
docs/adr/0319-release-archives-and-homebrew-tap.mddocs/adr/README.mdUX & forge, beside 0028 (the other forge ADR)User-facing change
None.
Special notes for reviewers
The clause most worth reading is the
brews:one. It is the deprecated GoReleaser block, retained deliberately becausestacklok/homebrew-tapis aFormula/tap and casks must live inCasks/— migrating is an org-wide move across three publishing repositories. Without the ADR, that is the clause most likely to be "helpfully" modernised by someone who does not know the tap's layout.Consequences is deliberately unflattering. It records the ~302 MB install and that
__gopclntabis reducible by no flag; the two-destination partial-failure mode; tag immutability and fix-forward; ~2.0 GB of build cache per platform against a runner that starts with ~14 GB free; and that retainingbrews:makesgoreleaser checkexit 2. An ADR with only upsides is a sales pitch, per the template's own guidance.Rejected alternatives credits what was not rejected. The earlier proposal's offline contract test for
.github/workflows/release.ymlis called out as still worth porting — nothing currently tests that workflow, and it broke twice during thev0.0.30attempts.I used
## Rejected alternativesrather than inventing a heading: no ADR in the repo uses## Alternatives, while 0063 and 0095 already use this one.🤖 Generated with Claude Code