eve-repo-upkeep
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEve Repo Upkeep
Eve代码库维护
Use this workflow to keep an app repo current with Eve conventions.
使用此工作流使应用代码库符合Eve的最新规范。
When to Use
使用场景
- After Eve platform updates or manifest schema changes
- Before a major deploy or release
- When onboarding a new maintainer
- Eve平台更新或清单架构变更后
- 重大部署或发布前
- 新维护人员入职时
Files to Keep Current
需要保持最新的文件
.eve/manifest.yaml
.eve/manifest.yaml.eve/manifest.yaml
.eve/manifest.yaml- Ensure is present.
schema: eve/compose/v1 - Prefer over legacy
services:.components: - Keep ingress and pipeline definitions accurate.
x-eve - Keep in sync with harness defaults (harness/profile/options).
x-eve.defaults - Keep profiles aligned with orchestration policy.
x-eve.agents - Ensure and
x-eve.agents.config_pathpoint to valid files.x-eve.chat.config_path - Confirm usage for secrets.
${secret.KEY} - Deploy pipelines should include a step before
build.release - Services with Docker images should have defined.
build.context - Registry auth secrets (GHCR_USERNAME, GHCR_TOKEN or GITHUB_TOKEN) should be configured.
- 确保存在。
schema: eve/compose/v1 - 优先使用而非旧版
services:。components: - 保持入口和流水线定义准确无误。
x-eve - 使与harness默认值(harness/profile/options)保持同步。
x-eve.defaults - 使配置文件与编排策略保持一致。
x-eve.agents - 确保和
x-eve.agents.config_path指向有效文件。x-eve.chat.config_path - 确认使用来引用密钥。
${secret.KEY} - 部署流水线应在步骤前包含
release步骤。build - 带有Docker镜像的服务需定义。
build.context - 应配置注册表认证密钥(GHCR_USERNAME、GHCR_TOKEN或GITHUB_TOKEN)。
skills.txt
skills.txtskills.txt
skills.txt- Keep Eve skillpack references up to date.
- Remove obsolete packs or pinned versions.
- 保持Eve skillpack引用为最新版本。
- 移除过时的包或固定版本。
Agent Instructions (AGENTS.md / CLAUDE.md)
Agent说明文档(AGENTS.md / CLAUDE.md)
- Update skill references to include .
eve-se-index - Remove stale commands or URLs.
- 更新技能引用以包含。
eve-se-index - 移除失效的命令或URL。
Agent Config Files (agents/
)
agents/Agent配置文件(agents/
)
agents/- defines agents and skills.
agents/agents.yaml - defines team composition and dispatch.
agents/teams.yaml - defines chat routing rules and permissions.
agents/chat.yaml
- 定义Agent和技能。
agents/agents.yaml - 定义团队组成和调度规则。
agents/teams.yaml - 定义聊天路由规则和权限。
agents/chat.yaml
Check for Deprecated Patterns
检查已弃用的模式
- Old CLI commands (vs
eve deploy)eve env deploy - Old deploy syntax without parameter
--ref - Hardcoded domains in docs or manifests
- Inline secrets in repo files
- Dockerfiles missing label pointing to the repo URL
org.opencontainers.image.source - Pipelines missing step before
buildrelease - Services with Docker images but no configuration
build.context - Missing registry authentication secrets (GHCR_USERNAME, GHCR_TOKEN/GITHUB_TOKEN)
- 旧版CLI命令(vs
eve deploy)eve env deploy - 不带参数的旧版部署语法
--ref - 文档或清单中的硬编码域名
- 代码库文件中的内嵌密钥
- 缺少指向代码库URL的标签的Dockerfile
org.opencontainers.image.source - 步骤前缺少
release步骤的流水线build - 带有Docker镜像但未配置的服务
build.context - 缺失注册表认证密钥(GHCR_USERNAME、GHCR_TOKEN/GITHUB_TOKEN)
Test After Updates
更新后测试
bash
undefinedbash
undefinedLocal validation (Docker Compose)
本地验证(Docker Compose)
docker compose up --build
docker compose up --build
Staging deploy (requires --ref with 40-char SHA or a ref resolved against --repo-dir)
预发布环境部署(需要40字符SHA的--ref,或基于--repo-dir解析的引用)
eve env deploy staging --ref main --repo-dir .
eve env deploy staging --ref main --repo-dir .
Use --direct to bypass pipeline if needed
如有需要,使用--direct绕过流水线
eve env deploy staging --ref main --repo-dir . --direct
Track the deploy job with `eve job follow`.eve env deploy staging --ref main --repo-dir . --direct
使用`eve job follow`跟踪部署任务。