Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 36 additions & 4 deletions backend/cortex_backend/execution/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Durable execution primitives and provider-independent safety contracts.

Only deterministic contracts, the storage-only signed bundle installer, the
reviewed broker transports, and the explicit local qualification composition are
exposed in this phase. Native transport and bundle storage never load a provider;
the normal application remains default-off and a recipe request coordinator is a
later ADR slice.
reviewed broker transports, the explicit local qualification composition, and the
internal qualified recipe coordinator are exposed in this phase. Native transport
and bundle storage never load a provider; the normal application remains
default-off until a later application-integration decision.
"""

from .broker import (
Expand Down Expand Up @@ -127,6 +127,23 @@
LeaseConflict,
ExecutionRepositoryError,
)
from .recipe_coordinator import (
DEFAULT_CANCEL_GRACE_SECONDS,
DEFAULT_RECIPE_RETENTION_SECONDS,
DEFAULT_WORKER_TIMEOUT_SECONDS,
MAX_RECIPE_RETENTION_SECONDS,
RECIPE_IMAGE_PROFILE,
RECIPE_PAYLOAD_SCHEMA,
RECIPE_RESULT_SCHEMA,
RecipeExecutionCoordinator,
RecipeExecutionError,
RecipeImageRequest,
RecipeWorkerAttempt,
RecipeWorkerAttemptFactory,
RecipeWorkerClient,
RecipeWorkerConnection,
RecipeWorkerOutput,
)
from .resource_accounting import (
MAX_CONSOLE_BYTES,
MAX_COUNTER,
Expand Down Expand Up @@ -183,6 +200,21 @@
"DEFAULT_NATIVE_PIPE_BUFFER_BYTES",
"ExecutionRepository",
"ExecutionRepositoryError",
"DEFAULT_CANCEL_GRACE_SECONDS",
"DEFAULT_RECIPE_RETENTION_SECONDS",
"DEFAULT_WORKER_TIMEOUT_SECONDS",
"MAX_RECIPE_RETENTION_SECONDS",
"RECIPE_IMAGE_PROFILE",
"RECIPE_PAYLOAD_SCHEMA",
"RECIPE_RESULT_SCHEMA",
"RecipeExecutionCoordinator",
"RecipeExecutionError",
"RecipeImageRequest",
"RecipeWorkerAttempt",
"RecipeWorkerAttemptFactory",
"RecipeWorkerClient",
"RecipeWorkerConnection",
"RecipeWorkerOutput",
"ExecutionLifecycle",
"ExecutionProfile",
"CoordinatorFactory",
Expand Down
Loading
Loading