From 4bbb91c7353ab5b94c0fea0cd58b242046341f0e Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:17:14 +0000 Subject: [PATCH 1/5] 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 | 12 ++++++------ AGENTS.md | 6 +++--- PROJECT.md | 4 ++-- README.md | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8e79f04..a25e596 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 47e6114..1126b19 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 8cb79b1..bd67baf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,18 +1,18 @@ [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/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/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/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/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/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 65e082c..e5090b9 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 执行与新项目准入(强制) diff --git a/PROJECT.md b/PROJECT.md index ab287a4..33043c8 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -6,7 +6,7 @@ - 目标/产品边界:通用智能体小队编排底座。角色、蓝图、规划、执行引擎、黑板、HITL 与 HTTP/CLI 组合根。不含预设医疗器械角色或任务模板。不实现 Agent。 - 源码、资产、文档、机器契约位置:Go 模块路径 `agent-squad`。包为 `squad`、`store`、`server`、`cli`、`textextract`、`conformance`。人类文档在根 `README.md`、`policy/`;过程记录在 `docs/records/`。对外 HTTP 错误合同以错误码库信封为准。 -- 权威远端、集成基线、受保护分支:`ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Squad.git`,集成基线 `main`。 +- 权威远端、集成基线、受保护分支:`ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Squad.git`,集成基线 `main`。 - 并行共同基线记录位置、合入通知/主动检查方式:Gitea Issue/PR。跨仓共同起点是本仓提交加上它锁定的 Agent-Native、错误码库、日志库与规范库 SHA。 - 发布线与批准版本/实际制品查询入口:无独立制品库。可执行文件由 `go build` 从固定 gitlink 组合产出。 - 提交/审核/合并/发布身份与权限:仓库所有者 weichen。 @@ -33,7 +33,7 @@ 克隆: ```bash -git clone --recurse-submodules ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Squad.git +git clone --recurse-submodules ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Squad.git # 已克隆时:git submodule update --init --recursive ``` diff --git a/README.md b/README.md index a94aa4d..83dc8d8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Agent-Native 自己的 `deps/` 里还有一份错误码库、日志库和规范 克隆时带上子模块,否则无法编译。已有克隆若仍留着根目录 `Agent-Native`,先删掉该残留目录再初始化: ```bash -git clone --recurse-submodules ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Squad.git +git clone --recurse-submodules ssh://git@gitea.naitangbaobao.cn:52222/weichen/Agent-Squad.git # 已克隆时: git submodule sync --recursive git submodule update --init --recursive -- 2.54.0 From a6d53dc61ff78405f2ee2f97a3ee68db3abcb35d Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:26:07 +0000 Subject: [PATCH 2/5] 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 bd3a7de..24e8a5c 160000 --- a/deps/development-manager +++ b/deps/development-manager @@ -1 +1 @@ -Subproject commit bd3a7de57a3a9e1a4495b94c5fa5c08d71e7be8c +Subproject commit 24e8a5c8ba9833437672e8c72841de8c54db321d -- 2.54.0 From 17e0ec697b9e603d1aa5d425f39cbb80ef46d973 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:36:13 +0000 Subject: [PATCH 3/5] 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/development-guidelines | 2 +- deps/error-code-system | 2 +- deps/logging-system | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 4e6295d8e3df6dbcb89e57ad2d8f9c5b7b783dd2 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:43:50 +0000 Subject: [PATCH 4/5] 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-intent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/agent-intent b/deps/agent-intent index 651a2e1..8b54508 160000 --- a/deps/agent-intent +++ b/deps/agent-intent @@ -1 +1 @@ -Subproject commit 651a2e1e03c4326888ef9f742ce592140ae30ab8 +Subproject commit 8b545089640ecaf9eb95bb547f99bd0858e0b105 -- 2.54.0 From edbf14abc69081cba10b13b974bfb91631b80fd4 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 22 Oct 2026 14:51:34 +0000 Subject: [PATCH 5/5] 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-native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/agent-native b/deps/agent-native index 2fc66be..2df0d10 160000 --- a/deps/agent-native +++ b/deps/agent-native @@ -1 +1 @@ -Subproject commit 2fc66be65201232ea38ba64d457efad5565d869d +Subproject commit 2df0d10d96930b7487fc83411a3c2b204c1e275d -- 2.54.0