test
mwp8/phase0
task/mwp-8-cache-invalidation
#6 / 6
test(mwp8/phase0): audit — repair+force-push leave stale cache (AU_01..AU_04)
sha256:0e5174da777684df43b2db71f282079030ef28bacffb93e19c29ee712b2a8bc4
sha
+82
symbols
2 changed · 990 in snapshot
files
sha256:cb617ce202c4899bce9780ff62051d6bfbd73d33bdc17507e5fe1726317ec5bf
snapshot
+82
symbols added
2
files changed
990
files in snapshot
0
dead code introduced
Semantic Changes
82 symbols
+
MWP-8 [musehub] — Cache-invalidation audit: bust musehub_fetch_mpack_cache on repair and force-push
section MWP-8 [musehub] — Cache-invalidation audit: bust musehub_fetch_mpack_cache on repair and force-push L1–305
+
The cache HIT path (where stale bytes escape)
section The cache HIT path (where stale bytes escape) L40–63
+
Trigger 1 — repair endpoints do not invalidate
section Trigger 1 — repair endpoints do not invalidate L63–75
+
Trigger 2 — force-push does not invalidate
section Trigger 2 — force-push does not invalidate L75–82
+
Why the prebuild does not self-heal a repair
section Why the prebuild does not self-heal a repair L82–86
+
Code Intelligence Appendix — symbol anchors
section Code Intelligence Appendix — symbol anchors L260–305
+
Blast-radius checks (run before/after editing)
section Blast-radius checks (run before/after editing) L282–290
+
Existing tests to read (don't reinvent fixtures)
section Existing tests to read (don't reinvent fixtures) L290–298
+
The clone-after-repair contract (the load-bearing E2E)
section The clone-after-repair contract (the load-bearing E2E) L141–147
+
The primitive — invalidate_fetch_mpack_cache
section The primitive — invalidate_fetch_mpack_cache L105–136
+
Phases — TDD-first, load-bearing, each green before the next
section Phases — TDD-first, load-bearing, each green before the next L147–215
+
Phase 3 — Wire force-push → invalidation (make AU_04 go green); protect the fast-forward path
section Phase 3 — Wire force-push → invalidation (make AU_04 go green); protect the fast-forward path L185–195
+
Phase 4 — Optional prebuild-on-repair + end-to-end clone-after-repair
section Phase 4 — Optional prebuild-on-repair + end-to-end clone-after-repair L195–203
+
Phase 5 — Suite wiring, regression sweep, close-out
section Phase 5 — Suite wiring, regression sweep, close-out L203–215
+
test_AU_01_repair_object_leaves_stale_cache_hit
function
async_function test_AU_01_repair_object_leaves_stale_cache_hit L220–263
+
test_AU_02_repair_snapshot_leaves_stale_cache_hit
function
async_function test_AU_02_repair_snapshot_leaves_stale_cache_hit L273–314
+
test_AU_03_repair_commit_leaves_stale_cache_hit
function
async_function test_AU_03_repair_commit_leaves_stale_cache_hit L324–379
+
test_AU_04_force_push_leaves_old_tip_cache_row
function
async_function test_AU_04_force_push_leaves_old_tip_cache_row L389–470
Files Changed
+2
990 in snapshot
+2
990 in snapshot
← Older
Oldest on task/mwp-8-cache-invalidation
All commits
Newer
feat(mwp8/phase1): add invalidate_fetch_mpack_cache primitive (I…
sha256:521444d9fd3f3b9a43f857e57f3ad8db9ad3b24e25b6879b9eeb105f8ecc0660
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:0e5174da777684df43b2db71f282079030ef28bacffb93e19c29ee712b2a8bc4 --body "your comment"
No comments yet. Be the first to start the discussion.