Skip to content

[Feature] Ship LLM Auto-Correction & Goal Validation Loops #1

Description

@vakrahul

Status: Closed — superseded by #10

Auto-correction is already implemented inside EngineX step workers. This issue tracked building a separate EvaluationNode — that was not built and is not needed.

What exists (do not rebuild)

Capability Code
Step judge (missing output_keys → RETRY) core/engine/graph/event_loop/node.py_evaluate()
Feedback to LLM on retry [Judge feedback]: ... via add_user_message()
Optional Level 2 quality judge conversation_judge.py + NodeSpec.success_criteria
Per-step retry limit loop_config.max_iterations
Between-step loops (validate → fix) Conditional EdgeSpec in graph/edge.py
Whole-job Goal scorecard OutcomeAggregator — measurement only, no full-agent auto-retry

Track remaining work in #10: docs (GOALS.md), dashboard retry visibility, README link.

Original request (historical)

The original issue asked for a standalone EvaluationNode and retry loop wiring. The judge runs inside each EventLoopNode instead.

flowchart TD
 A[EventLoopNode] --> B{_evaluate / judge}
 B -->|ACCEPT| C[Next step]
 B -->|RETRY| A
 B -->|max iterations| D[Step fails]
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions