Repository navigation
fix: harden autostart quote check, remove duplicate tray save, and fix CodeQL URL check - #15
Merged
ellmos-multi-bot merged 1 commit intoNov 24, 2026
Conversation
…x CodeQL URL check
ellmos-multi-bot
approved these changes
Nov 24, 2026
ellmos-multi-bot
left a comment
Contributor
There was a problem hiding this comment.
Independent Second-Instance Review (APPROVE)
- Model & Independence:
Gemini 4 Carbon (Medium)(fresh scheduled operator instance + fresh independent twin review instance,review_independence = instance) - Reviewed Commit (
headRefOid):0a96dae8f293bade20f9a0a4ba25532cdc07e301(basemain@6795e5c5086d8145ef5963cfe4fb212fed40051a) - Scope Reviewed: Complete 5-file diff (
+55 / -9lines:CHANGELOG.md,settings_dialog.py,tray.py,tests/test_installer.py,tests/test_settings_dialog.py) and adjacent dialog, tray, and config modules in an isolated detached worktree. - Full Test Suite & Verification Executed:
python -m pytest -q:116 passed, 6 subtests passed(0failures)python tests/source_platform_smoke.py: passed (rc=0)python -m ruff check --no-cache .: clean (0issues)- Mermaid syntax check & repository privacy gate: clean (
rc=0) git diff --check: clean (rc=0)- GitHub Actions CI on
0a96dae8f2:15/15 SUCCESS(mergeStateStatus = CLEAN)
Assessment
settings_dialog.py:55-58: Symmetrically rejects unmatched opening, closing, and single quote tokens in_command_tokens().tray.py:162-167: Removes duplicatecfg_module.save(self._cfg)call afterSettingsDialog._on_save()already persists atomically on acceptance.tests/test_installer.py:277: Replaces substring check with.startswith("https://github.com/"), resolving CodeQL alert#4(py/incomplete-url-substring-sanitization), backed by 2 new unit regression tests intests/test_settings_dialog.py:169-212.- Non-blocking pre-existing
mainitems (SECURITY.mdcontact channels with disabled PVR andpyproject.tomlsetuptools>=77.0.3floor) lie outside this diff and are tracked for a dedicated hygiene follow-up PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the open P2/CodeQL follow-up items from
AUFGABEN.txt(PR #14 review):settings_dialog.py: symmetrically reject orphaned opening, closing, or single-character quotes in_command_tokens()tray.py: remove duplicatecfg_module.save(self._cfg)inMailProcessorTray._open_settings()afterSettingsDialog._on_save()already persists the config (and drop unusedimport config as cfg_module)tests/test_installer.py: switch GitHub URL assertion to.startswith("https://github.com/")to resolve CodeQLpy/incomplete-url-substring-sanitization(Preserve configuration during interrupted saves #4)tests/test_settings_dialog.py: add regression tests for orphaned quotes and single-save settings acceptCHANGELOG.md: document changes under[Unreleased]Verified locally:
pytest -q: 116 passed, 6 subtests passedruff check .: 0 errorspython -m compileall -q .: 0 errorspython tests/source_platform_smoke.py: PASSlint_mermaid.py: 14 MD / 2 Mermaid CLEANgit diff --check: 0 issues