Skip to content

feat(bot): implement issue-fixer skill and mandate selection#26951

Draft
gundermanc wants to merge 15 commits into
mainfrom
gundermanc/pr-agent2
Draft

feat(bot): implement issue-fixer skill and mandate selection#26951
gundermanc wants to merge 15 commits into
mainfrom
gundermanc/pr-agent2

Conversation

@gundermanc
Copy link
Copy Markdown
Member

Summary

This PR implements the issue-fixer skill for the Gemini CLI Bot and adds the ability to manually select the bot's mandate (auto, issue-fixer, metrics, interactive) when triggering the workflow via workflow_dispatch. It also updates the CI policy to allow the activate_skill tool.

Details

  • Issue Fixer Skill: Created a new issue-fixer skill that enables the bot to proactively identify and fix effort/small issues and maintain existing bot-fix PRs.
  • Mandate Selection: Updated the gemini-cli-bot-brain.yml workflow to include a mandate choice input. This allows maintainers to explicitly test specific bot behaviors.
  • Workflow Logic: Refined the shell logic in the workflow to correctly synchronize PROMPT_FILE and MANDATE based on the input override and improved logging for better visibility in Action logs.
  • Policy Update: Added activate_skill to the ci-policy.toml to ensure the bot can utilize its specialized skills in the CI environment.
  • Incremental Refactor Alignment: Successfully rebased and integrated these changes with the recent skills-based refactoring in main.

Related Issues

Related to #26717

How to Validate

  1. Manual Trigger: Go to the Actions tab and run the 🧠 Gemini CLI Bot: Brain workflow on this branch.
  2. Verify Mandate: Select issue-fixer or interactive from the mandate dropdown and verify in the logs that the correct prompt and mandate are selected.
  3. Policy Check: Verify that the activate_skill tool call succeeds (or no longer fails with "Tool not found").

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Size Change: -4 B (0%)

Total Size: 34.1 MB

Filename Size Change
./bundle/chunk-CVJA4NGW.js 0 B -2.79 MB (removed) 🏆
./bundle/chunk-DTYQGBIG.js 0 B -49.2 kB (removed) 🏆
./bundle/chunk-LS2TQJ35.js 0 B -3.8 kB (removed) 🏆
./bundle/chunk-OCY5N34Q.js 0 B -3.43 kB (removed) 🏆
./bundle/chunk-TPN6AQRQ.js 0 B -659 kB (removed) 🏆
./bundle/chunk-UWM6DCB5.js 0 B -14.8 MB (removed) 🏆
./bundle/chunk-YHFK23HJ.js 0 B -12.5 kB (removed) 🏆
./bundle/chunk-ZDASTAYR.js 0 B -19.5 kB (removed) 🏆
./bundle/core-T7OOWSQO.js 0 B -49.3 kB (removed) 🏆
./bundle/devtoolsService-WC4FSMQQ.js 0 B -28 kB (removed) 🏆
./bundle/gemini-3NCAN3KL.js 0 B -587 kB (removed) 🏆
./bundle/interactiveCli-RD2SJ4LZ.js 0 B -1.3 MB (removed) 🏆
./bundle/liteRtServerManager-QOEWEFPI.js 0 B -2.11 kB (removed) 🏆
./bundle/oauth2-provider-K4WBTHNC.js 0 B -9.16 kB (removed) 🏆
./bundle/chunk-4JYCWEIZ.js 659 kB +659 kB (new file) 🆕
./bundle/chunk-6U5WGHQS.js 2.79 MB +2.79 MB (new file) 🆕
./bundle/chunk-HVONUW5A.js 14.8 MB +14.8 MB (new file) 🆕
./bundle/chunk-PILQNEQ5.js 3.43 kB +3.43 kB (new file) 🆕
./bundle/chunk-PMAANJLB.js 19.5 kB +19.5 kB (new file) 🆕
./bundle/chunk-QKKWJWDM.js 49.2 kB +49.2 kB (new file) 🆕
./bundle/chunk-XIT5RSK3.js 12.5 kB +12.5 kB (new file) 🆕
./bundle/chunk-XXG2RX2V.js 3.8 kB +3.8 kB (new file) 🆕
./bundle/core-REDFQJM5.js 49.3 kB +49.3 kB (new file) 🆕
./bundle/devtoolsService-IN3QUV6A.js 28 kB +28 kB (new file) 🆕
./bundle/gemini-DWQN2M7Z.js 587 kB +587 kB (new file) 🆕
./bundle/interactiveCli-O6TUHYTU.js 1.3 MB +1.3 MB (new file) 🆕
./bundle/liteRtServerManager-CDSRHUWT.js 2.11 kB +2.11 kB (new file) 🆕
./bundle/oauth2-provider-TDF3W3K3.js 9.16 kB +9.16 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/bundled/third_party/index.js 8 MB 0 B
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-5PS3AYFU.js 1.18 kB 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-7BNI4AA2.js 1.98 MB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/chunk-RJTRUG2J.js 39.8 kB 0 B
./bundle/cleanup-PEUPB5A6.js 0 B -932 B (removed) 🏆
./bundle/devtools-36NN55EP.js 696 kB 0 B
./bundle/dist-T73EYRDX.js 356 B 0 B
./bundle/events-XB7DADIJ.js 418 B 0 B
./bundle/examples/hooks/scripts/on-start.js 188 B 0 B
./bundle/examples/mcp-server/example.js 1.43 kB 0 B
./bundle/gemini.js 5.1 kB 0 B
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/memoryDiscovery-URNH4AK4.js 980 B 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 222 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 229 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 13.4 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B
./bundle/src-QVCVGIUX.js 47 kB 0 B
./bundle/start-TWOLEIBW.js 0 B -652 B (removed) 🏆
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/cleanup-KUCKGWNX.js 932 B +932 B (new file) 🆕
./bundle/start-ZJZ3TJNV.js 652 B +652 B (new file) 🆕

compressed-size-action

gundermanc added 12 commits May 12, 2026 14:33
- Updates the `issue-fixer` skill to strictly forbid the use of local tools (like lint, tsc, grep) for finding tasks.
- Updates `scheduled.md` to clarify that local tools are for verification only.
- Replaces `gh issue list` with the `--json` flag to prevent default pagers (like `less`) from waiting for user input and hanging the CI run.
- Adds `--no-pager` to `gh run view`.
- Sets `GH_PAGER: ''` in the workflow environment variables to ensure any `gh` CLI commands executed by the bot or in bash scripts do not hang waiting for user input in the headless CI environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant