From 59e2f5c93da5d9ac0d702dc3a001fdf54ab8a969 Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 22 Nov 2026 10:21:35 -0600 Subject: [PATCH 1/5] Remove the minimum_release_age override Change-Id: I895fe6f77fa8b7106fa2e97e8b9d973cf080e6e7 --- mise.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/mise.toml b/mise.toml index bc35b6a..a5f6864 100644 --- a/mise.toml +++ b/mise.toml @@ -1,6 +1,3 @@ -[settings] -minimum_release_age = "0" - [tools] jactionlint = "latest" # constable embeds the errcheck, sumtype, testifylint, and nilaway analyzers, From 1769991dc3f748d4d5304474c785bd9446df8192 Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 22 Nov 2026 10:22:31 -0600 Subject: [PATCH 2/5] Update dev tools Change-Id: I93b37680e42940995d14d52d5774c77e0c0b808c --- mise.lock | 76 +++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/mise.lock b/mise.lock index 4d15eff..93ed608 100644 --- a/mise.lock +++ b/mise.lock @@ -50,44 +50,44 @@ url_api = "https://api.github.com/repos/betterleaks/betterleaks/releases/assets/ provenance = "cosign" [[tools."github:nnutter/constable"]] -version = "0.9.2" +version = "0.9.5" backend = "github:nnutter/constable" specifiers = ["latest"] [tools."github:nnutter/constable"."platforms.linux-arm64"] -checksum = "sha256:b0b45ff60f78f1c9d70958a99c572dad2bc7896d88c8110d43b0ed3307da289d" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_linux_arm64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360939" +checksum = "sha256:41d7f41c35f2f2dd45666c8d7cda986ddccb9aa84ed36b836a4975df66755000" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_linux_arm64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353518" provenance = "github-attestations" [tools."github:nnutter/constable"."platforms.linux-arm64-musl"] -checksum = "sha256:b0b45ff60f78f1c9d70958a99c572dad2bc7896d88c8110d43b0ed3307da289d" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_linux_arm64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360939" +checksum = "sha256:41d7f41c35f2f2dd45666c8d7cda986ddccb9aa84ed36b836a4975df66755000" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_linux_arm64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353518" provenance = "github-attestations" [tools."github:nnutter/constable"."platforms.linux-x64"] -checksum = "sha256:f55f9643c099f8f08eca42a494242ff137896e43d795c387d0f159bae0989339" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_linux_amd64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360942" +checksum = "sha256:c67522bfa29e0dd5a791c340699719deb2515153b2e4f7b93f7c8fd469cb81a1" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_linux_amd64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353521" provenance = "github-attestations" [tools."github:nnutter/constable"."platforms.linux-x64-musl"] -checksum = "sha256:f55f9643c099f8f08eca42a494242ff137896e43d795c387d0f159bae0989339" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_linux_amd64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360942" +checksum = "sha256:c67522bfa29e0dd5a791c340699719deb2515153b2e4f7b93f7c8fd469cb81a1" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_linux_amd64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353521" provenance = "github-attestations" [tools."github:nnutter/constable"."platforms.macos-arm64"] -checksum = "sha256:2157234e654d9504d0da577b1564a045e38de01d55919d691a6e74e520d03db7" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_darwin_arm64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360938" +checksum = "sha256:0ad670bc74fb365677a39470eb1bacd8587849d9704a5796a72375db95c90dca" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_darwin_arm64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353516" provenance = "github-attestations" [tools."github:nnutter/constable"."platforms.macos-x64"] -checksum = "sha256:6a8adaf71be707139ce975fbb7bb88e8bb72e94d12bda2a5d18411463705b332" -url = "https://github.com/nnutter/constable/releases/download/v0.9.2/constable_v0.9.2_darwin_amd64.tar.gz" -url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/760360947" +checksum = "sha256:858a1e95c6ad782425a797bb511a1322ca60ddeee266e492270eedc2afe351a4" +url = "https://github.com/nnutter/constable/releases/download/v0.9.5/constable_v0.9.5_darwin_amd64.tar.gz" +url_api = "https://api.github.com/repos/nnutter/constable/releases/assets/778353512" provenance = "github-attestations" [[tools."github:nnutter/mdlint"]] @@ -374,45 +374,45 @@ specifiers = ["latest"] uv = { path = ".mise/locks/pipx-agentskills-tools/0.9.0", digest = "sha256:49b45405d7acd3fe5570bf3f0a9bfcb9177a19b4bf504348f1be8a4c4abae6fc" } [[tools.pkl]] -version = "0.33.0" +version = "0.33.1" backend = "aqua:apple/pkl" specifiers = ["latest"] [tools.pkl."platforms.linux-arm64"] -checksum = "sha256:edcea361402ecab0f3a93f86b1a896c41d00a9241f4962f70278254b08fbd26d" +checksum = "sha256:4a752096dab13d7432e1f0a4f1219833df95e1e36ce0b8d424b0edb2cd5436f9" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-linux-aarch64" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714756970" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-linux-aarch64" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390162" [tools.pkl."platforms.linux-arm64-musl"] -checksum = "sha256:edcea361402ecab0f3a93f86b1a896c41d00a9241f4962f70278254b08fbd26d" +checksum = "sha256:4a752096dab13d7432e1f0a4f1219833df95e1e36ce0b8d424b0edb2cd5436f9" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-linux-aarch64" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714756970" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-linux-aarch64" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390162" [tools.pkl."platforms.linux-x64"] -checksum = "sha256:b9a6ddea6b382b7d4db4cf78e77aa3858e0c8a7e02939d2ba298574b5d1fcc69" +checksum = "sha256:acbca9bb4f31139d09e295d03c9fb25f77edf5a74af4e772b56b32dc6dc17c44" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-linux-amd64" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714756975" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-linux-amd64" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390166" [tools.pkl."platforms.linux-x64-musl"] -checksum = "sha256:b9a6ddea6b382b7d4db4cf78e77aa3858e0c8a7e02939d2ba298574b5d1fcc69" +checksum = "sha256:acbca9bb4f31139d09e295d03c9fb25f77edf5a74af4e772b56b32dc6dc17c44" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-linux-amd64" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714756975" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-linux-amd64" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390166" [tools.pkl."platforms.macos-arm64"] -checksum = "sha256:e39c157df0f00a35d34b46270a768784edcaf509aafbf743849b27b4c83ef83b" +checksum = "sha256:6f93ddf6524a5771bd4b6ebde11010c6dfee8e3a8906ffebaa8f52f8a0ba16b7" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-macos-aarch64" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714757040" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-macos-aarch64" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390310" [tools.pkl."platforms.windows-x64"] -checksum = "sha256:9875af0d17d3535ed0e3903f3ae71fc8007268949328f73c2d12942fca11840c" +checksum = "sha256:b1da686befc4ce4d92fe81bd2892e7457a505328313380010c4791c7f68d7432" checksum_source = "mise-versions" -url = "https://github.com/apple/pkl/releases/download/0.33.0/pkl-windows-amd64.exe" -url_api = "https://api.github.com/repos/apple/pkl/releases/assets/714757051" +url = "https://github.com/apple/pkl/releases/download/0.33.1/pkl-windows-amd64.exe" +url_api = "https://api.github.com/repos/apple/pkl/releases/assets/764390372" [[tools.python]] version = "3.14.10" From 4fccf454223f41eee21ede835aec3ac8f59e7d26 Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 22 Nov 2026 00:20:17 -0600 Subject: [PATCH 3/5] Name the release archive's executable timber Packslip resolves a command by its file name inside the archive. The release archives currently name the executable after the archive, so a packslip install cannot find the command it should put on PATH. Keep the version in the archive's outer file name, where packslip already reads the platform from, and use a stable executable name inside. Change-Id: I72506de8aacf79dbfdb42186d7518298a06a01f0 --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1d83349..a0cae66 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,8 +41,8 @@ jobs: GOARCH: ${{ matrix.platform.arch }} run: | name="${BINARY}_${TAG}_${GOOS}_${GOARCH}" - CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=${TAG}" -o "$name" . - tar -czf "${name}.tar.gz" "$name" + CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=${TAG}" -o "$BINARY" . + tar -czf "${name}.tar.gz" "$BINARY" - name: Upload the archive uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: From cdec73b40f1f421f264b051e4973aac3b615cbaf Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 22 Nov 2026 00:21:18 -0600 Subject: [PATCH 4/5] Sign release archives with packslip Packslip gives installers a signed manifest of each release's artifacts and commands, so users can install Timber without a per-vendor recipe. Sign the build archives in a read-only job, then attach the bundle in the publish job before it publishes, keeping the app token away from the signing action. Name the build artifacts so the publish job can select them apart from the new bundle. Change-Id: I53e64ad532c94ee28653ade930a5bf656565bd4a --- .github/workflows/release.yaml | 41 ++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a0cae66..bf5cabf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,11 +46,40 @@ jobs: - name: Upload the archive uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: - name: ${{ matrix.platform.os }}-${{ matrix.platform.arch }} + name: archive-${{ matrix.platform.os }}-${{ matrix.platform.arch }} path: ${{ env.BINARY }}_${{ env.TAG }}_${{ matrix.platform.os }}_${{ matrix.platform.arch }}.tar.gz if-no-files-found: error - publish: + packslip: needs: build + permissions: + contents: read + id-token: write + attestations: write + runs-on: ubuntu-26.04 + timeout-minutes: 10 + steps: + - name: Download the archives + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + pattern: archive-* + path: dist + merge-multiple: true + - name: Sign the release manifest + id: packslip + uses: jdx/packslip@e0340e0c1d10c90a434de2b90f3a1ba345923564 # v1.11.4 + with: + artifacts: dist/*.tar.gz + bin: timber + attest: true + upload: false + - name: Upload the bundle + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: packslip + path: ${{ steps.packslip.outputs.bundle }} + if-no-files-found: error + publish: + needs: [build, packslip] permissions: contents: write runs-on: ubuntu-26.04 @@ -70,10 +99,16 @@ jobs: - name: Download the archives uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: + pattern: archive-* path: dist merge-multiple: true - name: Make the checksums run: cd dist && sha256sum -- *.tar.gz > checksums.txt + - name: Download the packslip + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + name: packslip + path: packslip - name: Read the release state id: state run: | @@ -88,6 +123,8 @@ jobs: run: gh release create "$TAG" --verify-tag --draft --generate-notes --title "$TAG" - name: Upload the assets run: gh release upload "$TAG" dist/* --clobber + - name: Upload the packslip + run: gh release upload "$TAG" packslip/packslip.sigstore.json --clobber # GITHUB_TOKEN starts no workflow run, so the app token publishes the # release and starts the tap update. - name: Publish the release From 4ad042b293e88627fe47c23a43276c4a635f8f98 Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 22 Nov 2026 00:35:08 -0600 Subject: [PATCH 5/5] Document installing Timber with packslip Packslip and mise's packslip backend now install Timber from the signed release. Document both alongside the Go install, and note that the first signed release establishes the signer until its fingerprint is recorded. Change-Id: I51dab4f42c9ffec3e517e955c37968ca71691bde --- README.md | 15 +++++++++++++++ skills/timber/SKILL.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68fd98c..ad37417 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,21 @@ Install using Go, go install github.com/nnutter/timber@latest ``` +Install the latest signed release with packslip, + +```bash +packslip install github.com/nnutter/timber +``` + +or let mise manage it: + +```bash +mise use -g packslip:github.com/nnutter/timber +``` + +The first signed release establishes the packslip signer. +`packslip pin` prints the fingerprint from a downloaded bundle; pass it with `--pin` to fix the signer before the first install. + `timber` requires Git on `PATH`. Install the Pi review extension and `timber-review` skill: diff --git a/skills/timber/SKILL.md b/skills/timber/SKILL.md index afd7272..cac647d 100644 --- a/skills/timber/SKILL.md +++ b/skills/timber/SKILL.md @@ -21,7 +21,7 @@ For detailed checklist editing, use the separate `timber-todo` skill. ## Prerequisites and configuration - `timber` and Git must be on `PATH`. - Install Timber with `go install github.com/nnutter/timber@latest` (requires a compatible Go toolchain; see the repository's `go.mod`). + Install Timber with `go install github.com/nnutter/timber@latest` (requires a compatible Go toolchain; see the repository's `go.mod`), or from a signed release with `packslip install github.com/nnutter/timber` (mise: `mise use -g packslip:github.com/nnutter/timber`). Verify with `timber --help`. - Remote registration and worktree creation need access to the origin; creation fetches origin even when reusing an existing local branch. Use the user's existing Git authentication.