mirror of
https://git.openapi.site/https://github.com/desirecore/agent-desirecore.git
synced 2026-12-05 09:49:49 +08:00
fix: 撤回误入库的平台调度实例,发布 1.16.1 (#6)
1.16.0 用 git add -f 把 schedules/f8f451d6b6c8a410e002763f1812b366.json 纳入版本库。
schedules/ 是本机实例状态(客户端写进 .git/info/exclude),该文件是客户端按
sha256("platform:legacy-avatar-backfill:1") 为每台机器创建的平台后台任务实例。
远端新增同名路径与本地 ignored 文件冲突,客户端更新预检拒绝合并,所有已运行过
该平台任务的用户都无法更新到 1.16.0。且平台任务执行时按客户端定义逐字比对 prompt,
改过 prompt 的副本本身也无法执行。
- 删除 schedules/f8f451d6….json
- 修正经验记忆中「git add -f 强行入库被排除文件」的错误规则
- 版本 1.16.0 → 1.16.1
This commit is contained in:
3 files changed
+13
-42
No files matched your search
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"display_name": "历史默认头像补全",
|
||||
"description": "补全本地智能体的缺省头像;用户设置优先。生成走显式供应商绕过坏的默认解析,处理清单落盘 avatar-backfill-receipt.md。",
|
||||
"enabled": true,
|
||||
"status": "active",
|
||||
"tags": [
|
||||
"platform",
|
||||
"legacy-avatar-backfill"
|
||||
],
|
||||
"schedule": {
|
||||
"kind": "interval",
|
||||
"interval": "PT24H",
|
||||
"anchor": "2026-10-13T02:36:56.664Z",
|
||||
"no_overlap": true,
|
||||
"missed_fire_policy": "fire_once"
|
||||
},
|
||||
"action": {
|
||||
"type": "query",
|
||||
"prompt": "请完成历史默认头像补全任务(legacy-avatar-backfill)。不依赖外部候选列表,自助执行:\n\n1. 用 ManageAgent list 列出全部智能体;对每个用 ManageAgent get 查看头像状态。\n2. 候选 = 没有图片头像(avatar.image 缺失)且 generationPolicy 非 manual/disabled 的智能体。ManageAgent get 显示\"头像后台任务\"仍 pending/排队的跳过,不重复付费。\n3. 生成头像必须走显式供应商绕过默认解析(defaultServiceMap.image_gen 常指向未启用的供应商,导致\"默认图像供应商不可用\"):\n a. 用 GenerateImage(purpose=\"agent-avatar\", provider=\"desirecore-cloud\", model=\"image-01\"),按该智能体的名称与职责生成默认透明真人头像:写实人物摄影、1:1、透明背景、上半身居中,外观与职责匹配且各智能体互不相同。\n b. 视觉复核生成图:真人摄影风格、构图居中、发丝与衣物边缘无明显抠图残片;不合格可重生成一次。\n c. 复核通过后用 ManageAgent update 提交 avatarImage={source:\"dc-media://<生成图 mediaId>\"} 挂载(落盘 assets/avatar.webp)。\n d. 若 GenerateImage 显式供应商失败,退回一次 ManageAgent update avatarGeneration={onlyIfMissing:true}(走默认服务);仍失败记 failed,不再重试、不静默吞掉。\n4. 完全没有 avatar 字段的智能体,先补 config.avatar={char: 名称首字} 保证可用兜底,再按 3 生成图片。\n5. 已有图片、3D 形象、generationPolicy=manual/disabled 的头像一律保留,不得覆盖用户选择。只补头像,不修改名称、人格、模型、技能或其他字段。\n6. 本次处理清单(处理了谁、跳过及原因、失败及原因)写入运行工作目录的 avatar-backfill-receipt.md——这是完成判据文件,必须在本次执行内写完。",
|
||||
"completion": {
|
||||
"artifacts": [
|
||||
"avatar-backfill-receipt.md"
|
||||
]
|
||||
}
|
||||
},
|
||||
"failureAlert": {
|
||||
"enabled": false,
|
||||
"after": 2,
|
||||
"cooldownMs": 3600000
|
||||
},
|
||||
"retry": {
|
||||
"maxAttempts": 0
|
||||
},
|
||||
"id": "f8f451d6b6c8a410e002763f1812b366",
|
||||
"agent_id": "desirecore",
|
||||
"created_at": "2026-10-13T02:41:26.664Z",
|
||||
"updated_at": "2026-11-07T15:06:27.253Z"
|
||||
}
|
||||
Reference in new issue
Block a user