Skip to content

Decide whether a draft advisory thirdshift reproduced still waits for the Day shift #1162

Open

Description

@JacobStephens2

Finding

This is Spec finding c2 from the review of #1161 (#1043). A draft advisory that thirdshift reproduced itself is treated as graded by the Day shift. When a later audit finds it again, the run logs "keeping the Day shift's grade for GHSA-…" rather than "keeping the completed Security reproduction of GHSA-…: reproduced …".

Evidence

  • After a reproduction, GitHub::update_security_record (src/github/advisories.rs) PATCHes the advisory's severity with the reproduction's severity.
  • SecurityRecords::decode_state treats an advisory as untriaged only while state == "draft" and severity is null. A reproduced draft advisory therefore reads as triaged, so SecurityRecord::untriaged() is false.
  • ADR 0015 (docs/adr/0015-security-findings-stay-private-until-fixed.md) counts "giving it a severity" on a public repository as the Day shift's triage.
  • Consequences:
    • The progress line credits the Day shift with thirdshift's own grade.
    • Such a record does not set security_findings_waiting on the Command record, so the Inbox does not show it as a Security finding waiting on a decision.
    • A private repository's finding issue keeps needs-triage after its reproduction and is still counted as waiting.
  • PR Let Security runs audit while findings wait, keeping completed reproductions #1161's own test notes this: in security::tests::a_refound_finding_keeps_its_completed_reproduction, "A reproduced advisory carries its severity, so it reads as graded".
  • Behaviour on re-find is otherwise correct for both storages: no new reproduction session runs, and the finding is listed with its severity.

Why this is the Day shift's call

#1043's brief says "A record the Day shift graded is kept as today" and leaves what counts as the Day shift's grade unchanged. Changing it would mean one of two things:

  • a severity written by thirdshift's reproduction no longer counts as triage under ADR 0015; or
  • public and private storage get different waiting semantics.

Either choice changes what ends a finding's wait and what the Inbox shows. That is a policy decision about triage, not an implementation detail of #1043.

To decide

  • Should a draft advisory whose severity came from thirdshift's own reproduction count as waiting for the Day shift, as a private finding issue with needs-triage does?
  • If so, how is the Day shift's own grade told apart from the reproduction's? For example, the advisory's severity could be compared with the record's Severity: line, or the reproduction's severity could be kept out of the advisory field.

Raised by #1161. Only needs-triage is applied, so this pauses no Pass or work.

Activity

  1. added
    needs-triage
    on Oct 23, 2026
  2. JacobStephens2 commented on Oct 25, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Triage Notes

    What we've established so far:

    What we still need from you (@JacobStephens2):

    • Should a reproduced draft advisory still count as waiting for the Day shift?
    • If so: keep the reproduction severity out of the advisory field, or compare it with the record's Severity: line?
    • Is it acceptable for public and private storage to behave differently?
  3. added
    enhancement
    needs-info
    and removed
    needs-triage
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions