Skip to main content

Crate forge_pilot

Crate forge_pilot 

Source
Expand description

OODA governance orchestrator for the RecursiveIntell stack.

This crate drives the Observe-Orient-Decide-Act loop that inspects semantic-memory state, selects verification targets, executes oracle or paired-patch plans, and exports evidence bundles through the canonical Forge bridge path.

Re-exports§

pub use act::execute_plan;
pub use act::ActionFamily;
pub use act::ActionOutcome;
pub use act::AdvisoryPlan;
pub use act::OracleExecution;
pub use act::PatchExecution;
pub use act::PlanKind;
pub use bootstrap::compute_manifest_delta;
pub use bootstrap::BootstrapCurrentState;
pub use bootstrap::BootstrapDeltaSummary;
pub use bootstrap::BootstrapManifestDelta;
pub use bootstrap::BootstrapManifestSnapshot;
pub use bootstrap::BootstrapRichness;
pub use bootstrap::BootstrapSourceObservation;
pub use bootstrap::BootstrapSourceRichness;
pub use bootstrap::SymbolRecord;
pub use bootstrap_source::bootstrap_source_workspace;
pub use bootstrap_source::BootstrapSourceReport;
pub use bootstrap_source::BootstrapSourceSkippedFile;
pub use bundle_builder::build_bundle_from_oracle;
pub use bundle_builder::build_bundle_from_patch;
pub use bundle_builder::OracleBundleInput;
pub use bundle_builder::PatchBundleInput;
pub use cli::render_candidate_report;
pub use cli::render_loop_report;
pub use cli::render_observation_report;
pub use cli::render_repo_chat_answer;
pub use config::LoopConfig;
pub use config::PatchPlanSeed;
pub use decide::select_candidate;
pub use decide::Decision;
pub use error::PilotError;
pub use export::canonical_roundtrip;
pub use export::import_recent_forge_bundles;
pub use export::ImportBootstrapReport;
pub use export::RoundtripResult;
pub use governance_gate::build_governance_receipt;
pub use governance_gate::gate_execution;
pub use governance_gate::gate_execution_with_mode;
pub use governance_gate::observe_governance;
pub use governance_gate::observe_governance_with_mode;
pub use governance_gate::predicates as governance_predicates;
pub use governance_gate::GovernanceDegradation;
pub use governance_gate::GovernanceGateError;
pub use governance_gate::GovernanceGateResult;
pub use governance_gate::GovernanceMode;
pub use governance_gate::GovernanceObservation;
pub use governance_gate::GovernanceObservationSummary;
pub use governance_gate::GovernanceReceiptV1;
pub use governance_gate::GOVERNANCE_PROJECTION_FAMILY;
pub use governance_gate::GOVERNANCE_RECEIPT_V1_SCHEMA;
pub use governance_gate::GOVERNANCE_SCOPE_NAMESPACE;
pub use history::PilotHistory;
pub use history::TargetAttemptRecord;
pub use history::TargetHistoryEntry;
pub use loop_runner::parse_loop_report_boundary;
pub use loop_runner::ExternalHaltFlag;
pub use loop_runner::HaltReason;
pub use loop_runner::LoopBudgetReceipt;
pub use loop_runner::LoopIterationReport;
pub use loop_runner::LoopReceipt;
pub use loop_runner::LoopReport;
pub use loop_runner::LoopRunner;
pub use loop_runner::LoopRunnerResources;
pub use loop_runner::LOOP_ITERATION_REPORT_V1_SCHEMA;
pub use loop_runner::LOOP_REPORT_V1_SCHEMA;
pub use loop_runner::PILOT_LOOP_RECEIPT_V1_SCHEMA;
pub use observe::inspect_observation_paths;
pub use observe::ImportRecordDisposition;
pub use observe::ObservationDisposition;
pub use observe::ObservationPaths;
pub use observe::ObservationStatus;
pub use observe::PathAvailability;
pub use observe::SourceInventory;
pub use observe::observe_scope;
pub use observe::Observation;
pub use observe::ObservationDegradation;
pub use observe::ScopeHealthSummary;
pub use orient::extract_targets;
pub use orient::score_targets;
pub use orient::TargetCandidate;
pub use repo_chat::answer_repo_question;
pub use repo_chat::answer_repo_question_from_observation;
pub use repo_chat::provider_fallback_allowed;
pub use repo_chat::render_terminal_answer;
pub use repo_chat::repo_chat_provider_grounding_message;
pub use repo_chat::route_question;
pub use repo_chat::RepoChatAnswer;
pub use repo_chat::RepoChatCitation;
pub use repo_chat::RepoChatEvidence;
pub use repo_chat::RepoChatEvidenceType;
pub use repo_chat::RepoChatGroundingMode;
pub use repo_chat::RepoQuestionRoute;
pub use targets::TargetKind;
pub use targets::TargetPriority;
pub use types::BlockedStepRecord;
pub use types::BudgetClass;
pub use types::CanonicalCaseClass;
pub use types::DecisionAudit;
pub use types::ExecutionLineageReceipt;
pub use types::ExportActionTraceV1;
pub use types::LawfulStepKind;
pub use types::PlannedStep;
pub use types::RepairClassV1;
pub use types::RepairRecordV1;
pub use types::StopRuleEvaluation;
pub use types::TargetNormalization;
pub use types::VerificationPlanArtifact;

Modules§

act
Act phase of the OODA loop.
bootstrap
bootstrap_source
bundle_builder
cli
config
Configuration types for the forge-pilot OODA loop.
decide
error
export
governance_gate
Governance surface checks for the forge-pilot OODA loop.
history
loop_runner
OODA loop runner that drives repeated observe-orient-decide-act cycles.
observe
Observation phase of the OODA loop.
orient
Orient phase of the OODA loop.
receipts
repo_chat
targets
Verification target types for the orient phase.
types
Shared types for loop reports, decision audits, and verification artifacts.