From 6986b2b879217a5b2a0fa705e7fa466bddc56fa6 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 09:43:31 +0000 Subject: [PATCH] chore(upstream): skip files Kilo has removed from upstream Add .github/TEAM_MEMBERS and other files Kilo has deleted to skipFiles so future upstream merges auto-remove them via git rm instead of surfacing delete-by-us conflicts that need manual resolution. Also drop the stale github/.gitignore entry from keepOurs (the file does not exist in Kilo main; keepOurs was a no-op) and move it to skipFiles so upstream's copy is dropped on merge instead of added. --- script/upstream/utils/config.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/script/upstream/utils/config.ts b/script/upstream/utils/config.ts index d8dd0c020a0..d3deee41c17 100644 --- a/script/upstream/utils/config.ts +++ b/script/upstream/utils/config.ts @@ -83,7 +83,6 @@ export const defaultConfig: MergeConfig = { // GitHub Action - Kilo version is fully ported and complete "github/action.yml", "github/README.md", - "github/.gitignore", "github/script/release", "github/script/publish", ], @@ -115,11 +114,26 @@ export const defaultConfig: MergeConfig = { "README.zht.md", // Stats file "STATS.md", + // Team members file (Kilo doesn't maintain this upstream list) + ".github/TEAM_MEMBERS", // Workflows that don't exist in Kilo ".github/workflows/update-nix-hashes.yml", ".github/workflows/deploy.yml", ".github/workflows/docs-update.yml", ".github/workflows/docs-locale-sync.yml", + // Workflows deleted in Kilo (replaced or no longer needed) + ".github/workflows/opencode.yml", + ".github/workflows/publish-vscode.yml", + // VS Code example configs (Kilo ships real .vscode/* files) + ".vscode/launch.example.json", + ".vscode/settings.example.json", + // Nix files for packages Kilo has removed / replaced with nix/kilo.nix + "nix/desktop.nix", + "nix/opencode.nix", + // opencode CLI bin (Kilo uses its own build output) + "packages/opencode/bin/opencode", + // Removed prompt file + "packages/opencode/src/session/prompt/build-switch.txt", // Vouch files (Kilo doesn't use Vouch). // Upstream currently ships VOUCHED.td (typo extension). The glob covers both // the current .td file and any future .md rename without another merge breaking. @@ -148,6 +162,7 @@ export const defaultConfig: MergeConfig = { "github/tsconfig.json", "github/bun.lock", "github/sst-env.d.ts", + "github/.gitignore", ], // Files that should take upstream version and apply Kilo branding transforms