Skip to content

v1.12.1 — log rotation carries the stage line and versions the archive

Choose a tag to compare

@CesarRivasP CesarRivasP released this 27 Sep 20:19
· 107 commits to main since this release
beb886c

Summary

The first real log rotation, run with the v1.12.0 procedure, came back with two DRIFT it had not anticipated:

  • The stage line moved to the archive. Check 16 reads Stage: from _log.md only, so a set past draft reported a transition that never happened. The rotate entry now carries **Stage:** <status> → <status>, marked as carried.
  • The archive had no version. Named in Edits: without a line count and blob, it is a set file check 16 asks a version of. It is now recorded in Archived: and Edits: with both.

The procedure also contradicted itself: it kept recent rounds in _log.md and still numbered the rotate entry R<k+1>. The rotate entry is now numbered after the last round, opens as a stub like any round, and the split is verified to reassemble the original byte for byte before either file is written.

Documentation only; audit.py unchanged. After applying the amended steps, the rotated set audits clean.

Test plan

  • python3 tests/test_audit.py — 283/283