From 8de6a79287b3da019dd27f9511ff3f3fff276270 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Mon, 16 Nov 2026 21:26:15 +0000 Subject: [PATCH 1/6] [Copilot Dreaming] Prevent metadata-only archive accessibility checks Copilot could mistake a supported URL shape and release metadata for proof that the archive can be downloaded. The maintenance workflow explicitly rejects metadata as a substitute for fetching the archive; an actual successful fetch prevents that falsely green check. https://github.com/github/spec-kit/blob/d38bf46b7887aa7c385fdd92701ea2c0cb29b5a1/.github/workflows/add-community-extension.md#L223-L224 Assisted-by: GitHub Copilot (model: gpt-6.1-sol, autonomous) --- .github/skills/add-community-extension/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/add-community-extension/SKILL.md b/.github/skills/add-community-extension/SKILL.md index 409845cc1f..7dd17b83eb 100644 --- a/.github/skills/add-community-extension/SKILL.md +++ b/.github/skills/add-community-extension/SKILL.md @@ -36,7 +36,7 @@ Check **all** of the following (per `docs/extensions/publishing.md`): | README.md present | Confirm in repo file listing | | LICENSE file present | Confirm in repo file listing | | GitHub release exists matching version | Check releases on the repo page | -| Download URL is accessible | Verify it follows `archive/refs/tags/.zip` or `releases/download//.zip` pattern and release exists | +| Download URL is accessible | Verify it follows `archive/refs/tags/.zip` or `releases/download//.zip` pattern and release exists, then fetch the archive and require HTTP 200 | | Extension ID is lowercase-with-hyphens only | Regex: `^[a-z][a-z0-9-]*$` | | Version follows semver | Format: `X.Y.Z` | | Submission checklists are all checked | Confirm in issue body | From 2aff2b466c4a7c082fd059128507c8ffde25cac5 Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Mon, 16 Nov 2026 21:26:15 +0000 Subject: [PATCH 2/6] [Copilot Dreaming] Avoid test demands for non-behavioral changes Copilot could ask for invented executable tests on source edits that change no deterministic behavior. The contribution policy exempts prompt-only and other non-behavioral edits, so the review requirement should stay tied to the behavior it can verify. https://github.com/github/spec-kit/blob/d38bf46b7887aa7c385fdd92701ea2c0cb29b5a1/CONTRIBUTING.md#L229-L250 Assisted-by: GitHub Copilot (model: gpt-6.1-sol, autonomous) --- .github/skills/code-review/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/code-review/SKILL.md b/.github/skills/code-review/SKILL.md index b3e549b2ca..8692401021 100644 --- a/.github/skills/code-review/SKILL.md +++ b/.github/skills/code-review/SKILL.md @@ -6,7 +6,7 @@ argument-hint: 'Diff or pull request to review' # Code Review -1. Ensure each code change has test cases that verify what the code should do and what it should prevent. +1. Ensure each deterministic behavior change has test cases that verify what the code should do and what it should prevent. 2. Ensure bug-fix pull requests include a regression test that demonstrates the bug was reproducible before the change and is fixed afterward; if the reviewer cannot run the comparison, use available evidence and state that limitation. 3. Ensure wording changes use repository-consistent terms; exclude community-authored catalog content and its generated documentation from this check. 4. Identify the affected domains and read the applicable documents in `design/` before evaluating architectural consistency. For CLI command changes, use `design/cli.md`; for agent integrations, use `design/integration.md`; for workflow step types, use `design/workflow-step.md`. Read other design documents when relevant, not every document for every PR. From b9f5134d48181db50f849f32654222a0c9589f9f Mon Sep 17 00:00:00 2001 From: "copilot-dreamer[bot]" <310654851+Copilot Dreamer@users.noreply.github.com> Date: Mon, 16 Nov 2026 21:26:15 +0000 Subject: [PATCH 3/6] [Copilot Dreaming] Avoid executable regression demands for prompt-only fixes Copilot could demand an executable before-and-after regression test for a prompt-only bug fix. The contribution policy exempts those edits; limiting this demand to deterministic behavior preserves the comparison and available-evidence fallback for executable fixes. https://github.com/github/spec-kit/blob/d38bf46b7887aa7c385fdd92701ea2c0cb29b5a1/CONTRIBUTING.md#L246-L250 Assisted-by: GitHub Copilot (model: gpt-6.1-sol, autonomous) --- .github/skills/code-review/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/code-review/SKILL.md b/.github/skills/code-review/SKILL.md index 8692401021..14a0f9a164 100644 --- a/.github/skills/code-review/SKILL.md +++ b/.github/skills/code-review/SKILL.md @@ -7,7 +7,7 @@ argument-hint: 'Diff or pull request to review' # Code Review 1. Ensure each deterministic behavior change has test cases that verify what the code should do and what it should prevent. -2. Ensure bug-fix pull requests include a regression test that demonstrates the bug was reproducible before the change and is fixed afterward; if the reviewer cannot run the comparison, use available evidence and state that limitation. +2. Ensure bug-fix pull requests affecting deterministic behavior include a regression test that demonstrates the bug was reproducible before the change and is fixed afterward; if the reviewer cannot run the comparison, use available evidence and state that limitation. 3. Ensure wording changes use repository-consistent terms; exclude community-authored catalog content and its generated documentation from this check. 4. Identify the affected domains and read the applicable documents in `design/` before evaluating architectural consistency. For CLI command changes, use `design/cli.md`; for agent integrations, use `design/integration.md`; for workflow step types, use `design/workflow-step.md`. Read other design documents when relevant, not every document for every PR. 5. Check the changes against the applicable design requirements, including implementation boundaries, ownership, lifecycle, and delivery requirements. Reference the documents rather than duplicating their rules in this skill. Cite the document and section for each reported mismatch. From 4bfc70251b92c9919d7946857847e287df26a39d Mon Sep 17 00:00:00 2001 From: mnriem <15701806+mnriem@users.noreply.github.com> Date: Tue, 17 Nov 2026 13:11:46 +0000 Subject: [PATCH 4/6] Address archive redirect review feedback Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/skills/add-community-extension/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/add-community-extension/SKILL.md b/.github/skills/add-community-extension/SKILL.md index 7dd17b83eb..956cf08045 100644 --- a/.github/skills/add-community-extension/SKILL.md +++ b/.github/skills/add-community-extension/SKILL.md @@ -36,7 +36,7 @@ Check **all** of the following (per `docs/extensions/publishing.md`): | README.md present | Confirm in repo file listing | | LICENSE file present | Confirm in repo file listing | | GitHub release exists matching version | Check releases on the repo page | -| Download URL is accessible | Verify it follows `archive/refs/tags/.zip` or `releases/download//.zip` pattern and release exists, then fetch the archive and require HTTP 200 | +| Download URL is accessible | Verify it follows `archive/refs/tags/.zip` or `releases/download//.zip` pattern and release exists, then fetch the archive following redirects and require the final response to be HTTP 200 | | Extension ID is lowercase-with-hyphens only | Regex: `^[a-z][a-z0-9-]*$` | | Version follows semver | Format: `X.Y.Z` | | Submission checklists are all checked | Confirm in issue body | From 078fd654adebf654537203eedee45ce69a75a04d Mon Sep 17 00:00:00 2001 From: Manfred Riem <15701806+mnriem@users.noreply.github.com> Date: Tue, 17 Nov 2026 11:06:14 -0600 Subject: [PATCH 5/6] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/skills/add-community-extension/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/add-community-extension/SKILL.md b/.github/skills/add-community-extension/SKILL.md index 956cf08045..de5387a329 100644 --- a/.github/skills/add-community-extension/SKILL.md +++ b/.github/skills/add-community-extension/SKILL.md @@ -36,7 +36,7 @@ Check **all** of the following (per `docs/extensions/publishing.md`): | README.md present | Confirm in repo file listing | | LICENSE file present | Confirm in repo file listing | | GitHub release exists matching version | Check releases on the repo page | -| Download URL is accessible | Verify it follows `archive/refs/tags/.zip` or `releases/download//.zip` pattern and release exists, then fetch the archive following redirects and require the final response to be HTTP 200 | +| Download URL is accessible | First parse and validate the URL: scheme must be `https`, host must be exactly `github.com` or `codeload.github.com`, and it must not include username/password, query string, or fragment. Reject if any check fails. Then verify path matches `archive/refs/tags/.zip` or `releases/download//.zip` and release exists. Only then fetch the archive; if redirects occur, each redirect URL and the final URL must pass the same allowlist/constraints, and the final response must be HTTP 200. | | Extension ID is lowercase-with-hyphens only | Regex: `^[a-z][a-z0-9-]*$` | | Version follows semver | Format: `X.Y.Z` | | Submission checklists are all checked | Confirm in issue body | From 84b29392424caf5d6fb417d8a685e8288efcd5b3 Mon Sep 17 00:00:00 2001 From: Manfred Riem <15701806+mnriem@users.noreply.github.com> Date: Tue, 17 Nov 2026 12:24:08 -0600 Subject: [PATCH 6/6] Improve download URL accessibility validation Enhanced validation for download URL accessibility by adding checks for redirect URLs and safe-host policy. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/skills/add-community-extension/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/add-community-extension/SKILL.md b/.github/skills/add-community-extension/SKILL.md index de5387a329..a9bb1dcae3 100644 --- a/.github/skills/add-community-extension/SKILL.md +++ b/.github/skills/add-community-extension/SKILL.md @@ -36,7 +36,7 @@ Check **all** of the following (per `docs/extensions/publishing.md`): | README.md present | Confirm in repo file listing | | LICENSE file present | Confirm in repo file listing | | GitHub release exists matching version | Check releases on the repo page | -| Download URL is accessible | First parse and validate the URL: scheme must be `https`, host must be exactly `github.com` or `codeload.github.com`, and it must not include username/password, query string, or fragment. Reject if any check fails. Then verify path matches `archive/refs/tags/.zip` or `releases/download//.zip` and release exists. Only then fetch the archive; if redirects occur, each redirect URL and the final URL must pass the same allowlist/constraints, and the final response must be HTTP 200. | +| Download URL is accessible | Validate the submitted URL first: scheme must be `https`, host must be exactly `github.com`, it must not include username/password, query string, or fragment, and its path must match `archive/refs/tags/.zip` or `releases/download//.zip`; also verify the release exists. Only then fetch the archive with redirects enabled. Validate each redirect and the final URL against an explicit safe-host policy (`github.com`, `codeload.github.com`, or `release-assets.githubusercontent.com`) and require HTTPS; allow the signed query string used by `release-assets.githubusercontent.com`. Require the final response to be HTTP 200. | | Extension ID is lowercase-with-hyphens only | Regex: `^[a-z][a-z0-9-]*$` | | Version follows semver | Format: `X.Y.Z` | | Submission checklists are all checked | Confirm in issue body |