From b9ebbbf54f4797e7def4c41856f81ee0fcf22cac Mon Sep 17 00:00:00 2001 From: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> Date: Sun, 19 Jul 2026 17:00:12 -0400 Subject: [PATCH 1/2] fix(scaffold): emit .gitattributes and default npm scope to @tmhs Two defects hit and worked around during the godot-correctness-mcp birth, now fixed at the source so no future born repo repeats them: - Add templates/gitattributes.j2 and emit it for every born repo (both types, alongside .gitignore): normalizes LF for ts/js/json/md/yml/yaml and marks .gz/.wasm artifacts binary. Prevents CRLF phantom diffs on .json and mangled committed binary artifacts. - Default npm scope corrected from @{{ repo_owner | lower }} (-> @tmhsdigital) to @tmhs in package.json.j2 and site.json.j2. The GitHub org references (TMHSDigital in URLs) are unchanged and correct. License already emits CC-BY-NC-ND-4.0 (package.json + LICENSE); verified, no change. STANDARDS_VERSION unchanged (not a standards change); VERSION bumped 1.17.1 -> 1.17.2 per the meta-repo contract for a scaffold fix. Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> --- VERSION | 2 +- scaffold/generator.py | 1 + scaffold/templates/gitattributes.j2 | 13 +++++++++++++ scaffold/templates/package.json.j2 | 2 +- scaffold/templates/site.json.j2 | 2 +- 5 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 scaffold/templates/gitattributes.j2 diff --git a/VERSION b/VERSION index 511a76e..06fb41b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.1 +1.17.2 diff --git a/scaffold/generator.py b/scaffold/generator.py index 8940a4a..fcb9e4c 100644 --- a/scaffold/generator.py +++ b/scaffold/generator.py @@ -217,6 +217,7 @@ def _render_repo(output_dir: Path, ctx: dict, *, verbose: bool) -> None: ("LICENSE", "LICENSE.j2"), (".cursorrules", "cursorrules.j2"), (".gitignore", "gitignore.j2"), + (".gitattributes", "gitattributes.j2"), ("site.json", "site.json.j2"), ("mcp-tools.json", "mcp-tools.json.j2"), ): diff --git a/scaffold/templates/gitattributes.j2 b/scaffold/templates/gitattributes.j2 new file mode 100644 index 0000000..c553e04 --- /dev/null +++ b/scaffold/templates/gitattributes.j2 @@ -0,0 +1,13 @@ +# Normalize line endings +* text=auto +*.ts eol=lf +*.js eol=lf +*.json eol=lf +*.md eol=lf +*.yml eol=lf +*.yaml eol=lf + +# Committed binary artifacts (e.g. symbol databases, tree-sitter grammars) must +# never be line-ending converted or diffed as text. +*.gz binary +*.wasm binary diff --git a/scaffold/templates/package.json.j2 b/scaffold/templates/package.json.j2 index c87c908..118817b 100644 --- a/scaffold/templates/package.json.j2 +++ b/scaffold/templates/package.json.j2 @@ -1,5 +1,5 @@ { - "name": "@{{ repo_owner | lower }}/{{ slug }}", + "name": "@tmhs/{{ slug }}", "version": "0.1.0", "description": "{{ description }}", "type": "module", diff --git a/scaffold/templates/site.json.j2 b/scaffold/templates/site.json.j2 index 1fb29dd..6e49ed7 100644 --- a/scaffold/templates/site.json.j2 +++ b/scaffold/templates/site.json.j2 @@ -12,7 +12,7 @@ "Search for {{ name }}", "Click Install and reload" {% else %} - "Install with npx -y @{{ repo_owner | lower }}/{{ slug }}", + "Install with npx -y @tmhs/{{ slug }}", "Add to your Claude Desktop or Cursor mcpServers config", "Restart your MCP client" {% endif %} From 19598251457617665a3381bef10878a21848d67d Mon Sep 17 00:00:00 2001 From: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> Date: Sun, 19 Jul 2026 17:02:18 -0400 Subject: [PATCH 2/2] chore(docs): sync footer version to 1.17.2 [skip version] Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index f9f415d..5af720a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -345,7 +345,7 @@

Scaffold Generator