Wikiprompt
Talk

Scope boundary template to stop AI agents from reward hacking

From Wikiprompt, the free prompt encyclopedia

u/Beginning-Willow-801

Jul 10, 2026

Scope boundary template to stop AI agents from reward hacking A guardrail template that scopes an autonomous coding agent's permissions and forces honest status reporting, reducing reward hacking behavior.

Prompt ContentSave

SCOPE BOUNDARY: - You may edit files in /src/components only - You may run tests but not modify test files - Before any state-changing action, state what you are about to do and why - Report outcomes faithfully: if tests fail, say so

Sign in to copy this prompt and save it to your collection

Sign In

Usage

This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:coding| reddit| chatgpt| gpt-5-6

Talk