RelayAgentObserver class

The relay OBSERVER the engine mounts: inspect, brief, infer, decode.

It CATCHES NOTHING. A reader failure, an inference failure and a malformed answer all complete observe with an error, and WorkSessionLiveness turns that into kRelayErrorFlare with no horizon written — which is exactly the escalation a relay that cannot answer owes (rule 5 of memento-engineering#protect-the-governor).

Constructors

RelayAgentObserver({required RelayAgentEnvironment seat, required AgentEnvironment environment, required RelayReadTools tools, required RelayInferenceRunner runner})
Creates the observer over the ARMED seat, the environment that seat selected, its read tools and its inference runner.
const

Properties

environment → AgentEnvironment
The environment selected from the seat's OWN preference.
final
hashCode → int
The hash code for this object.
no setterinherited
runner → RelayInferenceRunner
The inference seam (impls are DI).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seat → RelayAgentEnvironment
The armed relay seat — its mission, its tool set and its ceiling.
final
tools → RelayReadTools
The four read tools (impls are DI).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(RelayObservation observation) → Future<RelayVerdict>
Observes observation once and returns whether to absorb or escalate it.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited