Git diffs are great for humans scanning line noise. But agents need to understand changes: "added function X", "renamed symbol Y", "moved block Z".<p>sem computes semantic diffs on top of your Git repo—no repo rewrite needed.<p>Repo: <a href="https://github.com/Ataraxy-Labs/sem" rel="nofollow">https://github.com/Ataraxy-Labs/sem</a><p>Key ideas:<p>Parses code to AST, computes tree‑edit ops (add/remove/move/change).<p>Outputs human‑/agent‑readable patches: "diff_sem" shows intent, not whitespace churn.<p>Applies deterministically via git apply --sem—survives formatting shifts or unrelated edits.<p>Use cases popping up:<p>Agent codemods: output semantic patches instead of brittle hunks.<p>Review tools: "explain this PR as semantic changes".<p>Stacked diffs / Graphite: semantic base for stacks.<p>Bulk refactors: apply "rename all X to Y" across noisy repos.