Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

docs: record actual Windows VM blocker, source dependency and run-bound acceptance policy

davoodmehraban89 committed Oct 16, 2026 at 22:15 UTC 3918ae6b27859e9c786e41415b8ce167aaa7d3e3
1 file changed +42
docs/WINDOWS_VM_LAB_EVIDENCE_20261016.md new
+42
@@ -0,0 +1,42 @@
1 +# Windows VM laboratory — continued work and evidence (2026-10-16)
2 +
3 +## Verified repository changes (feature branch, not main)
4 +
5 +- Corrected malformed GitHub Actions artifact path expressions in both Windows workflows; retained private upload-artifact policy.
6 +- Included the native Electron UI screenshot (`treasuryflow-installed-ui.png`) in the TreasuryFlow workflow artifacts.
7 +- Added per-run `verification.json` with GitHub run ID, head SHA, runner OS/name, evidence results, URL and a fail-closed `NOT_VERIFIED` status when any actual run evidence is absent.
8 +- Tightened the installed Electron CDP smoke test to click the real SQL copy button and intercept the browser clipboard API, asserting that **edited** SQL is copied exactly. This proves the application event wiring if the Windows job passes; it is NOT a physical Windows clipboard test.
9 +- Changed the V5 build dependency check to **fail the job** when `native/MayanInterop/Program.cs` is absent, rather than skipping the desktop installer and leaving a green job.
10 +
11 +## Observed GitHub Actions evidence (before these changes)
12 +
13 +- Run: https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38944906028
14 +- Job: `treasury-windows`; conclusion: `failure`; runner name unavailable; zero executed steps; no artifacts.
15 +- Run HEAD SHA: `514283035b66a62293309e047a84bc7a9a7d4ed4` (NOT the current branch HEAD).
16 +- No confirmed Windows execution for the above changes. **Windows status: UNVERIFIED.**
17 +- Private runner availability/billing eligibility is suspected but the precise provider reason is unverified; do not infer a root cause from job failure.
18 +
19 +## V5 completeness proof
20 +
21 +The reviewed V5 CI source ZIP from the conversation has SHA-256:
22 +`674db7fc079b8d9a70739e9abbf25d52e1b2a8b888c41de85783f4b0c6f2d767`.
23 +Direct ZIP inspection found **no `native/MayanInterop/Program.cs`** despite the V5 `package.json` requiring its compiled EXE in Electron `extraResources`. The build gate must fail closed.
24 +
25 +The sanitized Mayan QA ZIP SHA-256 is:
26 +`c71bb56a7de35d9e80b98e93ed19152d1d7969d0eeec0ab29ae02a4bcef5d862`.
27 +It is a sanitized local test candidate; activation, real GUI functionality, authentic bank output and parity are **UNVERIFIED**.
28 +
29 +## Independently executed offline tests
30 +
31 +The 15-case standalone synthetic Mayan/Treasury comparison suite available in the local work folder was run on **Linux Node.js 22** with:
32 +`node --test comparison/tests/mayan-treasury-compare.test.mjs`.
33 +Observed result: 15 passed, 0 failed, 0 skipped. This is a local contract test, not a GitHub Actions run and not real application output parity.
34 +
35 +## Next gate and required external actions
36 +
37 +1. Confirm GitHub Actions Windows runner availability for the **private** TreasuryFlow repo under account/repository Actions and billing settings. No paid change should be made without user's explicit approval.
38 +2. Recover the missing genuine native bridge source from the Windows project worktree; inspect its contents for secrets prior to uploading.
39 +3. Once runners are available, run `windows-vm-treasury-lab.yml` for **the exact head SHA** with the sanitized complete V5 source asset and SHA-256. Require all Windows steps and `verification.json` evidence; a previous green run does not count.
40 +4. Stage a separately authorized, secret-free Mayan QA package to execute the isolated WinForms structural probe. Real parity requires both applications producing captured outputs for the same synthetic inputs; do not equate fixture-only tests with runtime evidence.
41 +
42 +No merge to `main`, no deployment, no live bank connection, no customer data upload or money movement performed.