Repository navigation
feat(agent): wire ClaimVerifier + self-improvement write-path + subagent reflection into hot paths (#10602) - #10990
Merged
Merged
Conversation
…vement write-path into hot paths (#10602)
Contributor
✅ SSOT Configuration Compliance: Passing🎉 No hardcoded values detected that have SSOT config equivalents! |
Applied Black, isort, and autoflake to match code-quality checks. Triggered by workflow auto-fix-formatting.yml.
This was referenced Jul 6, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thinking Path
Umbrella #10603 Task 6: mature components built with zero callers — wire each into its hot path (never delete), config-gated.
What Changed
services/grounded_agent.py) —_escalate_to_claim_verifiercalled from_classify_and_verify_claimfor low-confidence/no-match claims; maps result intoVerifiedClaim. FlagAUTOBOT_CLAIM_VERIFICATION_ENABLED(default False; OFF ⇒ UNKNOWN, zero overhead).orchestration/workflow_runner.py) —_record_outcome_for_learningfires on workflow success (asyncio.create_task, fire-and-forget):TaskOutcomeJudge.evaluate_task_outcome→ persists, thenlearn_from_outcomesat threshold. FlagAUTOBOT_SELF_IMPROVEMENT_ENABLED(default True — pure plumbing). Closes the loop: orchestrator reads learned strategies at plan time, now writes them post-execution.execution_strategies/_parallel.py) —_execute_batch_with_reflectionroutes ready batches throughget_subagent_dispatcher().spawn_parallel_tasks()withenable_reflection=True; falls back to direct exec on error. FlagAUTOBOT_SUBAGENT_REFLECTION_ENABLED(default False). Also fixed pre-existingtask.timeout_seconds→task.timeoutbug insubagent_dispatcher.py.Verification
17 new tests pass (claim-verifier / self-improvement / subagent-reflection wiring); gated OFF ⇒ unchanged. Black clean. Merged latest
Dev_new_gui(incl. #10986) cleanly.Closes #10602
Model Used
Opus 4.8