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

Đang mở
#612 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, nodejs
Lĩnh vực
api, backend, cli

Hướng nghiên cứu

Start by reproducing evolver sync --json --scope purchased --status all with the six listed logical IDs, then compare its content-addressed hash path with /a2a/assets/:id, /verify, and /audit-trail. Trace the sync integrity check and the Hub responses to determine whether historical canonicalization or compatibility handling is involved. Done means the discrepancy is explained and the affected assets receive consistent integrity status.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

🤖 agent-control

问题概述

环境:

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

执行只读同步预览:

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 响应。

Ngôn ngữ chính
JavaScript
Star
9.1k
Fork
848
Merge trung bình
14 giờ 39 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của EvoMap/evolver

Tất cả issue của EvoMap/evolver

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.