AGENTS.md: commit as dsh, not as the repo owner

This commit is contained in:
dsh committed 2026-11-07 10:40:25 +08:00
1 parent 6e8e33e455
commit cfe56e164a
1 file changed
+6
+6
View File
@@ -32,6 +32,12 @@
* **写结论之前先对虚拟机**:这个仓库最贵的一次事故就是虚拟机语义写错,然后在错的东西上
写了一整套"实测结论"(见「字节级运算」)。字节级结论必须能被 ROT-8-viz
(`C:\Users\peng0\git\ROT-8-viz`,权威实现)复现。
* **提交身份**:这个 repo 和 `C:\Users\peng0\git\ROT-8-viz` 的 local config 都是
`user.name = dsh`、`user.email = dsh@gitea.local`(凭证里那条 `git:https://gitea.starcells.ltd`
就是 `dsh@gitea.local`)。**agent 的提交用 dsh,不要用 `StarCells <peng080306@foxmail.com>`**
—— 那是仓库主人的身份。这条踩过:ROT-8-viz 一开始没配 user.name,我照抄了历史作者,
结果两个 repo 的提交都挂在了主人名下,后来用 `rebase --reset-author` / `filter-branch`
改回 dsh 并 force-push 才修好。
* **推代码**:`origin` = `https://gitea.starcells.ltd/dsh/R8Forge.git`。这台机器上
schannel 会报 `schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS`,
`fetch` / `push` 都得走 openssl 后端 —— 已经写在这个 repo 的 local config 里