Skip to main content

Module app

Module app 

Source
Expand description

Application entrypoint and pipeline orchestration.

This module exists to keep src/main.rs small and focused while preserving the CLI surface and overall runtime behavior. It wires together:

  • CLI/config parsing and plumbing commands
  • Agent registry loading
  • Repo setup and resume support
  • Phase execution via crate::phases

§Module Structure

  • config_init: Configuration loading and agent registry initialization
  • plumbing: Low-level git operations (show/apply commit messages)
  • validation: Agent validation and chain validation
  • resume: Checkpoint resume functionality
  • detection: Project stack detection
  • finalization: Pipeline cleanup and finalization

Modules§

config_init
Configuration loading and agent registry initialization.
context
Pipeline context types.
detection
Project stack detection and review guidelines generation.
effect
App-level effects for pre-pipeline operations.
effect_handler
Real implementation of AppEffectHandler.
effectful
Effectful app operations that use AppEffect handlers.
event_loop
Event loop for reducer-based pipeline architecture.
finalization
Pipeline finalization and cleanup.
plumbing
Plumbing commands for low-level git operations.
resume
Resume functionality for pipeline checkpoints.
validation
Agent validation and chain validation.

Functions§

handle_rebase_only
Handle –rebase-only flag.
run
Main application entry point.