gabriel / musehub public
feat BREAKING task/fix-daily-push-bytes-sa-warning #1 / 1
AI Agent gabriel · 140 days ago · Jun 3, 2026 · Diff

feat: migration idempotency, file attribution DAG walk, mpack phase2, scale fix, agent-only adapters

- Migrations: make all downgrade ops idempotent (IF EXISTS on drops, _has_column guards on ALTER COLUMN); fix ownership — repair migrations (0035/0036) no longer drop tables owned by 0031/0034; fix unsafe DROP INDEX in 0023 and column drops in 0018-0021/0024/0028 - file_last_commits: fix DAG walk via parent_ids instead of branch filter; fix snapshot manifest_blob backfill — push stores root+head only, mpack.index job backfills rest - mpack.index job: add commit graph building (_build_commit_graph_from_raw); add MusehubObject upsert with mpack:// storage_uri; fix test monkeypatches to hit all get_backend import sites - Scale regression fix: revert manifest_blob=always to manifest_blob=root|head only in wire_push_unpack_mpack — 360MB transaction was blocking snapshot_refs inserts - Object store phase6: storage_uri=None is correct for commits/snapshots (not a warning) - Wire e2e tests: patch musehub.storage.backends.get_backend + storage.get_backend - Markdown: heading renderer adds id= slugs for deep linking - Branch dropdown: HTMX now swaps repo_content.html (file tree + README together) - Agent adapters: claude-only (remove cursor/windsurf/codex); rm .cursorrules, .windsurfrules, AGENTS.md from tracked files - Delete backfill_object_store.py (targets dead s3:// architecture) - Merge conflict docs: add muse resolve workflow, warn against blind --ours/--theirs

sha256:009b5a222314f47640a58d75ce5a1f428f1624cf0b51384dfcdfbdfab3cc42a4 sha
+5 ~30 −50 symbols
sha256:3b857064ed479816affbf0b49990b4a433b6e05b67fcdbdad86ba8a4745b590c snapshot
+5
symbols added
~30
symbols modified
−50
symbols removed
0
dead code introduced
Semantic Changes 85 symbols
− .cursorrules .cursorrules
− .windsurfrules .windsurfrules
~ AGENTS.md .md 28 symbols removed
− Workspace — Shared Agent Configuration section Workspace — Shared Agent Configuration L1–137
− Branch Flow section Branch Flow L83–103
− code[bash] variable variable code[bash] L87–100
− Code Intelligence section Code Intelligence L103–116
− table section table L105–113
− Commit Convention — Agent-First section Commit Convention — Agent-First L37–83
− Agent commit — always use this section Agent commit — always use this L43–58
− code[bash] variable variable code[bash] L45–51
− Human commit — manual actions only section Human commit — manual actions only L58–66
− code[bash] variable variable code[bash] L60–63
− Provenance chain section Provenance chain L66–83
− code variable variable code L68–77
− Testing Rules section Testing Rules L116–137
− Forbidden section Forbidden L130–137
− Version Control section Version Control L25–37
− Workspace Members section Workspace Members L11–25
− table section table L13–22
− musehub — Agent Configuration section musehub — Agent Configuration L137–226
− Localhost Container — ALWAYS Restart After Code Changes section Localhost Container — ALWAYS Restart After Code Changes L164–176
− code[bash] variable variable code[bash] L168–171
− Proposal Titles section Proposal Titles L147–164
− table section table L154–159
− Repo-Specific Notes section Repo-Specific Notes L176–226
− Instance IDs section Instance IDs L220–226
− table section table L222–226
− Recovering a Down Staging Instance section Recovering a Down Staging Instance L186–220
− Staging Deploy section Staging Deploy L178–186
− code[bash] variable variable code[bash] L180–185
~ deploy/backfill_object_store.py .py 20 symbols removed
− BackfillStats class class BackfillStats L46–52
− _backfill_commits function async_function _backfill_commits L83–130
− _backfill_snapshots function async_function _backfill_snapshots L133–188
− _main function async_function _main L191–223
− backfill_object_store function async_function backfill_object_store L55–80
− AsyncSession import import AsyncSession L37–37
− MusehubCommit import import MusehubCommit L39–39
− MusehubSnapshot import import MusehubSnapshot L39–39
− TypedDict import import TypedDict L33–33 → moved to musehub/services/musehub_wire_push.py
− _reconstruct_manifest import import _reconstruct_manifest L41–41
− annotations import import annotations L27–27
− argparse import import argparse L29–29
− asyncio import import asyncio L30–30
− commit_to_bytes import import commit_to_bytes L40–40
− logging import import logging L31–31
− msgpack import import msgpack L35–35
− sa import import sa L36–36
− snapshot_to_bytes import import snapshot_to_bytes L40–40
− sys import import sys L32–32
− logger variable variable logger L43–43
~ musehub/services/musehub_wire_push.py .py 3 symbols added, 3 symbols modified
+ PurgeResult class class PurgeResult L933–935
+ _build_commit_graph_from_raw function async_function _build_commit_graph_from_raw L982–1071
+ TypedDict import import TypedDict L3–3 ← moved from deploy/backfill_object_store.py
~ tests/test_object_store_invariant_phase6.py .py 2 symbols added, 2 symbols removed, 2 symbols modified
− test_warning_logged_when_storage_uri_is_none method async_method test_warning_logged_when_storage_uri_is_none L142–157
− test_warning_logged_when_storage_uri_is_none method async_method test_warning_logged_when_storage_uri_is_none L118–134
+ test_no_warning_when_storage_uri_is_none method async_method test_no_warning_when_storage_uri_is_none L146–165
+ test_no_warning_when_storage_uri_is_none method async_method test_no_warning_when_storage_uri_is_none L118–138
← Older Oldest on task/fix-daily-push-bytes-sa-warning
All commits
Newer → Latest on task/fix-daily-push-bytes-sa-warning

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