Audit batch 6: B1 zero-gate sentinel, I1 known-to-lack marker, I2 wire error returns row status, M1 max-rounds label, M2 chosen-last convention, M5 escalate write retry, M6/M7 clear/pass CAS tests

This commit is contained in:
host committed 2026-11-04 18:02:23 +00:00
1 parent 2adc605373
commit bc19f09dff
5 files changed
+683 -26

No files matched your search

+7
View File
@@ -69,6 +69,13 @@ _DETAIL_RE = re.compile(
# parse, and legacy suggested-with-whitespace rows still land
# in the unparseable bucket (counted, batch 2) rather than
# being silently lost.
# Audit batch 6 (M2): the "chosen is last" placement is a
# standing convention, not an accident — (.+?) runs to end
# of line, so any field appended after chosen would be
# swallowed into chosen and misparsed. Writers (the two
# worker_routing audit sites in cloud/worker.py) must keep
# chosen as the final field; a test in test_audit_batch6.py
# locks both sites to that shape.
r"(?:\s+chosen=(?P<chosen>.+?))?\s*$")