Skip to content

Commit d3c9d05

Browse files
authored
Prescribe .svu.yml in the frostyard-go-repo skill; propose ADR-0053 (#145)
svu reads only `.svu.yml`, so a `.svu.yaml` file is silently ignored. Until now the core skill and ADR-0012 have both prescribed `.svu.yaml`. Changes: - `.agents/skills/frostyard-go-repo/SKILL.md`: now prescribes `.svu.yml`, notes that `.svu.yaml` is ignored, and links core ADR-0053 by absolute URL. - New `docs/adr/0053-name-the-svu-config-svu-yml.md`, **Status: Proposed**. It amends only ADR-0012's filename. Brian accepts it; this PR does not mark it Accepted. - ADR-0012: link-only maintenance under ADR-0033. The Decision text is untouched. Added a successor backlink labeled "Filename amendment proposed in: ADR-0053", and repaired the chairlift reference to `.svu.yml` (confirmed the file exists on chairlift main). - `docs/README.md`: indexes ADR-0053. Risk tier: high. This changes a shared skill that every repository receives. The skills sync will carry the change to consuming Go repos; no sync was triggered by hand. Repos still carrying `.svu.yaml` need renames by their owners. Verification: `git diff --check` is clean. `node scripts/check-docs.mjs` passes (72 docs, 601 links). `grep svu.yaml` finds only ADR-0012's historical Decision line plus the explanatory mentions. The reviewer subagent found no issues. Rulings I made: - The skill links ADR-0053 by absolute GitHub URL, because check-docs rejects skill links that escape `.agents/skills` and this matches existing skills. Cost if wrong: the link 404s until merge. - The ADR-0012 backlink says "proposed" rather than "Amended by", because ADR-0053 is not yet accepted. Cost: when ADR-0053 is accepted, the label needs a link-only update to "Amended by". Assumption: svu reads only `.svu.yml`, taken from the request and not independently re-verified. Deferred minors: none. Work-item: w-request-r-20260928-cc3bea Reviewed-by: github-copilot/gpt-6-sol
1 parent ed3ce51 commit d3c9d05

4 files changed

Lines changed: 43 additions & 2 deletions

File tree

‎.agents/skills/frostyard-go-repo/SKILL.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ Rules:
5555
`help`. `build` injects `-X main.version/commit/date/builtBy` ldflags.
5656
- `.golangci.yml` — v2 config, `default: standard` linters, gofmt
5757
formatter, errcheck excluded in `_test.go`.
58-
- `.svu.yaml` — svu config (`tag.prefix: "v"`, `v0: true`).
58+
- `.svu.yml` — svu config (`tag.prefix: "v"`, `v0: true`). svu reads
59+
only `.svu.yml`; a `.svu.yaml` is silently ignored
60+
([core ADR-0053](https://github.com/frostyard/core/blob/main/docs/adr/0053-name-the-svu-config-svu-yml.md)).
5961
- `.goreleaser.yaml` — `version: 2`, `pro: true`; CGO disabled,
6062
linux amd64+arm64, `-trimpath`, ldflags as above; before-hooks run
6163
`scripts/completions.sh` and `scripts/manpages.sh`; nfpm deb/rpm/apk

‎docs/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Docs are split by the question they answer:
6565
- [0050 — Replace the NBC/native-A/B retention date with a completion condition](adr/0050-replace-nbc-retention-date-with-a-completion-condition.md)
6666
- [0051 — ADRs state facts only, not the process that produced them](adr/0051-adrs-state-facts-not-process.md)
6767
- [0052 — Remove NBC/native-A/B artifact retention gates](adr/0052-remove-nbc-artifact-retention-gates.md)
68+
- [0053 — Name the svu config file `.svu.yml`](adr/0053-name-the-svu-config-svu-yml.md)
6869

6970
### Design
7071

‎docs/adr/0012-svu-versioning-and-rolling-dev-prerelease.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ constraints on snapshot versions (must begin with a digit).
5555
## References
5656

5757
- Shapes: [updex `.goreleaser.yaml` + `snapshot.yml`](https://github.com/frostyard/updex/blob/main/.goreleaser.yaml),
58-
[chairlift `.svu.yaml`](https://github.com/frostyard/chairlift/blob/main/.svu.yaml),
58+
[chairlift `.svu.yml`](https://github.com/frostyard/chairlift/blob/main/.svu.yml),
5959
[pilothouse `scripts/bump.sh`](https://github.com/frostyard/pilothouse/blob/main/scripts/bump.sh),
6060
the [frostyard-go-repo skill](../../.agents/skills/frostyard-go-repo/SKILL.md)
6161
- Builds on: [ADR-0011](0011-frostyard-prefixed-package-names.md)
6262
- Refined by: [ADR-0034](0034-cancel-stale-rolling-dev-releases.md)
63+
- Filename amendment proposed in: [ADR-0053](0053-name-the-svu-config-svu-yml.md) (config filename)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# 0053 — Name the svu config file `.svu.yml`
2+
3+
- **Status:** Proposed
4+
- **Date:** 2026-09-28
5+
6+
## Context
7+
8+
svu reads its configuration only from `.svu.yml`. A `.svu.yaml` file is
9+
silently ignored, so svu runs with defaults. [ADR-0012](0012-svu-versioning-and-rolling-dev-prerelease.md)
10+
names `.svu.yaml` in its Decision.
11+
12+
## Decision
13+
14+
The svu configuration file in every frostyard Go repository is `.svu.yml`.
15+
This amends only the filename in ADR-0012; the configuration contents
16+
(`tag.prefix: v`, `always: true`, `v0: true`) and the rest of ADR-0012 are
17+
unchanged.
18+
19+
## Consequences
20+
21+
- The frostyard-go-repo skill prescribes `.svu.yml`.
22+
- A repository carrying `.svu.yaml` must rename it; otherwise its versions
23+
are computed without the fleet configuration.
24+
- ADR-0012's Decision text still reads `.svu.yaml` because Accepted ADRs are
25+
immutable; readers follow its link to this ADR.
26+
27+
## Alternatives considered
28+
29+
- **Keep `.svu.yaml`:** svu ignores it.
30+
- **Leave ADR-0012 without a successor note:** its Decision would keep
31+
prescribing a file svu does not read.
32+
33+
## References
34+
35+
- Shapes: [frostyard-go-repo skill](../../.agents/skills/frostyard-go-repo/SKILL.md)
36+
- Builds on / Amends: [ADR-0012](0012-svu-versioning-and-rolling-dev-prerelease.md)
37+
- Builds on: [ADR-0033](0033-link-maintenance-in-immutable-adrs.md)

0 commit comments

Comments
 (0)