From 0fa30baf4704da46956f95deccebbb1a4f11c3a3 Mon Sep 17 00:00:00 2001 From: dsh Date: Sat, 7 Nov 2026 00:12:00 +0800 Subject: [PATCH] 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. --- AGENTS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 4030e5f..5d372a7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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` 不需要提权(仓库可匿名读)。 ## 构建与自检