Refuse a security-review or claude-security Skill call from the worker's own context below the project's rung

This commit is contained in:
2026-10-30 13:10:56 +01:00
parent 0bb6f54a3c
commit a212b4ef91
9 changed files with 63 additions and 13 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ RULES: dict[RuleName, Rule] = {
# A rung is not a judgment call, and the refusal names the arguments to pass, so no marker waives it.
"reviewer-rung": Rule(
"a reviewer, a comprehension seat or the security pass's subagent runs on the rung loop-claude names for it: for a seat or the security pass the project's rung, and for a reviewer the highest of the project's rung, the worker's and the one the chunk's item's E + I picks, or the project's rung where the branch changes only Markdown no agent follows, so a worker below the project's rung cannot hand a review to its own cheaper model",
"an Agent call, in a claude loop-claude started, whose subagent type is an agent under agents/, or whose prompt opens with seat-prompts.md's opening sentence or the one larv-review's Security section sets",
"an Agent call, in a claude loop-claude started, whose subagent type is an agent under agents/, or whose prompt opens with seat-prompts.md's opening sentence or the one larv-review's Security section sets; and a Skill call there of `security-review` or `claude-security` from the session's own agent, which runs on the worker's rung",
overridable=False,
),
# The cap holds with no ask, so no marker waives it.