"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
Merge remote-tracking branch 'origin/main' into feat/slack-ui-hot-update
shadowinlife31e05e577b2e
diff --cc agent/src/channels/config_meta.pyindex b4c1961e7,a6584ac7d..350df20cc--- a/agent/src/channels/config_meta.py+++ b/agent/src/channels/config_meta.py@@@ -24,9 -24,7 +24,8 @@@ from __future__ import annotationimport loggingimport refrom typing import Any+from typing import NotRequiredfrom typing import TypedDict- from urllib.parse import urlsplit, urlunsplitfrom src.channels.registry import load_channel_classdiff --cc agent/tests/test_channel_authoring_contract.pyindex 3e19755eb,2cfbf7721..1a574c394--- a/agent/tests/test_channel_authoring_contract.py+++ b/agent/tests/test_channel_authoring_contract.py@@@ -16,24 -16,14 +16,24 @@@ from pathlib import Patimport pytest- from src.channels.config_meta import channel_field_hints, split_values_secrets+ from src.channels.config_meta import channel_field_hints, is_secret_key, split_values_secretsfrom src.channels.registry import discover_channel_names, load_channel_class+# Hand-written hints replace derived ones, so a channel may deliberately keep+# scalar keys file-configured. Each exemption is an audited design decision,+# not a gap: slack's transport knobs — SlackChannel.start() only accepts+# mode == "socket" (any other mode logs and returns), so mode/webhook_path+# have no meaningful form widget (feishu precedent: transport knobs are not+# exposed). See _slack_hints() in config_meta.py.+_FILE_CONFIGURED_SCALARS: dict[str, set[str]] = {+ "slack": {"mode", "webhook_path"},+}+- @pytest.mark.parametrize("name", discover_channel_names())- def test_every_discovered_channel_satisfies_the_authoring_contract(name) -> None:+ def _load_channel_class_or_skip(name: str):+ """Load a discovered channel; skip only on a genuine missing-dependency envelope."""try:- cls = load_channel_class(name)+ return load_channel_class(name)except ImportError as exc:# Only the adapter's explicit missing-dependency envelope can skip.# An arbitrary import or missing BaseChannel subclass must fail.