Commit Graph

823 Commits

Author SHA1 Message Date
Joseph Doherty 8969bee6a9 fix(theme): make shared status and supporting text readable 2026-11-13 15:36:57 -05:00
Joseph Doherty cf432c00bd docs(theme): define accessible theme release contract 2026-11-13 15:33:52 -05:00
Joseph Doherty 99f22b4148 test(ui): accept seven-project bUnit 2.7.2 migration 2026-11-13 15:32:41 -05:00
Joseph Doherty d36462ae7a docs(execution): record authorized checkout recovery 2026-11-13 15:15:53 -05:00
Joseph Doherty bb1c3ba97b docs(testing): record worktree blocker after three checks 2026-11-13 14:46:45 -05:00
Joseph Doherty c1334df736 docs(testing): record partial bUnit verification and open gate 2026-11-13 14:42:44 -05:00
Joseph Doherty 8232f3a9ee test(overview): migrate renderer fixtures to bUnit 2.7.2 2026-11-13 14:41:17 -05:00
Joseph Doherty f96104245e test(secrets): migrate UI fixtures to bUnit 2.7.2 2026-11-13 14:41:17 -05:00
Joseph Doherty 9bda64ec4b test(theme): verify bUnit 2.7.2 with patched DOM parser 2026-11-13 14:41:17 -05:00
Joseph Doherty 1118e0418e docs(ui): normalize review file endings 2026-11-13 14:40:42 -05:00
Joseph Doherty ad7b37d200 docs(ui): preserve family review and phased execution plan 2026-11-13 14:40:21 -05:00
Joseph Doherty 9c3ab5fcb7 docs(index): OtOpcUa v2 GA release-ready - G1 retired 2026-11-13 10:33:52 -05:00
Joseph Doherty 81c405292e docs(history): OtOpcUa G2/G7 recorded; vd03 config deploy e9fbe63e 2026-11-13 10:32:20 -05:00
Joseph Doherty 9c0a7cca46 docs(index): ScadaBridge QA vq03/vq04 audit hash chain enabled (#107, anchor 14:07:43Z, verify-chain Intact)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 09:13:23 -05:00
Joseph Doherty 238050eebf docs(index): OtOpcUa QA pair on Warm redundancy (#907); ScadaBridge QA WarmCanary connection, #138 gated live
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 09:01:57 -05:00
Joseph Doherty a274c3d824 docs(index): ScadaBridge 8e32f353 deployed to QA vq03/vq04 (migrations 58->64, #116 leader-auto-down, not drilled)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 08:14:22 -05:00
Joseph Doherty c398f36318 docs(index): OtOpcUa #615 closed — G5 signed off 2026-11-13 08:09:48 -05:00
Joseph Doherty 0914879915 docs(index): OtOpcUa 76e73e7d deployed to DEV vd03 + QA (#906 proven, #905, #717 inert, #900; lmxopcua#908)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 07:51:51 -05:00
Joseph Doherty 2717d7c23b docs(index): OtOpcUa #717 closed, #615 G9 PASS + G8 waived, Heidenhain accepted 2026-11-13 07:47:31 -05:00
Joseph Doherty 027eb354fd docs(index): deployed-state note — ScadaBridge vd03 now 8e32f353
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 07:22:14 -05:00
Joseph Doherty 029f4aab50 docs(index): ScadaBridge 8e32f353 deployed to DEV vd03, audit hash chain enabled (#107, #131, #139)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 07:22:00 -05:00
Joseph Doherty 65d8552584 docs(index): OtOpcUa pins HistorianGateway Client 1.1.0 (76e73e7d, lmxopcua#900)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 07:18:04 -05:00
Joseph Doherty 276260ae3b docs(localdb): 0.3.8 published and pinned in OtOpcUa + ScadaBridge (scadaproj#57)
Feed SHA256 prefixes: core 407ffd49, Contracts b397b6d8, Replication
d3e37254. Pins: OtOpcUa 47f0b98c, ScadaBridge 8e32f353.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 07:09:35 -05:00
Joseph Doherty 0be9e2ab97 docs(index): OtOpcUa #780 closed — QA scripted-alarm drill passed
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 06:54:19 -05:00
Joseph Doherty 14c29f48bf chore(localdb): bump to 0.3.8 (scadaproj#57)
Ships 3ddb083: sync streams end on ApplicationStopping and new streams
are refused Unavailable while stopping (lmxopcua#906). 262/262.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 06:40:58 -05:00
Joseph Doherty 3cb0104e88 docs(index): correct #717 test/mutation counts
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:46:05 -05:00
Joseph Doherty ee9b403c4f docs(index): OtOpcUa #717 Warm redundancy implemented default-off (f817c77e)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:45:46 -05:00
Joseph Doherty d5cb6ba2c0 docs(index): HistorianGateway 6365f34 deployed to DEV vd03 + QA vq04/vq03 (historiangw#135)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:36:44 -05:00
Joseph Doherty 2fe0582d7e docs(localdb): note unreleased #906 sync-stream shutdown fix (scadaproj#57)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:29:49 -05:00
Joseph Doherty 3ddb083b4c fix(localdb): end open sync streams on ApplicationStopping (lmxopcua#906)
LocalDbSyncService observed only the call token, which ASP.NET Core cancels
at the END of Kestrel's graceful drain. A peer's sync stream never ends on
its own, so every graceful stop of the passive node waited out the host's
whole ShutdownTimeout (30 s on OtOpcUa QA).

The service now takes an optional IHostApplicationLifetime (DI supplies it
in any generic host): ApplicationStopping is linked into the stream's token
and ends the session cleanly, and a stream arriving once stopping has begun
is refused Unavailable. Wire-compatible; no proto/schema change.

Tests: open stream ends within 5 s of StopApplication, new stream refused
Unavailable, control without a lifetime still running; both halves
mutation-killed. 262/262. Source only, NOT published (still 0.3.7).

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:29:31 -05:00
Joseph Doherty fa68b0ea02 docs(index): OtOpcUa #780 ScriptedAlarm seam on QA, vd03 runner flipped to OutOfProcess
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 03:15:51 -05:00
Joseph Doherty 65197ca1a2 docs(index): OtOpcUa c9640f5c deployed to DEV vd03 + QA vq03/vq04
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 02:58:23 -05:00
Joseph Doherty 127f07e1ef docs(glauth): LDAPS trust options, ldapwhoami gotcha, windev mxgw on :3894 (mxaccessgw#180)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 02:42:32 -05:00
Joseph Doherty 53013eb2d8 docs(index): OtOpcUa DEV vd03 at 6c4d2990 (read-only historian bindings); lmxopcua#700 closed
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 01:37:13 -05:00
Joseph Doherty 178ef651f9 docs(index): HistorianGateway Contracts + Client 1.1.0 published (historiangw#135)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-13 01:36:21 -05:00
Joseph Doherty 6d3fcaaa73 docs(index): mxaccessgw QA vq03/vq04 on 76a71bc8 (mxaccessgw#229, #170)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 23:48:32 -05:00
Joseph Doherty 4909946104 docs(overview): Phase 4 live acceptance complete - OtOpcUa one-Active + leader/split-brain chips pass (#14)
Re-ran the two design 9 checks that were blocked for OtOpcUa on 2026-07-24, against a
docker-dev rig from OtOpcUa master 412da27c (Health 0.3.0) with the dashboard in a
container on the rig network:

1. one Active per pair: exactly one /health/active 200 per mesh (MAIN central-2,
   SITE-A site-a-1, SITE-B site-b-1), dashboard shows one ACTIVE + one STANDBY each;
2. leader chip on every group; network-partitioning site-b-2 from site-b-1 produced
   two 1-member clusters, both Active, and the SPLIT BRAIN chip, which cleared once
   site-b-2 was restarted (healing the link alone does not merge two Akka clusters,
   the documented OtOpcUa recovery); stopping site-a-1 moved the SITE-A chip.

Evidence (screenshots, /health/active bodies, timeline) under
docs/plans/evidence/2026-11-12-overview-phase4/. Ledger task 20 -> completed (20/20).

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 22:47:13 -05:00
Joseph Doherty 2859d9ebfc docs(history): ScadaBridge OPC UA client on SDK 2.0.1 (ScadaBridge#125 closed, a2e9d718)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 22:24:07 -05:00
Joseph Doherty 41a5e4d187 docs(observability): Telemetry 0.3.1 published, adopted by all four apps, export spans gone at the collector (#56)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 22:21:07 -05:00
Joseph Doherty 71b8595742 feat(infra): per-box OTel collector on the wonder tiers; apps switched to OTLP (#54)
ZbOtelCollector (otelcol-contrib 0.162.0, NSSM, NT SERVICE\ZbOtelCollector, every
listener on 127.0.0.1, file + Prometheus exporters, size-capped rotation) on DEV
vd03 and QA vq03/vq04. OtOpcUa, ScadaBridge Central + Site, MxAccessGateway and
HistorianGateway export OTLP to http://127.0.0.1:4317 via two service-env entries
each; rolling restarts, standby-first on the QA pairs. Overview has no exporter
binding and is unchanged. Config, install/switch/verify scripts, runbook and the
dated rollout record under infra/otel-collector/wonder/; evidence doc, GAPS,
index row and deployment.md updated.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 22:10:15 -05:00
Joseph Doherty 85654d7b43 fix(telemetry): 0.3.1 OTLP export calls are not traced as client spans (#56)
The Serilog OTLP log sink is not part of the OTel SDK and does not run
inside SuppressInstrumentationScope, so every log batch produced a root
opentelemetry.proto.collector.logs.v1.LogsService/Export gRPC client span.

AddZbTelemetry now drops telemetry's own transport from tracing:
- HttpClient instrumentation: FilterHttpRequestMessage rejects export calls
- gRPC client instrumentation (no Filter option): the start-time
  EnrichWithHttpRequestMessage callback clears Recorded/IsAllDataRequested,
  which also leaves the child HTTP activity unsampled.
An export call is any /opentelemetry.proto.collector.* path, or an
OTLP/HTTP /v1/{traces,metrics,logs} path on the configured endpoint's
host:port (ZbOtlpExportCallFilter). Every other outgoing call keeps its span.

Tests: predicate theory + an end-to-end run against a loopback OTLP
receiver with positive controls (app gRPC + HttpClient calls traced) and
negatives (the real log-sink export, /v1/logs, gRPC path over HttpClient);
mutation-checked three ways.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 22:09:24 -05:00
Joseph Doherty d93ca7b8c2 docs(observability): ScadaBridge Central role over OTLP proven on the rig (ScadaBridge#133)
Metrics, traces and logs from both rig centrals with node.role=Central and site.id=central;
deployments.applied and inbound_api.requests arrive. Follow-ups scadaproj#56 (log-export
self-spans) and ScadaBridge#134 (rig image lacks git SHA).

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:49:33 -05:00
Joseph Doherty ca81dcbdd2 docs(observability): correct the 0.3.0 library commit SHAs after rebase (#55)
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:29:37 -05:00
Joseph Doherty f05ce80269 docs(observability): Telemetry 0.3.0 published, adopted by all four apps, logs over OTLP proven (#55)
Evidence doc gains the #55 section (root cause of no logs, 0.3.0 contents + SHA256,
per-app commits, collector output per app: service.version, site.id, node.role and
log records on OtOpcUa, HistorianGateway, ScadaBridge Site and MxAccessGateway).
GAPS, current-state, SPEC, the Telemetry CLAUDE.md and the index row updated;
infra/otel-collector gains otelidentity.py (Resource per signal + log samples).

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:28:50 -05:00
Joseph Doherty 2011c8d6b9 feat(telemetry): 0.3.0 ApplyConfiguration reads an app's telemetry section (#55)
Exporter, OtlpEndpoint, ServiceVersion, SiteId, NodeRole, ExportLogs and
ResourceAttributes:<key> from <App>:Telemetry, absent keys keep code defaults, so
the four apps stop re-implementing the exporter parse and gain the identity keys.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:28:50 -05:00
Joseph Doherty cfc7168ace feat(telemetry): 0.3.0 service.version default, ResourceAttributes, logs follow AddZbTelemetry OTLP (#55)
- service.version: null ServiceVersion now defaults to the entry assembly's
  AssemblyInformationalVersion (the family apps stamp the git SHA there); "" omits it.
- ResourceAttributes: extra Resource attributes on every signal; first-class keys
  (service.*, host.name, site.id, node.role) are reserved and rejected at startup.
- Logs over OTLP: AddZbTelemetry publishes its options in DI and AddZbSerilog's OTLP
  log sink follows them when its own options do not select Otlp, so
  <App>:Telemetry:Exporter=Otlp now switches logs along with metrics and traces, with
  the same endpoint and Resource. ExportLogs=false opts out.
- Ships the unpublished 0.2.1 review fixes, including the stricter OTLP endpoint check
  (scheme-less host:port rejected when Exporter=Otlp); no app config sets an endpoint.
- Tests 42 -> 74, incl. a loopback OTLP/gRPC receiver proving logs arrive with the
  Resource, and an ExportLogs=false case with a metrics positive control.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:28:50 -05:00
Joseph Doherty 616e913f3e docs(index): mxaccessgw 76a71bc8 deployed on DEV vd03 (#226 + #228 verified live, mxaccessgw#229); QA pending
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:25:17 -05:00
Joseph Doherty e6a724ba8e docs(index): mxaccessgw #228 Write2 time-argument fix on main 9ef6fc84, deploy tracked #229
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 21:01:10 -05:00
Joseph Doherty e1a2df83f7 feat(infra): shared dev OTel collector; OTLP proven end to end for all four apps (#13)
- infra/otel-collector/: zb-otel-collector (otelcol-contrib 0.162.0) on 10.100.0.35 —
  OTLP gRPC :4317 / HTTP :4318, debug + file exporters, Prometheus re-export :8889,
  health :13133; README runbook + otelsum.py summariser. Deployed.
- components/observability/2026-11-12-otlp-end-to-end-evidence.md: metrics + traces
  received from OtOpcUa, HistorianGateway, ScadaBridge (Site) and MxAccessGateway;
  OtOpcUa Galaxy driver allowlist defect fixed in lmxopcua#892 (db86b996).
- GAPS.md, current-state banners, index row, Telemetry CLAUDE.md: #13 closed; follow-ups
  #54 (wonder-tier collector), #55 (resource identity + logs over OTLP), ScadaBridge#133
  (Central role). Telemetry 0.2.1 deliberately left unpublished (no lib change needed).

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 20:48:36 -05:00
Joseph Doherty f98ba08910 docs(index): Auth 0.5.0 published (ILdapGroupLookup; 0.4.2-0.4.4 first published), scadaproj#51 closed
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
2026-11-12 20:11:16 -05:00