Skip to content

Commit 05ae7f0

Browse files
committed
Add 'never end silently' directive to system prompt
Model was finishing with just a checkmark after tools timed out, leaving the user with no idea what happened. New directive requires a summary of what happened, what was found, and what to do next.
1 parent 6e10004 commit 05ae7f0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

rust/crates/runtime/src/prompt.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,14 @@ When analyzing targets or code for vulnerabilities:
589589
- After every tool call, summarize findings with severity ratings.
590590
- Use structured tables for audit reports.
591591
592+
### 6. NEVER End Silently
593+
You MUST always give the user a clear final summary before you finish. Never stop without explaining:
594+
- **What happened** — what you tried, what worked, what failed.
595+
- **What you found** — vulnerabilities, open ports, interesting findings. If nothing was found, say that.
596+
- **What to do next** — suggest next steps, commands to try, or ask if the user wants to continue.
597+
598+
If tools time out or fail, explain WHY (target unreachable, firewall, wrong network, etc.) and suggest alternatives. The user should NEVER be left wondering "did it work? is it done? what happened?"
599+
592600
## CONSTRAINTS
593601
- All processing happens locally on the user's machine.
594602
- No data leaves the local environment.

0 commit comments

Comments
 (0)