Files
jason.woltje c5ae4d7ac4 darkwing: merged B+C window packet, STATE.md (sha256 7be42b6bcab5657d), W0-W11 transcripts, S1/S2/S2b snapshots, P3 rehearsals and snapshot.mjs checks (#1673, #1674; P19 386, 382)
Evidence for the STATE report Sage checked and filed in 88f3253d9 (sage-1151). The skills-enabled
tar stays out of git; it is the W0b restore point under $WIN only. No credential or Environment
values: unit reads record ExecStart only, and the P3 credential files were fake placeholders.
2026-10-19 21:26:49 -05:00

13 lines
762 B
Python

import sys
src=open('/mnt/storage/src/mosaic-stack/agents/darkwing/work/window-merged-bc/snapshot.mjs').read()
muts={
'r1':("const bdb = o.backup === undefined ? null : immutable(o.backup, 'backup-unclean');","const bdb = o.backup === undefined ? null : new DatabaseSync(o.backup, { readOnly: true });"),
'r2':("const COUNTS_ONLY = new Set(['messages', 'message_threads']);","const COUNTS_ONLY = new Set([]);"),
'r3':(" if (badAt) refuse("," if (false) refuse("),
'r4':("WHERE type='table' AND name NOT LIKE 'sqlite\\\\_%' ESCAPE '\\\\' ORDER BY name","ORDER BY name"),
}
for k,(a,b) in muts.items():
assert src.count(a)==1,(k,a)
open(f'/home/jwoltje/darkwing-scratch/mbc/snaptest/mut/{k}.mjs','w').write(src.replace(a,b))
print('made',list(muts))