audits: the Endings list (2026-11-10) — 67 endings, 536 answers, 22 not found in 6 classes
gates / gates (push) Successful in 2m1s
gates / gates (push) Successful in 2m1s
What every thing a customer can end leaves behind, and who is told. - documentation/audits/endings-list-2026-11-10/: README (one page), TABLE (67 endings x 8 questions, each answer with a mark and a pointer), MATRIX, the search list with controls, the helpers' raw answers, and the ageing drill on scratch guest 9202 (five rounds, put back). - Marks: A 499, D 0, K 15, N 22. 9 endings are not named in the architecture folder. - Register: six new rows, one per class (R-1373 … R-1378); 230 -> 236 open rows. Nine existing rows get a dated pointer line; none is closed, merged or re-ranked. - STATUS.md: four decisions for the operator (D71 … D74). No code change. No release. Machines: scratch guest 9202 only, put back. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
449b065fbd
commit
807175c27d
147 files changed
+32315
-13
No files matched your search
@@ -0,0 +1,54 @@
|
||||
#!/usr/bin/env python3
|
||||
"""diff-snaps.py [FROM TO]... — what changed between two snaps of scratch guest 9202 (evidence/drill/). Read-only.
|
||||
With no argument it walks the whole drill in order and prints, for each snap, the baseline lines that moved against
|
||||
`1-repointed` and the itemised lines (containers, images, volumes, folders) that appeared or went against the snap before.
|
||||
Lines that always move (logs, metrics, the drive's used bytes, the controller's data) are marked NOISE, not hidden."""
|
||||
import os, sys
|
||||
HERE = os.path.dirname(os.path.abspath(__file__)); D = os.path.join(HERE, "..", "evidence", "drill")
|
||||
ORDER = ["0-before", "1-repointed"] + [f"cheap-{i:02d}" for i in range(1, 11)] + [
|
||||
"keep-1-installed", "keep-2-removed-kept", "keep-3-installed-again", "keep-4-removed-all",
|
||||
"drive-1-installed", "drive-2-remove-all-tried", "drive-4-installed-no-question", "drive-5-removed-kept-all",
|
||||
"drive-6-installed-fresh-2", "drive-7-removed-data-kept-2",
|
||||
"upd1-1-installed-from", "upd1-2-updated", "upd1-3-restored", "upd1-4-removed-all"]
|
||||
NOISE = ("container-logs", "controller-data-volume", "used", "var-log", "journal", "rootfs", "data-volume", "tmp")
|
||||
|
||||
|
||||
def base(l):
|
||||
out = {}
|
||||
for line in open(os.path.join(D, f"base-{l}.tsv"), encoding="utf-8"):
|
||||
p = line.rstrip("\n").split("\t")
|
||||
if len(p) >= 3:
|
||||
out[p[0]] = (p[1], p[2])
|
||||
return out
|
||||
|
||||
|
||||
def detail(l):
|
||||
return set(x.rstrip("\n") for x in open(os.path.join(D, f"detail-{l}.tsv"), encoding="utf-8") if x.strip())
|
||||
|
||||
|
||||
def show(a, b, ref):
|
||||
ba, bb = base(ref), base(b)
|
||||
print(f"\n=== {b} (baseline against {ref}; items against {a})")
|
||||
for k in bb:
|
||||
if k in ba and ba[k] != bb[k]:
|
||||
tag = "NOISE " if any(n in k for n in NOISE) else "MOVED "
|
||||
try:
|
||||
d = f"{int(bb[k][0]) - int(ba[k][0]):+d}"
|
||||
except ValueError:
|
||||
d = "?"
|
||||
print(f" {tag}{k} {ba[k][0]} -> {bb[k][0]} ({d}) {ba[k][1]} -> {bb[k][1]}")
|
||||
da, db = detail(a), detail(b)
|
||||
for x in sorted(db - da):
|
||||
print(" + " + x[:230])
|
||||
for x in sorted(da - db):
|
||||
print(" - " + x[:230])
|
||||
|
||||
|
||||
args = sys.argv[1:]
|
||||
if args:
|
||||
for i in range(0, len(args), 2):
|
||||
show(args[i], args[i + 1], args[i])
|
||||
else:
|
||||
have = [l for l in ORDER if os.path.exists(os.path.join(D, f"base-{l}.tsv"))]
|
||||
for prev, cur in zip(have, have[1:]):
|
||||
show(prev, cur, "1-repointed")
|
||||
Reference in new issue
Block a user