diff --git a/.gitea/workflows/governance.yml b/.gitea/workflows/governance.yml index 6fc0156..e55f9b2 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 49e221b..bdc7eff 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [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 3614a87..a36fd8e 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 a9ef32d..de89d65 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -6,7 +6,7 @@ - 目标/产品边界:跨系统错误码目录、进程内错误类型,以及可独立运行的查询服务。不依赖 Agent-Native、Agent-Squad 或日志库。 - 源码、资产、文档、机器契约位置:模块路径 `error-code-system`。包为 `errcode`、`domains`、`httpx`、`server`、`cli`、`conformance`。映射文档在 `docs/`。种子码以 Go 注册为权威,`domains/*.json` 为导出快照。 -- 权威远端、集成基线、受保护分支:`ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Error-Code-System.git`,基线 `main`。 +- 权威远端、集成基线、受保护分支:`ssh://git@gitea.naitangbaobao.cn:52222/weichen/Error-Code-System.git`,基线 `main`。 - 并行共同基线记录位置、合入通知/主动检查方式:Gitea Issue/PR。消费方父仓 gitlink 才是它们使用的版本。 - 发布线与批准版本/实际制品查询入口:无独立制品库。`go build -o bin/errcode .` 从当前提交构建。 - 提交/审核/合并/发布身份与权限:仓库所有者 weichen。 @@ -33,7 +33,7 @@ replace error-code-system => ./deps/error-code-system 克隆: ```bash -git clone --recurse-submodules ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Error-Code-System.git +git clone --recurse-submodules ssh://git@gitea.naitangbaobao.cn:52222/weichen/Error-Code-System.git ``` ## 验证命令 diff --git a/README.md b/README.md index 687e8a0..3d79eaf 100644 --- a/README.md +++ b/README.md @@ -104,4 +104,4 @@ replace error-code-system => ./deps/error-code-system 并列检出、还没放进 `deps/` 时,也可以暂时写 `replace error-code-system => ../Error-Code-System`。本库不导入 Agent-Native、Agent-Squad 或日志库。若消费方同时依赖 Agent-Native,而 Agent-Native 的 `deps/` 里还有一份本库,编译时只认消费方自己的 `replace`;两份 gitlink 必须相同。 -远程:`ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Error-Code-System.git` +远程:`ssh://git@gitea.naitangbaobao.cn:52222/weichen/Error-Code-System.git` 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