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

20 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# Window B+C, P1, P4 and P5 (repin-merged-bc.md draft 9, sha 523f20e0). Read only; nothing stopped.
set -uo pipefail
W=/mnt/storage/src/mosaic-stack/agents/darkwing/work/window-merged-bc/window
REPO=/mnt/storage/src/mosaic-stack
NEW=89af38a83afa22a8a4f0d368a0a4030ad15a0efa
OLD=5fa9cc8f2c66b52408b652b59c3070f7210b44d0
BC=$REPO/agents/sage/work/window-plan/repin-de352dfaf/business-check.mjs
run() { echo; echo "## $1 ($(date -u +%FT%TZ))"; shift; echo "# command: $*"; "$@"; echo "# exit $?"; }
echo "# plan sha256 $(sha256sum < $REPO/agents/sage/work/window-plan/repin-merged-bc.md | cut -c1-64)"
echo "# business-check.mjs sha256 $(sha256sum < $BC | cut -c1-64)"
run "P1 values" node $W/p1.mjs
run "P1 business-check OLD" node $BC $OLD
run "P4 tunnel" systemctl --user show mosaic-preview-tunnel.service -p ExecStart -p DropInPaths
for r in coder reviewer cto pm; do
run "P5 skills $r at NEW" bash -c "git -C $REPO show $NEW:roles/$r.json | node -e 'const j=JSON.parse(require(\"fs\").readFileSync(0,\"utf8\"));console.log(JSON.stringify(j.skills))'"
done
echo; echo "## P5 union minus ms-communications"
for r in coder reviewer cto pm; do git -C $REPO show $NEW:roles/$r.json; echo; done | node -e 'const t=require("fs").readFileSync(0,"utf8").split(/\n(?=\{)/).filter(s=>s.trim());const u=new Set();for(const s of t){for(const k of JSON.parse(s).skills??[])u.add(k)}u.delete("ms-communications");console.log(JSON.stringify([...u].sort()), u.size)'