Direct answer
An incident timeline built from Claude Code evidence is a sequence of observations linked by identifiers, not a story about why something broke. prompt.id and request_id let you join agent telemetry to the requests that carried it, tool decision events record what the agent tried to do and what decided the outcome, and cloud audit records show what actually changed in the infrastructure. Build the timeline in that order: gather sources, normalize clocks, join on identifiers, then mark every gap. The concrete win is a defensible sequence of events that a reviewer can check line by line. The concrete loss is that correlation is not causation. Two records sharing a request ID happened near each other; proving one caused the other needs the cloud audit record, the change ticket and the decision evidence together. A summary paragraph, from the agent or from a person, is not an authoritative timeline.
Why timelines fall apart without a method
Infrastructure incidents produce evidence in several systems at different clocks. The agent exporter records prompts and tool decisions. The cloud control plane records API calls. The Kubernetes audit log records writes to objects. Terraform records plan and apply invocations. Each system has its own timestamp source, its own identifier namespace and its own retention window.
Without a method, three problems appear on every incident. Records cannot be joined, so the timeline becomes parallel lists that someone reconciles by memory. Clock skew makes the order ambiguous, and the order is usually the first thing a reviewer asks about. Missing events go unnoticed because nothing marks their absence, and the narrative fills the gap with a plausible guess.
There is a specific trap with agent evidence. A session summary reads like a timeline. It is a generated narrative, and it can be wrong in ways that look authoritative. One community report, Claude Code issue 6452, describes incorrect session summaries. Treat that as a reason to verify summaries against raw events, not as proof of a universal defect or a confirmed fix.
The cost of a weak timeline is paid twice. During the incident, a wrong sequence sends responders to the wrong subsystem. After the incident, a wrong sequence sends the postmortem to the wrong contributing condition. Both costs are avoidable with a method that separates what is observed from what is inferred.
Timeline sources
Start by listing where evidence can come from, then check what each source can and cannot support.
| Timeline source | Timestamp field to read | Clock caveat |
|---|---|---|
| Claude Code agent telemetry | Event timestamp on prompt, tool and API events | Generated at the agent host; depends on host clock sync |
| Cloud control-plane audit log | Event time recorded by the cloud service | Authoritative for the control plane, not for the agent host |
| Kubernetes audit log | Request received timestamp | API server clock, not node clock |
| Terraform plan or apply log | Local command timestamp | Local workstation or CI runner clock |
| On-call chat and ticket updates | Human-entered time | Often entered after the fact, so treat as approximate |
| Monitoring alerts | Alert firing timestamp | Evaluation window can lag the underlying condition |
Read the table as a coverage map. Agent telemetry covers intent and decisions. Cloud and Kubernetes audit logs cover what actually reached the infrastructure. Human records cover context that no system captures. A timeline that uses only one column will be blind in a predictable direction.
Time normalization
Normalize every timestamp to UTC before joining anything. Local clocks, browser time and log-forwarder delays all introduce offsets that make the order wrong by minutes.
Three practical steps are enough. Record the source timezone alongside each timestamp. Record the collection delay where it is known, because a log that arrived three minutes after the event is not the same as an event three minutes later. Mark any source whose clock synchronization cannot be verified, and treat its ordering as uncertain rather than silently averaging it with the others.
Clock skew between an agent host and a cloud service is common enough to expect. NTP drift of a second or two is usually harmless. A virtual machine that resumed from a paused state can be off by much more. When two records are within a few seconds of each other, do not rely on order alone; look for a causal link or mark the sequence as uncertain.
Request and prompt IDs
Claude Code documents prompt.id and request_id as correlation attributes that link API requests to the prompts that caused them. Those two fields are the join keys for the agent side of the timeline.
| Event | Correlation key | Confidence in the link |
|---|---|---|
| Agent prompt event to API request | prompt.id |
High when both records are retained |
| API request to API error event | request_id |
High within the retention window |
| Agent tool decision to cloud write | Request identifier propagated to the tool call | Medium; depends on the tool propagating it |
| Cloud write to change ticket | Ticket identifier recorded in the tool arguments | Medium; depends on process discipline |
| Session summary to underlying events | No direct key; regenerate from events | Low; treat as narrative, not evidence |
Read the confidence column honestly. A high-confidence link means the identifier is present in both records. It does not mean the second record was caused by the first. That distinction is the difference between correlation and causation, and the whole method depends on keeping it.
Propagation is the hard part. request_id exists in the agent telemetry, and the cloud audit record has its own request identifier. They join only if something carries the agent identifier into the cloud call. Some tools do this naturally through user-agent strings or client request tokens. Where they do not, a wrapper that records the mapping at call time is the practical fix.
Decision events
Tool decision events record what the agent requested and what decided the outcome, including whether the decision came from configuration, hooks or a human. Those events are the most useful part of agent evidence for an infrastructure incident, because they show the moment of intent.
Three questions make a decision event useful in a timeline. The action requested, expressed as the tool and its arguments in abstract form. The source of the permission decision, which is what decided the outcome. The resulting tool result or API event, which is what happened next. A decision event without the third part is an intention, not an action, and the timeline should say so.
The SOC 2 change evidence packets post covers turning these decision records into change-management evidence. A permission outcome is not automatically a business change approval, and the timeline should never present it as one.
Cloud event alignment
Cloud audit records are the authoritative account of what changed in the infrastructure. Aligning them with agent evidence is where correlation becomes concrete.
| Cloud event | Agent-side counterpart | Alignment method |
|---|---|---|
| Control-plane write | Tool decision requesting the change | Propagated request identifier, or time plus actor window |
| Read or list call | Tool result from a read-only command | Time window plus actor identity |
| Denied API call | Tool decision with deny outcome | Time window plus the requested action |
| Configuration change to a service | Terraform apply record or plan output | Apply log plus saved plan reference |
Alignment by time plus actor is weaker than alignment by identifier, and the timeline should say which method was used. When the only link is a time window, mark the event pair as correlated-by-time and record the window size. A reviewer reading the timeline later needs to know which links are strong and which are convenient.
The cloud provider documentation, including the AWS CloudTrail user guide, describes the record structure for that provider. Record structures differ across providers, so the alignment method should be checked against the specific audit service in use.
Uncertainty markers
Mark uncertainty explicitly. A timeline without uncertainty markers invites a reader to treat every entry as equally certain, which is exactly the mistake that turns a plausible narrative into a wrong conclusion.
Use a small, consistent vocabulary. Observed means a record exists and was read directly. Correlated means two records were joined by an identifier. Correlated-by-time means two records were joined by a time window and an actor, with the window recorded. Inferred means a conclusion drawn from the evidence, not a record. Unknown means no evidence was found, which is a finding in its own right.
| Observation | Reasonable hypothesis | Verification still needed |
|---|---|---|
| Agent requested a security group change at 09:14 | The request may have caused the later connectivity change | Cloud audit record showing the actual write and its result |
| Cloud record shows a write at 09:15 by the agent identity | The write may have taken effect immediately | Service-level evidence that the new rules were active |
| Error rate rose at 09:21 | The change may have caused the errors | Correlation with the affected path, and a rollback test |
| No agent events between 09:21 and 09:40 | Either no agent activity or telemetry was dropped | Exporter health and event counts for the window |
Read the table as a discipline, not as a template for this specific incident. The hypothesis column is where a timeline earns its keep, and the verification column is what keeps it honest.
Narrative review
A timeline and a narrative are different artifacts. The timeline is the evidence-ordered sequence. The narrative explains what the sequence means. Writing them separately keeps the evidence from being bent to fit a conclusion.
Two review questions catch most narrative drift. Does every claim in the narrative point to a timeline entry? Does every timeline entry marked inferred or correlated-by-time have a matching caveat in the narrative? A narrative that skips an uncertain entry is hiding a gap. A timeline entry that supports no claim in the narrative may be noise, or may be a gap in the narrative that a reviewer should question.
Session summaries deserve specific skepticism. Generate the timeline from events, then compare it with any generated summary. Where they differ, trust the events. The community report on incorrect session summaries is one reason; the general reason is that a summary is generated text with no obligation to preserve ordering or gaps.
Timeline handoff
Hand the timeline to the postmortem as a structured artifact, not as prose in a chat channel.
# Example timeline entry shape; adapt field names to your incident tooling
time_utc: 2026-11-28T09:14:03Z
source: agent_telemetry
entry: tool_decision
correlation: prompt.id=abc123, request_id=req456
confidence: observed
note: agent requested security group rule change, decision source=humanThe shape above is an example, not a required schema. What matters is that every entry carries a source, a correlation key where one exists, a confidence label and a note. A timeline stored this way can be reviewed, challenged and corrected line by line, which is the property that makes it useful under pressure.
Handoff also means stating what is missing. A timeline that ends with a list of unknowns is more useful than one that ends with a confident conclusion, because the unknowns tell the next responder where to look.
Worked example of a short timeline
Consider a compact example using the source types above. At 09:14:03 the agent telemetry shows a tool decision requesting a security group rule change, with a human as the decision source. At 09:15:41 the cloud audit log shows a successful write by the agent identity to that security group. At 09:21:00 the monitoring system fires an alert on error rate for the affected service.
The agent record and the cloud record can be correlated by time plus actor, because no propagated identifier links them directly. That makes the 09:14 and 09:15 pair correlated-by-time. The alert at 09:21 is observed. Whether the change caused the errors is a hypothesis, and verifying it needs service-level evidence that the new rule was active and a rollback that shows the errors stop. The timeline records the three events in order, marks the first link as correlated-by-time, and leaves causation as a hypothesis with a named verification step.
That example is illustrative arithmetic on the kind of records described in F076 and F077. It is not a real incident, and no claim is made about any specific outage.
Concrete win, concrete loss, practical implication
The concrete win is a sequence a reviewer can check. With sources listed, clocks normalized and joins labeled by method, a second engineer can verify the timeline without re-running the incident.
The concrete loss is speed. A disciplined timeline takes longer to build than a confident paragraph, and during an active incident that cost is real. The discipline pays for itself in the postmortem and in the next incident, not in the first ten minutes.
The practical implication is to keep correlation and causation in different columns. Correlation is a property of identifiers and time windows. Causation is a conclusion that needs verification. A timeline that mixes them produces confident wrong answers, and those are the answers that get repeated.
Stop conditions and escalation
Three conditions should stop timeline work and escalate. First, if the evidence needed to join records is not retained, stop reconstructing and escalate to the platform owner of the telemetry pipeline. Second, if two credible records contradict each other, stop and escalate rather than choosing one silently. Third, if the timeline is about to be used to assign individual blame, stop and route it to the blameless postmortem process, which handles human and tool decisions without turning them into accusations.
A fourth condition is operational. If the incident is still active, the timeline is a live artifact and should be maintained by the incident commander, not rebuilt from scratch by whoever asks next. Hand it over with its confidence labels intact.
Joining agent evidence with change records
Most infrastructure incidents have a change record somewhere. Terraform, Kubernetes manifests and cloud console actions all leave traces, and joining them to agent evidence is what turns two lists into one sequence.
Terraform is the easiest case because the plan command produces a reviewable proposal before apply. A saved plan reference, recorded in the tool arguments at decision time, gives the timeline a direct pointer from the agent’s intent to the change that was reviewed. The Terraform plan review gates post covers tying human approval to a saved plan, which is exactly the discipline that makes the timeline join strong. Where a plan was saved and referenced, record the reference in the timeline entry. Where it was not, the join falls back to time plus actor.
Kubernetes changes join through the audit log. A write to an object appears in the API server audit stream with the identity that made it and the object that was touched. The agent’s tool decision names the same object in its arguments. Joining on object identity plus a narrow time window is stronger than time alone, and it is the method to prefer for cluster changes. The Kubernetes server-side apply ownership checks post explains why field ownership matters when two managers touch the same object, which is a common source of the surprise a timeline is trying to explain.
Cloud console changes are the hardest case. A change made by a person, outside the agent, can still be the real cause, and the timeline should not assume the agent was involved just because an agent was active that morning. Record actor identity for every cloud event and let the identity, not the presence of an agent session, decide whether the agent is in scope.
Drift is a special alignment problem. A resource can differ from its declared configuration for reasons that predate the incident, and a drift triage pass distinguishes pre-existing drift from a change made during the window. A timeline that treats pre-existing drift as a recent change will point at the wrong event.
Cluster changes bring their own alignment questions. A NetworkPolicy blast radius review explains why allowed traffic is the union across policies, which matters when a timeline shows a connection change and the reviewer needs to know which policy produced it. A Pod security admission gate review matters when the timeline shows a workload that failed to schedule, because the admission result is a distinct event from the runtime behavior that followed.
Identity ties the whole alignment together. Every record in the timeline has an actor, and whether that actor is an agent identity, a person, or a service account is the question that decides whether agent evidence is even in scope. The access reviews for agent identities post covers recertifying those identities, which is what keeps the actor column meaningful. Without current identity records, a timeline that names an actor names a stale mapping.
Approval records are the last alignment input. A risk-tiered approval decision recorded before the change tells the timeline whether the change was authorized at the right level. A change with no matching approval record is a finding in its own right, and the timeline is where that finding surfaces first.
What agent evidence cannot tell you
Three limits on agent telemetry shape what a timeline can honestly claim.
Intent is not effect. A tool decision records what the agent requested. Whether the request succeeded, partially succeeded or was denied by a downstream control is a separate record, usually in the cloud or cluster audit log. A timeline that stops at the decision has recorded an intention and implied an action.
Business context is absent. Telemetry records that a change was requested and by which identity. It does not record why, which ticket authorized it, or which service it was meant to help. Those live in the change ticket and the on-call channel, and the timeline needs a column for them.
Coverage is partial. Telemetry is configured, sampled, truncated and retained within limits. Absence of an agent event is not proof of absence of agent activity, which is why exporter health belongs in the same review as the timeline. The audit evidence integrity checks post covers completeness assessment for evidence in general.
Each limit has a cheap mitigation. Pair every tool decision with its cloud-side outcome. Add a ticket reference column and fill it during the incident, when the context is fresh. Run a pipeline health check before the timeline is published, which is the subject of log pipeline health checks before triage.
Checklist before you publish a timeline
| Item | Expected evidence | Failure interpretation |
|---|---|---|
| Every entry has a source and a timestamp | Entry-level source field is populated | Unattributed claims in the sequence |
| Clocks normalized to UTC | Timestamps all in one zone with offsets recorded | Ordering may be wrong by minutes |
| Joins labeled by method | identifier, time-plus-actor, or none recorded | Readers assume all joins are equally strong |
| Uncertainty markers present | Observed, correlated, inferred, unknown used | Narrative presented as fact |
| Gaps listed explicitly | Unknown section at the end | Missing events hidden by prose |
| Summary checked against events | Differences documented | Generated summary treated as ground truth |
| No individual blame in entries | Entries name systems and decisions, not people | Timeline being used for blame |
Data gap and future update
No official Claude Code documentation was found that describes a timeline reconstruction feature. The correlation attributes in F076 and the event types in F077 are documented product telemetry; the reconstruction method around them is a derived workflow.
The AWS CloudTrail user guide was listed as a canonical source but not full-page fetched during research, so record-structure details for that specific service should be verified before relying on a fine field name. The CISA Logging Reference Architecture was available through search rather than a full fetch, and the general incident-response framing in F088 rests on that access level.
One community report on incorrect session summaries, issue 6452, is included as a reason to verify summaries. Its resolution state and generality are unknown from this research pass, and no fix version is claimed.
One AI API Key option for OpenAI-format agents
Claude Code uses an Anthropic-format route, so the One AI free model IDs are not a Claude Code model source. The packet records Claude IDs as unavailable on 2026-11-27.
OpenAI-format agents have a separate route: One AI API Key offers https://api.oneaiapikey.com/v1, one key and 46 live free IDs. It is a different client and request format, not a workaround for Claude Code authentication. Check the free model list and eligibility notes before choosing an agent route, or read the quickstart for the request shape. The cost calculator is the fastest way to compare it with a paid route.
FAQ
Does a matching request ID prove the agent caused the change?
No. A shared identifier proves the records describe the same request. Causation needs the change record, the decision evidence and usually a rollback or test. Correlation and causation stay in different columns for that reason.
Can I use a session summary as the timeline?
Treat a summary as a narrative to check, not as evidence. Generate the timeline from events first, then compare. A community report on incorrect session summaries is one reason to be careful, and the general reason is that a summary has no obligation to preserve ordering or gaps.
How do I handle two sources that disagree on the time?
Record both timestamps with their source and the offset, and mark the ordering as uncertain rather than averaging them. A discrepancy is a finding. Averaging hides it.
What if the cloud audit record has no agent identifier?
Fall back to time plus actor, and label the link correlated-by-time with the window size. Stronger joins require propagating an identifier into the tool call, which is a wrapper or process change rather than something the timeline can fix after the fact.
Who owns the timeline during an active incident?
The incident commander. Reconstructing it in parallel by several people produces competing sequences, and the confidence labels get lost. One owner maintains it and others contribute entries.
Related reading in this batch
Continue with OpenTelemetry semantic conventions for agents for the attribute names behind these joins, SLO burn rate alerts during changes for reliability signals during a change window, error budget release policy for the change decision that follows, blameless postmortem evidence for turning the timeline into postmortem inputs, and log pipeline health checks before triage for proving the pipeline before trusting it.
More from this batch
- OpenTelemetry Semantic Conventions for Claude Code Agents
- SLO Burn Rate Alerts During Claude Code Changes
- Error Budget Release Policy for Claude Code Automation
- Blameless Postmortem Evidence From Claude Code Sessions
- Log Pipeline Health Checks Before Claude Code Triage
More Claude Code incident and evidence reading
- Audit evidence integrity checks for assessing completeness before using evidence
- Break glass incident access controls for governing emergency access during response
- Change freeze emergency rules for the emergency change path around an incident
- Incident tabletops aligned to NIST practice for exercising the human process
- Outages: status signals and failover for provider-side incident signals
More Claude Code troubleshooting
- Claude Code Terraform State: Locking and Access Controls
- Claude Code Kubernetes RBAC: Least Privilege Reviews
- Claude Code Cloud IAM: Permission Boundary Reviews
- Claude Code Policy as Code: Audit Before Deny
- Claude Code Cloud Costs: Budget and Quota Guardrails
- Claude Code AISVS: Control Mapping for Platform Teams
- Claude Code Security Exceptions: Expiry and Ownership
- Claude Code Vendor Review: Security Evidence Checklist
- Claude Code Threat Models: Infrastructure Agent Boundaries
- Claude Code RACI: Ownership for Infrastructure Changes
- Claude Code Runbooks: Ownership and Review Cadence
- Claude Code Governance: Platform Council Charter
Sources
- Official: Claude Code monitoring and usage documentation, source for
prompt.id,request_idand event types (F076, F077). - Official: CISA Logging Reference Architecture, general incident-response framing (F088).
- Official: AWS CloudTrail user guide, cloud audit record structure; not full-page fetched during research.
- Community: Claude Code issue 6452 on incorrect session summaries, one community report treated as a reason to verify summaries (F078).
- Official: Terraform plan command reference, reference for plan and apply evidence in change timelines.