Expand description
Intent lifecycle event.
IntentEvent records append-only lifecycle facts for an Intent.
§How to use this object
- Append an event when an intent is analyzed, completed, or cancelled.
- Include
result_commitonly when the lifecycle transition produced a repository commit. - Include
next_intent_idon a completed event when completion recommends that Libra continue with a follow-upIntent. - Keep the
Intentsnapshot immutable; lifecycle belongs here.
§How it works with other objects
IntentEvent.intent_idattaches the event to anIntent.IntentEvent.next_intent_idcan point at a recommended follow-upIntent, but it does not replaceIntent.parentsrevision history.Decisionand final repository actions may feed data such asresult_commit.
§How Libra should call it
Libra should derive the current intent lifecycle state from the most
recent relevant IntentEvent, not by mutating the Intent object.
Structs§
- Intent
Event - Append-only lifecycle fact for one
Intent.