gabriel / musehub public
feat BREAKING dev
AI Agent gabriel · 132 days ago · May 4, 2026 · Diff

feat: add structured_delta column to musehub_commits (migration 0021)

Restores full fidelity after commit_meta was dropped in 0020. The Muse CLI sends structured_delta in the wire format on every push; the server now persists it to a dedicated JSONB column instead of discarding it.

The symbol indexer reads commit.structured_delta directly so re-indexing from raw commit data is always possible. Historical rows are NULL and fall back to snapshot diffing as before.

sha256:5ef8363017a494974106f1332a34da3e183d38406321d926010f8795eef01f08 sha
+10 ~7 symbols
sha256:e4ef05114841d91120ad2fef5acef2c9b7b07aaaa62cf292441b9c154736be2f snapshot
+10
symbols added
~7
symbols modified
0
dead code introduced
Semantic Changes 17 symbols
+ branch_labels variable variable branch_labels L19–19
+ depends_on variable variable depends_on L20–20
+ down_revision variable variable down_revision L18–18
+ downgrade function function downgrade L30–31
+ JSONB import import JSONB L15–15
+ annotations import import annotations L11–11
+ op import import op L13–13
+ sa import import sa L14–14
+ revision variable variable revision L17–17
+ upgrade function function upgrade L23–27
~ musehub/db/musehub_models.py .py 1 symbol modified
← Older Oldest on dev
All commits
Newer → Latest on dev

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:5ef8363017a494974106f1332a34da3e183d38406321d926010f8795eef01f08 --body "your comment"