You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 314f664
Browse filesBrowse the repository at this point in the historyBrowse files
Rewritten onto current main with safe current-checkout defaults, git-private artifacts, and focused regression coverage.
Co-authored-by: Cameron Beeley <[email protected]>
Copy file name to clipboardExpand all lines: .agents/skills/local-clawsweeper-review/SKILL.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: local-clawsweeper-review
3
-
description: Run a local ClawSweeper issue or PR review before submitting or updating a pull request, including Codex CLI auth preflight, exact-item review command, artifact inspection, and no-GitHub-mutation safety. Use when asked to run local ClawSweeper, local clawsweeper review, pre-PR ClawSweeper check, or verify a PR with ClawSweeper locally.
3
+
description: Run local ClawSweeper exact-item or committed-range reviews without GitHub mutation.
4
4
---
5
5
6
6
# Local ClawSweeper Review
@@ -10,7 +10,8 @@ submitting, updating, or re-reviewing an issue or PR.
10
10
11
11
## Safety Boundary
12
12
13
-
- Run only `pnpm run review -- --local-only` for the default workflow.
13
+
- Run only `pnpm run review -- --local-only` for an existing GitHub item, or
14
+
`pnpm run review -- --local-range` for a pre-submission committed range.
14
15
- Do not run `apply-artifacts`, `apply-decisions`, GitHub comment posting, or
15
16
merge/autofix commands unless the user explicitly asks for that mutation.
16
17
- Do not print `OPENAI_API_KEY`, `CODEX_API_KEY`, `CODEX_ACCESS_TOKEN`, GitHub
@@ -75,6 +76,10 @@ run. On Windows, the runner prefers the Codex app binary under
75
76
By default, an exact local PR review manages its own target checkout under
76
77
`artifacts/local-review-<pr-number>/target`.
77
78
79
+
By default, `--local-range` reviews the clean checkout where the command was
80
+
invoked. It does not manage or switch that checkout. Pass `--target-dir` when
81
+
the branch to review is elsewhere.
82
+
78
83
Pass `--target-dir` when the operator wants to review an existing checkout or
79
84
an issue.
80
85
@@ -116,6 +121,20 @@ pnpm run review -- --local-only \
116
121
--target-dir <target-dir>
117
122
```
118
123
124
+
To review committed branch work before a PR exists:
125
+
126
+
```sh
127
+
pnpm run review -- --local-range \
128
+
--target-repo <owner/repo> \
129
+
--base origin/main
130
+
```
131
+
132
+
The range is `merge-base(<base>, HEAD)..HEAD`. It must be clean and contain at
133
+
least one commit beyond the base. This path withholds GitHub credentials,
134
+
isolates cached `gh` auth, disables web search, and skips host-side URL/media
135
+
preprocessing. It still calls the configured Codex model service; do not call it
136
+
air-gapped or fully network-offline.
137
+
119
138
The exact local command prints a human-readable progress summary by default. Add
120
139
`--verbose` only when debugging checkout, selection, or Codex process details.
121
140
@@ -148,7 +167,7 @@ stderr or log summary.
148
167
149
168
Before reporting success:
150
169
151
-
- Confirm the command used `review --local-only`.
170
+
- Confirm the command used `review --local-only` or `review --local-range`.
152
171
- Confirm no GitHub comments, labels, merges, or apply commands were run.
153
172
- Confirm the target checkout is still clean.
154
173
- If findings exist, list the actionable items and the next local fix/test step.
0 commit comments