Skip to main content

Crate oris_agent_contract

Crate oris_agent_contract 

Source
Expand description

Proposal-only runtime contract for external agents.

Structs§

A2aErrorEnvelope
A2aHandshakeRequest
A2aHandshakeResponse
A2aProtocol
A2aTaskLifecycleEvent
A2aTaskSessionAck
A2aTaskSessionCompletionRequest
A2aTaskSessionCompletionResponse
A2aTaskSessionDispatchRequest
A2aTaskSessionProgressItem
A2aTaskSessionProgressRequest
A2aTaskSessionResult
A2aTaskSessionSnapshot
A2aTaskSessionStartRequest
AgentTask
AutonomousDenialCondition
A denial condition attached to a rejected autonomous task plan.
AutonomousIntakeInput
Input for autonomous candidate discovery from raw diagnostic output.
AutonomousIntakeOutput
Output of autonomous candidate intake: one or more discovered candidates (deduplicated) plus any that were denied with fail-closed reason codes.
AutonomousMutationProposal
A machine-readable mutation proposal generated from an approved autonomous plan.
AutonomousProposalScope
Bounded file scope for an autonomous mutation proposal.
AutonomousTaskPlan
An approved or denied autonomous task plan produced from a discovered candidate.
CoordinationMessage
CoordinationPlan
CoordinationResult
CoordinationTask
DiscoveredCandidate
A candidate discovered autonomously from CI or runtime signals without a caller-supplied issue number.
EquivalenceExplanation
Human-readable and machine-auditable explanation for why two tasks are considered semantically equivalent for replay selection purposes.
ExecutionFeedback
HubProfile
Hub profile - describes a Hub’s capabilities and configuration
HubSelectionPolicy
Hub selection policy - defines how to choose between multiple hubs
HumanApproval
MutationNeededFailureContract
MutationProposal
MutationProposalScope
MutationProposalValidationBudget
ReplayFallbackContract
ReplayFeedback
SelfEvolutionAcceptanceGateContract
SelfEvolutionAcceptanceGateInput
SelfEvolutionApprovalEvidence
SelfEvolutionCandidateIntakeRequest
SelfEvolutionDeliveryOutcome
SelfEvolutionMutationProposalContract
SelfEvolutionReasonCodeMatrix
SelfEvolutionSelectionDecision
SemanticReplayDecision
Decision produced by semantic replay evaluation.
SupervisedDeliveryContract
SupervisedDevloopOutcome
SupervisedDevloopRequest

Enums§

A2aCapability
A2aErrorCode
A2aTaskLifecycleState
A2aTaskSessionState
AgentCapabilityLevel
AgentRole
AutonomousApprovalMode
Approval mode for an autonomous mutation proposal.
AutonomousCandidateSource
Signal source for an autonomously discovered candidate.
AutonomousIntakeReasonCode
Reason code for the outcome of autonomous candidate classification.
AutonomousPlanReasonCode
Reason code for the outcome of autonomous task planning.
AutonomousProposalReasonCode
Stable reason code for an autonomous mutation proposal outcome.
AutonomousRiskTier
Risk tier assigned to an autonomous task plan.
BoundedTaskClass
CoordinationPrimitive
HubOperationClass
Hub operation class - classifies the type of A2A operation
HubTrustTier
Hub trust tier - defines operational permissions for a Hub
MutationNeededFailureReasonCode
MutationNeededRecoveryAction
MutationProposalContractReasonCode
MutationProposalEvidence
ProposalTarget
ReplayFallbackNextAction
ReplayFallbackReasonCode
ReplayPlannerDirective
SelfEvolutionAcceptanceGateReasonCode
SelfEvolutionAuditConsistencyResult
SelfEvolutionSelectionReasonCode
SemanticReplayReasonCode
Reason code explaining the outcome of a semantic replay evaluation.
SupervisedDeliveryApprovalState
SupervisedDeliveryReasonCode
SupervisedDeliveryStatus
SupervisedDevloopStatus
SupervisedExecutionDecision
SupervisedExecutionReasonCode
SupervisedValidationOutcome
TaskEquivalenceClass
Broader semantic equivalence families for replay generalization.

Constants§

A2A_PROTOCOL_NAME
A2A_PROTOCOL_VERSION
A2A_PROTOCOL_VERSION_V1
A2A_SUPPORTED_PROTOCOL_VERSIONS
A2A_TASK_SESSION_PROTOCOL_VERSION

Functions§

accept_discovered_candidate
accept_self_evolution_selection_decision
approve_autonomous_mutation_proposal
Construct an approved AutonomousMutationProposal from a valid plan.
approve_autonomous_task_plan
approve_semantic_replay
Construct an approved SemanticReplayDecision.
deny_autonomous_mutation_proposal
Construct a denied fail-closed AutonomousMutationProposal.
deny_autonomous_task_plan
deny_discovered_candidate
deny_semantic_replay
Construct a denied SemanticReplayDecision.
infer_mutation_needed_failure_reason_code
infer_replay_fallback_reason_code
normalize_mutation_needed_failure_contract
normalize_replay_fallback_contract
reject_self_evolution_selection_decision