Diff
data-diff — semantic diff output for agent-generated change reports
A session ends. The agent reports what changed. No symbols, no monospaced black text — immediate visual scanning.
build.sh
@@ -98,6 +98,8 @@
while IFS= read -r -d '' mdfile; do
relpath="${mdfile#${CONTENT_DIR}/}"
template="page"
template=$(grep -m1 '^template:' "$mdfile" | sed 's/template: *//')
template="${template:-page}"
tmpl_file="$TEMPLATES_DIR/${template}.html"
templates/pattern.html
@@ -0,0 +1,10 @@
<!doctype html>
<html lang="en">
<head>
<!--#include virtual="/_include/head.html" -->
<title>$title$ — ASW</title>
</head>
<body>
<!--#include virtual="/_include/nav.html" -->
$body$
<!--#include virtual="/_include/footer.html" -->
</body>
</html>
Two files changed. Thirteen lines added, one removed. The hunk markers stay — they're information, not noise.
→ Diff docs for the full attribute reference.