docs(grpc-data): A1-core progress log — publish actor + driver signal done

This commit is contained in:
Joseph Doherty
2026-11-24 09:35:15 -05:00
parent 47bf3a1cad
commit 3ad6d7e8c7
+18 -2
View File
@@ -10,8 +10,12 @@ agent's). Branch `worktree-agent-ad44f71fa7ab46039`, based on master `cbb5b396`.
`OtOpcUaNodeManager.ConditionState.cs` + record types `ConditionStateRecords.cs` (`6836efae`, tests
`ConditionStateNodeManagerTests` 12/12 incl. parity (a)–(g), T1, T3, MaxConditions); `ConditionStateHub` + DI +
hosted-service wiring (`923c2511`, `ConditionStateHubTests` 5/5 incl. falsely-empty).
- **In progress:** `OpcUaPublishActor.MarkConditionsKnown` (deferral, F2, G3).
- **Next:** driver actors (signal, backstop, F5) + fake-driver helper; scripted `OnInputsEstablished`; manifest `A1`; gates.
`OpcUaPublishActor.MarkConditionsKnown` + G3 (`d64578b1`, `OpcUaPublishActorConditionKnownTests` 5/5);
driver actors: signal forward, routing, OpcUaClient backstop, F5 timeout (`DriverHostActor.ConditionSignals.cs`,
`ConditionSignalOptions`), tests + reusable rig `NativeAlarmSignalTestBase`/`FakeSignallingAlarmDriver` (`47bf3a1c`,
`NativeAlarmInitialStateSignalTests` 6/6).
- **In progress:** scripted `OnInputsEstablished` (engine → `ScriptedAlarmHostActor`).
- **Next:** manifest `A1`; gates; evidence tables.
## Decisions and deviations (each with a reason)
@@ -42,6 +46,18 @@ agent's). Branch `worktree-agent-ad44f71fa7ab46039`, based on master `cbb5b396`.
- **`snapshot_complete` readiness** = `ConditionStateHub.IsSnapshotComplete` = NM apply complete (false at boot and
from `RebuildAddressSpace` until `CompleteAddressSpaceApply`) AND `IDriverPrimaryRoleSource.ShouldActAsPrimary`.
- **`AlarmStateUpdate` gained an optional `Source`** (driver id / `OpcUaPublishActor.ScriptedSource`) so G3 can
discard exactly the source that lost a projection. An unattributed loss (null source, e.g. the #760 ack-revert
write) discards every deferred mark — conservative. A deferred QUALITY drop does not discard marks.
- **Live + deferred:** like `AlarmStateUpdate`, a mark received during a plan is applied live (to the old nodes) AND
deferred; the deferred copy replays after every deferred alarm/quality.
- **F5 window** starts at each `ConnectivityChanged(Connected)` edge and covers every alarm ref the driver owns at
that instant (`_alarmRefsByDriver`); a Bad edge cancels the F5 and backstop timers. Conditions added by a later
deploy while connected are not covered by F5 until the next Good edge (they still become known on the next signal).
Diagnostic cleared when a signal empties the pending set, or the driver is removed.
- **Backstop** applies only to driver type `OpcUaClient` (`ConditionKnownSettle:OpcUaClient`, default 60 s); an
`Unsignalable` report from any other type is logged and ignored (the conditions stay unknown).
## Open questions
(none yet)