Skip to content

Commit 4202b43

Browse files
authored
Update LICENSE copyright and add AI attribution instructions (#24)
This PR applies two org-wide standardisation changes (ref: OpenDevicePartnership/embedded-rust-template#20): 1. **LICENSE** – normalise the copyright line to: `Copyright (c) Open Device Partnership and Contributors` 2. **.github/copilot-instructions.md** – add the *Commit Messages* and *AI Attribution* sections so every repo carries consistent guidance for contributors and AI agents.
1 parent 07cccfc commit 4202b43

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copilot Instructions
2+
3+
## Commit Messages
4+
- Subject line: capitalized, 50 characters or less, imperative mood (e.g., "Fix bug" not "Fixed bug")
5+
- Separate subject from body with a blank line
6+
- Wrap body text at 72 characters
7+
- Use the body to explain *what* and *why*, not *how*
8+
9+
## AI Attribution
10+
Every commit that includes AI-generated or AI-assisted work **must** contain an `Assisted-by` trailer in the commit message:
11+
```
12+
Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
13+
```
14+
Where:
15+
- `AGENT_NAME` is the name of the AI tool or framework (e.g., `GitHub Copilot`)
16+
- `MODEL_VERSION` is the specific model version used (e.g., `claude-opus-4.6`)
17+
- `[TOOL1] [TOOL2]` are optional specialized analysis tools used (e.g., `coccinelle`, `sparse`, `smatch`, `clang-tidy`)
18+
Basic development tools (git, cargo, editors) should not be listed.
19+
AI agents **must** verify their own identity (agent name and model version) before composing the `Assisted-by` trailer — do not assume or hard-code a model name from a previous session.
20+
AI agents **MUST NOT** add `Signed-off-by` tags. Only humans can certify the Developer Certificate of Origin.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Open Device Partnership
3+
Copyright (c) Open Device Partnership and Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)