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
For each specific issue, post a comment on the exact file and line:
60
60
61
61
```bash
62
-
gh api -X POST -H "Accept: application/vnd.github+json""repos/<owner/repo>/pulls/<number>/comments" -f body=$'Your comment\n\n— Claude Code' -f path="path/to/file" -F line=<line_number> -f side="RIGHT" -f commit_id="<headRefOid>"
62
+
gh api -X POST -H "Accept: application/vnd.github+json""repos/<owner/repo>/pulls/<number>/comments" -f body="Your comment<br><br>— Claude Code" -f path="path/to/file" -F line=<line_number> -f side="RIGHT" -f commit_id="<headRefOid>"
63
63
```
64
64
65
-
**The command must stay on a single bash line.**Use `$'...'` quoting for the `-f body=` value, with `\n` for line breaks. Never use`<br>`— it renders as literal text inside code blocks and suggestion blocks.
65
+
**The command must stay on a single bash line.**Never use newlines in bash commands — use `<br>` for line breaks in comment bodies. Never put`<br>`inside code blocks or suggestion blocks — use `\n` within `$'...'` quoting only for content inside fenced code blocks.
66
66
67
67
Each inline comment must:
68
68
- Be short and direct — say what's wrong, why it's wrong, and how to fix it in 1-3 sentences
@@ -76,7 +76,7 @@ Each inline comment must:
76
76
Only suggest when you can show the exact replacement. For architectural or design issues, just describe the problem.
77
77
Example with a suggestion block:
78
78
```bash
79
-
gh api ... -f body=$'Missing the shared-guidelines update command.\n\n```suggestion\n/plugin update shared-guidelines@scality-agent-hub\n/plugin update scality-skills@scality-agent-hub\n```\n\n— Claude Code' ...
79
+
gh api ... -f body=$'Missing the shared-guidelines update command.<br><br>```suggestion\n/plugin update shared-guidelines@scality-agent-hub\n/plugin update scality-skills@scality-agent-hub\n```<br><br>— Claude Code' ...
80
80
```
81
81
- Escape single quotes inside `$'...'` as `\'` (e.g., `don\'t`)
82
82
- End with: `— Claude Code`
@@ -86,10 +86,10 @@ Use the line number from the **new version** of the file (the line number you'd
86
86
#### Part B: Summary comment
87
87
88
88
```bash
89
-
gh pr comment <number> --repo <owner/repo> --body $'LGTM\n\nReview by Claude Code'
89
+
gh pr comment <number> --repo <owner/repo> --body "LGTM<br><br>Review by Claude Code"
90
90
```
91
91
92
-
**The command must stay on a single bash line.**Use `$'...'` quoting with `\n` for line breaks.
92
+
**The command must stay on a single bash line.**Never use newlines in bash commands — use `<br>` for line breaks in comment bodies. Never put `<br>` inside code blocks or suggestion blocks.
93
93
94
94
Do not describe or summarize the PR. For each issue, state the problem on one line, then list one or more suggestions below it:
Copy file name to clipboardExpand all lines: replicationAudit/README.md
+217-4Lines changed: 217 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,15 @@
1
1
# TL;DR Complete Workflow Example
2
2
3
-
Here's a complete example running the two scripts and audit the IAM policies used by CRR:
3
+
Here's a complete example running the two scripts and audit the IAM policies used by CRR.
4
+
5
+
Use the fix-missing-replication-permissions.js script (step 7) to correct any missing permissions found by the check script. If the fix script fails with "missing ownerDisplayName", re-run check-replication-permissions.js — this field was added in s3utils 1.17.5.
4
6
5
7
From your local machine: copy scripts to the supervisor
0 commit comments