From 5525f471d0fec59da04edc457909d81b5655d612 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 15:34:21 +0000 Subject: [PATCH 1/2] chore: reset stale-disabled workflows to upstream Reset six workflow files that were soft-disabled via `if: false` / `&& false` to the last merged upstream (v1.14.29) before moving them to the disabled folder in a follow-up commit. --- .github/workflows/compliance-close.yml | 1 - .github/workflows/daily-issues-recap.yml | 7 +--- .github/workflows/daily-pr-recap.yml | 7 +--- .github/workflows/pr-management.yml | 28 +++---------- .github/workflows/pr-standards.yml | 51 ++++++++++++++---------- .github/workflows/storybook.yml | 1 - 6 files changed, 40 insertions(+), 55 deletions(-) diff --git a/.github/workflows/compliance-close.yml b/.github/workflows/compliance-close.yml index d56d3b4d97..c3bcf9f686 100644 --- a/.github/workflows/compliance-close.yml +++ b/.github/workflows/compliance-close.yml @@ -13,7 +13,6 @@ permissions: jobs: close-non-compliant: - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo runs-on: ubuntu-latest steps: - name: Close non-compliant issues and PRs after 2 hours diff --git a/.github/workflows/daily-issues-recap.yml b/.github/workflows/daily-issues-recap.yml index 185de2f5b3..789712ef51 100644 --- a/.github/workflows/daily-issues-recap.yml +++ b/.github/workflows/daily-issues-recap.yml @@ -8,9 +8,6 @@ on: jobs: daily-recap: - # kilocode_change start - disabled for kilo-cli fork (OpenCode Discord integration) - if: false - # kilocode_change end runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read @@ -24,7 +21,7 @@ jobs: - uses: ./.github/actions/setup-bun - name: Install opencode - run: curl -fsSL https://opencode.ai/install | bash + run: curl -fsSL https://kilo.ai/install | bash - name: Generate daily issues recap id: recap @@ -46,7 +43,7 @@ jobs: # Get today's date range TODAY=$(date -u +%Y-%m-%d) - opencode run -m kilo/anthropic/claude-sonnet-4.5 "Generate a daily issues recap for the OpenCode repository. + opencode run -m opencode/claude-sonnet-4-5 "Generate a daily issues recap for the Kilo repository. TODAY'S DATE: ${TODAY} diff --git a/.github/workflows/daily-pr-recap.yml b/.github/workflows/daily-pr-recap.yml index 7049531b5d..ff026917f8 100644 --- a/.github/workflows/daily-pr-recap.yml +++ b/.github/workflows/daily-pr-recap.yml @@ -8,9 +8,6 @@ on: jobs: pr-recap: - # kilocode_change start - disabled for kilo-cli fork (OpenCode Discord integration) - if: false - # kilocode_change end runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read @@ -24,7 +21,7 @@ jobs: - uses: ./.github/actions/setup-bun - name: Install opencode - run: curl -fsSL https://opencode.ai/install | bash + run: curl -fsSL https://kilo.ai/install | bash - name: Generate daily PR recap id: recap @@ -45,7 +42,7 @@ jobs: run: | TODAY=$(date -u +%Y-%m-%d) - opencode run -m kilo/anthropic/claude-sonnet-4.5 "Generate a daily PR activity recap for the OpenCode repository. + opencode run -m opencode/claude-sonnet-4-5 "Generate a daily PR activity recap for the Kilo repository. TODAY'S DATE: ${TODAY} diff --git a/.github/workflows/pr-management.yml b/.github/workflows/pr-management.yml index 7abe0a0ac1..1e331bd6f2 100644 --- a/.github/workflows/pr-management.yml +++ b/.github/workflows/pr-management.yml @@ -5,20 +5,7 @@ on: types: [opened] jobs: - # kilocode_change start - check-author: - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo - uses: ./.github/workflows/check-org-member.yml - with: - username: ${{ github.event.pull_request.user.login }} - secrets: - kilo-maintainer-app-id: ${{ secrets.KILO_MAINTAINER_APP_ID }} - kilo-maintainer-app-secret: ${{ secrets.KILO_MAINTAINER_APP_SECRET }} - check-duplicates: - needs: check-author - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo - # kilocode_change end runs-on: blacksmith-4vcpu-ubuntu-2404 permissions: contents: read @@ -48,10 +35,9 @@ jobs: if: steps.team-check.outputs.is_team != 'true' run: bun install - # kilocode_change start - - name: Setup Kilo - uses: ./.github/actions/setup-kilo - # kilocode_change end + - name: Install opencode + if: steps.team-check.outputs.is_team != 'true' + run: curl -fsSL https://kilo.ai/install | bash - name: Build prompt if: steps.team-check.outputs.is_team != 'true' @@ -73,10 +59,7 @@ jobs: - name: Check for duplicate PRs if: steps.team-check.outputs.is_team != 'true' env: - # kilocode_change start - KILO_API_KEY: ${{ secrets.KILO_API_KEY }} - KILO_ORG_ID: ${{ secrets.KILO_ORG_ID }} - # kilocode_change end + OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} run: | @@ -89,8 +72,7 @@ jobs: fi add-contributor-label: - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo - runs-on: blacksmith-2vcpu-ubuntu-2404 # kilocode_change + runs-on: ubuntu-latest permissions: pull-requests: write issues: write diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/pr-standards.yml index 75fb650144..1edbd5d061 100644 --- a/.github/workflows/pr-standards.yml +++ b/.github/workflows/pr-standards.yml @@ -5,22 +5,10 @@ on: types: [opened, edited, synchronize] jobs: - # kilocode_change start - check-author: - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo - uses: ./.github/workflows/check-org-member.yml - with: - username: ${{ github.event.pull_request.user.login }} - secrets: - kilo-maintainer-app-id: ${{ secrets.KILO_MAINTAINER_APP_ID }} - kilo-maintainer-app-secret: ${{ secrets.KILO_MAINTAINER_APP_SECRET }} - check-standards: - needs: check-author - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo - # kilocode_change end - runs-on: blacksmith-4vcpu-ubuntu-2404 + runs-on: ubuntu-latest permissions: + contents: read pull-requests: write steps: - name: Check PR standards @@ -28,6 +16,30 @@ jobs: with: script: | const pr = context.payload.pull_request; + const login = pr.user.login; + + // Skip PRs older than Feb 18, 2026 at 6PM EST (Feb 19, 2026 00:00 UTC) + const cutoff = new Date('2026-02-19T00:00:00Z'); + const prCreated = new Date(pr.created_at); + if (prCreated < cutoff) { + console.log(`Skipping: PR #${pr.number} was created before cutoff (${prCreated.toISOString()})`); + return; + } + + // Check if author is a team member or bot + if (login === 'opencode-agent[bot]') return; + const { data: file } = await github.rest.repos.getContent({ + owner: context.repo.owner, + repo: context.repo.repo, + path: '.github/TEAM_MEMBERS', + ref: 'dev' + }); + const members = Buffer.from(file.content, 'base64').toString().split('\n').map(l => l.trim()).filter(Boolean); + if (members.includes(login)) { + console.log(`Skipping: ${login} is a team member`); + return; + } + const title = pr.title; async function addLabel(label) { @@ -59,10 +71,10 @@ jobs: repo: context.repo.repo, issue_number: pr.number }); - + const existing = comments.find(c => c.body.includes(markerText)); if (existing) return; - + await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, @@ -88,9 +100,9 @@ jobs: - \`refactor:\` or \`refactor(scope):\` code refactoring - \`test:\` or \`test(scope):\` adding or updating tests - Where \`scope\` is the package name (e.g., \`app\`, \`desktop\`, \`kilo\`). + Where \`scope\` is the package name (e.g., \`app\`, \`desktop\`, \`opencode\`). - See [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md#pr-titles) for details.`); + See [CONTRIBUTING.md](../blob/dev/CONTRIBUTING.md#pr-titles) for details.`); return; } @@ -133,7 +145,7 @@ jobs: 1. Open an issue describing the bug/feature (if one doesn't exist) 2. Add \`Fixes #\` or \`Closes #\` to this PR description - See [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md#issue-first-policy) for details.`); + See [CONTRIBUTING.md](../blob/dev/CONTRIBUTING.md#issue-first-policy) for details.`); return; } @@ -141,7 +153,6 @@ jobs: console.log('PR meets all standards'); check-compliance: - if: github.repository == 'Kilo-Org/kilocode' && false # kilocode_change - disabled: not needed in kilocode repo runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 9cd606324a..6d143a8a22 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -25,7 +25,6 @@ concurrency: jobs: build: - if: false name: storybook build runs-on: blacksmith-4vcpu-ubuntu-2404 steps: From dff7761aac99b7f8cb32e7f8a4f66433378766d0 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 15:34:31 +0000 Subject: [PATCH 2/2] chore: move stale-disabled workflows to disabled folder Consolidate workflow disabling: the six workflows previously soft-disabled via `if: false` / `&& false` are now moved and renamed alongside the other `.disabled` workflows so the disabling mechanism is consistent. --- .../compliance-close.yml.disabled} | 0 .../daily-issues-recap.yml.disabled} | 0 .../{daily-pr-recap.yml => disabled/daily-pr-recap.yml.disabled} | 0 .../{pr-management.yml => disabled/pr-management.yml.disabled} | 0 .../{pr-standards.yml => disabled/pr-standards.yml.disabled} | 0 .../workflows/{storybook.yml => disabled/storybook.yml.disabled} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{compliance-close.yml => disabled/compliance-close.yml.disabled} (100%) rename .github/workflows/{daily-issues-recap.yml => disabled/daily-issues-recap.yml.disabled} (100%) rename .github/workflows/{daily-pr-recap.yml => disabled/daily-pr-recap.yml.disabled} (100%) rename .github/workflows/{pr-management.yml => disabled/pr-management.yml.disabled} (100%) rename .github/workflows/{pr-standards.yml => disabled/pr-standards.yml.disabled} (100%) rename .github/workflows/{storybook.yml => disabled/storybook.yml.disabled} (100%) diff --git a/.github/workflows/compliance-close.yml b/.github/workflows/disabled/compliance-close.yml.disabled similarity index 100% rename from .github/workflows/compliance-close.yml rename to .github/workflows/disabled/compliance-close.yml.disabled diff --git a/.github/workflows/daily-issues-recap.yml b/.github/workflows/disabled/daily-issues-recap.yml.disabled similarity index 100% rename from .github/workflows/daily-issues-recap.yml rename to .github/workflows/disabled/daily-issues-recap.yml.disabled diff --git a/.github/workflows/daily-pr-recap.yml b/.github/workflows/disabled/daily-pr-recap.yml.disabled similarity index 100% rename from .github/workflows/daily-pr-recap.yml rename to .github/workflows/disabled/daily-pr-recap.yml.disabled diff --git a/.github/workflows/pr-management.yml b/.github/workflows/disabled/pr-management.yml.disabled similarity index 100% rename from .github/workflows/pr-management.yml rename to .github/workflows/disabled/pr-management.yml.disabled diff --git a/.github/workflows/pr-standards.yml b/.github/workflows/disabled/pr-standards.yml.disabled similarity index 100% rename from .github/workflows/pr-standards.yml rename to .github/workflows/disabled/pr-standards.yml.disabled diff --git a/.github/workflows/storybook.yml b/.github/workflows/disabled/storybook.yml.disabled similarity index 100% rename from .github/workflows/storybook.yml rename to .github/workflows/disabled/storybook.yml.disabled