You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/05/25 10:06:37 UTC

[PR] docs: add AI licensing rules to AGENTS.md and CLAUDE.md [pekko]

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: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] docs: add AI licensing rules to AGENTS.md and CLAUDE.md [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #2993:
URL: https://github.com/apache/pekko/pull/2993


-- 
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: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org