Skip to main content

Module dynamic_workflow

Module dynamic_workflow 

Source
Expand description

A3S Flow-backed dynamic workflow runtime.

DynamicWorkflowRuntime lets hosts run a sandboxed PTC script as an A3S Flow runtime. Flow owns durable replay and step lifecycle; A3S Code’s existing program tool remains the sandbox and tool-call boundary.

Structs§

CrossProcessFlowEventStore
Cross-process serialized adapter for a local Flow event journal.
DynamicWorkflowAdmissionStats
Point-in-time admission counters for one dynamic workflow runtime.
DynamicWorkflowControl
A host-owned control handle for one dynamic workflow run.
DynamicWorkflowControlDiagnostics
Host-facing aggregate view over dynamic-workflow claim counters and the optional agent-wide scheduler. It is a read-only composition of local metrics; it does not introduce a second workflow or event authority.
DynamicWorkflowControlSnapshot
Bounded, host-facing projection of one dynamic workflow continuation.
DynamicWorkflowHealthSnapshot
Bounded cumulative worker-claim diagnostics for one dynamic-workflow tool instance. The counters retain no run ids, labels, source, input, output, or owner tokens; the durable Flow ledger remains the authority for the per-run attempt number and lease state.
DynamicWorkflowRuntime
Runs A3S Flow workflow and step invocations through a sandboxed PTC script.
DynamicWorkflowScriptLimits
Limits forwarded to the underlying PTC program tool.
DynamicWorkflowTool
Model-visible tool that executes a dynamic workflow through A3S Flow.

Constants§

DYNAMIC_WORKFLOW_RUNTIME_BUILD_ID
Runtime build used to pin newly-created dynamic workflow runs.
DYNAMIC_WORKFLOW_STORE_RELATIVE_PATH
Project-relative directory used for durable dynamic workflow history.

Functions§

dynamic_workflow_claim_identity
Derive the stable, digest-only claim identity for one dynamic workflow.
dynamic_workflow_continuation_identity
Reconstruct the immutable identity of a dynamic workflow continuation.
dynamic_workflow_execution_plan
Project the complete durable Flow history into Code’s canonical plan model.
dynamic_workflow_step_identity
Derive the stable identity for one dynamic Flow step admission.
dynamic_workflow_store_path
Resolve the durable dynamic workflow history directory for a local workspace.
recover_dynamic_workflow_step_output
Recover one completed step output from the exact durable workflow run.
register_dynamic_workflow
register_dynamic_workflow_with_event_store
Register a dynamic workflow Tool against a host-owned Flow event store.
register_dynamic_workflow_with_scheduler
Register a dynamic workflow tool with an explicit scheduler policy.