Skip to content

Commit 77b075e

Browse files
Copilotafranken
andcommitted
Document copyright year update rule in AGENTS.md
Add explicit DO/DON'T directives: update copyright year in the license header when modifying an existing file, and don't update copyright in files you haven't actually changed. Co-authored-by: afranken <763000+afranken@users.noreply.github.com>
1 parent d807a16 commit 77b075e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ docker/ # Docker image build
4444
- Use **backtick test names** with descriptive sentences: `` fun `should create bucket successfully`() ``
4545
- Mark test classes as **`internal`**: `internal class ObjectServiceTest`
4646
- **Refactor** legacy `testSomething` camelCase names to backtick style when touching existing tests
47+
- **Update the copyright year** in the file's license header to the current year whenever you modify an existing file
4748
- Validate XML serialization against [AWS S3 API documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html)
4849

4950
### DON'T
@@ -59,6 +60,7 @@ docker/ # Docker image build
5960
- DON'T share mutable state between tests — each test must be self-contained
6061
- DON'T hardcode bucket names in tests — use `UUID.randomUUID()` for uniqueness
6162
- DON'T use legacy `testSomething` camelCase naming for new tests — use backtick names instead
63+
- DON'T update copyright years in files you haven't modified — copyright is only bumped when a file is actually changed
6264

6365
## Code Style
6466

0 commit comments

Comments
 (0)