Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
f5901dd
docs: define autonomous WineBot qualification phases and hardware gates
mark-e-deyoung Nov 15, 2026
c6763e8
feat: add offline deterministic Wine prefix inventory and delta CLI
mark-e-deyoung Nov 15, 2026
1fb09ff
build: define standalone dependency-free Go installer-capture module
mark-e-deyoung Nov 15, 2026
23cff06
test: exercise installer inventory, delta and fail-closed privacy bou…
mark-e-deyoung Nov 15, 2026
2eeea7d
ci: qualify offline installer capture on public runners
mark-e-deyoung Nov 15, 2026
5a0bfef
fix: permit relative prefix roots with canonical output containment c…
mark-e-deyoung Nov 15, 2026
ffed1bc
test: cover relative prefix-root output safety
mark-e-deyoung Nov 15, 2026
77f741a
docs: reconcile source-exact CI failures and hardware gate status
mark-e-deyoung Nov 15, 2026
1c0abfc
fix: prevent symlink/FIFO substitution when inventorying installer files
mark-e-deyoung Nov 15, 2026
14ed4ed
test: reject transient named pipes and unexpected prefix file types
mark-e-deyoung Nov 15, 2026
530b518
docs: reconcile R021 startup root causes, exact-head CI and hardware …
mark-e-deyoung Nov 15, 2026
ed24440
fix(installer-capture): confine prefix snapshot traversal with Go os.…
mark-e-deyoung Nov 15, 2026
fd5aa79
fix(installer-capture): walk os.Root filesystem view in Go 1.25
mark-e-deyoung Nov 15, 2026
6178b84
docs(rdte): reconcile exact-head composite and conformance gate failures
mark-e-deyoung Nov 15, 2026
65625a3
feat(capture): verify quiesced reconstructed app prefix against exact…
mark-e-deyoung Nov 15, 2026
53927f6
fix(capture): confine expected-manifest reads and reject symlink escape
mark-e-deyoung Nov 15, 2026
e047d3c
docs(rdte): reconcile verified Wine11 55-minute soak and layered init…
mark-e-deyoung Nov 15, 2026
343025f
feat(capture): add bounded path-free installer footprint summary for …
mark-e-deyoung Nov 16, 2026
a38464b
feat(installer): add fail-closed offline Wine registry v2 semantic di…
mark-e-deyoung Nov 16, 2026
f95175a
test(installer): qualify Wine registry semantic changes, malformed da…
mark-e-deyoung Nov 16, 2026
fe93def
feat(installer): expose local private Wine registry semantic diff CLI
mark-e-deyoung Nov 16, 2026
2d3a802
ci(installer): exercise private Wine v2 registry semantic delta on sy…
mark-e-deyoung Nov 16, 2026
ab04a1e
docs(installer): define private capture workflow, semantic limits and…
mark-e-deyoung Nov 16, 2026
740a250
feat(installer): add exact local Wine-registry postcondition verifica…
mark-e-deyoung Nov 16, 2026
608fafa
test(installer): require registry postcondition exactness and mismatc…
mark-e-deyoung Nov 16, 2026
ecf7a57
ci(installer): prove native registry postcondition mismatch detection
mark-e-deyoung Nov 16, 2026
37909a9
docs(rdte): reconcile R024 exact-head CI and held hardware gates
mark-e-deyoung Nov 16, 2026
e5b8433
docs(rdte): reconcile R025 parallel Wine11, installer and conformance…
mark-e-deyoung Nov 16, 2026
10f112f
docs(rdte): reconcile integrated Wine11 composite pass and new fault/…
mark-e-deyoung Nov 16, 2026
3dd0f34
feat(rdte): add rights-cleared WinAPI file and HKCU installer fixture
mark-e-deyoung Nov 16, 2026
dc59854
build(rdte): pin standalone standard-library Windows fixture module
mark-e-deyoung Nov 16, 2026
54ca65d
feat(capture): project semantic Wine registry deltas into path-free c…
mark-e-deyoung Nov 16, 2026
fc966bb
ci(installer): qualify rights-cleared WinAPI install/uninstall and Wi…
mark-e-deyoung Nov 16, 2026
6e856e7
docs(rdte): bound original WinAPI fixture scope, Linux Wine limitatio…
mark-e-deyoung Nov 16, 2026
f27b0a0
docs(rdte): reconcile full frozen conformance PASS, actual runtime fa…
mark-e-deyoung Nov 16, 2026
60af5a5
test(installer): handle key-only Wine registry delta records without …
mark-e-deyoung Nov 16, 2026
394b1a3
ci(installer): qualify real Windows PE file-hash footprint alongside …
mark-e-deyoung Nov 16, 2026
47cf4db
ci(installer): qualify Wine native PE uninstall and reversed file/reg…
mark-e-deyoung Nov 16, 2026
a2d17c1
docs(rdte): reconcile layered 55m, integrated v1 contracts, synthetic…
mark-e-deyoung Nov 16, 2026
5accaa3
rdte(installer): independent allowlisted declarative WinAPI recipe re…
mark-e-deyoung Nov 16, 2026
7da671f
docs(rdte): scope independent allowlisted WinAPI recipe reconstructio…
mark-e-deyoung Nov 16, 2026
8d5ff84
docs(rdte): reconcile R029 exact-head qualification and hardware holds
mark-e-deyoung Nov 16, 2026
96cedc8
docs(mvp): adopt executable IC1 critical-path plan with public free-t…
mark-e-deyoung Nov 17, 2026
9deed09
docs(mvp): reconcile R035 integrated candidate and parallel public-ru…
mark-e-deyoung Nov 17, 2026
97a2834
docs(mvp): reconcile R040 real GUI PASS, game save and Wine11 restore…
mark-e-deyoung Nov 17, 2026
3f7bccd
docs(rdte): reconcile exact-source IC1 integrated CI and remaining ha…
mark-e-deyoung Nov 17, 2026
1a3db88
docs(rdte): reconcile R031 real workload first failure and source-exa…
mark-e-deyoung Nov 18, 2026
47944f7
docs(rdte): reconcile R032 integrated real-workload evidence and rema…
mark-e-deyoung Nov 18, 2026
287518b
docs(rdte): reconcile cancelled real-prefix retry and CI holds R033
mark-e-deyoung Nov 18, 2026
77101a6
docs(rdte): reconcile terminal real Wine-prefix retry and retain hard…
mark-e-deyoung Nov 19, 2026
59fbb81
docs(rdte): reconcile R035 lint first failure and source-exact correc…
mark-e-deyoung Nov 19, 2026
04ca05b
docs(rdte): reconcile R036 post-lint exact-head qualification and har…
mark-e-deyoung Nov 19, 2026
dccaf63
docs(rdte): capture first failing conformance command and sanitized-e…
mark-e-deyoung Nov 19, 2026
3f418c1
docs(rdte): record sanitized conformance counts and R038 CI evidence
mark-e-deyoung Nov 19, 2026
2f476df
docs(rdte): reconcile R039 source-pair conformance and independent IC…
mark-e-deyoung Nov 20, 2026
5faeb29
docs(rdte): reconcile R040 exact-head IC1 and fail-closed observer qu…
mark-e-deyoung Nov 20, 2026
22c788b
docs(rdte): reconcile R041 terminal observer composite and fail-close…
mark-e-deyoung Nov 20, 2026
2a86844
docs(rdte): intake R042 formal and crash-recovery successor qualifica…
mark-e-deyoung Nov 20, 2026
734c07b
docs(rdte): reconcile R043 successor TLC and crash-recovery CI withou…
mark-e-deyoung Nov 21, 2026
5caa589
docs(rdte): reconcile R044 successor checks and #180 executable-mode …
mark-e-deyoung Nov 21, 2026
a8ba34c
docs(rdte): reconcile R045 two-writer admission exact-source evidence…
mark-e-deyoung Nov 21, 2026
a59a836
docs: reconcile R046 exact-head CI and hardware holds
mark-e-deyoung Nov 21, 2026
e039c67
docs(rdte): reconcile R047 early admission and persistent owner exact…
mark-e-deyoung Nov 22, 2026
6cc4b45
docs(rdte): reconcile R049 stacked admission security evidence and ha…
mark-e-deyoung Nov 23, 2026
cc7aebf
docs: reconcile R051 terminal integration and conformance evidence
mark-e-deyoung Nov 24, 2026
a5e4b0e
docs: reconcile R060 real Wine workload, lint correction and wire adm…
mark-e-deyoung Nov 26, 2026
d359ce1
ci: pin installer roadmap conformance to qualified contracts source
mark-e-deyoung Nov 26, 2026
2af011b
docs: reconcile R064 source-pinned conformance and Wine11 successor e…
mark-e-deyoung Nov 26, 2026
400e80d
fix(rdte): converge frozen v1 behavior and regression tests into inst…
mark-e-deyoung Nov 27, 2026
aa13b67
docs(rdte): record R065 frozen-v1 convergence and exact verification …
mark-e-deyoung Nov 27, 2026
08da547
docs: reconcile R066 exact conformance recovery and installer integra…
mark-e-deyoung Nov 27, 2026
2d5935d
DLE: record integrated fixture passes and original MSI workcell R067
mark-e-deyoung Nov 27, 2026
35bf70b
DLE: record real MSI receipt and checkpoint rollback workcell R068
mark-e-deyoung Nov 27, 2026
c4ef2cb
DLE R069: reconcile verified rollback and static payload replay workcell
mark-e-deyoung Nov 28, 2026
e19dd7f
DLE R073: reconcile qualified resource envelope and static MSI subset…
mark-e-deyoung Nov 28, 2026
b94f38d
docs: reconcile R074 exact-head Wine11 qualification and hardware pub…
mark-e-deyoung Nov 28, 2026
6ac66df
R075: reconcile development image custody and enforce pre-hardware pu…
mark-e-deyoung Nov 28, 2026
75bfc58
R076 reconcile read-only exact-head qualification and bounded review …
mark-e-deyoung Nov 29, 2026
3511a48
R077 reconcile source-exact consistency and historical candidate cust…
mark-e-deyoung Nov 29, 2026
47c871f
R078 reconcile verified historical custody and publication hold
mark-e-deyoung Nov 29, 2026
107fee0
DLE R079: reconcile receipt cleanup and enroll exact-mode observer pr…
mark-e-deyoung Nov 29, 2026
57e60a5
docs: reconcile R080 exact-mode pressure evidence and bounded soak wo…
mark-e-deyoung Nov 30, 2026
291928e
Reconcile integrated repeated soak, venue and bridge evidence; track …
mark-e-deyoung Nov 30, 2026
0401c7e
R086 reconcile keyboard projection and exact bridge negative-test fai…
mark-e-deyoung Nov 30, 2026
4d4ce0b
R087 reconcile exact keyboard evidence and qualify focus cue follow-on
mark-e-deyoung Nov 30, 2026
2ed8e3f
docs(dle): reconcile R088 exact-mode accessibility and unresolved gates
mark-e-deyoung Dec 1, 2026
91f4e04
R089 reconcile live focus evidence and bounded AHK target correction
mark-e-deyoung Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
repository: mark-e-deyoung/winebot-contracts
ref: 205666f7f0235cb0fc51ca8a5af84f9f67831a74
path: contracts

- uses: actions/setup-python@v5
Expand Down
120 changes: 120 additions & 0 deletions .github/workflows/installer-capture-rdte.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: Installer Capture RDTE
on:
pull_request:
paths:
- '.github/workflows/installer-capture-rdte.yml'
- 'cmd/installer-capture/**'
- 'docs/roadmaps/2026-11-autonomous-rdte-hardware-gates.md'
push:
branches: [main]
paths:
- '.github/workflows/installer-capture-rdte.yml'
- 'cmd/installer-capture/**'

permissions:
contents: read

concurrency:
group: installer-capture-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
offline-capture:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout PR content without credentials
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Use pinned Go toolchain
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version-file: cmd/installer-capture/go.mod
cache: false
- name: Offline Go qualification (no secrets or uploads)
env:
GOPROXY: 'off'
GOSUMDB: 'off'
GOTOOLCHAIN: 'local'
run: |
cd cmd/installer-capture
go vet ./...
go test -count=1 ./...
go build -trimpath -o "$RUNNER_TEMP/winebot-capture" .
GOOS=windows GOARCH=amd64 go build -trimpath -o "$RUNNER_TEMP/winebot-capture.exe" .
work="$(mktemp -d)"
trap 'rm -rf "$work"' EXIT
mkdir -p "$work/prefix"
printf 'one' > "$work/prefix/sample.reg"
"$RUNNER_TEMP/winebot-capture" snapshot -root "$work/prefix" -out "$work/before.json"
printf 'two' > "$work/prefix/sample.reg"
"$RUNNER_TEMP/winebot-capture" snapshot -root "$work/prefix" -out "$work/after.json"
"$RUNNER_TEMP/winebot-capture" verify -root "$work/prefix" -manifest "$work/after.json"
printf 'changed-again' > "$work/prefix/sample.reg"
if "$RUNNER_TEMP/winebot-capture" verify -root "$work/prefix" -manifest "$work/after.json" >/dev/null 2>&1; then
echo 'INSTALLER_CAPTURE_RDTE stage=postcondition_false_positive'
exit 1
fi
printf 'two' > "$work/prefix/sample.reg"
"$RUNNER_TEMP/winebot-capture" diff -before "$work/before.json" -after "$work/after.json" -out "$work/delta.json"
"$RUNNER_TEMP/winebot-capture" summary -before "$work/before.json" -after "$work/after.json" -out "$work/footprint.json"
python3 - "$work/footprint.json" <<'PY'
import json, sys
data = json.load(open(sys.argv[1], encoding="utf-8"))
assert data["schema"] == 1
assert data["groups"][0] == {"class":"registry","added":1,"removed":0,"changed":0} or data["groups"][0] == {"class":"registry","added":0,"removed":0,"changed":1}
assert len(data["groups"]) == 5
assert "sample.reg" not in json.dumps(data)
PY
python3 - "$work/delta.json" <<'PY'
import json, sys
data = json.load(open(sys.argv[1], encoding="utf-8"))
assert data["schema"] == 1
assert [(c["path"], c["operation"]) for c in data["changes"]] == [("sample.reg", "changed")]
PY
# This is synthetic Wine registry v2 data, never a real user prefix.
cat > "$work/registry-before.reg" <<'REG_BEFORE'
WINE REGISTRY Version 2
;; All keys relative to \Machine
#arch=win64
[Software\Test] 100
"State"=dword:00000001
REG_BEFORE
cat > "$work/registry-after.reg" <<'REG_AFTER'
WINE REGISTRY Version 2
;; All keys relative to \Machine
#arch=win64
[Software\Test] 200
"State"=dword:00000002
REG_AFTER
"$RUNNER_TEMP/winebot-capture" regdiff -before "$work/registry-before.reg" -after "$work/registry-after.reg" -out "$work/registry-delta.json"
"$RUNNER_TEMP/winebot-capture" regsummary -before "$work/registry-before.reg" -after "$work/registry-after.reg" -out "$work/registry-summary.json"
python3 - "$work/registry-summary.json" <<'PY'
import json, sys
data = json.load(open(sys.argv[1], encoding="utf-8"))
assert data["schema"] == 1
assert data["groups"] == [
{"operation": "added", "keys": 0, "values": 0},
{"operation": "removed", "keys": 0, "values": 0},
{"operation": "changed", "keys": 0, "values": 1},
]
assert "Software" not in json.dumps(data)
assert "State" not in json.dumps(data)
PY
"$RUNNER_TEMP/winebot-capture" regverify -actual "$work/registry-after.reg" -expected "$work/registry-after.reg"
if "$RUNNER_TEMP/winebot-capture" regverify -actual "$work/registry-before.reg" -expected "$work/registry-after.reg" >/dev/null 2>&1; then
echo 'INSTALLER_CAPTURE_RDTE stage=registry_postcondition_false_positive'
exit 1
fi
python3 - "$work/registry-delta.json" <<'PY'
import json, sys
data = json.load(open(sys.argv[1], encoding="utf-8"))
assert data["schema"] == 1
assert [(c["name"], c["operation"]) for c in data["changes"]] == [("State", "changed")]
assert 'dword:00000001' not in json.dumps(data)
assert 'dword:00000002' not in json.dumps(data)
PY
- name: Report only synthetic results
if: success()
run: echo 'INSTALLER_CAPTURE_RDTE stage=synthetic_snapshot_diff_passed'
143 changes: 143 additions & 0 deletions .github/workflows/windows-fixture-recipe-rdte.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
name: Declarative Windows Fixture Recipe Parity RDTE
on:
pull_request:
paths:
- '.github/workflows/windows-fixture-recipe-rdte.yml'
- 'cmd/windows-recipe-replayer/**'
- 'cmd/windows-installer-fixture/**'
- 'cmd/installer-capture/**'
permissions:
contents: read
concurrency:
group: synthetic-recipe-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
native-windows-reconstruction:
runs-on: windows-2025
timeout-minutes: 15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version-file: cmd/windows-recipe-replayer/go.mod
cache: false
- name: Original installer versus independent manifest replayer
shell: pwsh
env:
GOTOOLCHAIN: local
GOPROXY: 'off'
GOSUMDB: 'off'
WINEBOT_FIXTURE_PERMIT: synthetic-ci
run: |
Push-Location cmd/windows-installer-fixture
go build -trimpath -o "$env:RUNNER_TEMP\original.exe" .
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=original_build_failed" }
Pop-Location
Push-Location cmd/windows-recipe-replayer
go build -trimpath -o "$env:RUNNER_TEMP\replay.exe" .
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=recipe_build_failed" }
Pop-Location
& "$env:RUNNER_TEMP\original.exe" install
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=original_install_failed" }
$key = 'HKCU:\Software\WineBotInstallerFixture'
$original = (Get-ItemProperty -Path $key -Name InstallState -ErrorAction Stop).InstallState
& "$env:RUNNER_TEMP\original.exe" uninstall
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=original_uninstall_failed" }
& "$env:RUNNER_TEMP\replay.exe" install
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=recipe_install_failed" }
& "$env:RUNNER_TEMP\replay.exe" verify
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=recipe_verify_failed" }
$actual = (Get-ItemProperty -Path $key -Name InstallState -ErrorAction Stop).InstallState
if ($actual -ne $original) { throw "RECIPE_RDTE stage=native_registry_mismatch" }
& "$env:RUNNER_TEMP\replay.exe" install *> $null
if ($LASTEXITCODE -eq 0) { throw "RECIPE_RDTE stage=duplicate_install_accepted" }
& "$env:RUNNER_TEMP\replay.exe" uninstall
if ($LASTEXITCODE -ne 0) { throw "RECIPE_RDTE stage=recipe_uninstall_failed" }
$proof = Join-Path $env:APPDATA 'WineBotInstallerFixture\installed.txt'
if ((Test-Path $key) -or (Test-Path $proof)) { throw "RECIPE_RDTE stage=residual_state" }
'RECIPE_RDTE stage=native_recipe_parity_pass'

wine-registry-file-reconstruction:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version-file: cmd/installer-capture/go.mod
cache: false
- name: Install distribution Wine for rights-cleared fixture only
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends wine wine64 xvfb xauth
- name: Execute original installer, replay separate recipe, compare Wine postconditions
shell: bash
env:
GOTOOLCHAIN: local
GOPROXY: 'off'
GOSUMDB: 'off'
WINEBOT_FIXTURE_PERMIT: synthetic-ci
WINEDEBUG: '-all'
WINEARCH: win64
WINEDLLOVERRIDES: 'mscoree,mshtml='
run: |
set -euo pipefail
work="$(mktemp -d)"
trap 'rm -rf "$work"' EXIT
export WINEPREFIX="$work/prefix" WORK="$work"
mkdir -p "$WINEPREFIX"
(cd cmd/windows-installer-fixture && GOOS=windows GOARCH=amd64 go build -trimpath -o "$work/original.exe" .)
(cd cmd/windows-recipe-replayer && GOOS=windows GOARCH=amd64 go build -trimpath -o "$work/replay.exe" .)
(cd cmd/installer-capture && go build -trimpath -o "$work/capture" .)
xvfb-run -a /bin/bash -euo pipefail -c '
timeout 180 wineboot -u >/dev/null 2>&1
wineserver -k >/dev/null 2>&1 || true
cp "$WINEPREFIX/user.reg" "$WORK/base.reg"
timeout 120 wine "$WORK/original.exe" install >/dev/null 2>&1
wineserver -k >/dev/null 2>&1 || true
cp "$WINEPREFIX/user.reg" "$WORK/original-after.reg"
"$WORK/capture" snapshot -root "$WINEPREFIX" -out "$WORK/original-files.json" || exit 31
timeout 120 wine "$WORK/original.exe" uninstall >/dev/null 2>&1
wineserver -k >/dev/null 2>&1 || true
cp "$WINEPREFIX/user.reg" "$WORK/after-remove.reg"
timeout 120 wine "$WORK/replay.exe" install >/dev/null 2>&1
timeout 120 wine "$WORK/replay.exe" verify >/dev/null 2>&1
wineserver -k >/dev/null 2>&1 || true
cp "$WINEPREFIX/user.reg" "$WORK/replay-after.reg"
"$WORK/capture" snapshot -root "$WINEPREFIX" -out "$WORK/replay-files.json" || exit 32
timeout 120 wine "$WORK/replay.exe" uninstall >/dev/null 2>&1
wineserver -k >/dev/null 2>&1 || true
cp "$WINEPREFIX/user.reg" "$WORK/replay-removed.reg"
' || { echo 'RECIPE_RDTE stage=wine_run_failed'; exit 1; }
"$work/capture" regdiff -before "$work/base.reg" -after "$work/original-after.reg" -out "$work/original-delta.json" ||
{ echo 'RECIPE_RDTE stage=original_regdiff_failed'; exit 1; }
"$work/capture" regdiff -before "$work/after-remove.reg" -after "$work/replay-after.reg" -out "$work/replay-delta.json" ||
{ echo 'RECIPE_RDTE stage=replay_regdiff_failed'; exit 1; }
"$work/capture" regdiff -before "$work/replay-after.reg" -after "$work/replay-removed.reg" -out "$work/removed-delta.json" ||
{ echo 'RECIPE_RDTE stage=cleanup_regdiff_failed'; exit 1; }
python3 - "$work/original-files.json" "$work/replay-files.json" "$work/original-delta.json" "$work/replay-delta.json" "$work/removed-delta.json" <<'PY'
import hashlib, json, sys
def load(i):
with open(sys.argv[i], encoding="utf-8") as f: return json.load(f)
expected = hashlib.sha256(b"synthetic-v1\n").hexdigest()
def proof(i):
rows = [e for e in load(i)["entries"] if e["path"].endswith("WineBotInstallerFixture/installed.txt")]
assert len(rows) == 1 and rows[0]["sha256"] == expected, "RECIPE_RDTE stage=file_postcondition_invalid"
return (rows[0]["kind"],rows[0]["size"],rows[0]["sha256"])
assert proof(1) == proof(2), "RECIPE_RDTE stage=file_parity_failed"
def value(i,op):
rows = [c for c in load(i)["changes"] if "WineBotInstallerFixture" in c["key"]
and c.get("name", "") == "InstallState" and c["operation"] == op]
assert len(rows) == 1, "RECIPE_RDTE stage=registry_delta_missing"
return rows[0]
original = value(3,"added")
replay = value(4,"added")
assert original["after"]["type"] == replay["after"]["type"]
assert original["after"]["sha256"] == replay["after"]["sha256"], "RECIPE_RDTE stage=registry_parity_failed"
value(5,"removed")
PY
echo 'RECIPE_RDTE stage=wine_recipe_parity_pass'
Loading
Loading