Engineering
Preserve evidence when skill context is compacted
Keep durable checkpoints that distinguish verified observations from decisions, open questions, and pending work.
A long-running skill can lose important distinctions when a condensed summary replaces the original conversation. A checkpoint that stores authoritative references and confirmed state allows the next step to recover facts rather than misremembering a suggestion as something that actually happened.
Write a small state record at real boundaries
Capture the current objective, selected resource IDs, each source revision, tool-confirmed actions, and open uncertainties. Persist only what will matter for resumption. Give provisional assumptions their own fields so a later step can verify or discard them.
Save references to approved artifacts rather than copying their full contents into every checkpoint. Where one of those artifacts came from another service, preserve its version or retrieval time. A stable record lets the workflow identify whether it is reopening the same source.
Verify before using carried-over facts
When a run resumes, re-read mutable state used for decisions. A previous summary can say something was confirmed, but only the underlying receipt or current resource can resolve whether that condition still holds. Keep approval evidence scoped to the action that was reviewed.
Test the resume path directly
Interrupt a run just before a write and again after the write but before its summary. Verify that the first case resumes the intended step and that the second reconciles the recorded outcome. Include a fixture where the upstream resource changes while the job is suspended.