From cd42bf379979f4f5115cca04a1db6e6094a02fc1 Mon Sep 17 00:00:00 2001 From: Rui Hu Date: Mon, 13 Jul 2026 19:01:08 +0800 Subject: [PATCH] switch to gitea, use GLM 5.2 --- agents/rui-do-one-ticket.md | 4 ++-- agents/rui-fix-pr.md | 2 +- agents/rui-orchestrator.md | 2 +- agents/rui-review-pr.md | 2 +- cleverrouter-oneshot.bash | 1 + opencode.json | 8 ++++---- skills/rui-personal-identity/SKILL.md | 3 +++ 7 files changed, 13 insertions(+), 9 deletions(-) diff --git a/agents/rui-do-one-ticket.md b/agents/rui-do-one-ticket.md index d56c90f..9489c2a 100644 --- a/agents/rui-do-one-ticket.md +++ b/agents/rui-do-one-ticket.md @@ -13,8 +13,8 @@ permission: "rui-task-discovery": deny task: "*": deny -model: zenmux/anthropic/claude-sonnet-4.6 -temperature: 0.4 +model: zenmux/z-ai/glm-5.2 +temperature: 1.0 --- You are a focused implementation agent. Your job is to complete exactly one diff --git a/agents/rui-fix-pr.md b/agents/rui-fix-pr.md index 6edd634..78af14f 100644 --- a/agents/rui-fix-pr.md +++ b/agents/rui-fix-pr.md @@ -16,7 +16,7 @@ permission: "rui-task-discovery": deny task: "*": deny -model: zenmux/moonshotai/kimi-k2.7-code +model: zenmux/z-ai/glm-5.2 temperature: 1.0 --- diff --git a/agents/rui-orchestrator.md b/agents/rui-orchestrator.md index ca7ab3e..c0d71e9 100644 --- a/agents/rui-orchestrator.md +++ b/agents/rui-orchestrator.md @@ -13,7 +13,7 @@ permission: "general": allow "explore": allow "scout": allow -model: bifrost/ct/qwen3.6-35b-a3b +model: zenmux/z-ai/glm-5.2 --- You are an expert orchestration agent — a master coordinator and task router with deep knowledge across software engineering, project management, and multi-agent system design. Your primary role is to analyze incoming tasks, determine their complexity, and either handle them directly or intelligently delegate them to the most appropriate specialized subagents (via task tool call). diff --git a/agents/rui-review-pr.md b/agents/rui-review-pr.md index 65649d6..96c6b21 100644 --- a/agents/rui-review-pr.md +++ b/agents/rui-review-pr.md @@ -14,7 +14,7 @@ permission: "rui-task-discovery": deny task: "*": deny -model: zenmux/minimax/minimax-m3 +model: zenmux/moonshotai/kimi-k2.7-code temperature: 1.0 --- diff --git a/cleverrouter-oneshot.bash b/cleverrouter-oneshot.bash index 24be693..5d39782 100755 --- a/cleverrouter-oneshot.bash +++ b/cleverrouter-oneshot.bash @@ -27,6 +27,7 @@ docker run -it --rm \ --volume "/home/skyblond/opencode/opencode.json:/home/devuser/.config/opencode/opencode.json:ro" \ --volume "/home/skyblond/opencode/scripts:/external/opencode/scripts:ro" \ --volume "/home/skyblond/opencode/opencode-data:/home/devuser/.local/share/opencode/" \ + --volume "/var/run/docker.sock:/var/run/docker.sock" \ --env-file .env \ cleverrouter-dev zsh -c "/home/devuser/.opencode/bin/opencode upgrade ; /home/devuser/.opencode/bin/opencode" diff --git a/opencode.json b/opencode.json index d6a5f15..c7c8f44 100644 --- a/opencode.json +++ b/opencode.json @@ -2,12 +2,12 @@ "$schema": "https://opencode.ai/config.json", "permission": "allow", "mcp": { - "forgejo": { + "gitea": { "type": "local", - "command": ["/usr/local/bin/forgejo-mcp", "-t", "stdio", "-url", "https://git.cleverthis.com", "-token", "{env:FORGEJO_PAT}"], + "command": ["go", "run", "gitea.com/gitea/gitea-mcp@latest", "-t", "stdio"], "environment": { - "FORGEJO_HOST": "https://git.cleverthis.com", - "FORGEJO_ACCESS_TOKEN": "{env:FORGEJO_PAT}" + "GITEA_HOST": "https://git.cleverthis.com", + "GITEA_ACCESS_TOKEN": "{env:FORGEJO_PAT}" }, "enabled": true }, diff --git a/skills/rui-personal-identity/SKILL.md b/skills/rui-personal-identity/SKILL.md index a8c1b9a..49da093 100644 --- a/skills/rui-personal-identity/SKILL.md +++ b/skills/rui-personal-identity/SKILL.md @@ -12,6 +12,9 @@ Acting as **Rui Hu** (Forgejo username: `hurui200320`). - **Server:** `git.cleverthis.com` - **Repository:** Ask user. +> Note: recently the company switched to Gitea, but forgejo is based on gitea, +> so the skill and other document will use forgejo and gitea interchangeably + ## Git Identity For all git commits, use: