3.6 KiB
ScadaBridge component validation host
Disposable localhost-only host retained for reviewed ScadaBridge UI batches through consumer commit d370dbd3. It renders actual CentralUI components through a project reference and delivered Theme1.0.1/Secrets.Ui1.0.1/Secrets.Abstractions0.6.6. Historical G1 canary files and acceptance remain separate under theme-1.0.0; this host does not redefine that baseline.
The default project-reference path is the user-authorized /Users/dohertj2/Desktop/ScadaBridge checkout. Override MSBuild ScadaBridgeRoot when reproducing elsewhere. Program.cs exposes /canary-provenance, rejects authentication writes, and registers synthetic read projections/rejecting mutation proxies. There is no database, Akka actor system, fleet, LDAP or COM service connection. Query-string role values are synthetic local principals evaluated by real UI policies, not application authentication or every-route authorization acceptance. Secrets metadata has no value/ciphertext; value reads, encryption, audit and writes reject calls.
dotnet restore components/ui-theme/validation/scadabridge-ui/host/ScadaBridgeUiCanary.csproj --artifacts-path /tmp/scadabridge-ui-chapter-artifacts --packages /tmp/scadabridge-secrets101-official-packages --no-http-cache
dotnet run --project components/ui-theme/validation/scadabridge-ui/host/ScadaBridgeUiCanary.csproj --no-restore --artifacts-path /tmp/scadabridge-ui-chapter-artifacts --no-launch-profile --urls http://127.0.0.1:5201
Use the configured approved NuGet feeds. Do not put credentials into this folder. Port5201 was coordinated for this task; choose a free loopback port for future concurrent fixtures and update the script origin. Never stop another task's listener.
Routes include /overlays, /form-samples, /batch-two?sample=dashboard, /presentation, /operations-canary?role=Viewer, /topology-canary?role=Deployer, and /secrets-canary?role=secrets-manager. Source/page notices identify illustrative observations. MainLayout/site.css are the actual consumer authority, including its supported-dark adapter; canary CSS does not supply an alternate dark palette. App.razor copies the existing consumer pre-hydration preference script exactly for isolated script-behavior checks.
ScadaBridge's docs/ui-consistency/ScadaBridge-verification.md and evidence/sb01-03, sb04-06, sb07-09, sb10-12, sb13-15 retain real commands, raw failing measurements, corrected checks, package/runtime hashes, TRX and screenshots. In particular, early requested-dark/coarse and immediate pre-scroll/pre-Clear measurements were not accepted as successes. Final logical acceptance references their focused corrections explicitly.
Browser scripts live in the ScadaBridge checkout's infra/tools. They use separate Python Playwright Chromium contexts and the retained real-browser zoom helper (theme-1.0.0/canary/browser_zoom.py), never the shared MCP tab. Real200% zoom must record720 CSS pixels/DPR2 for a1440 viewport; use viewport screenshots. Verify actual pointer:coarse/maxTouchPoints rather than trusting a requested touch context; native CDP touch emulation supplied verified contexts where Chromium initially reported a fine pointer. Await actual interactive state and native smooth scrolling before measuring.
The source baseline covers44 page components/57 route declarations plus the shared Secrets package route; browser acceptance is representative actual components, not a claim that every route ran in a complete deployed host. Production legacy-name/tombstone inventory, legacy exact-target DIM restrictions and deployment remain rollout limits. No production scan or deployment is authorized by this fixture.