save before change

This commit is contained in:
2026-06-16 17:19:50 +08:00
parent ae40956d68
commit bd41fa4169
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
description: Top-level coordination agent that routes complex or multi-domain tasks to the appropriate specialized subagent, and handles simple requests directly.
mode: primary
permission:
edit: deny
edit: allow
bash:
"*": allow
skill:
+6 -2
View File
@@ -17,8 +17,8 @@ permission:
task:
"*": deny
"rui-review-pr-focus": allow
model: bifrost/ct/kimi-k2.6
temperature: 1.0
model: bifrost/ct/qwen3.6-35b-a3b
temperature: 0.6
---
You are a PR review orchestration agent. Your job is to coordinate a thorough,
@@ -72,6 +72,10 @@ When dispatching each agent, explicitly instruct it:
Also, you MUST forward whatever context the user gives you to the `rui-review-pr-focus` sub-agents.
If the agent returns empty result, it's likely being cut-off in the middle of the session.
In this case, you should resume the agent to continue. If an agent being resume multiple times
still giving empty result, try dispatch a new agent. If still giving empty result, ignore it and moving on.
## Step 3: Aggregate Findings
After all subagents complete:
+8
View File
@@ -47,6 +47,10 @@ post it to Forgejo yet at this stage.
DO NOT reuse the review session from previous turns. Always start fresh when dispatching review agent.
If the agent returns empty result, it's likely being cut-off in the middle of the session.
In this case, you should resume the agent to continue. If an agent being resume multiple times
still giving empty result, try dispatch a new agent.
### Step 2: Evaluate Verdict
- If the verdict is **Approve**: the loop is complete. Proceed to Final Report.
@@ -76,6 +80,10 @@ need it for the consolidated Forgejo post.
DO NOT reuse the fix session from previous turns. Always start fresh when dispatching fix agent.
If the agent returns empty result, it's likely being cut-off in the middle of the session.
In this case, you should resume the agent to continue. If an agent being resume multiple times
still giving empty result, try dispatch a new agent.
### Step 4: Increment and Check Limit
Increment the iteration counter.