Skip to main content

Module event

Module event 

Source

Structs§

AgentPhaseChangeParams
Parameters for creating an agent_phase_change event.
ApprovalEventParams
Parameters for creating an approval event.
ApprovalPolicyMatchParams
Parameters for creating an approval_policy_match event.
ApprovalRequestParams
Parameters for creating an approval_request event.
CmdEventParams
Parameters for creating a cmd event.
CommitEventParams
Parameters for creating a commit event.
PrEventParams
Parameters for creating a pr event.
ReviewBundleParams
Parameters for creating a review_bundle event.
TaskIntakeParams
Parameters for creating a task_intake event.

Functions§

compute_event_hash
Compute the hash for an event: serialize without the hash field, canonical JSON sort, then SHA-256.
finalize_event
Re-finalize an event after post-construction modification. Recomputes hash and digests based on current event state.
new_agent_phase_change_event
Create a new agent_phase_change event.
new_approval_event
Create a new approval event.
new_approval_policy_match_event
Create a new approval_policy_match event.
new_approval_request_event
Create a new approval_request event.
new_branch_create_event
Create a new branch_create event.
new_branch_switch_event
Create a new branch_switch event.
new_cmd_event
Create a new cmd event.
new_commit_event
Create a new commit event. If evidence is empty and labels don’t contain “claim”, auto-adds “claim” (EVIDENCE-01).
new_decision_event
Create a new decision event (a note event with structured decision payload).
new_execution_event
Create a new execution_event for Karvi execution events.
new_merge_event
Create a new merge event.
new_note_event
Create a new note event.
new_pr_event
Create a new pr event.
new_rebuild_event
Create a new rebuild event.
new_review_bundle_event
Create a new review_bundle event.
new_snapshot_event
Create a new decide_snapshot event.
new_task_intake_event
Create a new task_intake event.
new_telemetry_event
Create a new cycle_telemetry event for governance cycle telemetry.