Skip to content

Prescribe apt-publisher in the frostyard-go-repo release step - #151

Merged
bketelsen merged 1 commit into
mainfrom
skill-apt-publisher
Oct 2, 2026
Merged

bketelsen merged 1 commit into
mainfrom
skill-apt-publisher

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

This is the shared-skill follow-up to ADR-0055 and ADR-0056 (#149, accepted in #150). It was kept out of #150 because shared skills sync to every consumer repository.

frostyard-go-repo's step 3 told Go repos to copy a release.yml that publishes through Repogen's publish-to-r2 with the R2_* secrets. That no longer works: Repogen's deb path refuses to run, and ADR-0055 makes apt-publisher the only Debian writer. The step now describes updex's release workflow as merged in frostyard/updex#432:

  1. GoReleaser Pro;
  2. actions/attest-build-provenance, with id-token: write and attestations: write;
  3. an unguarded publish-deb repository_dispatch to frostyard/apt-publisher, using APT_PUBLISH_TOKEN, not continue-on-error.

It also says:

  • the repo holds no signing or R2 credentials and doesn't dispatch build itself (ADR-0056);
  • before the first release, register the repo in apt-publisher's producers.tsv and share the org APT_PUBLISH_TOKEN with it.

The nfpm pitfall now says "APT repository" instead of "apt/rpm repo". There is no rpm repository namespace (ADR-0009), and updex only ever published .deb files.

Once merged, the skills-sync workflow opens sync PRs in the consumer repositories.

Risk tier

Risk tier: high. .agents/skills/** falls under the supply-chain-provenance boundary in policies/agent-governance.json (review-required, minimum tier high). The rubric's "skills-only changes are tier 1" precedent is lower, so the higher tier applies. The change is prose only: no scripts, workflows or validators.

Docs housekeeping

  • Skill text cites ADR-0055 and ADR-0056, both Accepted on main
  • Conformance aliases (ADR-0029) untouched

Verification

  • npm run verify green: check-docs checked 77 docs and 700 links; 68 of 68 tests pass.

🤖 Generated with Claude Code

The skill's release.yml step still prescribed Repogen's publish-to-r2 with R2
secrets, which ADR-0055 replaced. It now describes updex's release flow:
GoReleaser Pro, build-provenance attestation, then an unguarded publish-deb
repository_dispatch to frostyard/apt-publisher with APT_PUBLISH_TOKEN, not
continue-on-error. apt-publisher publishes to /debian/ and dispatches build
to the image repos (ADR-0056), so the repo holds no signing or R2 credentials
and never dispatches build itself. Before the first release, register the
repo in apt-publisher's producers.tsv and share APT_PUBLISH_TOKEN with it.

The nfpm pitfall now says "APT repository" instead of "apt/rpm repo": no rpm
repository namespace exists (ADR-0009), and updex only ever published .deb
files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bketelsen
bketelsen added this pull request to the merge queue Oct 2, 2026
Merged via the queue into main with commit f033bf5 Oct 2, 2026
3 checks passed
@bketelsen
bketelsen deleted the skill-apt-publisher branch October 2, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant