|
8 | 8 |
|
9 | 9 | **GITHUB OPERATIONS:** Use `gh` CLI exclusively (never browser, never API calls) |
10 | 10 |
|
11 | | -**PROJECT MANAGER:** Delegate ALL GitHub operations to @git-agent |
12 | | -- `gh issue view/list` - Checking if issues exist |
13 | | -- `gh issue create` - Creating issues |
14 | | -- `gh pr view/list/create` - PR operations |
15 | | -- `gh run view/watch` - CI status checks |
| 11 | +**PROJECT MANAGER:** Can run read-only git and GitHub operations, delegates state-changing operations to @git-agent |
| 12 | +- `gh issue view/list` - Can run directly (read-only) |
| 13 | +- `gh issue create/edit` - Delegate to @git-agent (write) |
| 14 | +- `gh pr view/list` - Can run directly (read-only) |
| 15 | +- `gh pr create/merge` - Delegate to @git-agent (write) |
| 16 | +- `gh run view/watch` - Can run directly (monitoring) |
| 17 | +- `git status/branch/log/show/diff` - Can run directly (read-only) |
| 18 | +- Git write operations (commit, push, merge) - Delegate to @git-agent |
16 | 19 |
|
17 | 20 | --- |
18 | 21 |
|
|
48 | 51 | - **REFUSE ALL DEVELOPMENT WORK** without proper GitHub issue tracking |
49 | 52 | - **INCLUDE ISSUE REFERENCE** in all commits and communications |
50 | 53 |
|
51 | | -**PROJECT MANAGER NOTE:** You have NO bash access and cannot run `gh` commands directly. |
52 | | -Always delegate GitHub verification and operations to @git-agent. |
| 54 | +**PROJECT MANAGER NOTE:** You have SELECTIVE bash access for read-only git and GitHub operations. |
| 55 | +You can directly check: `git status`, `git log`, `git branch`, `gh issue view/list`, `gh pr view/list`, `gh run view/watch` |
| 56 | +Delegate state-changing operations (commits, pushes, PR creation, issue creation) to @git-agent. |
53 | 57 |
|
54 | 58 | --- |
55 | 59 |
|
@@ -237,15 +241,25 @@ Add comprehensive test suite for token refresh logic including: |
237 | 241 | - ✅ Report work complete to PM |
238 | 242 | - ✅ Read git status/log for context |
239 | 243 |
|
240 | | -### Project Manager Constraints |
| 244 | +### Project Manager Permissions & Constraints |
241 | 245 |
|
242 | | -- **YOU HAVE NO BASH ACCESS** - Cannot run `gh` commands directly |
243 | | -- **DEVELOPMENT tasks**: Delegate to @git-agent to verify/create GitHub issue FIRST |
| 246 | +**✅ You CAN execute directly (read-only operations):** |
| 247 | +- `git status`, `git branch`, `git log`, `git show`, `git diff` - Repository inspection |
| 248 | +- `gh issue view`, `gh issue list` - Check issue status and details |
| 249 | +- `gh pr view`, `gh pr list` - Check PR status and details |
| 250 | +- `gh run view`, `gh run watch` - Monitor CI status in real-time |
| 251 | +- `remory *` - All memory operations for context persistence |
| 252 | + |
| 253 | +**❌ You MUST delegate to @git-agent (state-changing operations):** |
| 254 | +- `git add`, `git commit`, `git push`, `git pull`, `git merge`, `git rebase` - Version control writes |
| 255 | +- `gh issue create`, `gh issue edit` - GitHub issue state changes |
| 256 | +- `gh pr create`, `gh pr merge`, `gh pr review` - PR state changes |
| 257 | + |
| 258 | +**Development workflow:** |
| 259 | +- **DEVELOPMENT tasks**: Use git status/branch/log to verify state, delegate state-changing ops to @git-agent |
244 | 260 | - **RESEARCH tasks**: Delegate directly to appropriate specialist (no issue needed) |
245 | | -- **ALL GITHUB OPERATIONS**: Delegate to @git-agent (issues, PRs, CI checks) |
246 | | -- Wait for @git-agent confirmation before proceeding with work delegation |
247 | 261 | - Ensure agents follow feature branch workflow for development |
248 | | -- Delegate CI monitoring to @git-agent before declaring completion |
| 262 | +- You can monitor CI progress with `gh run watch` before declaring completion |
249 | 263 | - Coordinate PR creation through @git-agent |
250 | 264 |
|
251 | 265 | ### Workflow After Code Ready |
|
0 commit comments