He-Pin opened a new pull request, #2993:
URL: https://github.com/apache/pekko/pull/2993

   ### Motivation
   AI assistants have invented or pasted incorrect license headers when 
creating new files, including putting the Akka-derived header on files that 
contain no Akka code. The licensing rules already live in `CONTRIBUTING.md` but 
were not reflected in the agent-facing guides (`AGENTS.md`, `CLAUDE.md`), so 
agents had no direct cue to follow them.
   
   ### Modification
   - Add a `Licensing Rules` section to `AGENTS.md` that mirrors the rules in 
`CONTRIBUTING.md`, instructs agents to use `sbt headerCreateAll` rather than 
hand-write headers, and requires PR-level disclosure when code is copied from 
another file or external project.
   - Update `CLAUDE.md` to call out the same expectation in the PR checklist 
and point at the new section.
   
   ### Result
   Future agent contributions follow the same licensing guidance as human 
contributors. Headers are generated by sbt instead of fabricated, existing 
copyright notices are preserved, and copied-code provenance is captured in the 
PR.
   
   ### Tests
   - Not run - docs only
   
   ### References
   None - aligns `AGENTS.md` and `CLAUDE.md` with the licensing rules already 
documented in `CONTRIBUTING.md`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to