mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-25 17:30:56 +08:00
fix(rsi): keep the status in a capped negative lesson action
The negative action is the label followed by "(prior <status>)", and the whole string was cut at 320 runes. Past about 257 runes of summary the cut removed the suffix, so false_positive and duplicate produced the same action and the same dedupe key: a change inside the negative group reused the old lesson instead of writing a new one and withdrawing the old. The label is now cut to the room left by the prefix and the suffix, so the status is always in the action and in the key. A summary short enough to fit gives the same action as before, so existing keys do not change.
This commit is contained in:
@@ -61,6 +61,10 @@ Rules:
|
||||
Pending and in-progress findings produce nothing: there is no outcome yet.
|
||||
Empty cue, action, or source is refused by the gate.
|
||||
|
||||
An action is capped at 320 runes. In a negative action the summary is cut, not
|
||||
the `(prior <status>)` suffix, so each negative status keeps its own action and
|
||||
dedupe key.
|
||||
|
||||
A retest counts only when it is `completed` with a verdict; extraction reads
|
||||
the latest such retest. A verdict staged on a pending, running, failed, or
|
||||
stopped retest produces nothing.
|
||||
|
||||
Reference in New Issue
Block a user