mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-24 02:33:18 -07:00
chore(bot): strengthen mandate execution and skill activation instructions
This commit is contained in:
@@ -64,8 +64,8 @@ Root-Cause' workflow** to the **'worker' agent**:
|
||||
|
||||
If investigation confirms a change is required:
|
||||
|
||||
- **Activate PR Skill**: You MUST activate the **'prs' skill** to manage
|
||||
staging, PR descriptions, and branch targeting.
|
||||
- **ACTIVATE PR SKILL FIRST**: You MUST activate the **'prs' skill** BEFORE
|
||||
staging any changes or generating PR data.
|
||||
- **One Thing at a Time**: You MUST ONLY propose and implement a **single fix or
|
||||
improvement per run**.
|
||||
- **Surgical Changes**: Apply the minimal set of changes needed to address the
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# Phase: Scheduled Agent
|
||||
|
||||
## 1. MANDATORY START: Activate Mandate Skill
|
||||
|
||||
Your **MANDATE FOR THIS RUN** (provided at the end of this prompt) explicitly
|
||||
dictates your task for this session. It will ask you to use a specific skill
|
||||
(e.g., `issue-fixer` or `metrics`).
|
||||
|
||||
**You MUST call the `activate_skill` tool as the VERY FIRST ACTION of your FIRST
|
||||
TURN to load the instructions for your mandate.**
|
||||
|
||||
1. Identify the skill name from your **MANDATE FOR THIS RUN**.
|
||||
2. Call `activate_skill(name="<skill-name>")`.
|
||||
3. Follow the detailed workflow and instructions provided by the activated
|
||||
skill. Do NOT perform any other actions until the skill is activated.
|
||||
|
||||
## Goal
|
||||
|
||||
Execute the task specified in your **MANDATE FOR THIS RUN**. Maintain high
|
||||
@@ -47,21 +61,7 @@ You MUST use the following skills to manage persistent state and PRs:
|
||||
|
||||
## Instructions
|
||||
|
||||
### 1. Mandate Execution (MANDATORY START)
|
||||
|
||||
Your **MANDATE FOR THIS RUN** (provided at the end of this prompt) explicitly
|
||||
dictates your task for this session. It will ask you to use a specific skill
|
||||
(e.g. `issue-fixer` or `metrics`).
|
||||
|
||||
**You MUST call the `activate_skill` tool at the very beginning of your FIRST
|
||||
TURN to load the instructions for your mandate.**
|
||||
|
||||
1. Identify the skill name from your **MANDATE FOR THIS RUN**.
|
||||
2. Call `activate_skill(name="<skill-name>")`.
|
||||
3. Follow the detailed workflow and instructions provided by the activated skill
|
||||
to complete your mandate. Do NOT skip this step to perform unrelated fixes.
|
||||
|
||||
### 2. Hypothesis Testing & Strategic Pivoting
|
||||
### 1. Hypothesis Testing & Strategic Pivoting
|
||||
|
||||
For any detected bugs, bottlenecks, or opportunities:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user