Repository navigation
Conversation
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Code review (code-reviewer pass) at bf2869dVerdict: APPROVE-READY — the four settings are defined once in
AC evidence (all checked against the head):
Not checked: CI. Most checks on this head show fail, many with 0s duration. |
|
Pushed 8fa0865: review LOW fixes
|
Code review (code-reviewer pass) at 8fa0865Verdict: APPROVE-READY — every earlier finding is addressed in the delta
New findings:
Not checked: CI status; behaviour of the downstream consumers of the setting beyond the existing |
|
Code review (code-reviewer pass) at 8fa0865 Verdict: APPROVE (code). Merge gate: CI shows failing checks at this head (api-wiring, Security Scan, verify-types-run, verify-precommit-config, python-suite and others); I did not diagnose them, and red CI does not merge. Scope: 10 files changed, 0 behind main, 0 unresolved review threads. AC check (#21024): docstring marked PORTED (
|
|
Review fixes pushed at 0f329e5.
Test: |
|
Code review (code-reviewer pass) at 3a03e0e Verdict: APPROVE. Delta over the earlier pass is the one fix commit (0f329e5). 0 behind main, 11 files, 0 review threads.
|
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
Thinking Path
The maintainer decision on #20846 made the chat graph the canonical loop, so
AgentLoopneeds a recorded status and the ask-human defaults need one home. One issue covers the record, the defaults and the guard because they are the same decision (point 4c); splitting them would leave the docstring and the settings disagreeing between PRs.What Changed
autobot_shared/ssot_chat_graph_settings.py(new):ChatGraphSettings. It is a separate module becausessot_config.pyis at its size ceiling;ssot_config.pyonly gains the hook (about 6 lines).AUTOBOT_CHAT_PLANNER_ENABLED), stall escalationstop(AUTOBOT_CHAT_STALL_ESCALATION) - consumed by feat(chat): stall escalation asks a human through a chat-graph interrupt (#20846a) #21022, ask-human timeout 300 s (AUTOBOT_ASK_HUMAN_TIMEOUT_SECONDS), ask-human policyabandon.AUTOBOT_ASK_HUMAN_ESCALATION_POLICY, registered inenv_registry_agent_tools.pyand documented indocs/developer/ENV_VARS.md.AgentLoopand theagent_looppackage docstrings carry a PORTED TO THE CHAT GRAPH decision record; the superseded "NOT WIRED IN PRODUCTION" paragraph is removed andloop.py/types.py/AGENT_MATURITY_LEVELS.mdagree with it.repo_tests/agent_loop_ported_to_chat_graph_20846_test.py: the wiring guard.Overlap: this touches about 3 lines of
ssot_config.pythat #20980 also touches; the train master reconciles them.Verification
repo_tests/agent_loop_ported_to_chat_graph_20846_test.pyandrepo_tests/ai_line_single_policy_18430_test.py: 24 passed together.configuration_guide_env_vars_test.py,env_registry_is_extensible_test.py,env_var_bare_cast_test.py: 36 passed.Single-issue rationale
The decision record and the SSOT defaults are one decision (#20846 point 4c), and #21023 is stacked on this commit so it needs a base to target; no other open issue shares these files.
Risks
None identified. Defaults keep today's behaviour; the new env var defaults to
abandon.Model Used
Claude Sonnet 5.5 (claude-sonnet-5-5)
Issue Link
Closes #21024
Changelog fragment
Checklist
CLAUDE.mdgit commitruns them automatically)main(notrelease)Pre-handover (docs/developer/CLAUDE_REVIEW.md, #19285)