review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
This commit is contained in:
@@ -185,7 +185,10 @@ def _prompt_inline_memory_approval(summary: str, detail: str) -> Optional[bool]:
|
||||
CLI approval callback (``tools.terminal_tool.set_approval_callback``) directly, not
|
||||
``prompt_dangerous_approval``: that wrapper falls back to ``input()`` (deadlock-prone under
|
||||
prompt_toolkit; silent deny in gateway sessions) and turns callback errors into a deny, whereas
|
||||
here a missing channel or failed prompt must stage instead."""
|
||||
here a missing channel or failed prompt must stage instead.
|
||||
|
||||
See #15216.
|
||||
"""
|
||||
try:
|
||||
from tools.terminal_tool import _get_approval_callback
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user