Repository navigation
Description
Problem
run-validity.py counts a denied compound Bash call as a with-arm plugin denial whenever a resolved path in it sits under the plugin directory. That holds even when the same plugin script call, run alone, is allowed on the next turn and the run goes on to finish. The result is that a state-saving skill can't get a VALID number: the model wraps prescribed script calls in improvised extras, and each of those turns into a counted denial.
The fix in #12156 (PR #12225) resolves same-command shell variables. It does not change this case: every verdict below is the same under main's script and under #12225's.
Evidence (#11564 measurement, 2026-11-02, Claude Code 2.1.316, claude-opus-5-5, judge opus, --runs 3)
harness-config case ap-config-lane-run-state was INVALID before (5 counted denials) and after (8) the rewrite, under both scripts. In each denied call the prescribed run-state.sh call was wrapped in one or more of these: shell variables, cd, $(date), or a trailing ls/echo/cat.
- After run 2:
bash <plugin>/.../run-state.sh lease classify --run-dir <plugin-data>/...; ls -la <plugin-data>/...was denied. The samelease classifyalone was allowed on the next call. - After runs 1 and 2: denied
pathsandlease acquirecalls were retried as the single literal command SKILL.md prescribes, and both were allowed.
The denial text names only the whole command, so which part triggered each denial is unverified.
ai-skills-scope-report-only (audit-instructions) stays INVALID too. Its remaining denials are improvised probes: an ls above plugin data, and a sed/grep Bash read of a reference file.
Question for triage
Should a denied compound call count as a plugin denial when the same plugin-path call, run alone, was then allowed? Options:
- Keep counting it (current behavior). State-saving skills stay unmeasurable until the model stops composing such commands.
- Set it aside when a later call in the same run is the plugin-path part alone and was allowed. Report it as a warning.
- Split the compound command into its parts and count only the denied parts that are not already allowed elsewhere in the run. This needs per-part denial attribution, which the trace does not carry.
Recommendation: option 2. It keeps a denial that was never recovered as a FAIL, and it only excuses a call the run shows was allowed in its plugin form. Basis: judgment, from the traces above.
Done when
- The rule is decided and recorded in
plugins/evals/skills/plugin-eval/reference/reading-results.md. -
run-validity.pyimplements it, with a test for each of these: a denied compound call whose plugin part was later allowed alone, and one whose plugin part was never allowed.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Activity
github-actions commentedon Nov 2, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
#12256 (comment)
This decision settles the open question (option 2). The later amendment on matching, word by word instead of as a string, is an implementation detail within it.
I read this as a bounded fix:
run-validity.pyshould set aside a denied compound call when its plugin part was later allowed alone, and the rule should be recorded inreading-results.md. Both cases need a test. I found no duplicates.Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Nov 2, 2026
The latest triage verdict holds nothing: the issue is at
status: ready.melodic-automation-lanes commentedon Nov 2, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: run-validity sets aside a denied compound Bash call as a warning when a later call in the same run is its plugin-path part alone and was allowed, and still fails an unrecovered one (option 2).
Related work
Open questions
RECOMMENDED: Option 2: set it aside when a later call in the same run is the plugin-path part alone and was allowed, and report it as a warning. Basis: judgment: the issue's and intake's recommendation; option 3 needs per-part attribution the trace lacks; no Decision recorded comment exists yet.
RECOMMENDED: Split the denied command on ; && || and newlines, drop variable assignments, cd, and trailing ls/echo/cat, and require a later allowed Bash call equal to the remaining plugin-script segment after whitespace normalization. Basis: judgment: the issue lists the wrappers seen (variables, cd, $(date), trailing ls/echo/cat) but does not define the match.
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 2, 2026
Decision recorded. Option 2: set aside a denied compound call when a later call in the same run is its plugin-path part alone and was allowed; report it as a warning.
Basis: the owner, in the lane 1 session at 2026-11-02 13:2xZ, adopted lane 1's recommendations ("Lets go with recommended"), including that lane 1 owns this issue; option 2 is the issue's and intake's recommendation. Refinement Q2 (what counts as the plugin-path part alone) follows the refinement's recommendation: split on
;&&||and newlines, drop variable assignments,cd, and trailingls/echo/cat, and require a later allowed Bash call equal to the remaining plugin-script segment after whitespace normalization.Claimed by lane 1 (melo-lap-001, host-run). PR follows.
kyle-sexton commentedon Nov 2, 2026
Amendment to the Q2 matching rule (lane 1, implementing in #12373): the later allowed call is compared with the denied command's one remaining plugin command word by word, after quote removal and resolution of same-command variables, not as a whitespace-normalized string.
Basis: the decision drops assignment-only commands, which only has effect if the
$S/$PDthey set are substituted into the remaining command; the issue's own example (run 1'spathscall, retried as literal quoted paths) is recovered only this way. It is no looser than string equality: a quoted"/a b"stays one word. Everything else in the decision stands.github-actions commentedon Nov 2, 2026
The triage sweep dispatched intake triage for this issue (attempt 1 of 2).
melodic-automation-lanes commentedon Nov 2, 2026
Not admitted to the issue lane yet: open pull request #12373 is for it.