fix(changelog): reject bot/app handles as Thanks attribution and require explicit human credit#81357
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fb050dba7d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex review: passed. Summary Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app Real behavior proof Next step before merge Security Review detailsBest possible solution: Land the repaired head through the existing exact-head checks and maintainer/automerge gate, keeping the shared predicate plus focused regression coverage. Do we have a high-confidence way to reproduce the issue? Yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app Is this the best way to solve the issue? Yes. Centralizing the attribution predicate in the Node scanner and calling it from the shell gate is the narrow maintainable fix, and the final diff preserves the existing no-thanks fallback for non-bot forbidden handles. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 1f45b37fe17c. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be890d010d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
/clawsweeper re-review |
|
@codex review |
|
local codex review: • The changes consistently tighten changelog attribution checks and wire the shell gating logic to the same |
|
Codex Review: Didn't find any major issues. Bravo. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
/clawsweeper status |
|
/clawsweeper automerge |
1 similar comment
|
/clawsweeper automerge |
|
🦞✅ Source: What merged:
Automerge notes:
The automerge loop is complete. Automerge progress:
|
0842025 to
1e6d0f5
Compare
|
🦞👀
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…ire explicit human credit (#81357) Summary: - The PR expands forbidden changelog `Thanks` attribution rules for bot/app handles, shares the Node predicate ... ngelog gate, requires explicit human credit for bot/app-authored changelog entries, and adds focused tests. - Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app `Thanks` handles are not all rejected; I did not execute tests because this review was read-only. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: simplify bot changelog credit guard - PR branch already contained follow-up commit before automerge: fix: share changelog credit attribution rule - PR branch already contained follow-up commit before automerge: fix: tighten changelog attribution scanning - PR branch already contained follow-up commit before automerge: test: cover legacy changelog credit exclusions - PR branch already contained follow-up commit before automerge: fix: express changelog credit exclusions as union sets - PR branch already contained follow-up commit before automerge: fix: avoid substring changelog credit exclusions Validation: - ClawSweeper review passed for head 1e6d0f53ec4505e2b45468becd6e5330a49ed1b0. - Required merge gates passed before the squash merge. Prepared head SHA: 1e6d0f53ec4505e2b45468becd6e5330a49ed1b0 Review: openclaw/openclaw#81357 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
…ire explicit human credit (#81357) Summary: - The PR expands forbidden changelog `Thanks` attribution rules for bot/app handles, shares the Node predicate ... ngelog gate, requires explicit human credit for bot/app-authored changelog entries, and adds focused tests. - Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app `Thanks` handles are not all rejected; I did not execute tests because this review was read-only. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: simplify bot changelog credit guard - PR branch already contained follow-up commit before automerge: fix: share changelog credit attribution rule - PR branch already contained follow-up commit before automerge: fix: tighten changelog attribution scanning - PR branch already contained follow-up commit before automerge: test: cover legacy changelog credit exclusions - PR branch already contained follow-up commit before automerge: fix: express changelog credit exclusions as union sets - PR branch already contained follow-up commit before automerge: fix: avoid substring changelog credit exclusions Validation: - ClawSweeper review passed for head 1e6d0f53ec4505e2b45468becd6e5330a49ed1b0. - Required merge gates passed before the squash merge. Prepared head SHA: 1e6d0f53ec4505e2b45468becd6e5330a49ed1b0 Review: openclaw/openclaw#81357 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
…ire explicit human credit (openclaw#81357) Summary: - The PR expands forbidden changelog `Thanks` attribution rules for bot/app handles, shares the Node predicate ... ngelog gate, requires explicit human credit for bot/app-authored changelog entries, and adds focused tests. - Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app `Thanks` handles are not all rejected; I did not execute tests because this review was read-only. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: simplify bot changelog credit guard - PR branch already contained follow-up commit before automerge: fix: share changelog credit attribution rule - PR branch already contained follow-up commit before automerge: fix: tighten changelog attribution scanning - PR branch already contained follow-up commit before automerge: test: cover legacy changelog credit exclusions - PR branch already contained follow-up commit before automerge: fix: express changelog credit exclusions as union sets - PR branch already contained follow-up commit before automerge: fix: avoid substring changelog credit exclusions Validation: - ClawSweeper review passed for head 1e6d0f5. - Required merge gates passed before the squash merge. Prepared head SHA: 1e6d0f5 Review: openclaw#81357 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
…ire explicit human credit (openclaw#81357) Summary: - The PR expands forbidden changelog `Thanks` attribution rules for bot/app handles, shares the Node predicate ... ngelog gate, requires explicit human credit for bot/app-authored changelog entries, and adds focused tests. - Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app `Thanks` handles are not all rejected; I did not execute tests because this review was read-only. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: simplify bot changelog credit guard - PR branch already contained follow-up commit before automerge: fix: share changelog credit attribution rule - PR branch already contained follow-up commit before automerge: fix: tighten changelog attribution scanning - PR branch already contained follow-up commit before automerge: test: cover legacy changelog credit exclusions - PR branch already contained follow-up commit before automerge: fix: express changelog credit exclusions as union sets - PR branch already contained follow-up commit before automerge: fix: avoid substring changelog credit exclusions Validation: - ClawSweeper review passed for head 1e6d0f5. - Required merge gates passed before the squash merge. Prepared head SHA: 1e6d0f5 Review: openclaw#81357 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
…ire explicit human credit (openclaw#81357) Summary: - The PR expands forbidden changelog `Thanks` attribution rules for bot/app handles, shares the Node predicate ... ngelog gate, requires explicit human credit for bot/app-authored changelog entries, and adds focused tests. - Reproducibility: yes. Current main source shows bot/app changelog authors can skip human attribution and bot/app `Thanks` handles are not all rejected; I did not execute tests because this review was read-only. Automerge notes: - PR branch already contained follow-up commit before automerge: fix: simplify bot changelog credit guard - PR branch already contained follow-up commit before automerge: fix: share changelog credit attribution rule - PR branch already contained follow-up commit before automerge: fix: tighten changelog attribution scanning - PR branch already contained follow-up commit before automerge: test: cover legacy changelog credit exclusions - PR branch already contained follow-up commit before automerge: fix: express changelog credit exclusions as union sets - PR branch already contained follow-up commit before automerge: fix: avoid substring changelog credit exclusions Validation: - ClawSweeper review passed for head 1e6d0f5. - Required merge gates passed before the squash merge. Prepared head SHA: 1e6d0f5 Review: openclaw#81357 (comment) Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Summary
Thankshandles to include ClawSweeper bot accounts (clawsweeper,openclaw-clawsweeper,clawsweeper[bot],openclaw-clawsweeper[bot]) andapp/prefixed handles.check-changelog-attributions.mjs) and the shell gate (scripts/pr-lib/changelog.sh) so both useisForbiddenChangelogThanksHandle.Thanks @handle; reject entries that credit only a bot or omit human credit entirely.--is-forbidden-handleCLI flag to the attribution script for shell-side reuse.Change Type
Scope
Linked Issue/PR
Regression Test Plan
test/scripts/check-changelog-attributions.test.tsvalidate_changelog_entry_for_prrequiring explicit human Thanks for bot authors.User-visible / Behavior Changes
Thanks @handlein their CHANGELOG entry line, or the changelog gate will fail.Security Impact
Compatibility / Migration
Risks and Mitigations
Thanks @clawsweeperin changelog will fail the gate.