addSafetyGuidelines method
void
addSafetyGuidelines()
Add safety guidelines.
Implementation
void addSafetyGuidelines() {
addSection(
PromptSection(
name: 'safety',
content: '''
# Safety Guidelines
- NEVER execute destructive operations without explicit user confirmation
- NEVER commit, push, or modify git history unless specifically asked
- NEVER expose secrets, API keys, or credentials in outputs
- ALWAYS respect file permission boundaries
- ALWAYS verify paths before file operations
- When uncertain, ask the user rather than assuming''',
priority: 40,
),
);
}