gabriel / muse public
fix patch task/genesis-structured-delta #1 / 1
AI Agent gabriel · 38 days ago · May 4, 2026 · Diff

fix: genesis commit now produces structured_delta with insert ops

Root commits previously skipped plugin.diff() behind a parent_id guard, leaving structured_delta=None for every genesis commit. The indexer then had no ops to record, so the oldest history entry for every symbol was mis-indexed as op='modify' instead of op='add'.

Fix: always call plugin.diff() with parent_manifest={} for genesis commits (diff against empty → all ops are inserts). Tests added for the three properties: delta present, all ops insert, all ops carry content_id.

sha256:cac673ea09142c5cba9d812d521aa54d332888e72c200a42d6db94d9eabde295 sha
sha256:c3a78be4b2099cdc71ef09760fefd806a1d471d06f441f9551e86ddc21a4e861 snapshot
← Older Oldest on task/genesis-structured-delta
All commits
Newer → Latest on task/genesis-structured-delta

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:cac673ea09142c5cba9d812d521aa54d332888e72c200a42d6db94d9eabde295 --body "your comment"