Documentation
¶
Overview ¶
Package processor provides the main orchestration loop for ralphex execution.
Index ¶
Constants ¶
View Source
const ( SignalCompleted = "<<<RALPHEX:ALL_TASKS_DONE>>>" SignalFailed = "<<<RALPHEX:TASK_FAILED>>>" SignalReviewDone = "<<<RALPHEX:REVIEW_DONE>>>" SignalCodexDone = "<<<RALPHEX:CODEX_REVIEW_DONE>>>" )
Signal constants for execution control. using <<<RALPHEX:...>>> format for clear detection.
Variables ¶
This section is empty.
Functions ¶
func IsCodexDone ¶
IsCodexDone returns true if signal indicates codex phase is complete.
func IsReviewDone ¶
IsReviewDone returns true if signal indicates review phase is complete.
func IsTerminalSignal ¶
IsTerminalSignal returns true if signal indicates execution should stop.
Types ¶
type Config ¶
type Config struct {
PlanFile string // path to plan file (required for full mode)
ProgressPath string // path to progress file
Mode Mode // execution mode
MaxIterations int // maximum iterations for task phase
Debug bool // enable debug output
NoColor bool // disable color output
IterationDelayMs int // delay between iterations in milliseconds
TaskRetryCount int // number of times to retry failed tasks
CodexEnabled bool // whether codex review is enabled
AppConfig *config.Config // full application config (for executors and prompts)
}
Config holds runner configuration.
type Logger ¶
type Logger interface {
SetPhase(phase progress.Phase)
Print(format string, args ...any)
PrintRaw(format string, args ...any)
PrintSection(name string)
PrintAligned(text string)
Path() string
}
Logger provides logging functionality.
Click to show internal directories.
Click to hide internal directories.