== corrigenda e2e, 2026-10-13T16:42:55Z, Linux aarch64, Python 3.12.3, tmux 3.4, zsh 5.9
== 1. unit tests
fixtures: bash-alias.hist bash-mixed.hist bash-plain-retired.hist bash-plain.hist bash-secret.hist bash-timestamped.hist zsh-extended.hist 
PASS 1 unittest passes
Ran 27 tests in 0.477s
OK
PASS 1 tests catch it: a swap costs 2 instead of 1 => FAILED (failures=14, errors=1)
PASS 1 tests catch it: the rate guard removed => FAILED (failures=4)
PASS 1 tests catch it: arguments no longer compared => FAILED (failures=1)
PASS 1 tests catch it: the 60 second window removed => FAILED (failures=2)
PASS 1 tests catch it: the binary file test removed => FAILED (failures=1)
== 2. end to end, bash without times
row: line 1: for gti read git, 3 times.
sed -n 1p: gti status
PASS 2 one row, gti read git, 3 times
PASS 2 sed finds the first gti status
PASS 2 alias block is exactly alias gti=git
PASS 2 no-times statement and thinning
== 3. the build box's own default history
exit 0; head: to the shell history at ~/.bash_history, 500 entries.
PASS 3 exits 0 with no traceback
no row printed: No correction recurs in this history. The edition stands as printed.
adjacent pairs with identical arguments in ~/.bash_history, count and first words:
      2 ./tailors clear
NOT RUN 3 top row comparison: the page printed no row
== 4. privacy
PASS 4 no SECRET123, push or example.invalid in page or aliases
PASS 4 the slip was found all the same
history holds the secret 6 times; page row: line 1: for gti read git, 3 times.
== 5. time honesty
PASS 5 bash plain: no-times statement
PASS 5 bash timestamped: every-entry statement
PASS 5 zsh extended: every-entry statement
PASS 5 bash mixed: 3 of 8 statement
PASS 5 thinning statement in c2-page
PASS 5 thinning statement in c5-timestamped
PASS 5 thinning statement in c5-zsh
PASS 5 thinning statement in c5-mixed
timestamped gaps gti to git, seconds: 5 5 301 ; row: line 2, 2026-10-13: for gti read git, 2 times.
PASS 5 the 301 s pair is not counted, the 5 s pairs are
PASS 5 the row is dated 2026-10-13 (date -d @1791909777)
PASS 5 zsh row is dated 2026-10-13
== 6. the alias block is pure
PASS 6 every --aliases line matches the pattern (out/capture/bash-plain.hist)
PASS 6 no ESC on a terminal (out/capture/bash-plain.hist)
PASS 6 the same block ends the page (out/capture/bash-plain.hist)
PASS 6 every --aliases line matches the pattern (out/capture/zsh-extended.hist)
PASS 6 no ESC on a terminal (out/capture/zsh-extended.hist)
PASS 6 the same block ends the page (out/capture/zsh-extended.hist)
PASS 6 every --aliases line matches the pattern (out/capture/bash-alias.hist)
PASS 6 no ESC on a terminal (out/capture/bash-alias.hist)
PASS 6 the same block ends the page (out/capture/bash-alias.hist)
type: gti is aliased to `git'
PASS 6 bash takes the block
PASS 6 heading names ~/.zshrc for the zsh fixture
PASS 6 heading names ~/.bashrc for a bash fixture with SHELL=/bin/bash
== 7. emphasis and layout
bold runs on a pty: [1m3[0m [1m2[0m [1m2[0m 
PASS 7 on a pty only the counts are bold
PASS 7 NO_COLOR=1 on a pty: no ESC
PASS 7 piped through cat -v: no ^[
PASS 7 pane: no line over 79 columns (widest 72)
PASS 7 pane: title centred on the 72 measure
PASS 7 pane: colophon ends with the typeface line, then normal is dead
PASS 7 pane: the alias block is last, after the colophon
PASS 7 pane: bold only on counts (tmux capture -e)
PASS 7 widest row unit test ran
== 8. edges
PASS 8 no recurring slip: stands as printed, exit 0, thinning
nonexistent path: exit 2, stderr: No history file was found. Looked in: /nonexistent/history.
PASS 8 nonexistent path: one sentence, exit 2, no traceback
no history anywhere: exit 2, stderr: No history file was found. Looked in: ~/.bash_history, ~/.zsh_history.
PASS 8 no history found: the sentence, exit 2
a directory: exit 2, stderr: The history file at WORK could not be read.
PASS 8 a directory: one sentence, exit 2
binary ls: exit 2, stderr: The file at /usr/bin/ls does not read as a shell history.
PASS 8 binary input: one sentence, exit 2, no traceback (ls)
binary noise: exit 2, stderr: The file at WORK/noise does not read as a shell history.
PASS 8 binary input: one sentence, exit 2, no traceback (noise)
zsh capture, the echo 2 line in hex:  3a 20 31 37 39 31 39 30 39 38 30 32 3a 30 3b 65 63 68 6f 20 32 c3 83 b7 33 0a 
PASS 8 the zsh capture holds zsh's metafy byte 0x83 and is not UTF-8
PASS 8 not UTF-8 and no NUL: a page, exit 0, no traceback (latin, exit 0)
PASS 8 not UTF-8 and no NUL: a page, exit 0, no traceback (zsh-extended.hist, exit 0)
PASS 8 thinning statement on out/c2-page.txt
PASS 8 thinning statement on out/c4-page.txt
PASS 8 thinning statement on out/c5-mixed.txt
PASS 8 thinning statement on out/c5-timestamped.txt
PASS 8 thinning statement on out/c5-zsh.txt
PASS 8 thinning statement on out/c11-page.txt
PASS 8 thinning statement on out/c3-page.txt
PASS 8 thinning statement on out/c1-alias.txt
== 9. cleanliness
PASS 9 no U+2014 in sources, README or output
PASS 9 no doubled hyphen used as a dash
import argparse
import os
import re
import shutil
import sys
from collections import Counter, namedtuple
from datetime import date, datetime
PASS 9 only the listed stdlib imports
interpreter: /usr/bin/python3
strace: 70 openat calls, 0 socket or connect calls
PASS 9 no network, no file opened for writing
== 10. README
PASS 10 no home path or username in README
PASS 10 no output pasted in README
== 11. retirement
the file holds 7 gti entries, 3 followed by git
PASS 11 after the alias is adopted the leaf stands as printed
== 0 failed
