代码托管 & ALM 集成
本分类收录所有对外部研发系统的适配器,让 Agent 能够拉取变更、写入评论、同步需求、管理缺陷等。
代码托管平台
git
Git 基础操作封装(clone / pull / diff / blame)
gerrit-integration
Gerrit Change 拉取、打分(-2~+2)、回帖评论
github-integration
GitHub PR 拉取、diff、回帖评论
gitlab-integration
GitLab MR 拉取、pipeline、回帖评论
gitee-integration
Gitee PR 拉取、diff、回帖评论
bitbucket-integration(channel-sdk Phase 3 实证)
平台后端还内置了 bitbucket-integration skill —— 这是 channel-sdk-api Phase 3 的实证 SKILL:完全靠装这一个 SKILL 包就能把 Bitbucket Cloud 的 PR review 流程跑通(平台 git diff = 0 行),不需要在 channels/ 目录改任何平台代码。
| 能力 | 入口 |
|---|---|
| PR 元数据 | bitbucket_get_pr |
| PR diff(完整 unified diff) | bitbucket_get_pr_diff |
| PR 评论 | bitbucket_post_pr_comment / bitbucket_list_pr_comments |
| PR 审批 | bitbucket_approve_pr |
| Webhook 接入 | inbound/adapter.py::BitbucketAdapter(pullrequest:* / repo:push / 任意 repo:* / issue:*) |
| 凭据校验 | bitbucket_verify_token |
接入只需 Bitbucket Workspace Access Token(scope repository:read + pullrequest:write),创建 instance 后即可像 Gerrit/GitHub/GitLab/Gitee 一样自动审 PR。完整文档见 channel-sdk · Phase 3 实证。
ALM(应用生命周期管理)
统一能力矩阵
| 平台 | 拉取变更 | 拉取 diff | 回帖评论 | 打分 | Pipeline 查询 |
|---|---|---|---|---|---|
| Gerrit | ✅ | ✅ | ✅ | ✅ (-2~+2) | — |
| GitHub | ✅ | ✅ | ✅ | — | — |
| GitLab | ✅ | ✅ | ✅ | — | ✅ |
| Gitee | ✅ | ✅ | ✅ | — | — |
| Bitbucket Cloud | ✅ | ✅ | ✅ | ✅(approve) | — |
典型串联
Rendering diagram…
需求/缺陷管理(ALM)
alm-integration 是超大 skill,覆盖需求管理平台:
- IBM DOORS Next(M1 级完整支持,汽车行业主力)
- Polarion(规划中)
- 禅道 / Jira / 飞书多维表
通过 4 个 tool × 40 个 action 完成:需求 CRUD、设计/测试/安全分析 CRUD、追溯链、ReqIF 导出、文件夹原子操作、高吞吐 Reportable 拉取、基线快照、变更影响分析、批量建立 satisfies 链接。
相关文档
- code-review 总览 — L1 + L2 审核链路
- ASPICE 工程闭环案例