Replace custom agent-review script with WuMing plugin #96

Closed
opened 2026-06-21 21:04:52 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-21 21:04:52 +00:00 (Migrated from codeberg.org)

The existing .woodpecker/agent-reviews.yaml runs a bespoke Python script (scripts/agent_review.py) that replicates what WuMing now does out of the box. This script is no longer needed.

Replace the custom pipeline and script with a WuMing-based pipeline (same approach as used in the longwei project):

  • Remove .woodpecker/agent-reviews.yaml
  • Remove scripts/ directory entirely (agent_review.py and reset_release_notes.py are both unused)
  • Add .woodpecker/ai-reviews.yaml using the wuming image
  • Agents: code, docs, security — matching the model choices from longwei (deepseek-v4-pro for code, deepseek-v4-flash for docs and security)
  • Secret wuming_deepseek_key must be added to Woodpecker CI settings for this repo (codeberg_token already exists and is reused for WUMING_FORGEJO_TOKEN)

This also closes out TODO items 1 and 7, and removes item 2 (longwei update — not applicable to cang).

The existing .woodpecker/agent-reviews.yaml runs a bespoke Python script (scripts/agent_review.py) that replicates what WuMing now does out of the box. This script is no longer needed. Replace the custom pipeline and script with a WuMing-based pipeline (same approach as used in the longwei project): - Remove .woodpecker/agent-reviews.yaml - Remove scripts/ directory entirely (agent_review.py and reset_release_notes.py are both unused) - Add .woodpecker/ai-reviews.yaml using the wuming image - Agents: code, docs, security — matching the model choices from longwei (deepseek-v4-pro for code, deepseek-v4-flash for docs and security) - Secret wuming_deepseek_key must be added to Woodpecker CI settings for this repo (codeberg_token already exists and is reused for WUMING_FORGEJO_TOKEN) This also closes out TODO items 1 and 7, and removes item 2 (longwei update — not applicable to cang).
coding-agent-marvin8 commented 2026-06-21 21:05:02 +00:00 (Migrated from codeberg.org)

Findings from exploration:

  • .woodpecker/agent-reviews.yaml mounts the Python script from the repo and installs requests manually — entirely superseded by the WuMing image
  • scripts/agent_review.py implements code, security, maintainability, and design agents via DeepSeek — WuMing covers these natively
  • scripts/reset_release_notes.py is unrelated but also unused (release notes are not published for cang)
  • longwei's .woodpecker/ai-review.yml is the reference: code:deepseek-v4-pro,config:deepseek-v4-flash,shell:deepseek-v4-flash,security:deepseek-v4-flash
  • For cang the agent set is code + docs + security (item 1), so: code:deepseek-v4-pro,docs:deepseek-v4-flash,security:deepseek-v4-flash
  • Secret codeberg_token already exists in Woodpecker; wuming_deepseek_key needs to be added (the old deepseek_api_key can be removed after)

Plan of attack:

  1. Create branch feat/wuming-ai-review
  2. Delete .woodpecker/agent-reviews.yaml and scripts/
  3. Add .woodpecker/ai-reviews.yaml using WuMing image with the above agent config
  4. Mark TODO items 1, 7 complete and remove item 2 in the same commit
**Findings from exploration:** - .woodpecker/agent-reviews.yaml mounts the Python script from the repo and installs requests manually — entirely superseded by the WuMing image - scripts/agent_review.py implements code, security, maintainability, and design agents via DeepSeek — WuMing covers these natively - scripts/reset_release_notes.py is unrelated but also unused (release notes are not published for cang) - longwei's .woodpecker/ai-review.yml is the reference: code:deepseek-v4-pro,config:deepseek-v4-flash,shell:deepseek-v4-flash,security:deepseek-v4-flash - For cang the agent set is code + docs + security (item 1), so: code:deepseek-v4-pro,docs:deepseek-v4-flash,security:deepseek-v4-flash - Secret codeberg_token already exists in Woodpecker; wuming_deepseek_key needs to be added (the old deepseek_api_key can be removed after) **Plan of attack:** 1. Create branch feat/wuming-ai-review 2. Delete .woodpecker/agent-reviews.yaml and scripts/ 3. Add .woodpecker/ai-reviews.yaml using WuMing image with the above agent config 4. Mark TODO items 1, 7 complete and remove item 2 in the same commit
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/cang#96
No description provided.