Commit Graph

527 Commits

Author SHA1 Message Date
Catriel Müller f40970557f refactor: renegare sdk 2026-05-06 14:26:06 -03:00
Mark IJbema ca36a75c2d Merge branch 'main' into mark/upstream-merge-head-base 2026-05-06 11:52:23 +02:00
kiloconnect[bot] e88dd31421 feat: support HEAD as upstream merge base 2026-05-06 09:38:26 +00:00
Mark IJbema c4a9ab912f Merge branch 'main' into session/agent_a6ecf426-6df9-4de2-832c-c3835090b68b 2026-05-06 11:22:24 +02:00
kilo-maintainer[bot] b1349843c8 release: v7.2.42 2026-05-06 09:05:30 +00:00
Mark IJbema ef45bedc33 Merge branch 'main' into session/agent_a6ecf426-6df9-4de2-832c-c3835090b68b 2026-05-06 10:25:08 +02:00
Mark IJbema 68b2725f22 Merge pull request #9942 from Kilo-Org/mark/check-workflow-allowlist
ci: guard against upstream workflow additions
2026-05-06 09:27:07 +02:00
kiloconnect[bot] 37af1bc751 check-workflows: drop disabled list, only check runnable workflows 2026-05-06 07:11:04 +00:00
kiloconnect[bot] 0c21808597 fix(check-workflows): also catch .yaml files 2026-05-06 06:48:06 +00:00
kiloconnect[bot] ed973a93c0 annotate kilocode_change markers 2026-05-06 06:40:25 +00:00
kiloconnect[bot] 34959bfaac ci: guard against upstream workflow additions
Hardcodes the list of active and disabled workflows and fails CI when
.github/workflows/ drifts. Wired into check-opencode-annotations so we
don't add a new workflow file for this.
2026-05-06 06:38:28 +00:00
Catriel Müller ec57cd450c refactor: fix opencode annotations when rollback a kilocode change 2026-05-05 15:29:06 -03:00
Mark IJbema 4d14811e63 Merge pull request #9925 from Kilo-Org/chore/zdiff3-conflict-style
chore: enforce zdiff3 conflict style via postinstall
2026-05-05 17:37:01 +02:00
kiloconnect[bot] 05fabd3f1f chore: mark script/setup-git.ts with kilocode_change marker 2026-05-05 15:11:02 +00:00
Mark IJbema b5c584ceac Merge pull request #9916 from Kilo-Org/mark/sync-upstream-versions
chore: add sync-versions script for upstream merges
2026-05-05 17:05:13 +02:00
kiloconnect[bot] c239a6bb22 chore(config): enforce zdiff3 conflict style via postinstall
Add a new setup script to configure `merge.conflictStyle=zdiff3` locally
within the repository. This ensures that the common ancestor is visible
during merge conflicts, which is required for structural resolution by
`mergiraf` and simplifies manual conflict resolution.

The configuration is applied during `bun install` via the `postinstall`
hook and remains as a fallback for the upstream merge utilities.
2026-05-05 14:49:50 +00:00
kiloconnect[bot] 3618565040 chore: annotate sync-versions.ts as kilocode new file 2026-05-05 13:45:44 +00:00
kiloconnect[bot] 6a989dc6bc chore: add sync-versions script for upstream merges
Upstream opencode stamps its own version into shared files (the Zed extension toml + any package.json it bumps), which leaves the tree pointing at an upstream release tag that doesn't exist on Kilo's pipeline — Zed download URLs silently 404 as a result.

script/sync-versions.ts rewrites every top-level package.json version and the Zed extension toml (version + 5 download URLs) to a single target in one shot. Defaults to the root package.json version, accepts an explicit version argument, and skips packages/kilo-jetbrains/ which tracks its own cadence.

Documented in .kilo/command/upstream-manual-merge.md as a dedicated step-10 commit after 'resolve merge conflicts' so version churn stays out of the behavioural merge commit.
2026-05-05 13:43:54 +00:00
Mark IJbema 0c5ec06f6e fix(upstream): pre-filter big + policy-protected files
Fixes hang when running the finder from the repo root without a path
scope. Root cause: upstream-only packages (packages/console, packages/web,
packages/desktop, etc. in config.skipFiles) contain multi-megabyte
media assets that stall concurrent Bun `git show` subprocesses on the
pipe buffer.

Changes:
- Batch upstream blob sizes in one `git cat-file --batch-check`
  subprocess before classifying anything. Files with missing upstream
  land directly in `upstream-missing`; files > 256 KB land in the new
  `too-large` bucket. Only sane-sized survivors get per-file `git show`.
- Filter out files matching the merge config's `keepOurs` and
  `skipFiles` globs (.github workflows, translated READMEs, upstream-
  only packages, etc.) — these are intentionally preserved or removed
  in Kilo and would otherwise pollute the report and tempt incorrect
  resets.

Full-repo dry-run now completes in ~2s.
2026-05-05 15:25:37 +02:00
Mark IJbema c1accfa588 fix(upstream): stop finder hanging on big assets
Replace the subprocess-based line diff in classifyDrift with an
in-process multiset diff (approxDiff) so concurrent classifications
don't deadlock on big text files like sprite.svg via Bun $.quiet()
pipe-buffer stalls.

Also filter non-code assets (SVG, PNG, fonts, archives, lock files,
etc.) before classification so they don't bloat the report or stress
git subprocesses. Switch kilo-only path excludes to glob pathspecs so
every packages/kilo-*/ and **/kilocode/** dir is excluded without
maintaining a hand list.

Rename the 'whitespace-only' bucket to 'cosmetic-only' — with the
multiset diff it also catches line reordering, so the old label was
misleading.
2026-05-05 14:17:33 +02:00
Mark IJbema 3f2ea7188b chore(upstream): add find-reset-candidates helper
Bulk-finds files that have drifted insignificantly from the last merged
upstream and (optionally) resets them. Extracts shared clean/changed
marker helpers into utils/markers.ts and shared reset logic into
utils/reset.ts so both the single-file reset helper and the new finder
use the same classification pipeline.
2026-05-05 13:44:01 +02:00
Mark IJbema 23818a5127 Merge pull request #9896 from Kilo-Org/mark/skip-team-members
chore(upstream): skip files Kilo has removed from upstream
2026-05-05 12:49:41 +02:00
kiloconnect[bot] 6986b2b879 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.
2026-05-05 10:27:26 +00:00
Mark IJbema 33891196c7 Merge pull request #9895 from Kilo-Org/mark/release-slack-prerelease-status
fix: show release type in Slack notifications
2026-05-05 12:15:27 +02:00
Mark IJbema e77c6c005a Merge pull request #9889 from Kilo-Org/mark/reset-file-to-upstream
Add reset-to-upstream helper
2026-05-05 11:29:48 +02:00
kiloconnect[bot] 47cab6b3df fix: show release type in Slack notifications 2026-05-05 09:12:27 +00:00
kilo-maintainer[bot] 8fcc77a2ae release: v7.2.40 2026-05-05 09:05:27 +00:00
kiloconnect[bot] 33aa8e5184 fix(cli): isolate upstream rerere training 2026-05-05 08:40:26 +00:00
kilo-maintainer[bot] 4e1bae01ae release: v7.2.39 2026-05-05 08:30:11 +00:00
kiloconnect[bot] b59dfaa642 fix: preserve binary upstream resets 2026-05-05 08:28:57 +00:00
kiloconnect[bot] 6e3ddaad60 feat: add reset-to-upstream script 2026-05-05 08:19:17 +00:00
Mark IJbema 0364cda447 Merge remote-tracking branch 'origin/main' into mark/remove-oc-desktop-apps 2026-05-05 09:05:38 +02:00
kilo-maintainer[bot] fa7082fcf8 release: v7.2.36 2026-05-05 00:11:27 +00:00
kilo-maintainer[bot] a0d657fc65 release: v7.2.35 2026-05-04 16:10:20 +00:00
kiloconnect[bot] 837a62152a chore: annotate shared package removals 2026-05-04 15:13:13 +00:00
kiloconnect[bot] d22d08bbce chore: remove stale desktop package references 2026-05-04 15:00:59 +00:00
Mark IJbema 7923c87f24 Merge pull request #9834 from Kilo-Org/docs/verification-copy-prompts
docs: add copyable verification prompts
2026-05-04 14:21:55 +02:00
Mark IJbema 6b4bc40b81 Merge pull request #9751 from Kilo-Org/markijbema/kilo-opencode-v1.14.29
Merge opencode v1.14.29
2026-05-04 14:21:23 +02:00
kiloconnect[bot] d066277079 docs: use safer verification commands 2026-05-04 12:09:16 +00:00
kiloconnect[bot] 97af82d217 docs: add copyable verification prompts 2026-05-04 11:54:14 +00:00
kiloconnect[bot] 5753243a30 docs: add verification startup commands 2026-05-04 10:13:05 +00:00
kiloconnect[bot] 69d6ece6f1 docs: add upstream verification test checklist 2026-05-04 10:03:20 +00:00
Mark IJbema a16e0560c7 Merge remote-tracking branch 'origin/main' into markijbema/kilo-opencode-v1.14.29 2026-05-04 10:27:37 +02:00
kilo-maintainer[bot] a1c08dbca4 release: v7.2.34 2026-05-04 03:38:53 +00:00
kilo-maintainer[bot] 5bf9e821e9 release: v7.2.33 2026-05-01 16:49:11 +00:00
Mark IJbema 3f7037549e resolve merge conflicts 2026-04-30 16:25:46 +02:00
kiloconnect[bot] 8185b01e51 chore(cli): require ripgrep for find-conflict-markers
Drop the POSIX grep fallback; bail with a clear error when rg is
missing.
2026-04-30 10:18:35 +00:00
kiloconnect[bot] 2eec02452b chore(cli): add script to find merge conflict markers in a file
Provides a small helper for upstream merge workflows so agents can be
allowlisted to search for conflict markers without needing general shell
access. Wraps the canonical ripgrep invocation with a POSIX grep fallback.
2026-04-30 10:08:23 +00:00
Mark IJbema 12f7967ca4 Merge pull request #9707 from Kilo-Org/agent/opencode-merge-worktrees
Add opencode merge reference worktrees
2026-04-30 11:19:47 +02:00
Marian Alexandru Alecu 34b1dee811 Merge pull request #9626 from Kilo-Org/fix/external_directory-permissions
fix(cli): honor read-only external directory allows
2026-04-29 23:25:06 +03:00