gabriel / musehub public
fix patch dev
AI Agent gabriel · 120 days ago · May 15, 2026 · Diff

fix: init commit ID, walk delta repo_id, L-tier gates, ensure_hub_seed branch check

- create_repo(initialize=True) now produces sha256:<hex> not init-sha256:<hex> - _walk_commit_delta: removed unused repo_id parameter (two call sites updated) - _is_init check in wire_push_stream uses deterministic blob_id comparison - Removed init-% filter dead code from activity query - bench_cli L-tier gates: 60s → 15s localhost, 30s staging - ensure_hub_seed: checks branch_heads after wire_hash match (never-pushed seed fix) - test_init_commit_id.py: IC-1..4 TDD tests for valid init commit ID - test_walk_commit_delta_scale.py: WD-1..4 scale tests proving walk is correct - test_ltier_fetch_regression.py: LF-1..2 regression tests for L-tier fetch path - test_wire_step4_e2e.py: removed init- filter from have list

sha256:1f14f134fcf51886ac48a35510f480bff446c032ae8cb1379197978cb63056e9 sha
+42 ~10 symbols
sha256:a10ceb7321093a9a233e61f0bac5e86a3f559b4887ef0e72f353fa4e05d8261a snapshot
+42
symbols added
~10
symbols modified
0
dead code introduced
Semantic Changes 52 symbols
~ tests/test_init_commit_id.py .py 11 symbols added
+ _owner_user_id function function _owner_user_id L17–18
+ AsyncSession import import AsyncSession L11–11
+ annotations import import annotations L8–8
+ compute_identity_id import import compute_identity_id L14–14
+ db import import db L13–13
+ pytest import import pytest L10–10
+ select import import select L12–12
+ test_ic1_init_commit_id_is_sha256 function async_function test_ic1_init_commit_id_is_sha256 L24–45
+ test_ic2_init_commit_exists_in_musehub_commits function async_function test_ic2_init_commit_exists_in_musehub_commits L51–71
+ test_ic3_wire_refs_head_is_valid_sha256 function async_function test_ic3_wire_refs_head_is_valid_sha256 L77–99
+ test_ic4_ensure_hub_seed_checks_branch_head function function test_ic4_ensure_hub_seed_checks_branch_head L104–119
~ tests/test_ltier_fetch_regression.py .py 17 symbols added
+ _build_chain_with_objects function async_function _build_chain_with_objects L58–103
+ _now function function _now L32–33
+ _stub_backend function function _stub_backend L36–55
+ AsyncMock import import AsyncMock L22–22
+ AsyncSession import import AsyncSession L24–24
+ annotations import import annotations L17–17
+ blob_id import import blob_id L27–27
+ create_repo import import create_repo L29–29
+ datetime import import datetime L21–21
+ db import import db L28–28
+ fake_id import import fake_id L27–27
+ msgpack import import msgpack L19–19
+ pytest import import pytest L20–20
+ select import import select L25–25
+ timezone import import timezone L21–21
+ test_lf1_wire_refs_returns_correct_tip function async_function test_lf1_wire_refs_returns_correct_tip L109–132
+ test_lf2_wire_fetch_bundle_1000_commits function async_function test_lf2_wire_fetch_bundle_1000_commits L138–164
~ tests/test_walk_commit_delta_scale.py .py 14 symbols added
+ _build_chain function async_function _build_chain L27–55
+ _now function function _now L23–24
+ AsyncSession import import AsyncSession L20–20
+ annotations import import annotations L13–13
+ datetime import import datetime L17–17
+ db import import db L19–19
+ fake_id import import fake_id L18–18
+ msgpack import import msgpack L16–16
+ pytest import import pytest L15–15
+ timezone import import timezone L17–17
+ test_wd1_single_commit function async_function test_wd1_single_commit L61–69
+ test_wd2_hundred_commit_chain function async_function test_wd2_hundred_commit_chain L75–82
+ test_wd3_thousand_commit_chain function async_function test_wd3_thousand_commit_chain L88–99
+ test_wd4_have_cuts_delta function async_function test_wd4_have_cuts_delta L105–117
~ tests/bench_cli.py .py 2 symbols 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:1f14f134fcf51886ac48a35510f480bff446c032ae8cb1379197978cb63056e9 --body "your comment"