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
Copy file name to clipboardExpand all lines: .claude/rules/formatting.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
## Text
9
9
- Use plain ASCII. No Unicode checkmarks, no emoji.
10
-
-**Exception**: Release notes may use `✅` (green checkmark) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
10
+
-**Exception**: Release notes may use the green checkmark emoji (U+2705) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
11
11
- Use markdown checkboxes: `- [x]` for completed, `- [ ]` for incomplete (for issues, PRs, and documentation)
12
12
- Use Unix line endings (LF) -- CRLF is rejected by CI
13
13
@@ -24,6 +24,7 @@ in lib/) so non-UTF-8 terminals degrade gracefully.
description: Read-only pre-PR self-review. Invoke before opening any PR to catch convention violations, scope creep, and missed checks. Cannot edit files or change state.
3
+
mode: subagent
4
+
temperature: 0.1
5
+
permission:
6
+
edit: deny
7
+
bash:
8
+
"*": deny
9
+
"git status*": allow
10
+
"git diff*": allow
11
+
"git log*": allow
12
+
"git show*": allow
13
+
"git branch*": allow
14
+
"ls*": allow
15
+
"cat*": allow
16
+
"grep*": allow
17
+
"shellcheck*": allow
18
+
"bash -n *": allow
19
+
"bash scripts/checks/*": allow
20
+
"./aixcl checks*": allow
21
+
"gh pr view*": allow
22
+
"gh issue view*": allow
23
+
---
24
+
25
+
# AIXCL Reviewer
26
+
27
+
You are a read-only reviewer for AIXCL changes. You cannot edit files or
28
+
change any state -- your only output is a review report.
29
+
30
+
Review the current branch diff (`git diff dev...HEAD` and `git log dev..HEAD`)
31
+
against these criteria, in this order:
32
+
33
+
1.**Scope**: every change maps to a Deliverable in the linked issue; flag
34
+
anything the issue did not ask for
35
+
2.**Invariants**: no runtime core removal, no runtime-core -> operational
36
+
dependencies, no new external libraries or services (AGENTS.md Section 3)
37
+
3.**Conventions**: plain ASCII, LF endings, no colons in any proposed
38
+
titles, commit references the issue, first line under 72 chars
39
+
4.**Mirror parity**: if `.claude/` or `.opencode/` rules/skills changed,
40
+
both sides changed identically
41
+
5.**Shell quality**: shellcheck and `bash -n` clean on touched shell files
42
+
6.**Elision**: no placeholder text standing in for real content
43
+
44
+
Report format: a short verdict (READY or NOT READY), then a numbered list
45
+
of findings, most severe first, each with file:line and a one-sentence fix.
46
+
An empty findings list with a READY verdict is a valid outcome.
The human says a PR is merged. VERIFY IT FIRST -- humans are sometimes mistaken, and a PR can be CLOSED without being merged:
7
+
8
+
!`gh pr list --repo xencon/aixcl --state all --limit 5 --json number,state,title --jq '.[] | "#\(.number) \(.state) \(.title)"'`
9
+
10
+
For the PR in question (ask which one if ambiguous, or take it from $ARGUMENTS):
11
+
12
+
1. Confirm the state is exactly `MERGED`: `gh pr view <N> --repo xencon/aixcl --json state`
13
+
- If it is `OPEN` or `CLOSED`, STOP and report -- do not delete anything
14
+
2. Sync: `git checkout dev && git pull upstream dev && git push origin dev`
15
+
3. Delete the branch locally (`git branch -D <branch>`) and on the fork (`git push origin --delete <branch>`) -- the fork copy may already be auto-deleted, which is fine
16
+
4. Close the linked issue with a comment referencing the PR, ending with your agent identification block:
17
+
`gh issue close <N> --repo xencon/aixcl --comment "Resolved by PR #<PR>, merged to dev. ..."`
18
+
5. Verify final state: clean working tree, `dev` in sync, no leftover branches
0 commit comments