Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/agents/IMPLEMENTATION_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Implementation work (creating branches/PRs, pushing commits, merging) must be pe
# Bash example:
# export GH_CONFIG_DIR="$HOME/.config/gh-implement"

# Optional project hook (recommended if present):
# powershell -ExecutionPolicy Bypass -File tools/gh/as-implementer.ps1

gh auth switch -u <implementer_login>
gh api user --jq .login
```
Expand Down
3 changes: 3 additions & 0 deletions docs/agents/PR_REVIEW_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ PR reviews must be performed using a dedicated **reviewer** GitHub identity (not
# Bash example:
# export GH_CONFIG_DIR="$HOME/.config/gh-review"

# Optional project hook (recommended if present):
# powershell -ExecutionPolicy Bypass -File tools/gh/as-reviewer.ps1

gh auth switch -u <reviewer_login>
gh api user --jq .login
```
Expand Down
1 change: 1 addition & 0 deletions skills/implement/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ If there is no spec yet, switch to `/design` (exploration) before implementing.

- Use the implementer GitHub identity for all implementation actions (branch/PR/push/merge).
- Prefer an isolated `gh` auth store for the implementer role via `GH_CONFIG_DIR` (see `.aide/docs/agents/IMPLEMENTATION_START.md`).
- Preferred: `powershell -ExecutionPolicy Bypass -File tools/gh/as-implementer.ps1` (if present).
- If the active GitHub identity is the reviewer identity, stop and request switching identities before proceeding.

## Workflow
Expand Down
4 changes: 3 additions & 1 deletion skills/pr-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ Review a PR against the linked issue spec and project constraints. Do not push f
- Findings grouped by severity (Critical/Major/Minor) with `path:line` references.
- Clear decision: approve / request changes / non-blocking.
- Prefer submitting as a formal GitHub Review via `gh pr review` (not only as a PR comment).
- Switch to the reviewer identity before reviewing: `gh auth switch -u <reviewer_login>` (see `.aide/docs/agents/PR_REVIEW_START.md`).
- Switch to the reviewer identity before reviewing:
- Preferred: `powershell -ExecutionPolicy Bypass -File tools/gh/as-reviewer.ps1` (if present)
- Fallback: `gh auth switch -u <reviewer_login>` (see `.aide/docs/agents/PR_REVIEW_START.md`)
- If the reviewer identity == PR author, stop and request switching identities (do not review as the author).

## Reference
Expand Down