mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
18 lines
908 B
Markdown
18 lines
908 B
Markdown
# Notes for coding agents
|
|
|
|
Read `CONTRIBUTING.md` before changing anything. Every rule in it applies to agents.
|
|
|
|
@CONTRIBUTING.md
|
|
|
|
- Before each commit:
|
|
1. Stage exactly what you mean to commit (no `git commit -a`).
|
|
2. Print the scope with `python3 scripts/check_text_hygiene.py scope`.
|
|
3. Write the message as UTF-8 without a byte-order mark, to a file outside the repository.
|
|
4. Check it with `python3 scripts/check_text_hygiene.py message <file>`.
|
|
5. Commit with `git commit -F <file>` once the check passes.
|
|
- On Windows, run `python` instead of `python3`.
|
|
- Do not copy the format of older commits. Much of the history before October 2026 breaks these rules.
|
|
- When you brief a sub-agent, give it the exact commit format and these rules, not a paraphrase.
|
|
- Keep working papers (briefs, reviews, scratch measurements, logs) outside the repository.
|
|
- Add no `Co-Authored-By` or other trailers.
|