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
A waiting Security finding no longer holds off Security audits #1043
On thirdshift, cron runs thirdshift secure base main every minute for this repository. Its Activity log shows no Security run started since 2026-10-10:
2026-10-09: on Codex, refused by Codex's cybersecurity safeguard.
2026-10-11 to 2026-10-21: only skips. Its skip lines say another Pass was already running (22), a Security finding was waiting for the Day shift (12), or a Ready issue went first (6).
A Security run skips in any of these cases:
a Ready issue is waiting;
another Pass is running in the Launch directory;
a failed Security fix is still open;
a Security finding is waiting for the Day shift;
the Base branch hasn't changed since the last completed audit.
Pickup is usually busy and the Ready queue is rarely empty, so the Security run never gets a turn. Running thirdshift secure by hand skips for the same reasons. A single waiting finding also holds off every later audit.
To decide:
Should a Security run get a turn even while Ready issues wait, e.g. once a day or after some number of Pickup runs?
Should a waiting Security finding stop new audits, or only new Security fixes?
Should the Console or Inbox say when audits have been skipped for some days?
The newest Security run line in the Activity log is a skip at 2026-10-21 16:34: "another Pass is already running on JacobStephens2/thirdshift". There are no Security run lines since then. A skip writes a line only when its reason changes, so the skips since then have all given that reason.
The Security runs that ran last night ran on another host, for repositories with little Pickup work, so they don't bear on this one. The "To decide" questions above are still open.
A Ready issue still goes first. A Security run gets no turn while Ready issues wait. The gate stays as it is, and so does "another Pass is running".
A waiting Security finding holds off neither new audits nor new fixes. The "a Security finding is waiting for the Day shift" skip goes.
No Console or Inbox signal for skipped audits. The existing Needs you entry for a Security finding waiting on a decision is unrelated and stays.
A re-found waiting finding isn't reproduced again once a reproduction has completed for it. This keeps the cost of repeated audits bounded now that untriaged findings can pile up.
Agent Brief
Category: enhancement Summary: Drop the waiting-finding gate from Security runs, and skip reproduction for a re-found record that already has a completed reproduction.
Current behavior:
A Security run checks its gates in order: another Pass running, a Ready issue, a failed Security fix still open, a Security finding waiting for the Day shift, an unchanged Base branch. SecurityRecords::waiting_for_day_shift(fixing) is true for a draft advisory or needs-triage issue that is unreproduced and ungraded or, with fixing off, reproduced and not yet graded. While it is true, the run skips with the Activity log reason "a Security finding is waiting for the Day shift", so no new audit happens until the Day shift triages. When an audit re-finds an existing untriaged record, it runs a reproduction session for it again.
Desired behavior:
The waiting-finding gate is gone. With the other gates clear, a Security run audits even while findings wait for the Day shift. The remaining gates keep their order: another Pass, a Ready issue, a failed Security fix, an unchanged Base branch.
With fixing allowed, the next reproduced finding is still fixed before auditing, as today.
When an audit re-finds a record that already has a completed reproduction outcome (reproduced, with its severity, or not reproduced), it keeps that outcome and runs no reproduction session for it. A record with no completed outcome (never run, failed, refused or interrupted) is reproduced as today. A record the Day shift graded is kept as today.
A re-found record is still listed in the notification with its known severity.
The "a Security finding is waiting for the Day shift" skip reason no longer appears. Its Skipped variant and in-memory-double coverage go with it.
The Inbox's Needs you entry for a Security finding waiting on a decision (security_findings_waiting on the Command record) is unchanged.
Acceptance criteria:
With an untriaged draft advisory (or needs-triage finding issue) present, no Ready issue and a changed Base branch, a Security run audits instead of skipping. Tested through the Pass seam's in-memory double, with fixing on and off.
The remaining gate order is tested: another Pass, Ready issue, failed fix, unchanged Base branch.
An audit that re-finds a record with a completed reproduction outcome starts no reproduction session for it and preserves that outcome. One with no completed outcome is reproduced.
GLOSSARY (Security run, Security watch, Security finding), docs/guide.md (the gate list and the Security watch summary) and ADR 0015's consequence that triage "ends a finding's wait" no longer say a waiting finding holds off audits.
Out of scope:
Giving Security runs a turn while Ready issues wait (decided against).
Any Console or Inbox signal for skipped audits (decided against).
changed the title [-]Security runs haven't started on thirdshift since 2026-10-10: Pickup work and a waiting finding always go first[/-][+]A waiting Security finding no longer holds off Security audits[/+]on Oct 22, 2026
Activity
JacobStephens2 commentedon Oct 22, 2026
Triage note, 2026-10-22: still happening on
thirdshiftChecked on the
thirdshifthost, where cron runsthirdshift secure base mainevery minute for this repository.ready-for-agenttoday, holds off audits as "Ready issue goes first".The Security runs that ran last night ran on another host, for repositories with little Pickup work, so they don't bear on this one. The "To decide" questions above are still open.
JacobStephens2 commentedon Oct 22, 2026
Decisions (Day shift, 2026-10-22)
Agent Brief
Category: enhancement
Summary: Drop the waiting-finding gate from Security runs, and skip reproduction for a re-found record that already has a completed reproduction.
Current behavior:
A Security run checks its gates in order: another Pass running, a Ready issue, a failed Security fix still open, a Security finding waiting for the Day shift, an unchanged Base branch.
SecurityRecords::waiting_for_day_shift(fixing)is true for a draft advisory orneeds-triageissue that is unreproduced and ungraded or, with fixing off, reproduced and not yet graded. While it is true, the run skips with the Activity log reason "a Security finding is waiting for the Day shift", so no new audit happens until the Day shift triages. When an audit re-finds an existing untriaged record, it runs a reproduction session for it again.Desired behavior:
Skippedvariant and in-memory-double coverage go with it.security_findings_waitingon the Command record) is unchanged.Acceptance criteria:
needs-triagefinding issue) present, no Ready issue and a changed Base branch, a Security run audits instead of skipping. Tested through the Pass seam's in-memory double, with fixing on and off.docs/guide.md(the gate list and the Security watch summary) and ADR 0015's consequence that triage "ends a finding's wait" no longer say a waiting finding holds off audits.Out of scope:
[-]Security runs haven't started on thirdshift since 2026-10-10: Pickup work and a waiting finding always go first[/-][+]A waiting Security finding no longer holds off Security audits[/+]Reproduce a new Security finding even when its write-up quotes an out…