Docs: keep the original author when carrying someone's commits #3456

Open
rafaelfalcao11 wants to merge 1 commit from upstream-pr/3456 into main
rafaelfalcao11 commented 2026-11-29 19:47:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by rafaelfalcao11 on 2026-11-29T19:47:53Z.


Adds the rule from #3174: when carrying another contributor's commits (into a stack, a port to a dev branch, or your own PR), keep their author. Cherry-pick or rebase does that; a re-commit under the carrier's name or --reset-author does not. Squashed or rewritten work gets a Co-authored-by: trailer for each original author, and the description names the PR the commits came from.

Fixes #3174

What is in it

  • CONTRIBUTING.md: one bullet under "Commits", with the wording proposed in #3174.
  • AGENTS.md: one line under "Commits", with the wording proposed in #3174.

Tested

  • macOS 26 (Apple Silicon), Python 3.14.4: python3 -m unittest discover -s scripts -p 'test_*.py' ran 38 tests, OK.
  • scripts/pr_check.py accepts this description.

Not tested

  • The Rust workspace: not built and not tested (macOS). No file under crates/ changes.
  • The Windows CI job: it runs on every pull request, and on the current main it has been failing on flaky shader tests unrelated to this change (see #3180).

Regression run

  • Not needed: documentation only.

AI use
Cursor. The change was written in Cursor (Auto mode), which does not expose the underlying model, so the exact model is unknown. I reviewed the diff.

<!-- greyfinch-sync:ivall/xcl:issue:5554440248 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456). Originally posted by [rafaelfalcao11](https://github.com/rafaelfalcao11) on 2026-11-29T19:47:53Z. --- Adds the rule from #3174: when carrying another contributor's commits (into a stack, a port to a dev branch, or your own PR), keep their author. Cherry-pick or rebase does that; a re-commit under the carrier's name or `--reset-author` does not. Squashed or rewritten work gets a `Co-authored-by:` trailer for each original author, and the description names the PR the commits came from. Fixes #3174 **What is in it** - `CONTRIBUTING.md`: one bullet under "Commits", with the wording proposed in #3174. - `AGENTS.md`: one line under "Commits", with the wording proposed in #3174. **Tested** - macOS 26 (Apple Silicon), Python 3.14.4: `python3 -m unittest discover -s scripts -p 'test_*.py'` ran 38 tests, OK. - `scripts/pr_check.py` accepts this description. **Not tested** - The Rust workspace: not built and not tested (macOS). No file under `crates/` changes. - The Windows CI job: it runs on every pull request, and on the current `main` it has been failing on flaky shader tests unrelated to this change (see #3180). **Regression run** - Not needed: documentation only. **AI use** Cursor. The change was written in Cursor (Auto mode), which does not expose the underlying model, so the exact model is unknown. I reviewed the diff.
Foniass commented 2026-12-01 08:36:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:36:50Z.


Review (head bc5f7dac, diff read; docs only, nothing to build or run):

  • Nits: the two new lines aren't wrapped at about 100 columns like the rest of the files. The wording comes from #3174's author (kole07139), who offered to open this PR, but the commit doesn't credit them, which is exactly the case the new rule covers; a Co-authored-by trailer would fit.

Fine: the text is word for word the wording proposed in #3174, placed under "Commits" in both files, and it fits the existing rules on rebasing and trailers. "Model unknown" is stated honestly. Looks good to merge once the credit is added.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7305551000 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7305551000). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:36:50Z. --- Review (head bc5f7dac, diff read; docs only, nothing to build or run): - Nits: the two new lines aren't wrapped at about 100 columns like the rest of the files. The wording comes from #3174's author (kole07139), who offered to open this PR, but the commit doesn't credit them, which is exactly the case the new rule covers; a `Co-authored-by` trailer would fit. Fine: the text is word for word the wording proposed in #3174, placed under "Commits" in both files, and it fits the existing rules on rebasing and trailers. "Model unknown" is stated honestly. Looks good to merge once the credit is added. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Foniass commented 2026-12-01 09:56:55 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:56:55Z.


Triage (#1607) – head bc5f7da

No open or merged PR adds this rule; main's AGENTS.md and CONTRIBUTING.md say nothing about carrying another contributor's commits. The two lines are the wording proposed in #3174.
No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7307443041 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7307443041). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:56:55Z. --- **Triage (#1607)** – head bc5f7da No open or merged PR adds this rule; main's AGENTS.md and CONTRIBUTING.md say nothing about carrying another contributor's commits. The two lines are the wording proposed in #3174. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
fromthemoonx commented 2026-12-01 19:22:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-12-01T19:22:05Z.


merge-check
base: 38ad22daa6
head: f11195ad04
merge: clean
build: not needed (docs only, Tier 0); the cargo suite was not run
tests: python -m unittest discover -s scripts -p "test_*.py" with PYTHONIOENCODING=utf-8 (Windows): 66 tests, 1 error, the same one as on this base (test_discord_mirror, test_nothing_is_written_when_the_state_cannot_be_saved)
review: read the whole diff (AGENTS.md +3, CONTRIBUTING.md +5). No findings. Both earlier nits are fixed: the new lines are wrapped, and the commit credits #3174's author. git diff --check is clean.

  • CI's Build and test is red on this head. The xcl --lib test process crashed with 0xc0000005 after 3 thread dumps. That looks like #3586, which happens on main too, and this PR changes no code.
    performance: none: docs only
    verdict: not yet: the required CI check is red and needs a rerun; nothing in the PR itself needs to change
    hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)

This is a rerun on the new head; it replaces my report on bc5f7dac.

<!-- greyfinch-sync:ivall/xcl:comment:7322698254 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7322698254). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-12-01T19:22:05Z. --- merge-check base: 38ad22daa624b0fe415889f480016099a9aae390 head: f11195ad04b0f43618ba84193a9e4146b92a7ef1 merge: clean build: not needed (docs only, Tier 0); the cargo suite was not run tests: `python -m unittest discover -s scripts -p "test_*.py"` with `PYTHONIOENCODING=utf-8` (Windows): 66 tests, 1 error, the same one as on this base (`test_discord_mirror`, `test_nothing_is_written_when_the_state_cannot_be_saved`) review: read the whole diff (`AGENTS.md` +3, `CONTRIBUTING.md` +5). No findings. Both earlier nits are fixed: the new lines are wrapped, and the commit credits #3174's author. `git diff --check` is clean. - CI's `Build and test` is red on this head. The `xcl --lib` test process crashed with 0xc0000005 after 3 thread dumps. That looks like #3586, which happens on main too, and this PR changes no code. performance: none: docs only verdict: not yet: the required CI check is red and needs a rerun; nothing in the PR itself needs to change hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5) This is a rerun on the new head; it replaces my report on `bc5f7dac`.
Foniass commented 2026-12-02 12:05:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T12:05:07Z.


Follow-up review (head f11195ad, since bc5f7da, diff read, not a merge-check):

  • Earlier review: no change in meaning; this push (a rebase) only wraps the two new bullets in AGENTS.md and CONTRIBUTING.md at the files' line width.

New: none.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7344819001 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7344819001). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T12:05:07Z. --- Follow-up review (head f11195ad, since bc5f7da, diff read, not a merge-check): - **Earlier review:** no change in meaning; this push (a rebase) only wraps the two new bullets in `AGENTS.md` and `CONTRIBUTING.md` at the files' line width. New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
rafaelfalcao11 commented 2026-12-02 12:12:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by rafaelfalcao11 on 2026-12-02T12:12:18Z.


Added the credit: the commit now has Co-authored-by: kole07139 <[email protected]> and says the wording is their proposal in #3174 (f11195ad). Both new lines are wrapped to the width of the rest of the files.

<!-- greyfinch-sync:ivall/xcl:comment:7344990585 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7344990585). Originally posted by [rafaelfalcao11](https://github.com/rafaelfalcao11) on 2026-12-02T12:12:18Z. --- Added the credit: the commit now has `Co-authored-by: kole07139 <272520786+[email protected]>` and says the wording is their proposal in #3174 (`f11195ad`). Both new lines are wrapped to the width of the rest of the files.
bmjask commented 2026-12-02 14:13:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T14:13:29Z.


@Prime1997 could you take a look at this one for review and merge? My automated review notes are above, if any.

<!-- greyfinch-sync:ivall/xcl:comment:7348190902 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3456#issuecomment-7348190902). Originally posted by [bmjask](https://github.com/bmjask) on 2026-12-02T14:13:29Z. --- @Prime1997 could you take a look at this one for review and merge? My automated review notes are above, if any.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3456:upstream-pr/3456'
git switch 'upstream-pr/3456'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3456'
git switch 'upstream-pr/3456'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3456'
git switch 'upstream-pr/3456'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3456'
git switch 'main'
git merge --squash 'upstream-pr/3456'
git switch 'main'
git merge --ff-only 'upstream-pr/3456'
git switch 'main'
git merge 'upstream-pr/3456'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3456
No description provided.