scripts/check-agent-record.py --write-baseline returned as soon as it had a
number:
if args.write_baseline:
return write_record_anchor_baseline(anchors)
check_record_anchors(anchors, errors)
That return happens BEFORE the if errors: gate at the end of main, so a tree
that failed any other record check could still write
scripts/record-anchor-baseline.json. The banked figure then carries the
authority of a run that never passed, on a file whose whole purpose is to be a
number nobody may quietly raise.
Found while re-deriving the baseline for ENG-RECORD-ANCHOR-RATCHET after
merging 161 commits of main into #851. Fixed in that flow: the write moves
below the error gate, and
RecordAnchorRatchet.test_a_baseline_is_never_banked_from_a_tree_with_record_errors
holds it. The case was captured red before the change and reds again when the
early return is restored.
Row: ENG-RECORD-ANCHOR-RATCHET. Related: #632.
scripts/check-agent-record.py --write-baselinereturned as soon as it had anumber:
That return happens BEFORE the
if errors:gate at the end ofmain, so a treethat failed any other record check could still write
scripts/record-anchor-baseline.json. The banked figure then carries theauthority of a run that never passed, on a file whose whole purpose is to be a
number nobody may quietly raise.
Found while re-deriving the baseline for
ENG-RECORD-ANCHOR-RATCHETaftermerging 161 commits of
maininto #851. Fixed in that flow: the write movesbelow the error gate, and
RecordAnchorRatchet.test_a_baseline_is_never_banked_from_a_tree_with_record_errorsholds it. The case was captured red before the change and reds again when the
early return is restored.
Row:
ENG-RECORD-ANCHOR-RATCHET. Related: #632.