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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user