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
+3
View File
@@ -107,6 +107,9 @@ class SimplexAdapter(BasePlatformAdapter):
self.auto_accept = bool(extra.get("auto_accept", True))
# Without SIMPLEX_GROUP_ALLOWED group messages are ignored (safer default); ``*`` = any group.
group_allowed_str = _get_scoped_secret("SIMPLEX_GROUP_ALLOWED", "") or extra.get("group_allowed", "")
# Parse allowlists — group policy is derived from presence of group allowlist Scoped reads (#93522):
# allowlists are per-profile authorization config; raw os.getenv misses secondary profiles' .env
# values and leaks the default profile's list into them.
self.group_allow_from = set(_parse_comma_list(group_allowed_str))
self._ws = None # websockets connection
self._ws_task: Optional[asyncio.Task] = None