发布

  • 2.2.5 3af440633c

    [OPIK-7457] [BE] fix: persist cipx block content hash; fold agent_overhead into static overhead (#7596)

    frostbyte_neo 发布于 2026-07-24 09:03:13 +00:00

    • [OPIK-7457] [BE] fix: persist cipx block content hash; fold agent_overhead into static overhead

    Persist the proxy's per-block sha256 as cipx_spend_blocks.content_sha256 (migration 000110) so AI-spend breakdowns can count distinct blocks by content, and map the new agent_overhead category into the static_overhead lane.

    Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

    • test(backend): assert content_sha256 persisted on every cipx block row

    Only the memory block carries a sha256 in the fixture; assert exactly one non-empty content_sha256 across all rows (the memory row = a1b2c3) so a dropped or misordered hash on any other row fails, per PR review.

    Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

    • address comment
    下载附件