AGENTS.md: how to push from this machine

schannel fails here with SEC_E_NO_CREDENTIALS, so fetch and push both need the openssl backend; that is already set in this repo's local config.  The credential helper additionally needs a one time escalation, because it opens a named pipe and the sandbox refuses it (couldn't create signal pipe, Win32 error 5).  Fetch works without it: the repository is readable anonymously.
This commit is contained in:
dsh committed 2026-11-07 00:12:00 +08:00
1 parent e30725247e
commit 0fa30baf47
1 file changed
+7
+7
View File
@@ -23,6 +23,13 @@
* **写结论之前先对虚拟机**:这个仓库最贵的一次事故就是虚拟机语义写错,然后在错的东西上
写了一整套"实测结论"(见「字节级运算」)。字节级结论必须能被 ROT-8-viz
(`C:\Users\peng0\git\ROT-8-viz`,权威实现)复现。
* **推代码**:`origin` = `https://gitea.starcells.ltd/dsh/R8Forge.git`。这台机器上
schannel 会报 `schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS`,
`fetch` / `push` 都得走 openssl 后端 —— 已经写在这个 repo 的 local config 里
(`git config http.sslBackend openssl`),正常 `git push` 就行。
**`push` 还需要一次提权**:git 的凭证助手要开命名管道,沙箱(workspace-write)会拒绝,
报 `sh.exe: fatal error - couldn't create signal pipe, Win32 error 5` +
`could not read Username`。`fetch` 不需要提权(仓库可匿名读)。
## 构建与自检