This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/pekko-persistence-cassandra.git
The following commit(s) were added to refs/heads/main by this push:
new f590253 docs: add mandatory header workflow reminder to Licensing
Rules (#430)
f590253 is described below
commit f590253026ce3aa22ce3d7dfd8a6ae187551e414
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Fri Jun 19 17:01:28 2026 +0800
docs: add mandatory header workflow reminder to Licensing Rules (#430)
Motivation:
Agents can miss the rule about not hand-writing license headers and
accidentally paste the wrong header (e.g. the Akka-derived header for
new code).
Modification:
Add a prominent blockquote reminder at the top of the Licensing Rules
section that spells out the mandatory workflow: create file without
header -> sbt headerCreateAll -> done.
Result:
Agents see the workflow before reading the detailed rules, reducing
the chance of hand-writing an incorrect header.
Tests:
Not run - docs only
References:
None - process improvement
---
AGENTS.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index 72f3886..257e6c4 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -16,6 +16,8 @@ Follow `CONTRIBUTING.md`. If this file conflicts with
`CONTRIBUTING.md`, follow
## Licensing Rules
+> **⚠️ Mandatory workflow for new files:** Create the file without any header
→ run `sbt headerCreateAll` → sbt adds the correct header automatically. Never
hand-write or copy-paste a license header.
+
- Do not hand-write or invent license headers. Let sbt manage them.
- For new files, run `sbt headerCreateAll` to add the correct header. Do not
manually paste header text.
- Run `sbt +headerCheckAll` to verify all files carry the expected header.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]