Skip to content

Commit 9c6fb7c

Browse files
docs: move docs site to github.github.com/squad and update repo links (#2411)
* docs: move docs site to github.github.com/squad and update repo links GitHub Pages doesn't redirect after a repository transfer, so links to bradygaster.github.io/squad now return 404. - Astro site, RSS fallback, robots sitemap, header, footer and edit links - Docs-site and repository links in READMEs, contributor docs, package READMEs, current docs pages, a sample and the pr-lifecycle skill - test/docs-site-location.test.ts guards the site location in CI Blog narrative, changelogs and bradygaster/squad#NNN references are unchanged. Closes #2405 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * test(docs): share one docs-site guard and scan every migrated link Review fixes for #2411. The node --test copy of the retired-site guard in docs/tests/astro-features.test.mjs had drifted from test/docs-site-location.test.ts. It flagged unrelated sites such as bradygaster.github.io/squadcaster/, exempted every path under /schemas/implementation-provenance/, and missed protocol-relative and upper-case links. Both guards now import one contract, scripts/docs-site-location.mjs: the site settings, the link patterns, the scanned files and the historical allowlist. The retired-site pattern ends /squad at a path boundary and exempts only the exact versioned schema ID (.../implementation-provenance/v1), not the paths below it. The old-repository check covered only the five site-chrome files, so a regression in any other migrated link passed. It now scans every tracked file under the migrated paths (docs, samples, READMEs, contributor guides and the pr-lifecycle skill). It also catches the raw.githubusercontent.com, SSH remote, REST and gh --repo forms that the migration rewrote. HISTORICAL_REPO_LINKS lists what stays as written: blog posts, release notes for v1.1.0 and earlier, contributor-credit and spec-provenance permalinks, the generated upgrade-matrix section of upgrading.md, and three internal launch and design records. Each entry needs a reason and must still keep a link, and none may cover a current entry point. test/docs-site-location.test.ts pins the settings, the pattern examples and the allowlist behavior. Every failure names the file and line, or the input. Refs #2405 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * test(docs): tighten the schema-ID exemption and guard docs-only PRs Review follow-up for #2411. The retired-site exemption for the implementation-provenance schema ID also accepted dotted suffixes, so links such as .../implementation-provenance/v1.json or v1.html passed both guards. The exemption now applies only where the version ends the URL: it must be followed by the end of the line, whitespace, one of ) " ' ` < > ], or a # fragment, which points into the same schema. A "." counts only as a sentence end, before whitespace or the end of the line, and a query (v1?...) is a link. Every tracked occurrence of the ID still passes, and new pattern cases cover the .json, .html, query and fragment forms. Pull requests that change only docs paths skip the squad-ci test job, which is where test/docs-site-location.test.ts runs. docs-quality now also runs node --test docs/tests/astro-features.test.mjs. The suite needs only Node built-ins, so the step runs before any npm install. test/ci/docs-quality.test.ts pins that step, the suite's import of the shared guard, and docs-quality running for docs-only pull requests. Refs #2405 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0444041 commit 9c6fb7c

61 files changed

Lines changed: 803 additions & 180 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.copilot/skills/pr-lifecycle/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ For advanced scenarios (worktrees, multi-repo coordination), see `.copilot/skill
138138

139139
2. **Create PR targeting dev:**
140140
```bash
141-
gh pr create --repo bradygaster/squad --base dev \
141+
gh pr create --repo github/squad --base dev \
142142
--title "fix: brief description (#issue-number)" \
143143
--body "Closes #{issue-number}
144144
@@ -351,7 +351,7 @@ Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"
351351

352352
# Push and PR
353353
git push -u origin squad/610-fix-broken-link
354-
gh pr create --repo bradygaster/squad --base dev \
354+
gh pr create --repo github/squad --base dev \
355355
--title "docs: fix broken link (#610)" \
356356
--body "Closes #610"
357357
```
@@ -386,7 +386,7 @@ Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"
386386

387387
# Push and PR
388388
git push -u origin squad/42-add-profile-api
389-
gh pr create --repo bradygaster/squad --base dev \
389+
gh pr create --repo github/squad --base dev \
390390
--title "feat: add profile API (#42)" \
391391
--body "Closes #42
392392

‎.github/workflows/squad-ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
with:
6969
node-version: '22.23.4'
7070
cache: 'npm'
71+
# Docs-only pull requests skip the `test` job, so the docs site location guard runs here
72+
# as well. The suite uses Node built-ins only, so it needs no npm install.
73+
- name: Docs feature and site location tests
74+
run: node --test docs/tests/astro-features.test.mjs
7175
- name: Install docs tools
7276
run: |
7377
success=false

‎CONTRIBUTING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Each package has independent versioning via changesets. A change to squad-sdk ma
6262

6363
**Step 1: Fork the repo on GitHub**
6464

65-
Go to https://github.com/bradygaster/squad and click "Fork" to create your own copy.
65+
Go to https://github.com/github/squad and click "Fork" to create your own copy.
6666

6767
**Step 2: Clone your fork**
6868

@@ -74,7 +74,7 @@ cd squad
7474
**Step 3: Add upstream remote**
7575

7676
```bash
77-
git remote add upstream git@github.com:bradygaster/squad.git
77+
git remote add upstream git@github.com:github/squad.git
7878
```
7979

8080
**Step 4: Fetch the dev branch**
@@ -187,7 +187,7 @@ The Co-authored-by trailer is **required** for all commits (added by Copilot CLI
187187

188188
1. Add a changeset: `npx changeset add` (required before PR — see Changesets section)
189189
2. Push your branch: `git push origin {yourusername}/217-readme-help-update`
190-
3. Create a PR **as a draft**: `gh pr create --draft --base dev --repo bradygaster/squad --head {yourusername}:your-branch`
190+
3. Create a PR **as a draft**: `gh pr create --draft --base dev --repo github/squad --head {yourusername}:your-branch`
191191
4. Link the issue: Add `Closes #217` to PR description
192192
5. Work on your changes until CI passes and you're satisfied
193193
6. **Mark as "Ready for review"** — this is the handoff signal to the core team (see below)
@@ -390,7 +390,7 @@ CI watches for drift: `scripts/check-changeset-drift.mjs` warns on PRs and fails
390390

391391
- **main** — Stable, published releases. All merges include changesets.
392392
- **preview** — Staging branch for release candidates (promote: dev → preview → main).
393-
- **bradygaster/dev** — Integration branch. **All PRs from forks must target this branch**, not `main`.
393+
- **dev** — Integration branch on `github/squad`. **All PRs from forks must target this branch**, not `main`.
394394
- **user/issue-slug** — Feature branches from users or agents.
395395

396396
> **Note:** The `insider` npm tag (`@bradygaster/squad-cli@insider`) publishes from `dev` via manual workflow dispatch. There is no separate insider branch.

‎CONTRIBUTORS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The Insider Program gives you access to cutting-edge features before they ship.
1919

2020
### How to Join
2121

22-
Install from the insider branch using the honor system:
22+
Install the insider build from npm using the honor system:
2323

2424
```bash
25-
npx github:bradygaster/squad#insider
25+
npm install -g @bradygaster/squad-cli@insider
2626
```
2727

28-
That's it. You're now on insider builds.
28+
That's it. You're now on insider builds. For Homebrew and WinGet, see the [Insider Program guide](https://github.github.com/squad/docs/insider-program/).
2929

3030
### What to Expect
3131

@@ -36,7 +36,7 @@ That's it. You're now on insider builds.
3636

3737
### Report Issues
3838

39-
Found a bug in an insider build? Please [open a GitHub issue](https://github.com/bradygaster/squad/issues) with:
39+
Found a bug in an insider build? Please [open a GitHub issue](https://github.com/github/squad/issues) with:
4040

4141
- **Version** — The full version string from your `squad.agent.md`
4242
- **What happened** — Clear description of the bug or unexpected behavior
@@ -130,4 +130,4 @@ These community members shaped Squad through issues, discussions, and feedback.
130130

131131
Contributing code? See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide.
132132

133-
Questions? [GitHub Discussions](https://github.com/bradygaster/squad/discussions).
133+
Questions? [GitHub Discussions](https://github.com/github/squad/discussions).

‎README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@ Choose the install method for your platform:
4242
| npm (all platforms, Node.js 22.5+) | `npm install -g @bradygaster/squad-cli` |
4343
| Homebrew (macOS) | `brew install --cask bradygaster/squad/squad` |
4444
| WinGet (Windows) | `winget install --id bradygaster.Squad --exact` |
45-
| Install script (macOS/Linux, no npm) | See [Standalone Install](https://bradygaster.github.io/squad/docs/features/standalone-install/) |
45+
| Install script (macOS/Linux, no npm) | See [Standalone Install](https://github.github.com/squad/docs/features/standalone-install/) |
4646

4747
Preview and insider builds are available as `squad-preview` and
4848
`squad-insider` Homebrew casks, or as `bradygaster.Squad.Preview` and
4949
`bradygaster.Squad.Insider` WinGet packages.
5050

5151
Direct archives for macOS, Linux, and Windows are also available from
52-
[GitHub Releases](https://github.com/bradygaster/squad/releases/latest).
52+
[GitHub Releases](https://github.com/github/squad/releases/latest).
5353

5454
```bash
5555
squad init
5656
```
5757

5858
All methods install the same CLI. Standalone installs vendor Node.js, so they do
5959
not require Node.js or access to the npm registry. See the
60-
[complete installation guide](https://bradygaster.github.io/squad/docs/get-started/installation/)
60+
[complete installation guide](https://github.github.com/squad/docs/get-started/installation/)
6161
for prerequisites and platform details.
6262

6363
> **⚡ Want to be up and running in under a second?** Use `squad init --preset default` to start with a fully-configured squad — complete with members, charters, and routing rules — ready to go immediately. The default `squad init` (without the flag) walks you through setup step by step, ideal if you prefer to build and customize your squad deliberately.
@@ -112,8 +112,8 @@ Use the same channel you installed from:
112112
| npm | `npm install -g @bradygaster/squad-cli@latest` |
113113
| Homebrew | `brew upgrade --cask squad` |
114114
| WinGet | `winget upgrade --id bradygaster.Squad --exact` |
115-
| Install script | Re-run the [install script](https://bradygaster.github.io/squad/docs/features/standalone-install/#macos-and-linux) |
116-
| Direct archive | Download the newer archive from [GitHub Releases](https://github.com/bradygaster/squad/releases/latest) |
115+
| Install script | Re-run the [install script](https://github.github.com/squad/docs/features/standalone-install/#macos-and-linux) |
116+
| Direct archive | Download the newer archive from [GitHub Releases](https://github.com/github/squad/releases/latest) |
117117

118118
**Step 2: Update Squad-owned files in your project**
119119

@@ -144,7 +144,7 @@ To install and run Squad from source for development:
144144

145145
```bash
146146
# Clone the repository
147-
git clone https://github.com/bradygaster/squad.git
147+
git clone https://github.com/github/squad.git
148148
cd squad
149149

150150
# Install dependencies (npm workspaces)
@@ -442,7 +442,7 @@ When agents finish, the coordinator records follow-up work and leaves a breadcru
442442

443443
**And it's all in git.** Anyone who clones your repo gets the team — with all their accumulated knowledge.
444444

445-
**Each agent gets the right model.** Squad picks models quality-first by default: premium for architecture, research and review, standard for code and docs, fast for mechanical work. Opt in to the `balanced` or `economy` profile, or to the `hydrafusion` research preview with `"modelProfile": "hydrafusion"` in `.squad/config.json`. Per-agent selection works in the Copilot CLI and app; VS Code runs every agent on the one session model. See [Model Selection](https://bradygaster.github.io/squad/docs/features/model-selection/).
445+
**Each agent gets the right model.** Squad picks models quality-first by default: premium for architecture, research and review, standard for code and docs, fast for mechanical work. Opt in to the `balanced` or `economy` profile, or to the `hydrafusion` research preview with `"modelProfile": "hydrafusion"` in `.squad/config.json`. Per-agent selection works in the Copilot CLI and app; VS Code runs every agent on the one session model. See [Model Selection](https://github.github.com/squad/docs/features/model-selection/).
446446

447447
---
448448

@@ -654,7 +654,7 @@ durable human handoff after exhaustion. Both workers produce drafts only;
654654
open, merged and closed-unmerged linked PRs suppress automatic duplicates.
655655
Human review and merge are always required.
656656

657-
See [the gh-aw guide](https://bradygaster.github.io/squad/docs/guide/gh-aw/#retrospective-auto-implementation-opt-in) for the full authority model.
657+
See [the gh-aw guide](https://github.github.com/squad/docs/guide/gh-aw/#retrospective-auto-implementation-opt-in) for the full authority model.
658658

659659
### Slash commands
660660

@@ -675,7 +675,7 @@ See [the gh-aw guide](https://bradygaster.github.io/squad/docs/guide/gh-aw/#retr
675675

676676
Write a detailed team description in the issue body, then comment `/squad cast` — the issue becomes your casting brief. The more context you give, the better Squad tailors your team.
677677

678-
📖 See [GitHub Agentic Workflows guide](https://bradygaster.github.io/squad/docs/guide/gh-aw/) for the complete setup, configuration, and usage reference.
678+
📖 See [GitHub Agentic Workflows guide](https://github.github.com/squad/docs/guide/gh-aw/) for the complete setup, configuration, and usage reference.
679679

680680
---
681681

‎README.zh.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ git init
4040
| npm(所有平台,需要 Node.js 22.5+) | `npm install -g @bradygaster/squad-cli` |
4141
| Homebrew(macOS) | `brew install --cask bradygaster/squad/squad` |
4242
| WinGet(Windows) | `winget install --id bradygaster.Squad --exact` |
43-
| 安装脚本(macOS/Linux,无需 npm) | 查看[独立安装指南](https://bradygaster.github.io/squad/docs/features/standalone-install/) |
43+
| 安装脚本(macOS/Linux,无需 npm) | 查看[独立安装指南](https://github.github.com/squad/docs/features/standalone-install/) |
4444

4545
预览版和 Insider 版也可通过 Homebrew 的 `squad-preview`、
4646
`squad-insider` cask,或 WinGet 的 `bradygaster.Squad.Preview`、
4747
`bradygaster.Squad.Insider` 软件包安装。
4848

49-
你也可以从 [GitHub Releases](https://github.com/bradygaster/squad/releases/latest)
49+
你也可以从 [GitHub Releases](https://github.com/github/squad/releases/latest)
5050
直接下载 macOS、Linux 或 Windows 压缩包。
5151

5252
```bash
@@ -55,7 +55,7 @@ squad init
5555

5656
所有方式安装的都是同一个 CLI。独立安装包自带 Node.js,无需安装
5757
Node.js,也无需访问 npm registry。完整要求和平台说明请参阅
58-
[安装指南](https://bradygaster.github.io/squad/docs/get-started/installation/)。
58+
[安装指南](https://github.github.com/squad/docs/get-started/installation/)。
5959

6060
**✓ 验证:** 检查项目中是否创建了 `.squad/team.md`。
6161

@@ -103,8 +103,8 @@ Squad 会提议一个团队 — 每个成员的名字都来自一个持久化的
103103
| npm | `npm install -g @bradygaster/squad-cli@latest` |
104104
| Homebrew | `brew upgrade --cask squad` |
105105
| WinGet | `winget upgrade --id bradygaster.Squad --exact` |
106-
| 安装脚本 | 重新运行[安装脚本](https://bradygaster.github.io/squad/docs/features/standalone-install/#macos-and-linux) |
107-
| 直接下载 | 从 [GitHub Releases](https://github.com/bradygaster/squad/releases/latest) 下载新版本 |
106+
| 安装脚本 | 重新运行[安装脚本](https://github.github.com/squad/docs/features/standalone-install/#macos-and-linux) |
107+
| 直接下载 | 从 [GitHub Releases](https://github.com/github/squad/releases/latest) 下载新版本 |
108108

109109
**第二步:更新项目中 Squad 管理的文件**
110110

‎SUPPORT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates. For new issues, file your bug or feature request as a new issue.
66

7-
For help or questions about using Squad, please use [GitHub Discussions](https://github.com/bradygaster/squad/discussions) on this repository.
7+
For help or questions about using Squad, please use [GitHub Discussions](https://github.com/github/squad/discussions) on this repository.
88

99
**Squad** is under active development and maintained by GitHub staff and the community. We will do our best to respond to support, feature requests, and community questions in a timely manner.
1010

‎docs/astro.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createRequire } from 'module';
88
const require = createRequire(import.meta.url);
99

1010
export default defineConfig({
11-
site: 'https://bradygaster.github.io',
11+
site: 'https://github.github.com',
1212
base: '/squad/',
1313
integrations: [sitemap()],
1414
vite: {

‎docs/demo-agentic-sdlc-walkthrough.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,4 +519,4 @@ Accept: "Reply /squad plan activate..."
519519

520520
---
521521

522-
*Demo created for the Squad project — [github.com/bradygaster/squad](https://github.com/bradygaster/squad)*
522+
*Demo created for the Squad project — [github.com/github/squad](https://github.com/github/squad)*

‎docs/public/robots.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
User-agent: *
22
Allow: /
3-
Sitemap: https://squad.dev/sitemap-index.xml
3+
Sitemap: https://github.github.com/squad/sitemap-index.xml
44

0 commit comments

Comments
 (0)