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.
AutonomousPrLaneDecision
Decision record for the autonomous PR lane.
AutonomousProposalScope
Bounded file scope for an autonomous mutation proposal.
AutonomousReleaseGateDecision
Combined gate decision record for the autonomous merge and release lane.
AutonomousTaskPlan
An approved or denied autonomous task plan produced from a discovered candidate.
ConfidenceRevalidationResult
Full revalidation decision produced after a confidence evaluation round.
CoordinationMessage
CoordinationPlan
CoordinationResult
CoordinationTask
DemotionDecision
Demotion or quarantine transition event.
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
PrEvidenceBundle
Evidence bundle required before autonomous PR creation.
ReplayFallbackContract
ReplayFeedback
RollbackPlan
Rollback plan attached to a blocked or drifted autonomous release.
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.
AutonomousMergeGateStatus
Status of the autonomous merge gate.
AutonomousPlanReasonCode
Reason code for the outcome of autonomous task planning.
AutonomousPrLaneReasonCode
Reason codes for the autonomous PR lane gate.
AutonomousPrLaneStatus
Status of an autonomous PR lane decision.
AutonomousProposalReasonCode
Stable reason code for an autonomous mutation proposal outcome.
AutonomousPublishGateStatus
Status of the autonomous publish gate.
AutonomousReleaseGateStatus
Status of the autonomous release gate.
AutonomousReleaseReasonCode
Reason codes for the autonomous release gate.
AutonomousRiskTier
Risk tier assigned to an autonomous task plan.
BoundedTaskClass
ConfidenceDemotionReasonCode
Reason code for a demotion or quarantine transition.
ConfidenceState
Current confidence lifecycle state of a reusable asset.
CoordinationPrimitive
HubOperationClass
Hub operation class - classifies the type of A2A operation
HubTrustTier
Hub trust tier - defines operational permissions for a Hub
KillSwitchState
Kill-switch state for the autonomous release lane.
MutationNeededFailureReasonCode
MutationNeededRecoveryAction
MutationProposalContractReasonCode
MutationProposalEvidence
PrLaneApprovalState
Approval state for the autonomous PR lane.
ProposalTarget
ReplayEligibility
Whether an asset is currently eligible for replay selection.
ReplayFallbackNextAction
ReplayFallbackReasonCode
ReplayPlannerDirective
RevalidationOutcome
Outcome of a single confidence revalidation round.
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_pr_lane
Construct an approved AutonomousPrLaneDecision.
approve_autonomous_release_gate
Construct an approved AutonomousReleaseGateDecision.
approve_autonomous_task_plan
approve_semantic_replay
Construct an approved SemanticReplayDecision.
demote_asset
Construct a DemotionDecision.
deny_autonomous_mutation_proposal
Construct a denied fail-closed AutonomousMutationProposal.
deny_autonomous_pr_lane
Construct a denied AutonomousPrLaneDecision.
deny_autonomous_release_gate
Construct a denied AutonomousReleaseGateDecision.
deny_autonomous_task_plan
deny_discovered_candidate
deny_semantic_replay
Construct a denied SemanticReplayDecision.
fail_confidence_revalidation
Construct a failing ConfidenceRevalidationResult.
infer_mutation_needed_failure_reason_code
infer_replay_fallback_reason_code
normalize_mutation_needed_failure_contract
normalize_replay_fallback_contract
pass_confidence_revalidation
Construct a passing ConfidenceRevalidationResult.
reject_self_evolution_selection_decision