mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-23 16:40:53 +08:00
The caution branch ran after the status switch, for every status. A pending or in_progress finding with a completed fixed or inconclusive retest got a caution lesson, while docs/rsi-lessons.md says pending and in-progress findings produce nothing. The caution is now written in the confirmed / resolved / fixed branch only. A negative disposition (false_positive, duplicate, ignored, risk_accepted) now also withdraws the cautions written from the finding's retests. The doc says a reversed disposition withdraws the finding's evidence, including every retest of the finding, and a caution from a retest is that evidence: it tells the next task to recheck a finding the operator has since rejected. Nothing in the code or the doc says a caution should outlive that. Confirming again restores it, as for the positive lessons. Reopening (pending / in_progress) still retracts nothing.