test(prompt): pin runtime prompt stand-still rule

Keep the #3061 runtime-policy wording covered so lone <runtime_prompt> turns remain explicitly barred from starting edits, shell commands, git commits, or sub-agent launches without user input.

Report-by: yekern <13691766+yekern@users.noreply.github.com>
This commit is contained in:
Hunter B
2026-06-12 01:34:25 -07:00
parent a46d9c012e
commit d3d22339cc
+7
View File
@@ -1700,6 +1700,13 @@ mod tests {
),
"Runtime Policy Reference must explain the per-turn tag format"
);
assert!(
text.contains("When this tag is the only new content in a turn")
&& text.contains("do not initiate new edits, shell")
&& text.contains("git commits, or sub-agent launches")
&& text.contains("wait for the user's next message"),
"Runtime Policy Reference must pin the #3061 runtime-prompt-only guard"
);
assert!(
text.contains("### Modes"),
"Runtime Policy Reference must contain the Modes section"