The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
ethernet8bef97fa16b1
diff --cc tests/e2e/core/dashboard/test_dashboard_mcp_install.pyindex 9f4b0c0c01b,e9dda1d889b..2ffdc664821--- a/tests/e2e/core/dashboard/test_dashboard_mcp_install.py+++ b/tests/e2e/core/dashboard/test_dashboard_mcp_install.py@@@ -25,10 -25,11 +25,11 @@@ import timfrom pathlib import Pathimport pytest-import yaml+import hermes_yaml as yamlfrom tests.e2e.core.dashboard._helpers import Sandbox, make_sandbox- from tests.e2e.core.dashboard._issue_helpers import Issue120527, PtyDashboard, xfail_known+ from tests.e2e.core._pending_fixes import known_gate+ from tests.e2e.core.dashboard._issue_helpers import Issue120527, PtyDashboardpytestmark = pytest.mark.skipif(not sys.platform.startswith("linux"), reason="pty stdin + /proc reaper")INSTALL_DEADLINE_S = 30.0 # a healthy install (write config + spawn/probe a local server) takes ~2 sdiff --cc tests/e2e/core/mcp_plugins/test_plugin_activation.pyindex 891fbe013c0,6735a36d4fd..cdc70e4be73--- a/tests/e2e/core/mcp_plugins/test_plugin_activation.py+++ b/tests/e2e/core/mcp_plugins/test_plugin_activation.py@@@ -32,13 -32,10 +32,13 @@@ from typing import Animport pytest+from tests.e2e.core._pm_dependencies import select_test_dependenciesfrom tests.e2e.core.mcp_plugins._helpers import (FINAL,+ REPO_ROOT,+ E2EHome,- apply_known,+ KnownSymptom,- build_home,+ build_home as _build_home,calls_received,inbound,provider,@@@ -73,18 -79,6 +82,13 @@@ KNOWN: dict[str, tuple[str, str]] =}- @pytest.fixture(autouse=True)- def _known(request: pytest.FixtureRequest) -> None:- apply_known(request, KNOWN)--+def build_home(root: Path, base_url: str, *, extra: dict[str, Any] | None = None) -> E2EHome:+ eh = _build_home(root, base_url, extra=extra)+ select_test_dependencies(eh.hermes_home, REPO_ROOT)+ eh.extra_env["HERMES_DISABLE_LAZY_INSTALLS"] = "1"+ return eh++PLUGIN = "e2eplug"SERVER = "plug"PLUG_TOOL = tool_name(SERVER, "ro_probe")diff --cc tests/e2e/core/providers/_openai_helpers.pyindex 2bcea3b36a6,3435c5e8de2..c8f73dc483c--- a/tests/e2e/core/providers/_openai_helpers.py+++ b/tests/e2e/core/providers/_openai_helpers.py@@@ -18,11 -18,12 +18,12 @@@ import timfrom contextlib import contextmanagerfrom dataclasses import dataclassfrom pathlib import Path- from typing import Any, Callable, Iterator+ from typing import Any, Callable, Iterator, Mapping- import pytest-import yaml+import hermes_yaml as yaml+ from tests.e2e.core._pending_fixes import known_gate+REPO_ROOT = Path(__file__).resolve().parents[4]TURN_TIMEOUT = 150.0_SECRET_ENV_SUFFIXES = ("_API_KEY", "_TOKEN", "_SECRET", "_ACCESS_KEY")diff --cc tests/e2e/core/windows/test_cron_scripts.pyindex 72ec9013924,c9aaebcba47..8d70656c3f8--- a/tests/e2e/core/windows/test_cron_scripts.py+++ b/tests/e2e/core/windows/test_cron_scripts.py@@@ -21,12 -21,15 +21,15 @@@ from pathlib import Patimport pytest- from tests.e2e.core.windows._helpers import WinHome, expect, hermes, known, make_home, nonce+ from tests.e2e.core._pending_fixes import known_gate+ from tests.e2e.core.windows._helpers import KnownBugSymptom, WinHome, expect, hermes, make_home, nonce-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]- KNOWN: dict[str, str] = {- "sh_script": "#120504 cron .sh scripts resolve bash via bare PATH lookup (WSL stub), not Git Bash",+ # key -> (the bug's own failure signature, "#issue reason"); see _pending_fixes.known_failure.+ KNOWN: dict[str, tuple[str, str]] = {+ "sh_script": (r"^bare PATH lookup finds (None|'[^']*(?i:system32|windowsapps)[^']*'); job status",+ "#120504 cron .sh scripts resolve bash via bare PATH lookup (WSL stub), not Git Bash"),}_JOB_ID = re.compile(r"Created job: (\S+)")diff --cc tests/e2e/core/windows/test_prompt_paths.pyindex cc625f74863,a14c02f22f6..8eb8b8e5f9d--- a/tests/e2e/core/windows/test_prompt_paths.py+++ b/tests/e2e/core/windows/test_prompt_paths.py@@@ -32,12 -32,16 +32,16 @@@ from tests.e2e.core.windows._helpers imfrom tests.e2e.core.windows._rpc import StdioGatewayfrom tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]- KNOWN: dict[str, str] = {- "native-backslash": "#121150 subdirectory hints never load from native Windows paths (POSIX shlex)",- "chain_labels": "#121015 AGENTS.md chain labels use os.path.relpath separators (..\\AGENTS.md)",- "folder_header": "#121114 @folder listing header mixes separators on Windows (pkg\\sub/)",+ # key -> (the bug's own failure signature, "#issue reason"); see _pending_fixes.known_failure.+ KNOWN: dict[str, tuple[str, str]] = {+ "native-backslash": (r"^native-backslash: backend/AGENTS\.md never reached the model after ",+ "#121150 subdirectory hints never load from native Windows paths (POSIX shlex)"),+ "chain_labels": (r"^AGENTS\.md chain headings are not the portable spelling: \[.*\\",+ "#121015 AGENTS.md chain labels use os.path.relpath separators (..\\AGENTS.md)"),+ "folder_header": (r"^@folder header lines: \['pkg\\+sub/'\]",+ "#121114 @folder listing header mixes separators on Windows (pkg\\sub/)"),}# spelling -> terminal command the model issues (the issue's own repro commands)diff --cc tests/e2e/core/windows/test_unicode_input.pyindex 31e09ea4682,867a5f719c9..c1f49bae1b4--- a/tests/e2e/core/windows/test_unicode_input.py+++ b/tests/e2e/core/windows/test_unicode_input.py@@@ -34,10 -34,8 +34,8 @@@ from tests.e2e.core.windows._helpers imfrom tests.e2e.core.windows._rpc import StdioGatewayfrom tests.fakes.fake_llm_provider import FakeLLMServer, Text-pytestmark = [pytest.mark.windows_only, pytest.mark.integration]+pytestmark = [pytest.mark.platforms("windows"), pytest.mark.integration]- KNOWN: dict[str, str] = {} # nothing red on origin/main in this file-TEXT = "Grüße, 日本語 und Emoji 😂👍🏽"REPLY = "Réponse ✓ 😂"BMP = "Grüße, 日本語"@@@ -139,14 -137,11 +137,14 @@@ def test_classic_cli_console_non_ascii_console.proc.write(f"{BMP} {tag}")wait_until(lambda: tag in console.screen, 30, "the composer to echo the typed text")echoed = _plain(console.screen)- # Enter immediately after input is deliberately treated as a pasted newline by- # the classic composer; wait for the typed text to settle before submitting.+ # An Enter within 50 ms of the last composer change is read as a pasted newline, and the- # echo can paint inside that window: give the Enter real time after the last typed key.- time.sleep(0.5)++ # echo can paint inside that window: submit only once the typed echo has gone quiet.+ wait_until(lambda: console.quiet_for(0.2), 30, "the typed composer to settle before Enter")console.proc.write("\r")- wait_until(lambda: srv.main_requests(), 90, "the typed turn to reach the provider")+ try:+ wait_until(lambda: srv.main_requests(), 90, "the typed turn to reach the provider")+ except AssertionError as exc:+ raise AssertionError(f"{exc}; console tail: {ascii(_plain(console.screen)[-600:])}") from excuser = last_user(srv.main_requests()[0])finally:screen = console.screen