Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: Clarify issue URL placement in commit titles

Daniel444763fb1f17
diff --git a/AGENTS.md b/AGENTS.md
index 5a58e9c764..ba6a3119e3 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -127,7 +127,7 @@ Four webpack configs each emit a separate bundle to `app/stage/build/{app,deskto
7. **Git:**
- **NEVER** run `git commit` / `git push` unless explicitly asked — no exceptions
- When you do commit, follow the style of recent commits (gitmoji prefix + subject, in English)
- - Append the full issue/PR URL (e.g. `https://github.com/siyuan-note/siyuan/issues/<NNN>`, not the `#NNN` short form — it is clickable) only when a related issue exists; do not fabricate one
+ - Append the full issue/PR URL to the end of the commit title (e.g. `https://github.com/siyuan-note/siyuan/issues/<NNN>`, not the `#NNN` short form — it is clickable) only when a related issue exists; never put the URL in the commit body, and do not fabricate one
---