summary
summary
¶
Job execution summary and completion types.
Contains types used across CLI, daemon, and execution layers to represent job completion state. These types are the public contract between the execution engine (baton/runner) and the rest of the system.
Canonical definitions: - JobCompletionSummary: marianne.core.models - FatalError, RateLimitExhaustedError, GracefulShutdownError: marianne.core.errors.exceptions - GroundingDecisionContext, SheetExecutionMode: defined here
Classes¶
GroundingDecisionContext
dataclass
¶
GroundingDecisionContext(passed, message, confidence=1.0, should_escalate=False, recovery_guidance=None, hooks_executed=0)
Context from grounding hooks for completion mode decisions.
Encapsulates grounding results to inform decision-making about whether to retry, complete, or escalate.
Functions¶
from_results
classmethod
¶
Build context from grounding results list.
Source code in src/marianne/core/summary.py
disabled
classmethod
¶
SheetExecutionMode
¶
Bases: str, Enum
Mode of sheet execution.