eve-repo-upkeep
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEve Repo Upkeep
Eve代码库维护
Keep an app repo current with Eve conventions. The checks are independent — run them in parallel when multiple areas need attention.
使应用代码库符合Eve的约定。各项检查相互独立——当多个领域需要处理时,可以并行运行它们。
When to Use
使用场景
- After Eve platform updates or manifest schema changes
- Before a major deploy or release
- When onboarding a new maintainer
- 在Eve平台更新或清单架构变更后
- 在重大部署或发布前
- 在新维护人员入职时
Phase 1: Assess
阶段1:评估
Quickly determine which areas need attention. Check which of these files exist and whether they look stale — don't deep-read every file, just note which areas need work:
- — does it exist? Is the schema line
.eve/manifest.yaml?eve/compose/v1 - — does it exist? Are there pinned or obsolete entries?
skills.txt - /
AGENTS.md— do they reference current skills?CLAUDE.md - directory — do
agents/,agents.yaml,teams.yamlexist?chat.yaml - Codebase — any obvious deprecated CLI patterns or inline secrets?
If only one area needs work, handle it directly. Otherwise, proceed to Phase 2.
快速确定哪些领域需要处理。检查以下文件是否存在,以及是否看起来过时——无需深入阅读每个文件,只需记录哪些领域需要改进:
- —— 是否存在?架构行是否为
.eve/manifest.yaml?eve/compose/v1 - —— 是否存在?是否有固定版本或已废弃的条目?
skills.txt - /
AGENTS.md—— 是否引用了当前的skills?CLAUDE.md - 目录 —— 是否存在
agents/、agents.yaml、teams.yaml?chat.yaml - 代码库 —— 是否有明显已废弃的CLI模式或内嵌密钥?
如果只有一个领域需要处理,直接解决即可。否则,进入阶段2。
Phase 2: Dispatch Workers
阶段2:分配任务
Create one worker per area that needs updating. Each worker description below is self-contained — a worker can execute its area independently without context from the others.
为每个需要更新的领域创建一个任务执行者。以下每个任务执行者的描述都是独立的——执行者可以独立执行其负责领域的工作,无需其他领域的上下文。
Worker: Manifest Alignment
任务执行者:清单对齐
Check and fix :
.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 (+
REGISTRY_USERNAME) are required only for custom BYO registries.REGISTRY_PASSWORD
检查并修复:
.eve/manifest.yaml- 确保存在。
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 - 仅对于自定义BYO注册表,才需要注册表认证密钥(+
REGISTRY_USERNAME)。REGISTRY_PASSWORD
Worker: Skills File
任务执行者:Skills文件
Check and fix :
skills.txt- Keep Eve skillpack references up to date.
- Remove obsolete packs or pinned versions.
检查并修复:
skills.txt- 保持Eve skillpack引用为最新版本。
- 删除已废弃的包或固定版本。
Worker: Agent Instructions
任务执行者:Agent说明文档
Check and fix , , and config files:
AGENTS.mdCLAUDE.mdagents/- Update skill references to include .
eve-se-index - Remove stale commands or URLs.
- defines agents and skills — verify entries are current.
agents/agents.yaml - defines team composition and dispatch — verify structure.
agents/teams.yaml - defines chat routing rules and permissions — verify rules.
agents/chat.yaml
检查并修复、以及目录下的配置文件:
AGENTS.mdCLAUDE.mdagents/- 更新skill引用,使其包含。
eve-se-index - 删除过时的命令或URL。
- 定义了agents和skills——验证条目是否为最新。
agents/agents.yaml - 定义了团队组成和调度——验证结构是否正确。
agents/teams.yaml - 定义了聊天路由规则和权限——验证规则是否正确。
agents/chat.yaml
Worker: Deprecated Patterns
任务执行者:已废弃模式
Search the codebase for deprecated patterns and fix or flag them:
- 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 for custom registries (,
REGISTRY_USERNAMEor provider-equivalent names)REGISTRY_PASSWORD
在代码库中搜索已废弃的模式,并修复或标记它们:
- 旧版CLI命令(vs
eve deploy)eve env deploy - 缺少参数的旧版部署语法
--ref - 文档或清单中的硬编码域名
- 代码库文件中的内嵌密钥
- 缺少指向代码库URL的标签的Dockerfile
org.opencontainers.image.source - 步骤前缺少
release步骤的流水线build - 使用Docker镜像但未配置的服务
build.context - 自定义注册表缺少认证密钥(、
REGISTRY_USERNAME或提供商等效名称)REGISTRY_PASSWORD
Phase 3: Verify
阶段3:验证
After all workers complete, run final verification:
bash
undefined所有任务执行者完成工作后,运行最终验证:
bash
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`跟踪部署任务。