Repository navigation
Conversation
…/download - Add dependency-free headless CLI (`mailprocessor_cli.py`) and `mailprocessor` console script entrypoint (`pyproject.toml`) with `--version`, `--json`, `status`, `scan [--apply]`, `snapshot [--out]`, `register`, `unregister --yes|--dry-run`, `launch [--dry-run]`, and `store-readiness`. - Dispatch headless CLI subcommands/flags in `main.py` before importing PySide6 so CLI runs without GUI dependencies. - Add Policy P-022 product docs (`SKILL.md`, `llm.txt`) and update `llms.txt`, `README.md`, `README-DE.md`, and `CHANGELOG.md [Unreleased]` (version `0.1.0` frozen). - Harden `config.load()` top-level field normalization (`language`, `first_run`, `start_with_windows`) and `ToolManager` (`is_file()` checks, HTTP/HTTPS `zipball_url` validation, symlink entry rejection, partial ZIP cleanup on stream errors). - Expand test suite and source-platform smoke from 116 to 127 passing tests.
ellmos-multi-bot
requested changes
Nov 26, 2026
ellmos-multi-bot
left a comment
Contributor
There was a problem hiding this comment.
Independent MULTI-BOT Review (REQUEST_CHANGES)
- Model:
Gemini 4 Carbon (Medium)(with independent second-instance verification) - Reviewed Head SHA:
42eb31b110dac24823dc748e80a11eae489aa18d - Scope: Full diff across all 17 changed files (
mailprocessor_cli.py,main.py,config.py,tool_manager.py,pyproject.toml,SKILL.md,llm.txt,llms.txt,README.md,README-DE.md,CHANGELOG.md, and 5 test modules) in an isolated worktree. - Verification:
python -B -m pytest -q(127 passed, 6 subtests passed),python tests/source_platform_smoke.py(PASS),ruff check .(0),pip install --no-deps --no-build-isolation --dry-run .(OK), GitHub Actions CI15/15 SUCCESS,repo_privacy_gate.py(Exit 1— regression vs.mainExit 0).
Findings
[P1]tests/test_tool_manager.py:639— Breaks repository privacy gate (repo_privacy_gate.pyExit1):- On
main,repo_privacy_gate.pypasses cleanly (Exit 0). Introducing the literal"file:///etc/passwd"intest_download_tool_rejects_non_http_zipball_urltriggers the unresolvable localfile:///URI check (Exit 1). Using a non-HTTP scheme such as"ftp://example.com/release.zip"exercises the exact same scheme guard without tripping the public repository gate.
- On
[P2]tool_manager.py:59-61, 344, 359—_is_valid_http_url()allows cleartexthttp://for executable release archives and leaveszipball_urlunstripped:- Because
download_tool()fetches and extracts runnable Python tool scripts (tool_manager.py:394-420),zipball_urlshould requirehttpsexclusively (rejecting cleartexthttp://downgrade paths) and pass the stripped URL tourllib.request.Request.
- Because
[P2]mailprocessor_cli.py:23-29&main.py:129-145— Unknown CLI arguments silently fall through to the Qt desktop GUI:should_dispatch_cli()only matches known subcommands and five flags (-h,--help,-V,--version,--json). A mistyped subcommand or flag (e.g.python main.py stat --jsonorpython main.py --verison) returnsFalseand launchesQApplication(sys.argv)/ the tray wizard (or raisesModuleNotFoundErrorwhenPySide6is absent) instead of exiting deterministically with CLI exit code2.
[P2]README.md:139-155, 207-212&README-DE.md:139-155, 210-215— Complete P-022 installation section & dependency scope note:- Please add the copyable
### Install with your LLM/### Mit deinem LLM installierenprompt block referencingllms.txtandSKILL.mdunder## Installation, and clarify underRequirements/VoraussetzungenthatPySide6is only needed for the desktop GUI while the headless CLI runs on the Python standard library (matchingSKILL.md:35-36).
- Please add the copyable
Collaborator
Author
|
Zweitmodell-Review (Cloud-Bot), Head Geprüft
BlockerKeine. Nicht blockierende Hinweise
Generated by Claude Code |
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.
Summary
mailprocessor_cli.py,main.py,pyproject.toml):status,scan [--apply],snapshot [--out],register,unregister --yes|--dry-run,launch [--dry-run],store-readiness) plus--versionand--jsonoutput with redacted path hints.[project.scripts]entrypointmailprocessor = "mailprocessor_cli:main"and lazy PySide6 import inmain.pyso CLI runs cleanly on headless hosts without Qt.SKILL.md,llm.txt,llms.txt,README.md,README-DE.md,CHANGELOG.md):SKILL.mdandllm.txt; updatedllms.txt(Last-checked: 2026-11-26),README.md,README-DE.md, andCHANGELOG.md [Unreleased]while keeping version0.1.0frozen.config.py,tool_manager.py):language,first_run, andstart_with_windowstypes inconfig.load()so malformed JSON values fall back safely._find_tool()andfind_script_in_folder()tois_file()checks.zipball_urlscheme (http/https), rejected symlink ZIP entries, and cleaned up partial.zipfiles on download stream errors.Verification
python -B -X utf8 -m pytest tests -ra: 127 passedruff check --no-cache .: All checks passedpython -B -X utf8 -m compileall -q .: exit 0python -B -X utf8 tests/source_platform_smoke.py: PASS (including headless CLI smoke)lint_mermaid.py: 15 MD / 2 Mermaid CLEANgit diff --check: 0 issues