AgentLifecycleFactFailedEvent class

agent_lifecycle_fact_failed — emitted when the lifecycle fact mirror (FR-FBCORE-AGT-080..087) fails to write a FactRecord. Hosts listen to this to surface silent fact-write errors that would otherwise be invisible (since recordLifecycleAsFacts is best-effort by design).

Triggered from ForkEngine._store, AgentRegistry.delete, AgentRegistry.recordEvolution, and AgentRuntime.ask whenever system.facts.writeFacts(...) throws. The agent operation itself (storeOwned / delete / record / ask) still completes — the event is purely observability for diagnosing FactGraph adapter issues.

Implemented types

Constructors

AgentLifecycleFactFailedEvent({required String agentId, required String factType, required String error, required DateTime timestamp})
const

Properties

agentId String
final
error String
String form of the underlying exception (e.toString()). Hosts that want the original Object/StackTrace should hook the FactsPort adapter directly.
final
factType String
One of AgentLifecycleFactTypeagent.fork.assigned, agent.fork.evolved, agent.invoked, or agent.deleted.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
Event timestamp.
final
type String
Event type identifier.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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