Repository navigation
Open
Labels
Description
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'sseveritywith the reproduction's severity. SecurityRecords::decode_statetreats an advisory as untriaged only whilestate == "draft"andseverityis null. A reproduced draft advisory therefore reads as triaged, soSecurityRecord::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_waitingon 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-triageafter 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-triagedoes? - 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
JacobStephens2 commentedon Oct 25, 2026
Triage Notes
What we've established so far:
needs-triageinstead. Related: Decide how informational Security findings map to repository advisories #567.What we still need from you (@JacobStephens2):
Severity:line?