Skip to main content

Module state

Module state 

Source
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§

AgentChainState
Agent fallback chain state (explicit, not loop indices).
MaterializedPromptInput
Canonical, reducer-visible record of prompt input materialization.
RateLimitContinuationPrompt
Role-scoped continuation prompt captured from a rate limit (429).
RunMetrics
Run-level execution metrics tracked by the reducer.

Enums§

ArtifactType
Artifact type being processed by the current phase.
CommitState
Commit generation state.
DevelopmentStatus
Development status from agent output.
FixStatus
Fix status from agent output.
PromptInputKind
Kind of prompt input that may require oversize handling.
PromptInputRepresentation
How an input is represented to downstream prompt templates.
PromptMaterializationReason
Reason an input was materialized in a non-default way.
PromptMode
Prompt rendering mode chosen by the reducer.
RebaseState
Rebase operation state.
SameAgentRetryReason
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.