From b1decaba89238991e1b376cbe41b8df2c63d7501 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 12:42:33 +0000 Subject: [PATCH 1/3] chore(ci): run boj-server MCP via bunx, pinned to 0.4.7 npx and an unpinned @latest go against the language policy (Bun only, pinned dependencies). This matches the change in cccp#96. --- .github/copilot/coding-agent.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/copilot/coding-agent.yml b/.github/copilot/coding-agent.yml index a719a77..7b66f46 100644 --- a/.github/copilot/coding-agent.yml +++ b/.github/copilot/coding-agent.yml @@ -1,6 +1,6 @@ mcp_servers: boj-server: - command: npx - args: ["-y", "@hyperpolymath/boj-server@latest"] + command: bunx + args: ["--bun", "@hyperpolymath/boj-server@0.4.7"] env: BOJ_URL: http://localhost:7700 From c8c36831276e207963b27b199bf6bfc0b2ea49d7 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Nov 2026 13:59:43 +0000 Subject: [PATCH 2/3] ci(copilot): pin boj-server to 0.5.0 commit so bunx --bun can run it Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0136P7Zosd4HYhWTSexpTw4F --- .github/copilot/coding-agent.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/copilot/coding-agent.yml b/.github/copilot/coding-agent.yml index 7b66f46..c4db76f 100644 --- a/.github/copilot/coding-agent.yml +++ b/.github/copilot/coding-agent.yml @@ -1,6 +1,7 @@ mcp_servers: boj-server: command: bunx - args: ["--bun", "@hyperpolymath/boj-server@0.4.7"] + # boj-server 0.5.0 (main 4379e6c); 0.4.7 needs Deno, 0.5.0 is not on npm yet + args: ["--bun", "github:hyperpolymath/boj-server#4379e6c4a62afa564fa115b3910ef21c4238aa15"] env: BOJ_URL: http://localhost:7700 From f3738570334cd5eb4295727993d6c1270ea2c944 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Sat, 28 Nov 2026 19:28:38 +0000 Subject: [PATCH 3/3] ci(copilot): install Bun for the BoJ MCP server and prefer Bun in agent guidance --- .github/copilot-instructions.md | 2 +- .github/workflows/copilot-setup-steps.yml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/copilot-setup-steps.yml diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index d92173a..5363b6b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -37,7 +37,7 @@ Copyright (c) Jonathan D.A. Jewell ## Banned Languages - No TypeScript (use AffineScript) -- No Node.js / npm / bun (use Deno) +- No Node.js (use Bun); prefer Bun, then Deno, pnpm, and npm (last resort) - No Go (use Rust) - No Python (use Julia or Rust) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 0000000..c660eb3 --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) +name: Copilot Setup Steps + +on: + workflow_dispatch: + push: + paths: [.github/workflows/copilot-setup-steps.yml] + pull_request: + paths: [.github/workflows/copilot-setup-steps.yml] + +permissions: + contents: read + +jobs: + copilot-setup-steps: + runs-on: ubuntu-latest + steps: + - name: Install Bun for the BoJ MCP server + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 + with: + bun-version: 1.4.2