fix(bot): allow redirection in CI policy and improve skill activation steering

This commit is contained in:
Christian Gunderman
2026-05-12 22:20:37 -07:00
parent 9e90ccefb4
commit e9df8d2914
2 changed files with 13 additions and 6 deletions
+11 -6
View File
@@ -47,14 +47,19 @@ You MUST use the following skills to manage persistent state and PRs:
## Instructions
### 1. Mandate Execution
### 1. Mandate Execution (MANDATORY START)
Your **MANDATE FOR THIS RUN** explicitly dictates your task for this session. It
will likely ask you to use a specific skill (e.g. `issue-fixer` or `metrics`).
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`).
1. Activate the specified skill using the `activate_skill` tool immediately.
2. Follow the detailed workflow and instructions provided by the activated skill
to complete your mandate.
**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 & Deep Dive
+2
View File
@@ -8,6 +8,8 @@ decision = "allow"
priority = 999
# Explicitly target the headless environment to match the specificity of default denial rules.
interactive = false
# Capture output without triggering a policy downgrade to ASK_USER.
allowRedirection = true
[[rule]]
toolName = "invoke_agent"