You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): cover .squad/agents charters, fix gate docs and test hygiene
Address review on bradygaster#1195:
- Add .squad/agents/*/charter.md to SDK_CLI_PATH_REGEX (final bradygaster#1156 bypass path)
- Correct the templates/ comment: append-only superset of .squad-templates/, not a full mirror
- Update CONTRIBUTING.md changeset-gate scope to match the widened gate
- Wrap the regex-presence assertion in beforeAll so YAML drift surfaces as a readable failure
- Extend the gate test with governed/unrelated .squad/agents cases
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .changeset/widen-changelog-gate-template-paths.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@
4
4
5
5
Widen changelog-gate coverage for template and scaffolding paths
6
6
7
-
Previously, the changelog gate only required a changeset for `packages/squad-(sdk|cli)/src/` changes, so template and scaffolding updates under `packages/squad-(sdk|cli)/templates/`, `.squad-templates/`, and top-level `templates/`could reach users with no release-note entry. This widens the gate to those paths so user-facing template changes are no longer silently omitted from release notes. Closes #1156.
7
+
Previously, the changelog gate only required a changeset for `packages/squad-(sdk|cli)/src/` changes, so template and scaffolding updates under `packages/squad-(sdk|cli)/templates/`, `.squad-templates/`, top-level `templates/`, and agent charters under `.squad/agents/*/charter.md`could reach users with no release-note entry. This widens the gate to those paths so user-facing template and scaffolding changes are no longer silently omitted from release notes. Closes #1156.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ External contributors don't have write access, so the review-to-merge flow has a
187
187
188
188
**Your side (contributor):**
189
189
190
-
1. ✅ All required CI checks are green (build, test, lint; changeset/CHANGELOG gate only applies when `packages/squad-cli/src/`or `packages/squad-sdk/src/` files change)
190
+
1. ✅ All required CI checks are green (build, test, lint; the changeset/CHANGELOG gate applies when `packages/squad-(sdk|cli)/src/`**or** governed template/scaffolding paths change — `packages/squad-(sdk|cli)/templates/`, `.squad-templates/`, top-level `templates/`, and `.squad/agents/*/charter.md`)
191
191
2. ✅ PR is no longer a draft — mark as **"Ready for review"**
192
192
3. ✅ Copilot reviewer bot posts its review automatically
193
193
4. ✅ Review Copilot's suggestions and manually apply any you agree with in your fork
@@ -214,7 +214,7 @@ An automated readiness check runs on every PR and posts a checklist comment. Add
214
214
|**Not in draft**| Mark your PR as "Ready for review" when it's done |
215
215
|**Branch up to date**| Rebase on latest `dev` (`git fetch upstream && git rebase upstream/dev`) |
216
216
|**Copilot review**| Wait for the Copilot reviewer bot to post its review |
217
-
|**Changeset present**| Run `npx changeset add` if you changed files in `packages/squad-sdk/src/` or `packages/squad-cli/src/`|
217
+
|**Changeset present**| Run `npx changeset add` if you changed `packages/squad-(sdk|cli)/src/` or governed template/scaffolding paths (`packages/squad-(sdk|cli)/templates/`, `.squad-templates/`, top-level `templates/`, `.squad/agents/*/charter.md`)|
218
218
|**No merge conflicts**| Resolve any conflicts with the target branch |
219
219
|**CI passing**| All CI checks (build, test, lint) must be green |
0 commit comments