ReflectionLoop class
Orchestrates the autonomous synthesize-verify-correct reflection loop.
Constructors
- ReflectionLoop({required AiProvider aiProvider, required SandboxVerifier verifier, required PatchApplier applier, int maxRetries = 2, void onLog(String message)?})
Properties
- aiProvider → AiProvider
-
final
- applier → PatchApplier
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRetries → int
-
final
- onLog → void Function(String message)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verifier → SandboxVerifier
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
{required CrashReport crash, required AstContext astContext}) → Future< ReflectionLoopResult> - Executes the self-healing loop for a given crash and AST context.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited