Expand description
Pipeline state types for reducer architecture.
Defines immutable state structures that capture complete pipeline execution context. These state structures can be serialized as checkpoints for resume functionality.
Re-exports§
pub use continuation::ContinuationState;pub use pipeline::*;
Modules§
- continuation
- Continuation state for development and fix iterations.
- pipeline
- Pipeline state module.
Structs§
- Agent
Chain State - Agent fallback chain state (explicit, not loop indices).
- Materialized
Prompt Input - Canonical, reducer-visible record of prompt input materialization.
- Rate
Limit Continuation Prompt - Role-scoped continuation prompt captured from a rate limit (429).
- RunMetrics
- Run-level execution metrics tracked by the reducer.
Enums§
- Artifact
Type - Artifact type being processed by the current phase.
- Commit
State - Commit generation state.
- Development
Status - Development status from agent output.
- FixStatus
- Fix status from agent output.
- Prompt
Input Kind - Kind of prompt input that may require oversize handling.
- Prompt
Input Representation - How an input is represented to downstream prompt templates.
- Prompt
Materialization Reason - Reason an input was materialized in a non-default way.
- Prompt
Mode - Prompt rendering mode chosen by the reducer.
- Rebase
State - Rebase operation state.
- Same
Agent Retry Reason - Reason a same-agent retry is pending.
Constants§
- MAX_
DEV_ INVALID_ OUTPUT_ RERUNS - Maximum number of invalid XML output reruns before aborting the iteration.
- MAX_
DEV_ VALIDATION_ RETRY_ ATTEMPTS - Maximum number of developer validation retry attempts before giving up.
- MAX_
PLAN_ INVALID_ OUTPUT_ RERUNS - Maximum number of invalid planning output reruns before switching agents.
- MAX_
VALIDATION_ RETRY_ ATTEMPTS - Maximum number of retry attempts when XML/format validation fails.