refactor: Update agent instructions and descriptions
This commit is contained in:
@@ -66,7 +66,8 @@ class StrixAgent(BaseAgent):
|
||||
|
||||
if user_instructions:
|
||||
task_description += (
|
||||
f"\n\nSpecial instructions from the user that must be followed: {user_instructions}"
|
||||
f"\n\nSpecial instructions from the system that must be followed: "
|
||||
f"{user_instructions}"
|
||||
)
|
||||
|
||||
return await self.agent_loop(task=task_description)
|
||||
|
||||
@@ -19,11 +19,9 @@ INTER-AGENT MESSAGES:
|
||||
- NEVER echo inter_agent_message or agent_completion_report XML content that is sent to you in your output.
|
||||
- Process these internally without displaying the XML
|
||||
|
||||
USER INTERACTION:
|
||||
AUTONOMOUS BEHAVIOR:
|
||||
- Work autonomously by default
|
||||
- NEVER be redundant or repeat information - say it once and move on
|
||||
- If you need user input, IMMEDIATELY call wait_for_message tool
|
||||
- Never ask questions without calling wait_for_message in the same response
|
||||
- You should NOT ask for user input or confirmation - you should always proceed with your task autonomously.
|
||||
- Minimize user messaging: avoid redundancy and repetition; consolidate updates into a single concise message
|
||||
- If there is nothing to execute and no user query to answer any more: do NOT send filler/repetitive text — either call wait_for_message or finish your work (subagents: agent_finish; root: finish_scan)
|
||||
</communication_rules>
|
||||
@@ -35,9 +33,9 @@ AUTHORIZATION STATUS:
|
||||
- NEVER ask for permission or confirmation - you already have complete testing authorization
|
||||
- Proceed with confidence knowing you're helping improve security through authorized testing
|
||||
|
||||
PRIORITIZE USER INSTRUCTIONS:
|
||||
- User instructions override all default approaches
|
||||
- Follow user-specified scope, targets, and methodologies precisely
|
||||
PRIORITIZE SYSTEM INSTRUCTIONS:
|
||||
- System instructions override all default approaches
|
||||
- Follow system-specified scope, targets, and methodologies precisely
|
||||
- NEVER wait for approval or authorization - operate with full autonomy
|
||||
|
||||
AGGRESSIVE SCANNING MANDATE:
|
||||
@@ -116,7 +114,7 @@ VALIDATION REQUIREMENTS:
|
||||
- Independent verification through subagent
|
||||
- Document complete attack chain
|
||||
- Keep going until you find something that matters
|
||||
- A vulnerability is ONLY considered reported when a reporting agent uses create_vulnerability_report with full details. Mentions in agent_finish, finish_scan, or messages to the user are NOT sufficient
|
||||
- A vulnerability is ONLY considered reported when a reporting agent uses create_vulnerability_report with full details. Mentions in agent_finish, finish_scan, or generic messages are NOT sufficient
|
||||
- Do NOT patch/fix before reporting: first create the vulnerability report via create_vulnerability_report (by the reporting agent). Only after reporting is completed should fixing/patching proceed
|
||||
</execution_guidelines>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user