From e4592ada444707e6ea1da1a9e597ec298cfb7087 Mon Sep 17 00:00:00 2001 From: carbon_evolution Date: Sun, 18 Oct 2026 12:40:07 +0800 Subject: [PATCH] chore: hold Node major bumps in Dependabot; ignore local .claude state - dependabot.yml (docker): ignore semver-major updates of the node base image. Dependabot proposed node:22 -> node:26 (#48) while CI tests on 22 and 26 isn't LTS until 2026-10-28. Major runtime upgrades should move CI node-version and both Dockerfiles together; digest/minor/patch updates still come through. - Exclude .claude/ from ESLint and tsconfig, and git-ignore .claude/worktrees/: Claude Code sub-agent worktrees are full repo copies and inflated local lint/type-check runs (1103 vs 243 anys). CI is unaffected (the folder never exists there). Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 5 +++++ .gitignore | 3 +++ eslint.config.mjs | 2 ++ tsconfig.json | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6633c4c..f4972d5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,6 +14,11 @@ updates: directories: ["/", "/intel"] schedule: interval: weekly + # Node major upgrades are deliberate (CI node-version + both Dockerfiles + # together, on an LTS line); only take digest/minor/patch updates here. + ignore: + - dependency-name: node + update-types: ["version-update:semver-major"] groups: docker: patterns: ["*"] diff --git a/.gitignore b/.gitignore index 930cefc..bc0eb28 100644 --- a/.gitignore +++ b/.gitignore @@ -70,3 +70,6 @@ graphify-out/ # OSIRIS local data caches .cache/ + +# Claude Code sub-agent worktrees (local only) +.claude/worktrees/ diff --git a/eslint.config.mjs b/eslint.config.mjs index 34030b9..1de1cde 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,6 +12,8 @@ const eslintConfig = defineConfig([ "out/**", "build/**", "next-env.d.ts", + // Local Claude Code state (sub-agent worktrees are full repo copies). + ".claude/**", ]), { // intel/ is a standalone CommonJS Node service (no "type": "module"). diff --git a/tsconfig.json b/tsconfig.json index cf9c65d..0a4c9a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -30,5 +30,5 @@ ".next/dev/types/**/*.ts", "**/*.mts" ], - "exclude": ["node_modules"] + "exclude": ["node_modules", ".claude"] }