You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(architecture): unattended deepening sometimes omits the withheld security line #17196
/architecture:improve deepening --unattended left the security-defect: withheld line out of its candidate file in 1 of 3 runs of the eval case improve-unattended-writes-candidate-file.
Score: 0.95 with the plugin, 0.43 without it, against a threshold of 1.00.
The failed grader is security-placeholder-written: Write called 0x (expected 1..∞).
The other two runs passed every grader. In all three runs, no-defect-detail-in-file and reply-keeps-defect-private passed, so no defect detail leaked.
Why it matters
The placeholder is how an unattended run tells a person that a security defect needs review. A run that omits it reports nothing about that defect, and /improvement:find then has no count to carry.
No schedule runs this mode yet, so nothing is affected today.
Not known
The cause. The run's artifact keeps no trace, so it is not known whether the failing run missed the defect or found it and left the line out.
Done when
A rerun of the case that keeps traces shows why the line was left out.
The case passes security-placeholder-written in every run of a pass with at least 5 runs per arm.
Size: Small
Complexity: Medium
Uncertainty: Unknown
Flags: none
Blocked by: none
Blast radius: the architecture plugin's deepening skill text and/or the improve-unattended-writes-candidate-file eval case; read by anyone running unattended deepening or its evals.
Reversible: yes; revert the skill or eval edit.
Open questions: none
I understood this as: in 1 of 3 eval runs, unattended deepening wrote no security-defect: withheld line, and the cause is unknown. The done-when asks for a traced rerun that shows why, then a pass with at least 5 runs per arm where security-placeholder-written passes every run. The traced rerun and the repeated pass are runs an unattended lane may not be able to do, so they may be routed to a host. Whether the fix goes in the skill text, the eval case or both depends on what the trace shows. #17017 looks related (another flaky eval case), but this is not a duplicate of it, and no merged pull request I can see already fixes this.
Not admitted to the issue lane: Uncertainty unknown is not one of known, knowable; no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
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: Make the unattended deepening run write the security-defect: withheld line in every run, by first finding from a traced rerun whether the scan missed the defect or omitted the line, then fixing the skill text or the eval case.
The cause is unknown and the first done-when item is a traced eval rerun. Can an unattended run do that rerun, or is it a host-run step that must come before any edit?
RECOMMENDED: Treat the traced rerun as a separate host-run step, and have its result decide the fix. Basis: judgment
Should the fix change the skill text, the eval case, or both? If the failing run did not find the defect, the eval prompt may be at fault. If it found the defect and left the line out, the skill instruction is.
RECOMMENDED: Wait for the trace. If the line was left out despite a found defect, make the skill say that the placeholder is a required step before the file is closed. If the defect was not found, make the scaffold's defect easier to find or have the case allow for the scan's real behavior. Basis: .base/plugins/architecture/skills/improve/actions/deepening.md:156
What counts as a pass for the second done-when item: 5 of 5 runs per arm with a grader threshold of 1.00, or a measured pass rate across a larger sample? One failure in three runs gives little evidence either way.
RECOMMENDED: Require all runs in a pass of at least 5 runs per arm to pass security-placeholder-written, keeping the existing threshold of 1.00. Basis: .base/plugins/architecture/evals/improve-unattended-writes-candidate-file/case.yaml:14
Should the trace be kept by changing the eval harness so artifacts retain tool-call traces, or by a one-off local rerun?
RECOMMENDED: Do a one-off rerun with traces on, and open a separate issue if the harness should keep traces permanently. Basis: judgment
Sources read
plugins/architecture/evals/improve-unattended-writes-candidate-file/case.yaml:14: the security-placeholder-written grader requires a Write whose input matches 'security-defect: withheld', min 1, so a run with no such Write fails it.
plugins/architecture/skills/improve/actions/deepening.md:156: tells the run to write one security-defect: withheld line for each security defect the scan raised, just before the closing lines.
plugins/architecture/skills/improve/actions/deepening.md:158: the final output reports the count of withheld lines, so a skipped line also makes that count wrong.
plugins/improvement/skills/find/context/unattended.md:174: /improvement:find carries the withheld line as a count only, so an omitted line means nothing is carried.
plugins/architecture/CHANGELOG.md:10: describes the unattended deepening candidate file and the withheld-line behavior.
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Both done-when items are eval runs (a traced rerun, then a pass of at least 5 runs per arm), and the cause stays unknown until the traced rerun. Evals are off org-wide (CLAUDE_EVALS_DISABLED=true), so this goes to the host queue (host-run) and the "After zero" milestone. Release condition: API key returns and CLAUDE_EVALS_DISABLED=false.
Activity
github-actions commentedon Nov 18, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
github-actions commentedon Nov 18, 2026
Size: Small
Complexity: Medium
Uncertainty: Unknown
Flags: none
Blocked by: none
Blast radius: the architecture plugin's deepening skill text and/or the
improve-unattended-writes-candidate-fileeval case; read by anyone running unattended deepening or its evals.Reversible: yes; revert the skill or eval edit.
Open questions: none
I understood this as: in 1 of 3 eval runs, unattended deepening wrote no
security-defect: withheldline, and the cause is unknown. The done-when asks for a traced rerun that shows why, then a pass with at least 5 runs per arm wheresecurity-placeholder-writtenpasses every run. The traced rerun and the repeated pass are runs an unattended lane may not be able to do, so they may be routed to a host. Whether the fix goes in the skill text, the eval case or both depends on what the trace shows. #17017 looks related (another flaky eval case), but this is not a duplicate of it, and no merged pull request I can see already fixes this.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 18, 2026
Not admitted to the issue lane: Uncertainty unknown is not one of known, knowable; no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 18, 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: Make the unattended deepening run write the
security-defect: withheldline in every run, by first finding from a traced rerun whether the scan missed the defect or omitted the line, then fixing the skill text or the eval case.Related work
Open questions
RECOMMENDED: Treat the traced rerun as a separate host-run step, and have its result decide the fix. Basis: judgment
RECOMMENDED: Wait for the trace. If the line was left out despite a found defect, make the skill say that the placeholder is a required step before the file is closed. If the defect was not found, make the scaffold's defect easier to find or have the case allow for the scan's real behavior. Basis: .base/plugins/architecture/skills/improve/actions/deepening.md:156
RECOMMENDED: Require all runs in a pass of at least 5 runs per arm to pass
security-placeholder-written, keeping the existing threshold of 1.00. Basis: .base/plugins/architecture/evals/improve-unattended-writes-candidate-file/case.yaml:14RECOMMENDED: Do a one-off rerun with traces on, and open a separate issue if the harness should keep traces permanently. Basis: judgment
Sources read
security-defect: withheldline for each security defect the scan raised, just before the closing lines.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.**.melodic-automation-lanes commentedon Nov 22, 2026
The triage verdict left this issue at
needs-owner-decision:Reason:
intentkyle-sexton commentedon Nov 22, 2026
Both done-when items are eval runs (a traced rerun, then a pass of at least 5 runs per arm), and the cause stays unknown until the traced rerun. Evals are off org-wide (
CLAUDE_EVALS_DISABLED=true), so this goes to the host queue (host-run) and the "After zero" milestone. Release condition: API key returns and CLAUDE_EVALS_DISABLED=false.