全程可审计原生 GitHub 工作流现有检查仍掌握决定权每个任务的成本清晰可见
前置条件
准备条件
- 01
一个用于维护代码仓库的 GitHub 组织或个人账户
安装方法 - 02
你自己的服务器(VPS 或现有硬件):AI 开发者在其上编写代码,CI 也在其上运行。个人版与企业版需要;开源免费版无需。
服务器要求 - 03
你自己的 API 密钥(Anthropic、OpenAI、Gemini、DeepSeek、Kimi、GLM、MiniMax 等,或任何兼容 OpenAI 的接口)
支持哪些密钥 - 04
一个 .dz/maintainer/maintainer.yml 策略文件:配置 PR 中会附带一份。在代码仓库中出现策略文件(此文件,或根目录下作为旧路径的 .maintainer.yml)之前,我们使用安全的默认设置,任何改动都不会自动合并。
文件写法
# yaml-language-server: $schema=https://developerz.ai/schemas/maintainer.v1.json
version: 1
pr:
# With `false` we open PRs and drive them to green; you merge them. The platform
# default is `true`: set it once you trust the gates (CI green, review, protections).
auto_merge: false
# Never merge a head nobody reviewed.
require_review: true
human_merge:
paths:
- .github/workflows/**
release:
# Nothing is tagged or published until you name a manager.
manager: none
triage:
ask_for_repro: true代码仓库根目录下已有 .maintainer.yml?在正式废弃之前,它仍会作为旧路径继续生效;上述位置为新的存放位置。