docs: cross-ref hwlab-code-agent skill from long-term reference docs

This commit is contained in:
Codex Agent
2026-06-07 13:08:49 +08:00
parent fcc64c9b36
commit 3dd7b2d1da
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
# v0.2 hwlab-cli 短连接 Client 规格
> **Code Agent 操作见 `hwlab-code-agent` skill**`~/.agents/skills/hwlab-code-agent/SKILL.md`),包含 session 管理、send、trace/result/inspect、steer、Web 等价路径和 auth。以下仅保留架构和行为规范。
`hwlab-cli` 是 v0.2 固定开发目录里的短连接业务 client。它用于让 Codex 和人工在 `G14:/root/hwlab-v02` 直接调用与 Cloud Web 相同的 HTTP API,完成除视觉展示以外的真实业务交互和 E2E 排障。
`hwlab-cli` 不属于常驻服务,不发布镜像,不创建 Kubernetes Service、Deployment、CronJob 或 suspended Job template,不进入 GitOps desired state,不作为 CI/CD artifact 构建对象。CLI 源码变更仍属于 `origin/v0.2` source branch:开发时在 `G14:/root/hwlab-v02` 的独立 worktree 修改并提交,按变更风险运行最小单元测试和 `git diff --check`;推送后 v0.2 CI/CD 只应把它识别为 source-only/CLI-only 变化,复用所有 runtime artifact,不新增 `hwlab-cli` image、TaskRun、Deployment 或 Job。