@bradygaster/squad-sdk 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +296 -296
- package/dist/agents/history-shadow.js +30 -30
- package/dist/build/github-dist.js +42 -42
- package/dist/config/init.js +173 -173
- package/dist/sharing/consult.js +78 -78
- package/package.json +1 -1
- package/templates/casting/Futurama.json +9 -9
- package/templates/casting-history.json +4 -4
- package/templates/casting-policy.json +37 -37
- package/templates/casting-reference.md +104 -104
- package/templates/casting-registry.json +3 -3
- package/templates/ceremonies.md +41 -41
- package/templates/charter.md +53 -53
- package/templates/constraint-tracking.md +38 -38
- package/templates/cooperative-rate-limiting.md +229 -229
- package/templates/copilot-instructions.md +46 -46
- package/templates/history.md +10 -10
- package/templates/identity/now.md +9 -9
- package/templates/identity/wisdom.md +15 -15
- package/templates/issue-lifecycle.md +412 -412
- package/templates/keda-scaler.md +164 -164
- package/templates/machine-capabilities.md +74 -74
- package/templates/mcp-config.md +90 -90
- package/templates/multi-agent-format.md +28 -28
- package/templates/plugin-marketplace.md +49 -49
- package/templates/ralph-circuit-breaker.md +313 -313
- package/templates/raw-agent-output.md +37 -37
- package/templates/roster.md +60 -60
- package/templates/routing.md +39 -39
- package/templates/run-output.md +50 -50
- package/templates/schedule.json +19 -19
- package/templates/scribe-charter.md +119 -119
- package/templates/skill.md +24 -24
- package/templates/skills/agent-collaboration/SKILL.md +42 -42
- package/templates/skills/agent-conduct/SKILL.md +24 -24
- package/templates/skills/architectural-proposals/SKILL.md +151 -151
- package/templates/skills/ci-validation-gates/SKILL.md +84 -84
- package/templates/skills/cli-wiring/SKILL.md +47 -47
- package/templates/skills/client-compatibility/SKILL.md +89 -89
- package/templates/skills/cross-squad/SKILL.md +114 -114
- package/templates/skills/distributed-mesh/SKILL.md +287 -287
- package/templates/skills/distributed-mesh/mesh.json.example +30 -30
- package/templates/skills/distributed-mesh/sync-mesh.ps1 +111 -111
- package/templates/skills/distributed-mesh/sync-mesh.sh +104 -104
- package/templates/skills/docs-standards/SKILL.md +71 -71
- package/templates/skills/economy-mode/SKILL.md +114 -114
- package/templates/skills/external-comms/SKILL.md +329 -329
- package/templates/skills/gh-auth-isolation/SKILL.md +183 -183
- package/templates/skills/git-workflow/SKILL.md +204 -204
- package/templates/skills/github-multi-account/SKILL.md +95 -95
- package/templates/skills/history-hygiene/SKILL.md +36 -36
- package/templates/skills/humanizer/SKILL.md +105 -105
- package/templates/skills/init-mode/SKILL.md +102 -102
- package/templates/skills/model-selection/SKILL.md +117 -117
- package/templates/skills/nap/SKILL.md +24 -24
- package/templates/skills/personal-squad/SKILL.md +57 -57
- package/templates/skills/project-conventions/SKILL.md +56 -56
- package/templates/skills/release-process/SKILL.md +423 -423
- package/templates/skills/reskill/SKILL.md +92 -92
- package/templates/skills/reviewer-protocol/SKILL.md +79 -79
- package/templates/skills/secret-handling/SKILL.md +200 -200
- package/templates/skills/session-recovery/SKILL.md +155 -155
- package/templates/skills/squad-conventions/SKILL.md +69 -69
- package/templates/skills/test-discipline/SKILL.md +37 -37
- package/templates/skills/windows-compatibility/SKILL.md +74 -74
- package/templates/workflows/squad-ci.yml +24 -24
- package/templates/workflows/squad-docs.yml +54 -54
- package/templates/workflows/squad-heartbeat.yml +171 -171
- package/templates/workflows/squad-insider-release.yml +61 -61
- package/templates/workflows/squad-issue-assign.yml +161 -161
- package/templates/workflows/squad-label-enforce.yml +181 -181
- package/templates/workflows/squad-preview.yml +55 -55
- package/templates/workflows/squad-promote.yml +120 -120
- package/templates/workflows/squad-release.yml +77 -77
- package/templates/workflows/squad-triage.yml +260 -260
- package/templates/workflows/sync-squad-labels.yml +169 -169
|
@@ -1,183 +1,183 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "gh-auth-isolation"
|
|
3
|
-
description: "Safely manage multiple GitHub identities (EMU + personal) in agent workflows"
|
|
4
|
-
domain: "security, github-integration, authentication, multi-account"
|
|
5
|
-
confidence: "high"
|
|
6
|
-
source: "earned (production usage across 50+ sessions with EMU corp + personal GitHub accounts)"
|
|
7
|
-
tools:
|
|
8
|
-
- name: "gh"
|
|
9
|
-
description: "GitHub CLI for authenticated operations"
|
|
10
|
-
when: "When accessing GitHub resources requiring authentication"
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Context
|
|
14
|
-
|
|
15
|
-
Many developers use GitHub through an Enterprise Managed User (EMU) account at work while maintaining a personal GitHub account for open-source contributions. AI agents spawned by Squad inherit the shell's default `gh` authentication — which is usually the EMU account. This causes failures when agents try to push to personal repos, create PRs on forks, or interact with resources outside the enterprise org.
|
|
16
|
-
|
|
17
|
-
This skill teaches agents how to detect the active identity, switch contexts safely, and avoid mixing credentials across operations.
|
|
18
|
-
|
|
19
|
-
## Patterns
|
|
20
|
-
|
|
21
|
-
### Detect Current Identity
|
|
22
|
-
|
|
23
|
-
Before any GitHub operation, check which account is active:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
gh auth status
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Look for:
|
|
30
|
-
- `Logged in to github.com as USERNAME` — the active account
|
|
31
|
-
- `Token scopes: ...` — what permissions are available
|
|
32
|
-
- Multiple accounts will show separate entries
|
|
33
|
-
|
|
34
|
-
### Extract a Specific Account's Token
|
|
35
|
-
|
|
36
|
-
When you need to operate as a specific user (not the default):
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
# Get the personal account token (by username)
|
|
40
|
-
gh auth token --user personaluser
|
|
41
|
-
|
|
42
|
-
# Get the EMU account token
|
|
43
|
-
gh auth token --user corpalias_enterprise
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
**Use case:** Push to a personal fork while the default `gh` auth is the EMU account.
|
|
47
|
-
|
|
48
|
-
### Push to Personal Repos from EMU Shell
|
|
49
|
-
|
|
50
|
-
The most common scenario: your shell defaults to the EMU account, but you need to push to a personal GitHub repo.
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
# 1. Extract the personal token
|
|
54
|
-
$token = gh auth token --user personaluser
|
|
55
|
-
|
|
56
|
-
# 2. Push using token-authenticated HTTPS
|
|
57
|
-
git push https://personaluser:$token@github.com/personaluser/repo.git branch-name
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**Why this works:** `gh auth token --user` reads from `gh`'s credential store without switching the active account. The token is used inline for a single operation and never persisted.
|
|
61
|
-
|
|
62
|
-
### Create PRs on Personal Forks
|
|
63
|
-
|
|
64
|
-
When the default `gh` context is EMU but you need to create a PR from a personal fork:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Option 1: Use --repo flag (works if token has access)
|
|
68
|
-
gh pr create --repo upstream/repo --head personaluser:branch --title "..." --body "..."
|
|
69
|
-
|
|
70
|
-
# Option 2: Temporarily set GH_TOKEN for one command
|
|
71
|
-
$env:GH_TOKEN = $(gh auth token --user personaluser)
|
|
72
|
-
gh pr create --repo upstream/repo --head personaluser:branch --title "..."
|
|
73
|
-
Remove-Item Env:\GH_TOKEN
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### Config Directory Isolation (Advanced)
|
|
77
|
-
|
|
78
|
-
For complete isolation between accounts, use separate `gh` config directories:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
# Personal account operations
|
|
82
|
-
$env:GH_CONFIG_DIR = "$HOME/.config/gh-public"
|
|
83
|
-
gh auth login # Login with personal account (one-time setup)
|
|
84
|
-
gh repo clone personaluser/repo
|
|
85
|
-
|
|
86
|
-
# EMU account operations (default)
|
|
87
|
-
Remove-Item Env:\GH_CONFIG_DIR
|
|
88
|
-
gh auth status # Back to EMU account
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
**Setup (one-time):**
|
|
92
|
-
```bash
|
|
93
|
-
# Create isolated config for personal account
|
|
94
|
-
mkdir ~/.config/gh-public
|
|
95
|
-
$env:GH_CONFIG_DIR = "$HOME/.config/gh-public"
|
|
96
|
-
gh auth login --web --git-protocol https
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Shell Aliases for Quick Switching
|
|
100
|
-
|
|
101
|
-
Add to your shell profile for convenience:
|
|
102
|
-
|
|
103
|
-
```powershell
|
|
104
|
-
# PowerShell profile
|
|
105
|
-
function ghp { $env:GH_CONFIG_DIR = "$HOME/.config/gh-public"; gh @args; Remove-Item Env:\GH_CONFIG_DIR }
|
|
106
|
-
function ghe { gh @args } # Default EMU
|
|
107
|
-
|
|
108
|
-
# Usage:
|
|
109
|
-
# ghp repo clone personaluser/repo # Uses personal account
|
|
110
|
-
# ghe issue list # Uses EMU account
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
# Bash/Zsh profile
|
|
115
|
-
alias ghp='GH_CONFIG_DIR=~/.config/gh-public gh'
|
|
116
|
-
alias ghe='gh'
|
|
117
|
-
|
|
118
|
-
# Usage:
|
|
119
|
-
# ghp repo clone personaluser/repo
|
|
120
|
-
# ghe issue list
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
## Examples
|
|
124
|
-
|
|
125
|
-
### ✓ Correct: Agent pushes blog post to personal GitHub Pages
|
|
126
|
-
|
|
127
|
-
```powershell
|
|
128
|
-
# Agent needs to push to personaluser.github.io (personal repo)
|
|
129
|
-
# Default gh auth is corpalias_enterprise (EMU)
|
|
130
|
-
|
|
131
|
-
$token = gh auth token --user personaluser
|
|
132
|
-
git remote set-url origin https://personaluser:$token@github.com/personaluser/personaluser.github.io.git
|
|
133
|
-
git push origin main
|
|
134
|
-
|
|
135
|
-
# Clean up — don't leave token in remote URL
|
|
136
|
-
git remote set-url origin https://github.com/personaluser/personaluser.github.io.git
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### ✓ Correct: Agent creates a PR from personal fork to upstream
|
|
140
|
-
|
|
141
|
-
```powershell
|
|
142
|
-
# Fork: personaluser/squad, Upstream: bradygaster/squad
|
|
143
|
-
# Agent is on branch contrib/fix-docs in the fork clone
|
|
144
|
-
|
|
145
|
-
git push origin contrib/fix-docs # Pushes to fork (may need token auth)
|
|
146
|
-
|
|
147
|
-
# Create PR targeting upstream
|
|
148
|
-
gh pr create --repo bradygaster/squad --head personaluser:contrib/fix-docs `
|
|
149
|
-
--title "docs: fix installation guide" `
|
|
150
|
-
--body "Fixes #123"
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### ✗ Incorrect: Blindly pushing with wrong account
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
# BAD: Agent assumes default gh auth works for personal repos
|
|
157
|
-
git push origin main
|
|
158
|
-
# ERROR: Permission denied — EMU account has no access to personal repo
|
|
159
|
-
|
|
160
|
-
# BAD: Hardcoding tokens in scripts
|
|
161
|
-
git push https://personaluser:ghp_xxxxxxxxxxxx@github.com/personaluser/repo.git main
|
|
162
|
-
# SECURITY RISK: Token exposed in command history and process list
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### ✓ Correct: Check before you push
|
|
166
|
-
|
|
167
|
-
```bash
|
|
168
|
-
# Always verify which account has access before operations
|
|
169
|
-
gh auth status
|
|
170
|
-
# If wrong account, use token extraction:
|
|
171
|
-
$token = gh auth token --user personaluser
|
|
172
|
-
git push https://personaluser:$token@github.com/personaluser/repo.git main
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
## Anti-Patterns
|
|
176
|
-
|
|
177
|
-
- ❌ **Hardcoding tokens** in scripts, environment variables, or committed files. Use `gh auth token --user` to extract at runtime.
|
|
178
|
-
- ❌ **Assuming the default `gh` auth works** for all repos. EMU accounts can't access personal repos and vice versa.
|
|
179
|
-
- ❌ **Switching `gh auth login`** globally mid-session. This changes the default for ALL processes and can break parallel agents.
|
|
180
|
-
- ❌ **Storing personal tokens in `.env`** or `.squad/` files. These get committed by Scribe. Use `gh`'s credential store.
|
|
181
|
-
- ❌ **Ignoring token cleanup** after inline HTTPS pushes. Always reset the remote URL to avoid persisting tokens.
|
|
182
|
-
- ❌ **Using `gh auth switch`** in multi-agent sessions. One agent switching affects all others sharing the shell.
|
|
183
|
-
- ❌ **Mixing EMU and personal operations** in the same git clone. Use separate clones or explicit remote URLs per operation.
|
|
1
|
+
---
|
|
2
|
+
name: "gh-auth-isolation"
|
|
3
|
+
description: "Safely manage multiple GitHub identities (EMU + personal) in agent workflows"
|
|
4
|
+
domain: "security, github-integration, authentication, multi-account"
|
|
5
|
+
confidence: "high"
|
|
6
|
+
source: "earned (production usage across 50+ sessions with EMU corp + personal GitHub accounts)"
|
|
7
|
+
tools:
|
|
8
|
+
- name: "gh"
|
|
9
|
+
description: "GitHub CLI for authenticated operations"
|
|
10
|
+
when: "When accessing GitHub resources requiring authentication"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Context
|
|
14
|
+
|
|
15
|
+
Many developers use GitHub through an Enterprise Managed User (EMU) account at work while maintaining a personal GitHub account for open-source contributions. AI agents spawned by Squad inherit the shell's default `gh` authentication — which is usually the EMU account. This causes failures when agents try to push to personal repos, create PRs on forks, or interact with resources outside the enterprise org.
|
|
16
|
+
|
|
17
|
+
This skill teaches agents how to detect the active identity, switch contexts safely, and avoid mixing credentials across operations.
|
|
18
|
+
|
|
19
|
+
## Patterns
|
|
20
|
+
|
|
21
|
+
### Detect Current Identity
|
|
22
|
+
|
|
23
|
+
Before any GitHub operation, check which account is active:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
gh auth status
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Look for:
|
|
30
|
+
- `Logged in to github.com as USERNAME` — the active account
|
|
31
|
+
- `Token scopes: ...` — what permissions are available
|
|
32
|
+
- Multiple accounts will show separate entries
|
|
33
|
+
|
|
34
|
+
### Extract a Specific Account's Token
|
|
35
|
+
|
|
36
|
+
When you need to operate as a specific user (not the default):
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Get the personal account token (by username)
|
|
40
|
+
gh auth token --user personaluser
|
|
41
|
+
|
|
42
|
+
# Get the EMU account token
|
|
43
|
+
gh auth token --user corpalias_enterprise
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Use case:** Push to a personal fork while the default `gh` auth is the EMU account.
|
|
47
|
+
|
|
48
|
+
### Push to Personal Repos from EMU Shell
|
|
49
|
+
|
|
50
|
+
The most common scenario: your shell defaults to the EMU account, but you need to push to a personal GitHub repo.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# 1. Extract the personal token
|
|
54
|
+
$token = gh auth token --user personaluser
|
|
55
|
+
|
|
56
|
+
# 2. Push using token-authenticated HTTPS
|
|
57
|
+
git push https://personaluser:$token@github.com/personaluser/repo.git branch-name
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Why this works:** `gh auth token --user` reads from `gh`'s credential store without switching the active account. The token is used inline for a single operation and never persisted.
|
|
61
|
+
|
|
62
|
+
### Create PRs on Personal Forks
|
|
63
|
+
|
|
64
|
+
When the default `gh` context is EMU but you need to create a PR from a personal fork:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Option 1: Use --repo flag (works if token has access)
|
|
68
|
+
gh pr create --repo upstream/repo --head personaluser:branch --title "..." --body "..."
|
|
69
|
+
|
|
70
|
+
# Option 2: Temporarily set GH_TOKEN for one command
|
|
71
|
+
$env:GH_TOKEN = $(gh auth token --user personaluser)
|
|
72
|
+
gh pr create --repo upstream/repo --head personaluser:branch --title "..."
|
|
73
|
+
Remove-Item Env:\GH_TOKEN
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Config Directory Isolation (Advanced)
|
|
77
|
+
|
|
78
|
+
For complete isolation between accounts, use separate `gh` config directories:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Personal account operations
|
|
82
|
+
$env:GH_CONFIG_DIR = "$HOME/.config/gh-public"
|
|
83
|
+
gh auth login # Login with personal account (one-time setup)
|
|
84
|
+
gh repo clone personaluser/repo
|
|
85
|
+
|
|
86
|
+
# EMU account operations (default)
|
|
87
|
+
Remove-Item Env:\GH_CONFIG_DIR
|
|
88
|
+
gh auth status # Back to EMU account
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**Setup (one-time):**
|
|
92
|
+
```bash
|
|
93
|
+
# Create isolated config for personal account
|
|
94
|
+
mkdir ~/.config/gh-public
|
|
95
|
+
$env:GH_CONFIG_DIR = "$HOME/.config/gh-public"
|
|
96
|
+
gh auth login --web --git-protocol https
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Shell Aliases for Quick Switching
|
|
100
|
+
|
|
101
|
+
Add to your shell profile for convenience:
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
# PowerShell profile
|
|
105
|
+
function ghp { $env:GH_CONFIG_DIR = "$HOME/.config/gh-public"; gh @args; Remove-Item Env:\GH_CONFIG_DIR }
|
|
106
|
+
function ghe { gh @args } # Default EMU
|
|
107
|
+
|
|
108
|
+
# Usage:
|
|
109
|
+
# ghp repo clone personaluser/repo # Uses personal account
|
|
110
|
+
# ghe issue list # Uses EMU account
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
# Bash/Zsh profile
|
|
115
|
+
alias ghp='GH_CONFIG_DIR=~/.config/gh-public gh'
|
|
116
|
+
alias ghe='gh'
|
|
117
|
+
|
|
118
|
+
# Usage:
|
|
119
|
+
# ghp repo clone personaluser/repo
|
|
120
|
+
# ghe issue list
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Examples
|
|
124
|
+
|
|
125
|
+
### ✓ Correct: Agent pushes blog post to personal GitHub Pages
|
|
126
|
+
|
|
127
|
+
```powershell
|
|
128
|
+
# Agent needs to push to personaluser.github.io (personal repo)
|
|
129
|
+
# Default gh auth is corpalias_enterprise (EMU)
|
|
130
|
+
|
|
131
|
+
$token = gh auth token --user personaluser
|
|
132
|
+
git remote set-url origin https://personaluser:$token@github.com/personaluser/personaluser.github.io.git
|
|
133
|
+
git push origin main
|
|
134
|
+
|
|
135
|
+
# Clean up — don't leave token in remote URL
|
|
136
|
+
git remote set-url origin https://github.com/personaluser/personaluser.github.io.git
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### ✓ Correct: Agent creates a PR from personal fork to upstream
|
|
140
|
+
|
|
141
|
+
```powershell
|
|
142
|
+
# Fork: personaluser/squad, Upstream: bradygaster/squad
|
|
143
|
+
# Agent is on branch contrib/fix-docs in the fork clone
|
|
144
|
+
|
|
145
|
+
git push origin contrib/fix-docs # Pushes to fork (may need token auth)
|
|
146
|
+
|
|
147
|
+
# Create PR targeting upstream
|
|
148
|
+
gh pr create --repo bradygaster/squad --head personaluser:contrib/fix-docs `
|
|
149
|
+
--title "docs: fix installation guide" `
|
|
150
|
+
--body "Fixes #123"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### ✗ Incorrect: Blindly pushing with wrong account
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
# BAD: Agent assumes default gh auth works for personal repos
|
|
157
|
+
git push origin main
|
|
158
|
+
# ERROR: Permission denied — EMU account has no access to personal repo
|
|
159
|
+
|
|
160
|
+
# BAD: Hardcoding tokens in scripts
|
|
161
|
+
git push https://personaluser:ghp_xxxxxxxxxxxx@github.com/personaluser/repo.git main
|
|
162
|
+
# SECURITY RISK: Token exposed in command history and process list
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### ✓ Correct: Check before you push
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
# Always verify which account has access before operations
|
|
169
|
+
gh auth status
|
|
170
|
+
# If wrong account, use token extraction:
|
|
171
|
+
$token = gh auth token --user personaluser
|
|
172
|
+
git push https://personaluser:$token@github.com/personaluser/repo.git main
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Anti-Patterns
|
|
176
|
+
|
|
177
|
+
- ❌ **Hardcoding tokens** in scripts, environment variables, or committed files. Use `gh auth token --user` to extract at runtime.
|
|
178
|
+
- ❌ **Assuming the default `gh` auth works** for all repos. EMU accounts can't access personal repos and vice versa.
|
|
179
|
+
- ❌ **Switching `gh auth login`** globally mid-session. This changes the default for ALL processes and can break parallel agents.
|
|
180
|
+
- ❌ **Storing personal tokens in `.env`** or `.squad/` files. These get committed by Scribe. Use `gh`'s credential store.
|
|
181
|
+
- ❌ **Ignoring token cleanup** after inline HTTPS pushes. Always reset the remote URL to avoid persisting tokens.
|
|
182
|
+
- ❌ **Using `gh auth switch`** in multi-agent sessions. One agent switching affects all others sharing the shell.
|
|
183
|
+
- ❌ **Mixing EMU and personal operations** in the same git clone. Use separate clones or explicit remote URLs per operation.
|