Structs§
- Agent
Phase Change Params - Parameters for creating an agent_phase_change event.
- Approval
Event Params - Parameters for creating an approval event.
- Approval
Policy Match Params - Parameters for creating an
approval_policy_matchevent. - Approval
Request Params - Parameters for creating an approval_request event.
- CmdEvent
Params - Parameters for creating a
cmdevent. - Commit
Event Params - Parameters for creating a
commitevent. - PrEvent
Params - Parameters for creating a
prevent. - Review
Bundle Params - Parameters for creating a
review_bundleevent. - Task
Intake Params - Parameters for creating a
task_intakeevent.
Functions§
- compute_
event_ hash - Compute the hash for an event: serialize without the
hashfield, 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_changeevent. - new_
approval_ event - Create a new
approvalevent. - new_
approval_ policy_ match_ event - Create a new
approval_policy_matchevent. - new_
approval_ request_ event - Create a new
approval_requestevent. - new_
branch_ create_ event - Create a new
branch_createevent. - new_
branch_ switch_ event - Create a new
branch_switchevent. - new_
cmd_ event - Create a new
cmdevent. - new_
commit_ event - Create a new
commitevent. If evidence is empty and labels don’t contain “claim”, auto-adds “claim” (EVIDENCE-01). - new_
decision_ event - Create a new
decisionevent (a note event with structured decision payload). - new_
execution_ event - Create a new
execution_eventfor Karvi execution events. - new_
merge_ event - Create a new
mergeevent. - new_
note_ event - Create a new
noteevent. - new_
pr_ event - Create a new
prevent. - new_
rebuild_ event - Create a new
rebuildevent. - new_
review_ bundle_ event - Create a new
review_bundleevent. - new_
snapshot_ event - Create a new
decide_snapshotevent. - new_
task_ intake_ event - Create a new
task_intakeevent. - new_
telemetry_ event - Create a new
cycle_telemetryevent for governance cycle telemetry.