From 939126277338fa32c718248cc0327ca8a38fdd8e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 18:38:26 +0000 Subject: [PATCH 1/3] Initial plan From 58d355b6984047c168e532e835054080c6a72ad6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 19:05:30 +0000 Subject: [PATCH 2/3] add snapshot: true to copilot-setup-steps; sync template Agent-Logs-Url: https://github.com/api2r/pkgskills/sessions/ebf6bbda-0e3d-4267-bd8a-97bf89c9848f Co-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com> --- .github/workflows/copilot-setup-steps.yml | 1 + NEWS.md | 1 + inst/templates/workflows/copilot-setup-steps.yml | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index d5dffcf..ecd20df 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -15,6 +15,7 @@ jobs: # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. copilot-setup-steps: runs-on: ubuntu-latest + snapshot: true permissions: contents: read diff --git a/NEWS.md b/NEWS.md index 30d50a2..7496b0f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # pkgskills (development version) +* `copilot-setup-steps.yml` template now uses `snapshot: true` for faster Copilot startup, and matches the installed workflow (@jonthegeek, #67). * `AGENTS.md` and `tdd-workflow` skill instructions now explicitly explain how to determine the GitHub issue number and warn agents never to guess or invent one (@copilot, #61). * `use_agent()` template is reconciled with this package's `AGENTS.md` file (#59). * `tdd-workflow` skill now documents `stbl::expect_pkg_error_snapshot()` with an explicit `package` argument instead of a helper-defined version (#51). diff --git a/inst/templates/workflows/copilot-setup-steps.yml b/inst/templates/workflows/copilot-setup-steps.yml index 990ca25..ecd20df 100644 --- a/inst/templates/workflows/copilot-setup-steps.yml +++ b/inst/templates/workflows/copilot-setup-steps.yml @@ -15,8 +15,7 @@ jobs: # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. copilot-setup-steps: runs-on: ubuntu-latest - container: - image: ghcr.io/api2r/pkgskills-ci:release + snapshot: true permissions: contents: read @@ -26,8 +25,8 @@ jobs: - uses: ./.github/workflows/install with: - use-container: "true" token: ${{ secrets.GITHUB_TOKEN }} + cache-version: copilot needs: build, check, website # Extra packages include things referenced in skills, to make sure the # agent has them available. @@ -47,6 +46,7 @@ jobs: any::usethis any::withr wranglezone/stbl + Gilead-BioStats/qcthat local::. - name: Install air From 0d17fa07e226dfd0bf235a7c8e8be40dcfa0f1b5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 19:11:02 +0000 Subject: [PATCH 3/3] remove qcthat from template; drop non-user-facing NEWS bullet Agent-Logs-Url: https://github.com/api2r/pkgskills/sessions/39147a3d-2091-4509-a0f9-68829e3007e4 Co-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com> --- NEWS.md | 1 - inst/templates/workflows/copilot-setup-steps.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 7496b0f..30d50a2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,5 @@ # pkgskills (development version) -* `copilot-setup-steps.yml` template now uses `snapshot: true` for faster Copilot startup, and matches the installed workflow (@jonthegeek, #67). * `AGENTS.md` and `tdd-workflow` skill instructions now explicitly explain how to determine the GitHub issue number and warn agents never to guess or invent one (@copilot, #61). * `use_agent()` template is reconciled with this package's `AGENTS.md` file (#59). * `tdd-workflow` skill now documents `stbl::expect_pkg_error_snapshot()` with an explicit `package` argument instead of a helper-defined version (#51). diff --git a/inst/templates/workflows/copilot-setup-steps.yml b/inst/templates/workflows/copilot-setup-steps.yml index ecd20df..ff5a278 100644 --- a/inst/templates/workflows/copilot-setup-steps.yml +++ b/inst/templates/workflows/copilot-setup-steps.yml @@ -46,7 +46,6 @@ jobs: any::usethis any::withr wranglezone/stbl - Gilead-BioStats/qcthat local::. - name: Install air