Ver código fonte

docs: 记录 skills-storage 远程技能仓库端到端验证通过

- 规范文档补实测结论:容器 --from-repo 拉取成功,
  hermes skills list 可见,属主正确
- 补推送 403 的处置方式(VS Code 面板 / 有写权限的账号)
- 操作追踪留痕

Co-Authored-By: Claude Code <noreply@anthropic.com>
Huccct 1 dia atrás
pai
commit
427c79621e

+ 2 - 0
docs/00-tracking/操作追踪.md

@@ -10402,3 +10402,5 @@ Call log:
   - **待联调**:推送 skills-storage 需要 GitLab 认证(容器只能拉不能推),403 未解决
 
 - 2026-12-03 10:10:00+08:00:**改写两份以已删除容器为基准的文档**。`容器接入标准流程-SOP-v3` → v3.1、`新容器接入优化-对齐lj-test基线` → v2。保留全部行为基线内容,改的是:参考实现改为当前测试容器 + 明确标注 lj-test 已于 2026-12-02 删除 + 指出技能下发已改清单驱动。规范文档 `docs/05-operations/容器技能下发与替换规范.md` 补「远程技能仓库」完整维护流程(含容器网络实测表、为什么开通时用 fallback)。
+
+- 2026-12-03 10:20:00+08:00:**skills-storage 远程技能仓库端到端打通**。用户重试推送成功(首次 403,重试后 `* [new branch] master -> master`)。验证链:①容器 `git ls-remote` 能读到 HEAD ②容器 `git clone` 成功拉到 README.md + custom/container-wecom-setup/ ③`refresh-container-skills.mjs --from-repo --apply` 执行成功 ④容器内 `/opt/data/skills/custom/container-wecom-setup/` 文件就位(SKILL.md 6546B / wecom_setup.py 6397B,属主 hermes:hermes)⑤`hermes skills list` 显示 `container-wecom-setup ... enabled`。**结论:远程技能仓库方案可用**。推送需 GitLab 写权限,容器只读。

+ 8 - 0
docs/05-operations/容器技能下发与替换规范.md

@@ -71,6 +71,14 @@
 
 #### 改技能的完整流程
 
+> ✅ **2026-12-03 端到端验证通过**:推送到 `nkkj/skills-storage` 后,
+> 容器 `--from-repo` 拉到最新版(`SKILL.md` 6546 / `wecom_setup.py` 6397),
+> 属主 `hermes:hermes`,`hermes skills list` 显示 `container-wecom-setup ... enabled`。
+>
+> ⚠️ **推送需要 GitLab 写权限**。容器只能拉不能推。本机首次推送遇 403,
+> 重试后成功 —— 若持续 403,用 VS Code 源代码管理面板推(它能读 Windows 凭据管理器),
+> 或让有 `nkkj` 组写权限的账号推。
+
 ```bash
 # 1. 在 E:\work\skills-storage(或任意位置 clone)
 git clone https://git.fmode.cn/nkkj/skills-storage.git