test(live): capture OperationComplete trigger, subtag Clear and status rows on windev (#210, #211)
ci / nightly-windev (push) Has been skipped
ci / windows-x86 (push) Successful in 2m23s
ci / java (push) Failing after 7m49s
ci / portable (push) Failing after 16m36s

Live MXAccess captures against the windev DEV Galaxy, recorded in
docs/LiveCaptures-2026-11-13.md:

- OperationComplete follows a Suspend/Activate whose synchronous MxStatus is
  Pending (advised, resolved item); one Ok row from RespondingLmx. Pinned by
  the new OperationCompleteLiveProbeTests live fact, with an
  unresolved-reference negative control. (#211 §3.1)
- No public COM event carries completion-only status bytes. All 71
  completions were typed MXSTATUS_PROXY[], so they stay raw permanently.
  (#211 §3.3)
- Subtag-mode Clear is drivable: the TestAlarm UDAs are MxSecurityOperate,
  so AuthenticateUser + WriteSecured toggles them. The new self-driven
  LiveSubtag_SelfDrivenRaiseThenClear_SynthesizesClear fact asserts the
  UnackAlm -> UnackRtn Clear (mutation-checked). (#210 §3.7)
- The B8 buffered "NoData bootstrap" is a ConfigurationError resolution
  failure (detail 6 / 1002). The DEV Galaxy has no buffered attribute, so a
  multi-sample capture needs IDE work. provider_switches was not driven. (#210)
- Status-row catalogue for lmxopcua#872: no Warning row seen, and Pending
  only on the synchronous Suspend/Activate return.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
This commit is contained in:
Joseph Doherty
2026-11-12 23:34:46 -05:00
parent 4890a3d16e
commit 9e4be25807
7 changed files with 584 additions and 24 deletions
+21 -3
View File
@@ -576,9 +576,15 @@ Decision: model and forward `OperationComplete` only when native MXAccess fires
it. Do not synthesize `OperationComplete` from writes, command replies, ASB
completion queues, or other status frames.
Rationale: the event signature is known, but the MXAccess analysis has not yet
captured the runtime condition that triggers the public event. Synthesizing it
would risk breaking parity.
Rationale: synthesizing it would risk breaking parity.
Trigger (captured live 2026-11-13, `docs/LiveCaptures-2026-11-13.md` §1, pinned by
`OperationCompleteLiveProbeTests`): MXAccess raises `OperationComplete` after a
`Suspend` or `Activate` whose synchronous `MxStatus` is Pending (raw category 1,
detail 0). That happens only for an advised item whose reference resolved. The event
carries the same server/item handles and one Ok row detected by RespondingLmx. A
`Suspend`/`Activate` that returns Ok synchronously (already in that state, or an
unresolved reference) raises nothing, and writes never raise it.
## Buffered Data Change
@@ -589,6 +595,12 @@ The event signature and native path are known. A live buffered sample batch has
not yet been observed. Until then, preserve raw value, quality, timestamp, data
type, and status metadata whenever conversion is incomplete.
The empty `NoData` event that the rig delivers after `Advise` is a resolution
failure, not a bootstrap: its status row is ConfigurationError, detail 6 for the
`(item, context)` form and detail 1002 `InvalidPropertyId` for a full reference to an
attribute without a buffer (`docs/LiveCaptures-2026-11-13.md` §5). A multi-sample
capture needs a deployed field attribute or I/O extension with *Buffer* enabled.
## Completion-Only Status Mapping
Decision: preserve completion-only operation-status bytes as raw diagnostic
@@ -598,6 +610,12 @@ proves an exact `MXSTATUS_PROXY[]` mapping.
Do not guess status category/source/detail values for frames that MXAccess does
not expose through its public COM events.
Settled 2026-11-13 (`docs/LiveCaptures-2026-11-13.md` §2): every captured
`OnWriteComplete` and `OperationComplete` carried a typed `MXSTATUS_PROXY[]`, and no
public COM event delivers completion-only bytes. The mapping is not needed, and any
such bytes stay raw permanently. `PreserveCompletionOnlyStatusBytes` has no production
caller.
## API Key Administration
Decision: v1 API key management is a local administrative CLI/tool, not a