pub mod ab;
pub mod ab_fixer;
pub mod ab_learnings;
pub mod ab_loop;
#[cfg(test)]
mod bench;
pub mod budget;
pub mod config;
pub mod contract;
pub mod declarative;
pub mod discuss;
pub mod external_loop;
pub mod fix_issues;
pub mod foreman_loop;
pub mod merge;
pub mod native_loop;
pub mod no_change;
pub mod overlap;
pub mod policy;
pub mod project;
pub mod project_context;
pub mod provenance;
pub mod router;
pub mod rpc;
pub mod session;
pub mod shell_tool;
pub mod skill_memory;
#[cfg(test)]
pub(crate) mod test_cmds;
pub use ab::{
attribute_round, run_ab_suite, AbArmRunner, AbCell, AbReport, AbTask, ArmEngine, ArmOutcome,
ArmSpec, PairedStats, RoundAttribution,
};
pub use ab_fixer::{mutations_from_interventions, EvolutionAbFixer, HarnessApply};
pub use ab_learnings::{
render_proposals, synthesize_proposals, Confidence, DurableFixProposal, ProposalKind,
};
pub use ab_loop::{
run_improvement_loop, AbFixer, FixResult, ImprovementRun, LoopConfig, LoopStop, RoundRecord,
};
pub use config::{config_path, CoderConfig, DEFAULT_MAX_ITERATIONS};
pub use contract::{evaluate_contract, CheckResult, ContractCheck, OutcomeContract};
pub use discuss::{DiscussEvent, DiscussEventKind, DiscussionEntry, DiscussionMap};
pub use external_loop::{run_external_loop, CliInvoker, ExternalLoopConfig, LiveInvoker};
pub use fix_issues::{
clears_reporting_bar, parse_signature_marker, proposal_signature, render_issue_body,
render_report, report_proposals, signature_marker, GhIssues, IssueApi, ReportOutcome,
ReportRecord, DEFAULT_REPORT_REPO,
};
pub use merge::{
commit_to_main, deliver_pr, deliver_pr_with, publish_branch, publish_branch_headless,
validate_branch_name, DeliveryFailure, GhCli, GhError, GitHubApi, PrAction, PrDelivery,
PrDeliveryOutcome, PrRecord, PrState,
};
pub use native_loop::{
model_tool_catalog, run_native_loop, LoopFailure, LoopOutcome, NativeLoopConfig,
};
pub use no_change::{
baseline_completed, evaluate_nomination, head_commit, worktree_fingerprint,
worktree_is_pristine, MutationLedger, NominationContext, NominationRefusal, NominationVerdict,
MAX_FINDING_TEXT,
};
pub use project::{list_projects, resolve_or_create_project, slugify, CoderProject, ProjectKind};
pub use project_context::{
agent_instructions, dot_car_knowledge, project_context, MAX_INSTRUCTIONS_BYTES,
MAX_KNOWLEDGE_BYTES,
};
pub use provenance::{
resolve_tier, ContractSource, GhPermissions, LocalSignatures, PermissionOracle,
ProvenanceRecord, ProvenanceRefusal, ProvenanceTier, RawIssue, RepoPermission, SessionSeed,
TieredIssue, UntrustedText, MAX_TIER_AGE,
};
pub use router::{
detect_ready_agents, resolve_engine, DetectedAgent, EngineChoice, ResolvedEngine,
};
pub use session::{
adopt_orphaned_sessions, default_state_dir, needs_you_from, AdoptionOutcome, CancelFlag,
CoderEvent, CoderEventKind, CoderSession, CoderState, EventEmitter, EventSink, NeedsYou,
};
pub use shell_tool::WorktreeExecutor;
pub use skill_memory::{FailureSignature, RepairMemory};