Class DefaultFeatureExecutor

java.lang.Object
app.ductape.sdk.features.executor.DefaultFeatureExecutor
All Implemented Interfaces:
FeatureLocalExecutor

public class DefaultFeatureExecutor extends Object implements FeatureLocalExecutor
Sprint 4 — default in-process feature executor.

This ports the core TS WorkflowExecutor semantics into Java: deterministic sequential orchestration, step retries/backoff, conditional/loop/parallel composition, checkpoint/resume bookkeeping, signal-aware pause/cancel hooks, and saga-style rollback/compensation summaries.

Domain-specific side effects (database, graph, broker, storage, vector, quota, fallback, healthcheck, action) are pluggable through registerHandler(java.lang.String, app.ductape.sdk.features.executor.DefaultFeatureExecutor.StepHandler). If no handler is registered for a domain step, the executor returns a TS-shaped no-op output that includes the step input and kind; this keeps pure orchestration tests deterministic while allowing applications to wire real services without processor round-trips.