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:
Teknium
2026-09-03 09:44:26 -07:00
parent ad62a15e94
commit e83816a4d1
586 changed files with 13883 additions and 829 deletions
+4 -1
View File
@@ -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: