🔧 chore(standards): sync cpp playbook rules

Vendor standards live under docs/standards/playbook and are synced into .agents/cpp.

Add AGENTS.md entries so agents working in lsp-server follow the C++ ruleset and standards.
This commit is contained in:
csh
2025-12-14 17:57:26 +08:00
parent dbdde4ed48
commit 7c13d70d3a
9 changed files with 284 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# .agents(多语言)
本目录用于存放仓库级/语言级的代理规则集。
建议约定:
- `.agents/tsl/`TSL 相关规则集(由 `sync_standards.*` 同步;适用于 `.tsl`/`.tsf`
- `.agents/cpp/`C++ 相关规则集(由 `sync_standards.*` 同步;适用于 C++23/Modules
- `.agents/python/` 等:其他语言的规则集(按需增加)
规则发生冲突时,建议以“更靠近代码的目录规则更具体”为准。
入口建议从:
- `.agents/tsl/index.md`TSL 规则集入口)
- `.agents/cpp/index.md`C++ 规则集入口)
- `docs/standards/playbook/docs/`(人类开发规范快照:`tsl/``cpp/``python/``common/`