Skip to content

Commit deb0e84

Browse files
bradygasterclaude
andcommitted
Merge origin/dev into squad/claude-ab-pilot
Refresh the host projection regression snapshot: the Copilot coordinator (.github/agents/squad.agent.md) hash changes because this branch carries the truth-first coordinator template edits (Premise and Work Selection, and the narrowed Fact Checker activation). No other projected file changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 parents fae4803 + 9865671 commit deb0e84

207 files changed

Lines changed: 8913 additions & 1641 deletions

File tree

Some content is hidden

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

‎.changeset/blue-health-metadata.md‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎.changeset/calm-index-lock.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bradygaster/squad-sdk": patch
3+
---
4+
5+
The Claude Code coordinator now names Claude Code's `Agent` subagent tool (formerly `Task`) and describes its `run_in_background` and `isolation: "worktree"` options. Existing Claude Code installs see this wording change in `.claude/agents/squad.md` on the next `squad upgrade --client claude`; Copilot output is unchanged.

‎.changeset/doctor-exit-status.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/fix-history-shadow-eof-anchor.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/legacy-charter-capabilities.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/quiet-locks-follow-state.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/quiet-workflows-preserve.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.copilot/skills/github-multi-account/SKILL.md‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,26 @@ ghw api user --jq '.login' # should show work username
7272
```
7373

7474
### Step 5: Tell the user
75-
"All set! From now on use `ghp` for personal repos and `ghw` for work repos. I'll use them too."
75+
"All set! `ghp` uses your personal account and `ghw` your work account. For each repo, I'll use whichever one can push to it."
7676

7777
## After Setup — Usage Rules
7878

7979
1. **NEVER** use bare `gh` for repo operations — always `ghp` or `ghw`
8080
2. **NEVER** manually `gh auth switch` — the aliases handle it
81-
3. Determine alias by repo owner:
82-
- Personal account repos → `ghp` / `gh-personal`
83-
- Work/EMU account repos → `ghw` / `gh-work`
81+
3. Pick the alias by which account can write to the repo, not by who owns it; see **Repo-Specific Account Binding** below.
8482

8583
## Repo-Specific Account Binding
8684

87-
This repo (`bradygaster/squad`) is bound to the **bradygaster** (personal) account.
88-
All `gh` operations in this repo MUST use `ghp` / `gh-personal`.
85+
Pick the alias by which account can write to the repo, not by the repo's name. Squad itself lives at `github/squad`, which the `github` organization owns, so don't assume your personal account. Check once before the first write and use the alias that prints `true` (gh fills in `{owner}` and `{repo}` from the current checkout):
86+
```powershell
87+
ghp api 'repos/{owner}/{repo}' --jq '.permissions.push'
88+
ghw api 'repos/{owner}/{repo}' --jq '.permissions.push'
89+
```
90+
If neither prints `true`, neither account can push there; work from a fork.
8991

9092
## For Squad Agents
91-
At the TOP of any script touching GitHub, define:
93+
At the TOP of any script touching GitHub, define the aliases with the usernames the user confirmed in Step 2:
9294
```powershell
93-
function gh-personal { gh auth switch --user bradygaster 2>$null | Out-Null; gh @args }
94-
function gh-work { gh auth switch --user bradyg_microsoft 2>$null | Out-Null; gh @args }
95+
function gh-personal { gh auth switch --user THEIR_PERSONAL_USERNAME 2>$null | Out-Null; gh @args }
96+
function gh-work { gh auth switch --user THEIR_WORK_USERNAME 2>$null | Out-Null; gh @args }
9597
```

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

Lines changed: 5 additions & 5 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
@@ -248,10 +248,10 @@ An automated readiness check runs on every push and posts a checklist comment on
248248

249249
| | |
250250
|---|---|
251-
| **What** | All CI check runs (excluding the readiness check itself) must be green |
251+
| **What** | All CI check runs must be green, excluding the readiness check itself and the `workflow_run` writer jobs (`readiness-bind`, `impact`, `Post Repo Health findings`, `heartbeat`) |
252252
| **Pass** | Fix any build, test, or lint failures and push |
253253
| **Fix** | Read the failing check's logs (`gh run view {run-id} --log-failed`), fix the issue, push |
254-
| **Gotcha** | Pending/in-progress checks also show ❌. Wait for all checks to complete before evaluating. The readiness check re-runs after CI completes via `workflow_run` trigger |
254+
| **Gotcha** | Pending/in-progress checks also show ❌. Wait for all checks to complete before evaluating. The readiness check re-runs after CI completes via `workflow_run` trigger. `workflow_run` jobs attach their check runs to the default-branch tip (the head of any dev→main PR), so cancelled or failed runs from other PRs would otherwise show up there — that is why they are excluded |
255255

256256
#### Check 10: Issue Linked
257257

@@ -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

0 commit comments

Comments
 (0)