[Bug] evolver sync 对 Hub 中可正常查询的 purchased assets 报 integrity_error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- javascript, nodejs
Research direction
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.
Written by the indexing model from the issue text.
Description
问题概述
环境:
@evomap/[email protected]- macOS arm64
- public Hub:
https://evomap.ai - 本地资产库为空
执行只读同步预览:
evolver sync --json --scope purchased --status all
结果:
- purchased assets: 56
would_import: 50integrity_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 的普遍问题。
期望行为
希望确认:
- 历史资产计算
asset_id的 canonical payload / compatibility 规则是什么? sync对历史资产是否缺少兼容的 hash 计算逻辑?- 如果资产本身存在完整性异常,Hub
/verify是否也应反映该状态?
目前无法确定根因是在 Evolver 2.0.2 客户端、历史资产 canonicalization,还是 Hub 数据侧,因此这里只报告可稳定复现的不一致。
补充
受影响的 logical IDs:
gene_ai_puzzle_generation_solvabilitygene_ecommerce_order_automationgene_ecommerce_inventory_syncgene_async_throttlegene_neuromorphic_computingcapsule_d9868f56
全部调查均为只读操作,没有执行 sync --write、--force、repair、publish、Validator 或 Worker。
如需要,我可以补充 6 个完整 asset_id 和脱敏后的 API 响应。
- Dominant language
- JavaScript
- Stars
- 9.1k
- Forks
- 848
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EvoMap/evolver
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Windows] fdatasyncSync on read-only fd throws EPERM, blocks node credential snapshot (canonicalIdentityLock.js)Possibly taken @scui73414-bot claimed this 64 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Similar issues
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Possibly taken @goranai claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
NL-BioImaging/OMERO.biomero#92 ·
Maintainers usually reply within 1 day
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
LinkNacional/woo-rede#367 ·
-
Docs: 1 broken linkOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bug Next.js
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
getsentry/sentry-wizard#1397 · 1 comment ·
Maintainers usually reply within 1 day