Module agentforge4j.runtime
Package com.agentforge4j.runtime
package com.agentforge4j.runtime
-
ClassDescriptionDefault
WorkflowRuntimeimplementation.A file emitted during a run and held transiently in aGeneratedArtifactStore: the producingstepId, the requestedpath, and the emittedcontent.Run-scoped, transient holder for the bytes a run emits viaCREATE_FILE, so a later deterministic step (artifact validation) can read the authoritative emitted content in-process — never from disk and never from an LLM-echoed copy.DefaultGeneratedArtifactStoreretaining emitted bytes in memory, keyed by run.The read-only view of a run aLoopEvaluatorneeds to decide whether anLoopTerminationStrategy.EVALUATORloop should terminate.Evaluates whether anLoopTerminationStrategy.EVALUATORloop should terminate after the current iteration.Opens a correlation scope for a drive or step so callers can attach run metadata (for example MDC) without the runtime depending on a logging API.Resource scope tied to a run or step; ends correlation when closed.Fluent builder that wires aDefaultWorkflowRuntimewith the canonical executor graph, behaviour handlers, loop strategies, and command handlers.