Skip to main content

record_outcome

Function record_outcome 

Source
pub fn record_outcome(
    params: &PatchParams,
    last_mode: &str,
    text: &str,
    effect: &CacheEffect,
)
Expand description

Quality loop (#494/#1008): a clean anchored edit is a success signal for the read mode that produced the anchors; a stale-anchor CONFLICT is a failure signal (the view the model edited against had drifted) that arms a one-shot escalation of the next auto read to anchored — fresh line anchors to retry by reference. Structural errors say nothing about the read mode and are skipped.