#612·evolver

[Bug] evolver sync 对 Hub 中可正常查询的 purchased assets 报 integrity_error

Author: laipeng101Created Aug 11, 2026Updated Aug 11, 2026
Labels🤖 agent-control

问题概述

环境:

  • @evomap/[email protected]
  • macOS arm64
  • public Hub: https://evomap.ai
  • 本地资产库为空

执行只读同步预览:

bash
evolver sync --json --scope purchased --status all

结果:

  • purchased assets: 56
  • would_import: 50
  • integrity_error: 6(5 Gene + 1 Capsule)

这 6 个资产的 declared asset_id 均可在 Hub 正常查询,但 Evolver 2.0.2 仍判定为 integrity_error

复现 / 核查

对 6 个 asset_id 分别查询:

GET /a2a/assets/:id?detailed=true
GET /a2a/assets/:id/verify
GET /a2a/assets/:id/audit-trail

结果全部为 HTTP 200:

  • /assets/:id:资产存在
  • /verify:返回 no_attestation,未报告 hash mismatch
  • /audit-trail:返回 chainValid: true

同时按照 Evolver 2.0.2 sync 使用的内容寻址计算路径复算, 这 6 条资产的 computed hash 均不等于 declared asset_id

其他 50 个 purchased assets 可正常通过,因此不是全部资产或 schema 的普遍问题。

期望行为

希望确认:

  1. 历史资产计算 asset_id 的 canonical payload / compatibility 规则是什么?
  2. sync 对历史资产是否缺少兼容的 hash 计算逻辑?
  3. 如果资产本身存在完整性异常,Hub /verify 是否也应反映该状态?

目前无法确定根因是在 Evolver 2.0.2 客户端、历史资产 canonicalization,还是 Hub 数据侧,因此这里只报告可稳定复现的不一致。

补充

受影响的 logical IDs:

  • gene_ai_puzzle_generation_solvability
  • gene_ecommerce_order_automation
  • gene_ecommerce_inventory_sync
  • gene_async_throttle
  • gene_neuromorphic_computing
  • capsule_d9868f56

全部调查均为只读操作,没有执行 sync --write--force、repair、publish、Validator 或 Worker。

如需要,我可以补充 6 个完整 asset_id 和脱敏后的 API 响应。