From 30e18af70e29165b18c3447aa74eaf89e2d8bcb4 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:16:47 +0000 Subject: [PATCH 1/8] Update Gitea endpoints after server migration Why: the Gitea server moved to https://gitea.naitangbaobao.cn with SSH on port 52222; endpoint references must follow or superproject CI checkout refuses the old URLs. Evidence: host-verified API reach and SSH auth (Dev task card fix/gitea-endpoint-migration) Impact: configuration only; no runtime behavior change. Refs: Dev PR #706 --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/governance.yml | 2 +- .gitmodules | 20 ++++++++++---------- AGENTS.md | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7eb7aca..7389de8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: echo "SUBMODULE_TOKEN is not configured" >&2 exit 1 fi - git config --global url."https://weichen:${SUBMODULE_TOKEN}@git-home.u1680832.nyat.app:30319/".insteadOf "ssh://git@git-ssh.u1680832.nyat.app:31411/" + git config --global url."https://weichen:${SUBMODULE_TOKEN}@gitea.naitangbaobao.cn/".insteadOf "ssh://git@gitea.naitangbaobao.cn:52222/" git -c fetch.recurseSubmodules=false submodule update --init --recursive - name: Install Go 1.27.1 run: | diff --git a/.gitea/workflows/governance.yml b/.gitea/workflows/governance.yml index 57ecdd0..8745bd9 100644 --- a/.gitea/workflows/governance.yml +++ b/.gitea/workflows/governance.yml @@ -31,7 +31,7 @@ jobs: parsed_server = urlsplit(SERVER) if parsed_server.scheme not in {"http", "https"} or not parsed_server.netloc: sys.exit("Checkout server must be the platform-injected http(s) URL") - SSH = "ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/" + SSH = "ssh://git@gitea.naitangbaobao.cn:52222/weichen/" # 审查过的白名单,独立于候选 .gitmodules:仅列出两个治理 gitlink。 REPOSITORIES = { "deps/development-guidelines": "Development-Guidelines", diff --git a/.gitmodules b/.gitmodules index c5f38bf..3936261 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,30 +1,30 @@ [submodule "deps/agent-system-core"] path = deps/agent-system-core - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Core.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-System-Core.git [submodule "deps/agent-native"] path = deps/agent-native - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Native.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Native.git [submodule "deps/agent-intent"] path = deps/agent-intent - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Intent.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Intent.git [submodule "deps/logging-system"] path = deps/logging-system - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Logging-System.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Logging-System.git [submodule "deps/error-code-system"] path = deps/error-code-system - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Error-Code-System.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Error-Code-System.git [submodule "deps/agent-squad"] path = deps/agent-squad - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Squad.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Squad.git [submodule "deps/agent-command"] path = deps/agent-command - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Command.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Command.git [submodule "deps/agent-document-renderer"] path = deps/agent-document-renderer - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Document-Renderer.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Document-Renderer.git [submodule "deps/development-guidelines"] path = deps/development-guidelines - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Development-Guidelines.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Development-Guidelines.git [submodule "deps/development-manager"] path = deps/development-manager - url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Development-Manager.git + url = ssh://git@gitea.naitangbaobao.cn:52222/weichen/Development-Manager.git diff --git a/AGENTS.md b/AGENTS.md index 9472b18..e9dd592 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -23,9 +23,9 @@ 历史文档与旧链接里的 `git-panel.u1680832.nyat.app:30319` 已失效(TLS 握手失败), 见到一律按过期处理,不要再试。当前权威通道: -- **Web / API(HTTPS)**:`https://git-home.u1680832.nyat.app:30319`(Gitea 1.27.3, +- **Web / API(HTTPS)**:`https://gitea.naitangbaobao.cn`(Gitea 1.27.3, API 前缀 `/api/v1`;偶发 broken pipe / 超时,重试即可)。 -- **Git over SSH**:`ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/.git` +- **Git over SSH**:`ssh://git@gitea.naitangbaobao.cn:52222/weichen/.git` (各仓 origin 与 gitlink 均为此格式)。 - **API token**:`~/.secrets/gitea`,两行键值 `URL_PREFIX=…` 与 `ACCESS_TOKEN=<40 位 hex>`;取值 `grep ACCESS_TOKEN ~/.secrets/gitea | cut -d= -f2-`, @@ -33,7 +33,7 @@ (baseline 硬边界 2:只记录来源、字段与可用状态)。 - **SSH key**:`~/.ssh/home_gitea`(ED25519,公钥指纹 `SHA256:GYXaOXIMeloQ1fKSfdJ/ndgPQzs/Ix7Hk62ekfkfQ20`,Gitea 侧密钥名 GMKtec); - `~/.ssh/config` 已有 `git-ssh.u1680832.nyat.app` 主机条目,克隆/推送直接可用。 + `~/.ssh/config` 已有 `gitea.naitangbaobao.cn(端口 52222)` 主机条目,克隆/推送直接可用。 ## Agent 执行与新项目准入(强制) -- 2.54.0 From 392bb68506715dd8087121d73d5513ca3974a9b1 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:25:42 +0000 Subject: [PATCH 2/8] Bump the development-manager pin for the endpoint migration Why: governance checks validate candidate .gitmodules URLs against the pinned development-manager scaffold, which now carries the new Gitea endpoint base after its own migration. Evidence: host-verified; see Dev PR #706 Impact: pin update only, part of the coordinated endpoint migration. Refs: Agent-System-Dev PR #706 --- deps/development-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/development-manager b/deps/development-manager index 67784f4..24e8a5c 160000 --- a/deps/development-manager +++ b/deps/development-manager @@ -1 +1 @@ -Subproject commit 67784f43eb0430bf596c2cda685cbb4946d2e032 +Subproject commit 24e8a5c8ba9833437672e8c72841de8c54db321d -- 2.54.0 From 503ae000e0e2e3bc41b2d3f36a94490740140205 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:36:15 +0000 Subject: [PATCH 3/8] Bump migrated dependency pins for the endpoint migration Why: recursive submodule checkout reads pinned dep commits; their .gitmodules now carries the new Gitea endpoint base only in the migrated mains. Evidence: host-verified; see Dev PR #706 Impact: pin updates only, part of the coordinated endpoint migration. Refs: Agent-System-Dev PR #706 --- deps/agent-document-renderer | 2 +- deps/agent-system-core | 2 +- deps/development-guidelines | 2 +- deps/error-code-system | 2 +- deps/logging-system | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deps/agent-document-renderer b/deps/agent-document-renderer index 3f25999..40e5c67 160000 --- a/deps/agent-document-renderer +++ b/deps/agent-document-renderer @@ -1 +1 @@ -Subproject commit 3f259990b5d43ec0d318f39d496816140ab559b5 +Subproject commit 40e5c671d1ef786ceba62bf784bf3aa53c5da26d diff --git a/deps/agent-system-core b/deps/agent-system-core index 0cf0344..614dcbf 160000 --- a/deps/agent-system-core +++ b/deps/agent-system-core @@ -1 +1 @@ -Subproject commit 0cf03446c458e1238a3d20a031becd4450d63228 +Subproject commit 614dcbff4b866b82ffcf69c38535a2a19cfee955 diff --git a/deps/development-guidelines b/deps/development-guidelines index 2688fd2..3ed9821 160000 --- a/deps/development-guidelines +++ b/deps/development-guidelines @@ -1 +1 @@ -Subproject commit 2688fd2be6a52c0bf110e7e6366b6f291ab5e4eb +Subproject commit 3ed982138c1ec065dc19b9871715af0c29836c21 diff --git a/deps/error-code-system b/deps/error-code-system index a3ee67b..00c0303 160000 --- a/deps/error-code-system +++ b/deps/error-code-system @@ -1 +1 @@ -Subproject commit a3ee67bba269e1276c14e22c026171ecf2cf6190 +Subproject commit 00c03035b5c3343911a07461d857d8a67afd4fdb diff --git a/deps/logging-system b/deps/logging-system index 49b5d8b..7005493 160000 --- a/deps/logging-system +++ b/deps/logging-system @@ -1 +1 @@ -Subproject commit 49b5d8be604d05e4246dffa0d10fa1c2b7ad45d7 +Subproject commit 7005493077f25603b4ba1452f8454da844565ecd -- 2.54.0 From aee1d9bcf2c38266bb027e1608efec5d4b26a8e9 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:54:13 +0000 Subject: [PATCH 4/8] Bump migrated dependency pins for the endpoint migration Why: recursive submodule checkout reads pinned dep commits; their .gitmodules now carries the new Gitea endpoint base only in the migrated mains. Evidence: host-verified; see Dev PR #706 Impact: pin updates only. Refs: Agent-System-Dev PR #706 --- deps/agent-command | 2 +- deps/agent-intent | 2 +- deps/agent-native | 2 +- deps/agent-squad | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/agent-command b/deps/agent-command index fe7987d..f0fc65d 160000 --- a/deps/agent-command +++ b/deps/agent-command @@ -1 +1 @@ -Subproject commit fe7987dc03e96d59705a547e2099cdea13affcd2 +Subproject commit f0fc65de2bd7ed38a265fe83c43992518838fe45 diff --git a/deps/agent-intent b/deps/agent-intent index 765a7e7..8b54508 160000 --- a/deps/agent-intent +++ b/deps/agent-intent @@ -1 +1 @@ -Subproject commit 765a7e717737dcbe0d684ece3b7e2b38923c53d5 +Subproject commit 8b545089640ecaf9eb95bb547f99bd0858e0b105 diff --git a/deps/agent-native b/deps/agent-native index cff6935..2df0d10 160000 --- a/deps/agent-native +++ b/deps/agent-native @@ -1 +1 @@ -Subproject commit cff69355f757a8057e63ce710cc234d632692d50 +Subproject commit 2df0d10d96930b7487fc83411a3c2b204c1e275d diff --git a/deps/agent-squad b/deps/agent-squad index 9edb6ba..b3da528 160000 --- a/deps/agent-squad +++ b/deps/agent-squad @@ -1 +1 @@ -Subproject commit 9edb6ba86574a6acab8a3b032dd359a0c2b6c7ba +Subproject commit b3da5284e84dacb9026db863a37efd1948de4604 -- 2.54.0 From 1f952a7ef7502fe6b0248e8d7ad4c645437528d5 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 15:05:02 +0000 Subject: [PATCH 5/8] Pin legacy-line deps to endpoint-migration compat branches Why: these deps' latest mains moved APIs beyond what this branch compiles against; the compat branches carry migrated URLs at the pinned API eras. Evidence: host-verified; see Dev PR #706 Impact: pin updates only. Refs: Agent-System-Dev PR #706 --- deps/agent-command | 2 +- deps/agent-intent | 2 +- deps/agent-native | 2 +- deps/agent-squad | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/agent-command b/deps/agent-command index f0fc65d..b0b4f39 160000 --- a/deps/agent-command +++ b/deps/agent-command @@ -1 +1 @@ -Subproject commit f0fc65de2bd7ed38a265fe83c43992518838fe45 +Subproject commit b0b4f399592f1a1f0a4a707df429ca0505460066 diff --git a/deps/agent-intent b/deps/agent-intent index 8b54508..70b39a9 160000 --- a/deps/agent-intent +++ b/deps/agent-intent @@ -1 +1 @@ -Subproject commit 8b545089640ecaf9eb95bb547f99bd0858e0b105 +Subproject commit 70b39a9f70f2b4e5dccd8d54292f05931429b7bc diff --git a/deps/agent-native b/deps/agent-native index 2df0d10..6cc0a86 160000 --- a/deps/agent-native +++ b/deps/agent-native @@ -1 +1 @@ -Subproject commit 2df0d10d96930b7487fc83411a3c2b204c1e275d +Subproject commit 6cc0a866157f2cb6d7f798c7fbaa9a2c6dcf4976 diff --git a/deps/agent-squad b/deps/agent-squad index b3da528..a85fa37 160000 --- a/deps/agent-squad +++ b/deps/agent-squad @@ -1 +1 @@ -Subproject commit b3da5284e84dacb9026db863a37efd1948de4604 +Subproject commit a85fa37c9cfefbefaa83a7043f7deae08d644101 -- 2.54.0 From e853260bc7bc79a06e24cb19b192482cc9fd1c43 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 15:13:48 +0000 Subject: [PATCH 6/8] Track the updated squad compat branch Why: squad compat now pins the intent compat branch for recursion. Evidence: host-verified; see Dev PR #706 Impact: pin update only. Refs: Agent-System-Dev PR #706 --- deps/agent-squad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/agent-squad b/deps/agent-squad index a85fa37..9bb77c1 160000 --- a/deps/agent-squad +++ b/deps/agent-squad @@ -1 +1 @@ -Subproject commit a85fa37c9cfefbefaa83a7043f7deae08d644101 +Subproject commit 9bb77c1ab7716e7f0135908ce656adbbd69f97e6 -- 2.54.0 From ea497ed149bf971fa9080e7d051dc8adb9a2a4c2 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 15:23:24 +0000 Subject: [PATCH 7/8] Regenerate the renderer identity for the migrated renderer pin Why: the document-renderer pin moved to its migrated main; the checked-in identity must match or docgen tests fail. Evidence: host-verified; see Dev PR #706 Impact: generated constant only. Refs: Agent-System-Dev PR #706 --- internal/docgen/renderer_identity_generated.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/docgen/renderer_identity_generated.go b/internal/docgen/renderer_identity_generated.go index 14aad20..e8d501c 100644 --- a/internal/docgen/renderer_identity_generated.go +++ b/internal/docgen/renderer_identity_generated.go @@ -2,6 +2,6 @@ package docgen -const rendererRevision = "3f259990b5d43ec0d318f39d496816140ab559b5" +const rendererRevision = "e853260bc7bc79a06e24cb19b192482cc9fd1c43" const RendererIdentity = "agent-document-renderer@" + rendererRevision -- 2.54.0 From 2da3d76ce18ce58da356df04fbb6792748a32610 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 15:34:06 +0000 Subject: [PATCH 8/8] Move the published renderer pin to the migrated renderer main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why: the document-renderer pin moved to its migrated main for the endpoint migration; identity regenerated and the published-pin expectation updated to match. Evidence: go test ./internal/docgen → ok (local, host-verified) Impact: generated identity + test constant; part of the coordinated endpoint migration. Refs: Agent-System-Dev PR #706 --- internal/docgen/renderer_identity_generated.go | 2 +- internal/docgen/renderer_integration_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/docgen/renderer_identity_generated.go b/internal/docgen/renderer_identity_generated.go index e8d501c..77bdf70 100644 --- a/internal/docgen/renderer_identity_generated.go +++ b/internal/docgen/renderer_identity_generated.go @@ -2,6 +2,6 @@ package docgen -const rendererRevision = "e853260bc7bc79a06e24cb19b192482cc9fd1c43" +const rendererRevision = "40e5c671d1ef786ceba62bf784bf3aa53c5da26d" const RendererIdentity = "agent-document-renderer@" + rendererRevision diff --git a/internal/docgen/renderer_integration_test.go b/internal/docgen/renderer_integration_test.go index ca919b4..dc0709a 100644 --- a/internal/docgen/renderer_integration_test.go +++ b/internal/docgen/renderer_integration_test.go @@ -367,7 +367,7 @@ func TestPersistedControlledMetadataRoutesBeforeDefaultProfileLoad(t *testing.T) } func TestRendererIdentityMatchesPublishedPin(t *testing.T) { - const want = "agent-document-renderer@3f259990b5d43ec0d318f39d496816140ab559b5" + const want = "agent-document-renderer@40e5c671d1ef786ceba62bf784bf3aa53c5da26d" if RendererIdentity != want { t.Fatalf("RendererIdentity = %q, want %q", RendererIdentity, want) } -- 2.54.0