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/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ defaults:
| `build.test_command` | string | auto-detect | Override test command. `{{file}}` is replaced with the test file path |
| `build.default_branch` | string | `main` | Default branch for git operations |
| `test_runner_skill` | string | — | Name of a custom test runner skill in `~/.claude/skills/` (advanced — for complex test workflows) |
| `watch_pr.auto_fix_ci` | bool | `true` | Auto-fix CI failures detected by `/pilot-watch-pr` |
| `watch_pr.auto_fix_comments` | bool | `false` | Auto-fix review comments detected by `/pilot-watch-pr` |

### Preset Configs

Expand Down Expand Up @@ -91,6 +93,22 @@ Location: `~/.claude/settings.json`

Add project-specific permissions as needed (e.g., `Bash(mvn *)` for Java projects).

## Updating / Syncing

Dev Pilot is actively maintained. When the upstream repo has new commands, agents, or features, sync them to your local `~/.claude/` with:

```bash
cd dev-pilot && git pull
node init.js --config ~/.claude/pilot.yaml --force
```

| Flag | What it does |
|------|-------------|
| `--config ~/.claude/pilot.yaml` | Reuses your existing configuration instead of prompting for setup |
| `--force` | Overwrites framework files (commands, agents) with the latest versions |

> **Note:** `--force` alone (without `--config`) will trigger the interactive setup wizard and create a new `pilot.yaml`, overwriting your existing one. Always pair `--force` with `--config` to preserve your configuration.

## Environment Variables

The dashboard and lib modules also read these environment variables:
Expand Down
2 changes: 1 addition & 1 deletion framework/commands/claude/pilot-watch-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ az repos pr list \

#### Fetch unresolved review threads (GitHub only):

For each PR with `reviewDecision` of `CHANGES_REQUESTED` or `REVIEW_REQUIRED`:
For each PR with `reviewDecision` of `CHANGES_REQUESTED`, `REVIEW_REQUIRED`, or `COMMENTED`:
```bash
gh api graphql -f query='
query($owner:String!,$repo:String!,$number:Int!) {
Expand Down
2 changes: 1 addition & 1 deletion framework/commands/copilot/pilot-watch-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ az repos pr list \

#### Fetch unresolved review threads (GitHub only):

For each PR that has `reviewDecision` of `CHANGES_REQUESTED` or `REVIEW_REQUIRED`:
For each PR that has `reviewDecision` of `CHANGES_REQUESTED`, `REVIEW_REQUIRED`, or `COMMENTED`:
```bash
gh api graphql -f query='
query($owner:String!,$repo:String!,$number:Int!) {
Expand Down
5 changes: 5 additions & 0 deletions pilot.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ defaults:
# (e.g., cross-repo builds, manual verification scenarios).
# If omitted, /pilot-dev-issue uses inline build/test with auto-detection.
# test_runner_skill: my-custom-test-runner

# PR monitoring settings (used by /pilot-watch-pr)
# watch_pr:
Comment thread
frankliu20 marked this conversation as resolved.
# auto_fix_ci: true # default: true — auto-fix CI failures
# auto_fix_comments: false # default: false — auto-fix review comments
Loading