feat: complex-task-quality-loop (R1-R12) #22

Merged
fischer merged 13 commits from feat/complex-task-quality-loop into main 2026-07-05 22:31:22 +08:00
1 changed files with 8 additions and 0 deletions
Showing only changes of commit f1f2e72cad - Show all commits

View File

@ -189,6 +189,10 @@ class PlanExecEngine:
cancellation_token: CancellationToken | None = None,
timeout_seconds: float | None = None,
confirmation_handler: Any | None = None,
# U7/R12: accepted for ReActEngine interface compatibility.
# PlanExecEngine does its own pitfall injection at planning phase
# via _inject_pitfall_warnings, so this param is intentionally unused.
pitfall_warnings: Any | None = None,
) -> ReActResult:
"""执行 Plan-and-Execute 流程
@ -261,6 +265,10 @@ class PlanExecEngine:
cancellation_token: CancellationToken | None = None,
timeout_seconds: float | None = None,
confirmation_handler: Any | None = None,
# U7/R12: accepted for ReActEngine interface compatibility.
# PlanExecEngine does its own pitfall injection at planning phase
# via _inject_pitfall_warnings, so this param is intentionally unused.
pitfall_warnings: Any | None = None,
):
"""执行 Plan-and-Execute 流程,逐步 yield ReActEvent