Commit f0703c2
ci: enhance claude code review and clean up enhance-claude-docs skill (#366)
* ci: add resolved-thread dedupe + opt-out label to claude code review
Two changes to the claude-code-review workflow:
1. Resolved-thread dedupe — fetch existing review threads via GraphQL
before reviewing and apply a posting gate to every inline comment:
- Skip if an unresolved thread already covers the same (path, line, topic)
- Skip resolved threads where the fix was applied or author declined
- Unresolve the original thread (no new comment) if a resolved actionable
ask was not addressed in the current code
2. Opt-out label — `skip-claude-review` on a PR suppresses the workflow
on subsequent commits. Removing the label re-enables it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(skill): forbid source PR refs and @-mentions inside doc file edits
The enhance-claude-docs skill was baking provenance like (Source: PR #184)
and reviewer @-mentions directly into the documentation files (e.g.,
agent_docs/conventions.md), creating permanent cross-link noise in source
PRs and burning contributor handles into long-lived docs.
Updates Step 6 with explicit content rules for doc edits: no #N refs, no
@-mentions, no verbatim quoting. Provenance stays in the PR body and
terminal output where it belongs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci(review): suppress summary comment on no-op runs
Previous prompt told the bot to "summarize" without saying when, which
made it post a "No new issues" filler summary on runs where no action
was taken. The current uipath-typescript workflow posts zero plugin
summaries today; this prompt would have changed that behavior.
Now: post a summary ONLY if the run posted a new inline comment or
unresolved a thread. Otherwise stay silent. Preserves the audit-log
value (notifying the author when their thread was unresolved) without
adding noise on no-op pushes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4e998c2 commit f0703c2
2 files changed
Lines changed: 110 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
178 | 188 | | |
179 | 189 | | |
180 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
43 | 141 | | |
44 | 142 | | |
45 | 143 | | |
46 | | - | |
47 | | - | |
| 144 | + | |
0 commit comments