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
18 changes: 18 additions & 0 deletions docs/agents/IMPLEMENTATION_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ Token Economy: follow `AGENT_OPERATIONAL_TOKEN_ECONOMY.md` (read targeted, commu

Default behavior: for implementation work, complete the full workflow (branch, tests, draft PR, ready PR, merge, sync). Do not offer or accept skip options.

## Identity (REQUIRED)

Implementation work (creating branches/PRs, pushing commits, merging) must be performed using the **implementer** GitHub identity (not the reviewer identity).

**Before starting:**
```bash
## Preferred: isolated auth store for the implementer role
# PowerShell example:
# $env:GH_CONFIG_DIR="$env:USERPROFILE\.config\gh-implement"
# Bash example:
# export GH_CONFIG_DIR="$HOME/.config/gh-implement"

gh auth switch -u <implementer_login>
gh api user --jq .login
```

If the active identity is not the implementer identity, **stop** and request setup/switching before proceeding.

## Multi-Iteration Protocol (Same Chat / Session)

Sometimes a session completes one implementation loop and immediately starts another (new issue, new feature, or a follow-up bug). To keep context clean and avoid workflow drift, do this explicitly.
Expand Down
7 changes: 7 additions & 0 deletions docs/agents/PR_REVIEW_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ PR reviews must be performed using a dedicated **reviewer** GitHub identity (not

**Before starting:**
```bash
## Preferred: isolated auth store for the reviewer role
# (pick a location that matches your OS conventions)
# PowerShell example:
# $env:GH_CONFIG_DIR="$env:USERPROFILE\.config\gh-review"
# Bash example:
# export GH_CONFIG_DIR="$HOME/.config/gh-review"

gh auth switch -u <reviewer_login>
gh api user --jq .login
```
Expand Down
6 changes: 6 additions & 0 deletions skills/implement/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Implement a feature/bug end-to-end using the AIDE implementation workflow.

If there is no spec yet, switch to `/design` (exploration) before implementing.

## Identity (REQUIRED)

- 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`).
- If the active GitHub identity is the reviewer identity, stop and request switching identities before proceeding.

## Workflow

This skill follows the canonical Implementation workflow. The step list below is generated from the workflow manifest to prevent drift.
Expand Down