gabriel / musehub public
feat patch task/bundle-push #3 / 3
AI Agent gabriel · 126 days ago · May 11, 2026 · Diff

feat: wire step 2B — POST /push/unpack endpoint (bundle receive + index)

sha256:c952ad142bb722cb111aa5c50faa7f182c1326dfb68f450a3a4596d1fbdf3a9b sha
+57 ~13 symbols
sha256:2f71e0622c3708a7ce3663bf09769b4d4b4820d1afb2a5c839477f8749634eb5 snapshot
+57
symbols added
~13
symbols modified
0
dead code introduced
Semantic Changes 70 symbols
~ tests/test_wire_step1_negotiate.py .py 17 symbols added
+ _AUTH_CTX variable variable _AUTH_CTX L33–38
+ client function async_function client L42–58
+ ASGITransport import import ASGITransport L21–21
+ AsyncClient import import AsyncClient L21–21
+ AsyncSession import import AsyncSession L22–22
+ MSignContext import import MSignContext L24–24
+ annotations import import annotations L14–14
+ app import import app L26–26
+ get_db import import get_db L25–25
+ msgpack import import msgpack L18–18
+ optional_signed_request import import optional_signed_request L24–24
+ pytest import import pytest L19–19
+ pytest_asyncio import import pytest_asyncio L20–20
+ require_signed_request import import require_signed_request L24–24
+ time import import time L16–16
+ repo function async_function repo L66–77
+ test_negotiate_step1_performance_gate function async_function test_negotiate_step1_performance_gate L85–140
~ tests/test_wire_step2b_unpack.py .py 37 symbols added
+ _AUTH_CTX variable variable _AUTH_CTX L63–68
+ _BLOB_SIZE variable variable _BLOB_SIZE L55–55
+ _N_COMMITS variable variable _N_COMMITS L53–53
+ _N_OBJECTS variable variable _N_OBJECTS L54–54
+ _UNPACK_GATE_MS variable variable _UNPACK_GATE_MS L56–56
+ _make_repo function function _make_repo L115–125
+ _populate function function _populate L128–177
+ client function async_function client L76–90
+ ASGITransport import import ASGITransport L27–27
+ AsyncClient import import AsyncClient L27–27
+ AsyncSession import import AsyncSession L28–28
+ CommitRecord import import CommitRecord L39–39
+ MSignContext import import MSignContext L30–30
+ SnapshotRecord import import SnapshotRecord L39–39
+ annotations import import annotations L17–17
+ app import import app L32–32
+ blob_id import import blob_id L46–46
+ build_mpack import import build_mpack L36–36
+ compute_commit_id import import compute_commit_id L38–38
+ compute_snapshot_id import import compute_snapshot_id L38–38
+ datetime import import datetime L19–19
+ get_db import import get_db L31–31
+ msgpack import import msgpack L24–24
+ muse_dir import import muse_dir L37–37
+ optional_signed_request import import optional_signed_request L30–30
+ pathlib import import pathlib L20–20
+ pytest import import pytest L25–25
+ pytest_asyncio import import pytest_asyncio L26–26
+ require_signed_request import import require_signed_request L30–30
+ tempfile import import tempfile L22–22
+ time import import time L21–21
+ write_branch_ref import import write_branch_ref L39–39
+ write_commit import import write_commit L39–39
+ write_object import import write_object L35–35
+ write_snapshot import import write_snapshot L39–39
+ repo function async_function repo L98–108
+ test_unpack_step2b_performance_gate function async_function test_unpack_step2b_performance_gate L185–237
~ musehub/api/routes/wire.py .py 2 symbols added, 11 symbols modified
~ musehub/services/musehub_wire.py .py 1 symbol added, 2 symbols modified
+ wire_push_unpack function async_function wire_push_unpack L1105–1285

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