Commit Graph

944 Commits

Author SHA1 Message Date
Teknium b610e603db simplify(compat): plugins/platforms+web — drop 7 re-exports + 3 aliases, repoint 1 caller + 11 tests, re-remove credential_summary
dingtalk: drop DINGTALK_TYPE_MAPPING/EXT_MAP re-exports. google_chat: card_spec_to_cards_v2 test -> .cards.
matrix: drop module-level MAX_MESSAGE_LENGTH alias (no importers). teams: drop TeamsSummaryWriter re-export
(teams_pipeline/runtime + tests -> summary_writer). wecom: drop WeComStreamExpiredError/STREAM_EXPIRED_ERRCODE/
MAX_INTERMEDIATE_FRAMES re-exports (tests -> .streaming). parallel: drop _get_parallel_client/_get_async_parallel_client
aliases (tests -> _get_sync_client). email: drop stale 'alias' comment (_esecret_int is the only name).
photon: re-remove credential_summary() (shim-only, cb9b7c36f3); its no-leak test now drives print_credential_summary.
2026-09-03 13:04:17 -07:00
Teknium b1047e80d1 review-fix(comments): restore lost #NNNN rationale comments (sweep, remaining files) 2026-09-03 09:44:36 -07:00
Teknium e83816a4d1 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.
2026-09-03 09:44:26 -07:00
Teknium 812943b3ed review-fix(suppress-audit): whatsapp adapter, skill_manager_tool, skill_usage — restore BASE exception semantics 2026-09-03 09:42:58 -07:00
Teknium cb9b7c36f3 review-fix(photon): restore credential_summary() (public on main) + test_credential_summary_no_secret_leak
ethernet8023: the no-leak test was deleted alongside the function it pinned; the
display-only credential status is live in print_credential_summary. credential_summary
restored byte-identical to BASE so the leak contract is CI-pinned again.
2026-09-03 09:36:07 -07:00
Teknium fb14bc4e11 review-fix(whitespace): strip trailing whitespace and EOF blank lines introduced by this PR
Trailing-whitespace-only edits so 'git diff --check BASE HEAD' is clean
(16 diagnostics across 11 files). No code changes.
2026-09-03 09:31:54 -07:00
Teknium b57f17bd4b fix(late-slices): restore subprocess footgun guards re-collapsed by r3-30/33/34/36 tails; telegram format_message stays self-free (staticmethod via class ref); _captured_exec explicit shell/env kwargs 2026-09-03 05:33:46 -07:00
Teknium 5dcd3b2620 ci: ASYNC220 ignore follows Popen to run_shutdown.py; windows-only tests patch the defining module; whatsapp taskkill kwargs explicit 2026-09-03 05:12:25 -07:00
Teknium 8ae52dd93c Merge simp/r3-30 (late tail) into hermes/simplify-codebase 2026-09-03 05:04:08 -07:00
Teknium 0071ba9965 Merge origin/main (561b053f79) into simp/forwardport: forward-port 220 main commits into the simplified tree 2026-09-03 03:31:03 -07:00
Teknium 23b9ffc4fa fix(integration): restore subprocess stdin=DEVNULL / utf-8 encoding guards and windows-footgun gates dropped by round-3 compaction
Repo scanners (check_subprocess_stdin, check-windows-footguns --all) flagged 21 sites where
the r3 single-line collapses lost stdin=DEVNULL, encoding='utf-8'/errors='replace', the
'# windows-footgun: ok' same-line marker, or the getattr(os, 'geteuid') gate. Each guard is
restored at the call site (real portability/hang fixes, not suppressions).
2026-09-03 02:46:19 -07:00
Teknium ab48dccf97 refactor(plugins/telegram): split send/inbound god methods into phase helpers, dedupe media/retry paths, dispatch tables, drop dead code (8817->6578 LOC, 13073-case Bot API payload parity) 2026-09-03 01:29:35 -07:00
Teknium ce08af6139 refactor(plugins/whatsapp,wecom): dedupe send/media/stream paths, drop dead helpers, compact docs (4357->3048 LOC, bridge/WeCom payload + crypto parity verified) 2026-09-03 00:40:56 -07:00
Teknium 44023a3d23 refactor(plugins/teams_pipeline,spotify,security-guidance): phase-split pipeline, dedupe Graph/Spotify clients, compact docs (3140->2631 LOC, --help/schema/pattern parity verified) 2026-09-03 00:33:14 -07:00
Teknium 0152c3840d Merge branch 'simp/r3-29-F' into simp/integration3 2026-09-03 00:09:51 -07:00
Teknium 539c03b96b Merge branch 'simp/r3-29-E' into simp/integration3 2026-09-03 00:09:49 -07:00
Teknium de168dc3cc Merge branch 'simp/r3-29-D' into simp/integration3 2026-09-03 00:09:48 -07:00
Teknium a6faffadd8 Merge branch 'simp/r3-29-C' into simp/integration3 2026-09-03 00:09:46 -07:00
Teknium 0d1ee53995 Merge branch 'simp/r3-29-B' into simp/integration3 2026-09-03 00:09:44 -07:00
Teknium da1288a6b1 Merge branch 'simp/r3-29-A' into simp/integration3 2026-09-03 00:09:41 -07:00
Teknium a3a44db4dc refactor(mattermost): flatten download retry loop, msg_type ladder, ws frame kind local, packed register() 2026-09-03 00:09:24 -07:00
Teknium 5b67e31699 Merge branch 'simp/r3-28' into simp/integration3 2026-09-03 00:08:06 -07:00
Teknium 8e638fc87a refactor(sms): fatal-precondition ladder, shared Messages endpoint/aiohttp probe, single webhook rejection path 2026-09-03 00:07:51 -07:00
Teknium 5729b34309 refactor(raft): fold _validate_bridge_token into _authorized, drop unreferenced runtime_session property, walrus guards, coerce_port for drain max, import ordering 2026-09-03 00:06:07 -07:00
Teknium 229f530d34 refactor(photon): collapse defensive layers + fold branches across adapter/auth/cli (2813->2749 LOC) 2026-09-03 00:05:57 -07:00
Teknium 9ae8614c65 refactor(matrix): drop docstrings that restate the method name (base ABC documents the public surface) (2995->2954) 2026-09-03 00:05:24 -07:00
Teknium dc5b107156 refactor(slack): drop blank lines after in-function imports 2026-09-03 00:04:27 -07:00
Teknium 4ae3a65826 refactor(mattermost,irc,raft): AST-neutral signature/call repack (<=112 cols) 2026-09-03 00:03:36 -07:00
Teknium a8f6cfaadf refactor(matrix): _send_picker + _handle_picker_reaction shared by model/choice pickers; cross-signing skip reasons as a table 2026-09-03 00:02:59 -07:00
Teknium c6a4aedb8e refactor(homeassistant): handshake-failure helper, shared auth headers, flat WS read loop, inline on/off wording 2026-09-03 00:02:50 -07:00
Teknium 54f355e127 refactor(irc): _ssl_ctx helper, pump/receive-loop walrus flattening, setup info() helper, inline standalone secrets 2026-09-03 00:01:03 -07:00
Teknium fcd586a9d9 refactor(slack): error-message tables, expression-level collapses of small predicates, long-line cleanup 2026-09-03 00:00:40 -07:00
Teknium e657c73f32 refactor(matrix): media http fallback derived once, dm-cache comprehension, encrypted-attachment metadata pairs, setup info loops (3008->2992) 2026-09-02 23:56:34 -07:00
Teknium 7811dc0994 refactor(mattermost): _url_and_token shared by validate/__init__/_standalone_send, _YAML_BRIDGE table, inbound cache dispatch, send via _post_result, setup info() helper 2026-09-02 23:54:29 -07:00
Teknium ebec8fa1bb refactor(matrix): single re-upload path in device-key verification, synthetic thread-root policy as one predicate, merged E2EE setup try (phase label), recovery-key path helper (3023->3008) 2026-09-02 23:52:54 -07:00
Teknium 361045d242 refactor(ntfy): extra-or-env _setting resolver, table-driven fatal status, compact send/register 2026-09-02 23:52:16 -07:00
Teknium 820b7aeef4 refactor(slack): hoist setup manifest writer, extract slash text resolution and send chunk loop, pack headers 2026-09-02 23:46:49 -07:00
Teknium 0c500d4a61 refactor(matrix): _absorb_sync shared by initial sync + sync loop, _client_op for redact/invite/presence, approval legend+reactions built together (3044->3023) 2026-09-02 23:42:24 -07:00
Teknium 4b3db0af89 refactor(ntfy,homeassistant,sms,google_chat): AST-neutral layout compaction (hug/pack/closers) 2026-09-02 23:40:07 -07:00
Teknium 6708717ccf refactor(slack): table-driven format_message passes, decision tables, phase helpers for reaction/thread-context/stream/connect/message-event, standalone post helper 2026-09-02 23:36:28 -07:00
Teknium e29f2e1d56 refactor(matrix): one _MatrixPickerPrompt for model/choice pickers, inline single-use predicates (_redact_matrix_value/_room_server_name/_cache_room_identity/_matches_ignored_user_pattern/_is_allowed_matrix_room), sanitizer _emit, fold docstrings (3113->3044) 2026-09-02 23:36:27 -07:00
Teknium 192058fda4 refactor(platforms): a2a/buzz/dingtalk/email/google_chat/feishu-aux/discord-aux 11440->8812; dead code, dispatch tables, unified helpers 2026-09-02 23:34:38 -07:00
Teknium 8bf747d04d refactor(matrix): one _claim_reaction_prompt gate for approval/model/choice pickers, _abort_connect for the 7 close-and-fail sites, clock-skew reset helper, setup _ask helper (3160->3113) 2026-09-02 23:25:11 -07:00
Teknium adce39673b refactor(all): walrus guards, comprehension for attachment caching 2026-09-02 23:24:35 -07:00
Teknium 8fac3ca72c refactor(all): join remaining lone closers 2026-09-02 23:23:11 -07:00
Teknium e839edd25f refactor(line,simplex): table-drive setup wizards 2026-09-02 23:21:54 -07:00
Teknium 9e9a8f1d36 refactor(line): fold two hanging signatures 2026-09-02 23:20:25 -07:00
Teknium 3fe6ce6c27 refactor(line): inline single-use locals in webhook path 2026-09-02 23:18:52 -07:00
Teknium b9884c59d7 refactor(all): simplify chunker loop, suppress() for swallow blocks, table-drive AV cachers 2026-09-02 23:17:28 -07:00
Teknium 42e9bc9076 refactor(matrix): contextlib.suppress for swallow-only excepts, encrypted-upload predicate, flat send() retry, drop unreachable lazy_deps ImportError fallback in setup (3210->3160) 2026-09-02 23:15:26 -07:00