From 34fc3ce7a9c4eb07207df0be248e177e3996570c Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sat, 14 Nov 2026 01:43:24 -0500 Subject: [PATCH] Record independent OT route and existing runtime graph audit --- .../ot-ui/ot14-root-audit/README.md | 19 + .../validation/ot-ui/ot14-root-audit/audit.py | 39 ++ .../ot-ui/ot14-root-audit/snapshot.json | 441 ++++++++++++++++++ 3 files changed, 499 insertions(+) create mode 100644 components/ui-theme/validation/ot-ui/ot14-root-audit/README.md create mode 100644 components/ui-theme/validation/ot-ui/ot14-root-audit/audit.py create mode 100644 components/ui-theme/validation/ot-ui/ot14-root-audit/snapshot.json diff --git a/components/ui-theme/validation/ot-ui/ot14-root-audit/README.md b/components/ui-theme/validation/ot-ui/ot14-root-audit/README.md new file mode 100644 index 0000000..5df749f --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot14-root-audit/README.md @@ -0,0 +1,19 @@ +# Independent OT source/graph checkpoint + +Read-only inspection after the final production slices froze; no restore, build, test, network, service, private SQL state or environment-variable read was performed by this audit. Existing assets and files were inspected without modification. Root's separately owned stale-contrast browser/test runs have their own evidence. + +Current authored source contains **31 routable components / 36 route templates**. This differs deliberately from the earlier **27 grammar-owned components**: ownership also includes Home, two retired Namespace compatibility pages and the shared Secrets wrapper. Aliases are not additional independent pages. Login delegates its heading/form to LoginCard; SecretsAdmin delegates to packaged SecretsPage. Source h1 occurrence counts include alternative loading/error/success branches; they are not simultaneous rendered heading counts. + +The earlier OT06 source records are checkpoint preservation proofs, not current byte-equality claims after authorized caller/lifecycle work. Final UI coverage must identify the actual component states and distinguish directly mounted component fixtures from a full routed SSR/authentication host. The final admin/cluster matrix remains primary-owned. This snapshot does not claim every route/state has browser coverage. + +The current default AdminUI/test project.assets.json files resolve the accepted Theme1.0.1 / Secrets.Ui1.0.1 / Abstractions0.6.6 graph. The test graph additionally resolves bUnit2.7.2 / AngleSharp1.5.2 / Css1.0.0-beta.157 / Diffing1.1.1. No bUnit/AngleSharp/xUnit/NSubstitute/test SDK/EFInMemory package appears in the AdminUI package graph. Retained Core/backend declarations remain a separately bounded source comparison in the cross-project audit; this evidence does not claim new runtime Core/backends or a fresh vulnerability audit. + +The three cached nupkg hashes in both existing package folders exactly match the accepted official deliveries: + +- Theme: `995b117b0245577598c91404ed7957c071ebe3413696c8be48b419c9deb1bd5d` +- Secrets.Ui: `cd0efe497b2efa7acb61e634b727e802e883700d7c63681f895bcc4d0c6b816a` +- Abstractions: `5cb0386469638bda89eb6c9afa25ead397b86730c3c5e43e4e496269d316acdc` + +All three default Release test package DLLs match their package files. All three last-built owned Release Hosts-fixture package DLLs also match the AdminUI asset package files. AdminUI is an RCL; its standalone output need not copy dependency DLLs, so the first read-only probe's nonexistent standalone dependency path was corrected to the actual owned fixture output. That file-location correction was an audit harness correction, not a failed product build or package mismatch. The fixture was stopped after its separate acceptance; the artifact reads its output directory, not a running service. + +`audit.py` reproduces this bounded read using the existing artifact paths and requires a new output filename. `snapshot.json` records every authored route/source hash, selected resolved versions, package/DLL hashes and zero mismatches. No fresh official download, new resolved graph, deployed runtime, clean-all-repositories or G3 acceptance is inferred. The final full Unit/SQL suite, final route/browser matrix, evidence cleanup and ledger remain open at this checkpoint. VoiceOver is excluded by the user's instruction. diff --git a/components/ui-theme/validation/ot-ui/ot14-root-audit/audit.py b/components/ui-theme/validation/ot-ui/ot14-root-audit/audit.py new file mode 100644 index 0000000..5a62ff0 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot14-root-audit/audit.py @@ -0,0 +1,39 @@ +"""Read-only route and existing restored/package/runtime graph snapshot; no restore or service access.""" +from pathlib import Path +import hashlib,json,re,sys +from datetime import datetime,timezone +root=Path('/Users/dohertj2/Desktop/OtOpcUa') +out=Path(sys.argv[1]);assert not out.exists(),'Use a new evidence path' +sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest() +components=root/'src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components' +rows=[] +for p in sorted(components.rglob('*.razor')): + text=p.read_text();routes=re.findall(r'^@page\s+"([^"]+)"',text,re.M) + if not routes:continue + rows.append({'file':str(p.relative_to(root)),'sha256':sha(p),'routes':routes,'pageTitleSourceOccurrences':len(re.findall(r'