Repository navigation
Description
This was generated by AI during triage.
A Security run can complete its Security audit and record its findings privately, then fail during reproduction. Its Run notification currently reports both Result: audit failed and Audit: audit failed, hiding which stage actually failed.
Observed behavior
In the 2026-10-09 Security run, the audit finished after 35m 29s and recorded three private findings. The first reproduction session then received Codex's cybersecurity safeguard refusal after about 20 seconds, before running any tool calls. The notification said:
Result: audit failed
Audit: audit failed
Cause: Codex's cybersecurity safeguard refusal
The overall Security run correctly failed. The incorrect part is describing the completed audit as failed. The remaining reproduction sessions never started, and the recorded findings had no reproduction evidence or severity.
Expected behavior
Preserve the completed Security audit's status and identify the failed reproduction separately. For this case, the notification should communicate an overall failed result, Audit: audit complete, and that reproduction 1 was refused, with the existing safe refusal cause and log pointers. The notification subject should identify the reproduction failure rather than an audit failure.
Existing implementation and coverage
The Security run's audit_and_record workflow combines auditing, private recording and reproductions into one result. Ending::account maps that failed result to audit failed, and notification formatting reuses the overall result for its Audit line on failure. Existing scenarios cover refusal handling and reproduction failures, but currently accept the misleading audit-failure wording.
This is a reporting follow-up to #547. That issue's intended behavior—fail the Security run on a safeguard refusal, retain private records, and stop before the next finding—remains correct.
Duplicate checks searched the tracker for audit/notification and reproduction/notification reports. No existing issue covering this stage-reporting defect was found, and no matching prior rejection was present.
Activity
JacobStephens2 commentedon Oct 9, 2026
Agent Brief
Category: bug
Summary: Preserve a completed Security audit's status when reproduction fails, and report the failed reproduction in the Security run's outcome and Run notification.
Current behavior:
A completed audit followed by a refused, incomplete or otherwise failed reproduction becomes
audit failedin the overall outcome and the notification's Audit line. Private records survive and the run correctly stops, but the Day shift cannot distinguish the successful audit from the failed reproduction without reading logs.Desired behavior:
Track the completed audit independently from the subsequent reproduction outcome. When reproduction fails, the overall Security run remains failed; its reported outcome and notification subject identify a reproduction failure; its Audit line says
audit complete; and the notification identifies the reproduction number and whether it was refused or otherwise failed. Keep the safe refusal cause and relevant Session log and Command log pointers. A genuine audit failure must still report an audit failure.Key interfaces:
EndedandEnding::account: retain enough stage information to describe the completed audit and failed reproduction accurately.Accountand Run notification formatting: express audit status separately from the overall result and carry safe reproduction-stage metadata.Acceptance criteria:
audit complete, and the notification identifies reproduction 1 as refused with the existing safe refusal cause.Audit: audit completeand the first finding's recorded severity.Out of scope:
Changing safeguard detection or access, automatic retries or Harness fallback, advisory grading, reproduction behavior, fix dispatch rules, Security run skip gates, or publishing private vulnerability details.