feat: expand module workflows, dynamic config, notifications and console API

This commit is contained in:
2026-09-04 09:49:37 +08:00
parent 8df5266abb
commit b124d757b0
309 changed files with 89358 additions and 6232 deletions
+6 -5
View File
@@ -25,7 +25,7 @@ MANIFEST_PATH = (
PRODUCTION_PYTHON = {
"aggregate_daily_final.py",
"analyze_style_with_hermes.py",
"analyze_style.py",
"backfill_poseidon_sales.py",
"backfill_collect.py",
"backfill_one_day.py",
@@ -152,7 +152,7 @@ INTENTIONALLY_EXCLUDED = {
SUBPROCESS_TARGETS = {
"aggregate_daily_final.py",
"analyze_style_with_hermes.py",
"analyze_style.py",
"check_nine_day_decline.py",
"collect_dy_market_rank.py",
"collect_dy_persona_to_bitable.py",
@@ -373,11 +373,12 @@ def test_product_runtime_has_no_hardcoded_long_hex_keys() -> None:
text = path.read_text(encoding="utf-8-sig")
assert hardcoded_key.search(text) is None, path
analyzer = (MODULE_ROOT / "analyze_style_with_hermes.py").read_text(
analyzer = (MODULE_ROOT / "analyze_style.py").read_text(
encoding="utf-8-sig"
)
assert 'os.getenv("HERMES_API_KEY")' in analyzer
assert "HERMES_API_KEY is required" in analyzer
assert "call_direct_llm" in analyzer
assert "STYLE_ANALYSIS_LLM_MODEL" in analyzer
assert "analyze_style_with_hermes" not in analyzer
def test_product_core_runtime_has_no_known_f821_regressions() -> None: