Phase 5 Testing: Integration (Hot-Reload + Validate) #239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
验证目标
Agent 配置接入 daemon hot-reload,
nerve validate检查 agent name 引用。前置条件
Phase 4 (#238) 完成。
测试步骤
Step 1: nerve validate 检查 agent 引用
workflow 引用不存在的 agent name。
预期: 报错,提示引用了不存在的 agent
Step 2: nerve validate 通过
所有引用的 agent 都存在。
预期: 验证通过
Step 3: Agent 配置 hot-reload
daemon 运行中修改 nerve.yaml agents 配置。
预期: AgentRegistry rebuild,日志输出 reload
Step 4: 运行中 thread 不受影响
预期: 旧 thread 用旧配置完成,新 thread 用新配置
Step 5: Extract provider 可达性检查
预期: provider 不可达时 validate 报 warning
验证完成标准
✅ 所有 checkbox 打勾 | ✅
pnpm test通过 | ✅ CI greenRef: #234