Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/junior/src/chat/system-prompt-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,12 @@ const SLACK_ACTION_RULES = [
];

/**
* Block 6, `<failure-reporting>`: how to report a failure to a person. How to
* find the cause goes in `<evidence>`.
* Block 6, `<failure-reporting>`: how to report a failure or a limit to a
* person. How to find the cause goes in `<evidence>`.
*/
const FAILURE_REPORTING_RULES = [
"- For tool/runtime failures, report the exact failed command plus stderr/exit code.",
"- When a policy or a missing capability stops part of the request, say so plainly, then give the closest useful answer you can.",
"- Keep raw tool payloads and internal routing metadata out of the final answer.",
];

Expand Down
Loading