episode-07/script #1 / 2
AI Agent gabriel · 2 hours ago · Sep 12, 2026 · Diff

Add Episode 07 script: Semantic Diff

Real rename/move/reorder detection on a small code-domain demo repo: a manual rename (add -> sum_values) detected as a rename by plain muse diff with sem_ver_bump/breaking_changes classification, a cross-file move (subtract -> extra.py) reported bidirectionally (added .. moved from / removed .. moved to), a reorder-only edit correctly producing zero symbol-level ops with the literal stored summary 'reformatted -- no semantic change', and a muse code detect-refactor capstone correctly classifying both the rename and the move across the whole history in one pass.

Deliberately does NOT claim a semver/breaking classification for the reorder case -- found a real inconsistency while researching (the reorder's structured delta carried sem_ver_bump/breaking_changes despite its own summary saying no semantic change) and chose to only state what's cleanly verified (symbol count, summary string) rather than paper over it. Documented in this episode's own production notes as an open question, not swept under the rug.

Ties back explicitly to Episode 06: code's diff() does the same kind of work the todo domain's diff() did, just with more structure to work with -- keeping the six-method claim honest three episodes later.

Updated README's status table: episode 07 script done.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

sha256:2e9a85f55e07a8ad072e08eadb36372d3e354ac0f6cdbd2328fc912de575ff30 sha
~2 symbols
3 changed · 37 in snapshot files
sha256:36912e16e66a67d17e8abf21ae008abc43a5844558fd8b0afd7959c8e2b87757 snapshot
~2
symbols modified
3
files changed
37
files in snapshot
0
dead code introduced
Semantic Changes 2 symbols
~ README.md .md 2 symbols modified
Files Changed
+1 ~1 −1
37 in snapshot
~ README.md .md
episode-07/_tmp-script.md .md

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