feat: leave non-decision trailers out of commit messages in the trace-decision output
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, github, javascript
- Domain
- developer-experience, tooling
Research direction
Start with tools/trace-decision/collect.mjs, especially where local and pull-request commit messages are assembled and where the status line is produced. First identify the accepted trailer list and the intended handling of AI co-author details, then exercise the collector with commits containing Co-Authored-By, Signed-off-by, and Reviewed-by. Done means Git-parsed trailers are omitted, CONTRIBUTING.md message fields remain, and the status line reports the omitted trailers and counts.
Written by the indexing model from the issue text.
Description
Problem to solve
The collector of the trace-decision skill (tools/trace-decision/collect.mjs) prints the full message of each commit. This includes trailers such as Co-Authored-By, Signed-off-by and Reviewed-by. These lines give no reason for a decision, but the AI assistant reads them in each commit block, also for the other commits of a pull request.
The noise is small now: one line for each commit. No wrong result from it is known. Record the tradeoffs here, so that a later change does not need to find them again.
Proposal
Leave out a fixed list of trailers, for example Co-Authored-By, from the commit messages in the output. Keep the message fields of CONTRIBUTING.md (Why, Rejected, Cost, Evidence, Supersedes).
- Find the trailers with
git interpret-trailers --parseor with the%(trailers)format, not with a pattern of our own. The message fields come before a blank line, so Git does not take them as trailers. A pattern of our own can remove them by mistake. - For the commits of a pull request from GitHub, parse the message text in the same way.
- Name the trailers that the script left out in the status line, as the collector does for the Checks section of a pull request body. For example:
--- message: read, without 1 Co-Authored-By line.
More information
Decide these before the change:
- Which trailers.
Co-Authored-Byis the common case in this repo.Signed-off-byandReviewed-bycan also appear in other projects. - AI involvement. A
Co-Authored-Byline with an AI assistant tells that an assistant helped to write the commit. A reason that an assistant wrote can need a check by the maintainer. If the script removes these lines, it can keep this fact in a short form, for exampleco-authors: Claude Opus 5.5. - When. No wrong result from this noise is known. If none occurs, this issue can close without a change.
- Dominant language
- Shell
- Stars
- 1
- Forks
- 0
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 26
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from c-w-z/commit-decision-record
-
type/documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
c-w-z/commit-decision-record#90 · 1 comment ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
c-w-z/commit-decision-record#85 ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
c-w-z/commit-decision-record#84 ·
Maintainers usually reply within 1 day
-
type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
c-w-z/commit-decision-record#35 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
c-w-z/commit-decision-record#33 ·
Maintainers usually reply within 1 day
All issues in c-w-z/commit-decision-record
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
Battery "top up once" ends immediately when UPower reports fully-charged below 100%Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
omacom/omarchy#21286 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
libretro/libretro-super#2238 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ChurchCRM/docs.churchcrm.io#328 ·
Maintainers usually reply within 1 day