commonagent/incident-recorder
v0.1.2Apache-2.0
Records an incident when a fleet agent goes quiet or a job fails. Reads platform activity records and the agent's own records around the failure window, builds a strict chronological timeline of known facts and gaps, and writes an incident record attributing every fact to its source. Never guesses causes, never proposes fixes, and never contacts the agent.
build-timeline
after the records for the window are read and indexed
read-records
first, on every incident recording job
record-incident
when an agent on the fleet goes quiet or a job fails and an incident must be recorded from records around the failure
write-incident-record
after the timeline is constructed and gaps are identified