"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs: rewrite the 2026-08-18 news to cover the whole day
Haozhe Wuc6e8aeb6df7a
diff --git a/README.md b/README.mdindex 2000d2fa0..449696086 100644--- a/README.md+++ b/README.md@@ -52,7 +52,7 @@> ⚠️ **Security warning:** The X account `VibeTrading_HKU`, Virtuals project `101845`, and token contract `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` are not official Vibe-Trading assets. We have never launched or endorsed any token or memecoin. Do not buy, connect a wallet, or sign anything. [Details](SECURITY.md#official-channels--impersonation).-- **2026-08-18** 🈶 **A correct report was refused because a date touched Chinese text**: The grounding gate masks calendar dates before reading the remaining numbers as price claims, but its ISO pattern was anchored on `\b` — which is Unicode-aware, so `最` counts as a word character and `(2026-07-14最低)` has no boundary after the day. The date survived the mask and contributed `2026`, `7` and `14` as candidate prices, none of which match any observed OHLC range, so a report whose actual quotes were correct was rejected ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), closes [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Also: `run_dcf` valued non-finite inputs instead of refusing them — `beta=inf` returned a per-share price of `-1.7`, because `math.isclose(inf, inf)` is `True` and the reconciliation net never fired ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), closes [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); a tool module that failed to import left a quietly smaller registry behind a generic `Tool not found`, so a missing optional dependency read as a typo ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), closes [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); and the MCP `get_market_data` docstring told clients to read `_provenance.volume_unit` while the call omitted `include_provenance=True`, so the field was never there ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). **New:** **German is the seventh UI language**, and the locale parity suite now derives its language set from the locales directory, so a new locale cannot ship untested ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); plus offline USD-M account reconciliation, comparing local risk state with an exchange observation without opening a connection ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). Thanks [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), and [@honginp](https://github.com/honginp)!+- **2026-08-18** 🈶 **Correct reports stopped being refused, and backtests stopped trading noise**: `\b` is Unicode-aware, so `最` counts as a word character and `(2026-07-14最低)` had no boundary after the day — the date survived the mask and `2026`, `7` and `14` reached the OHLC check as prices no observed range can contain ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), closes [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Four refusals of the same family went with it: a dash-form trading day (`08-10(一)`), a level stated as a range leaving `-20` behind, a GTC line (`100 @ $3.50`) read as two observed quotes, and a report-style date cell that matched no evidence row at all. **Backtests:** `position_adjustment="hold"` dropped a requested resize in silence, and `"rebalance"` had no drift band — measured, a 0.01% daily move re-pinned a position on 19 of 30 bars, so a strategy with its own `rebalance_freq` traded every bar regardless. Dropped requests are now reported, and `rebalance_tolerance` is the band practitioners mean by "rebalance when weights move more than X", defaulting to `0.0` so no existing run changes. Nineteen industry-neutralized alpha101 alphas had been skipped on every SP500 bench run for want of a sector tag that was already in the table the constituents come from. **New:** a Market Watch monitor can push its briefing to an IM channel once the run finishes, through a persisted outbox that a restart cannot lose and a concurrent sweep cannot double-send ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)); **German is the seventh UI language** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); `run_dcf` refuses non-finite inputs instead of returning a plausible negative share price ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), closes [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); the MCP `get_market_data` response carries the `_provenance` its own docstring promised ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)); a tool module that fails to import is named rather than quietly shrinking the registry ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), closes [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); and offline USD-M account reconciliation compares local risk state with an exchange observation without opening a connection ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **Also:** importing `backtest.runner` no longer loads a `.env` into the process, which had made a local full-suite run untrustworthy on any machine that has one ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). Thanks [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0), and [@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **The test suite stopped writing into your real config root — including the live audit ledger**: Running the project's own suite appended fabricated `order_rejected` records to `~/.vibe-trading/live/audit.jsonl`, an append-only, hash-chained ledger whose entire value is that its entries cannot be manufactured, and on Windows left a corrupted chain file behind. `conftest.py` had no config-root sandbox at all, so every module that baked `Path.home() / ".vibe-trading"` at import time resolved against the real home on **any** platform — Windows was worse only because `Path.home()` reads `%USERPROFILE%` there and ignores `$HOME`, leaving the isolation idiom the suite had been using inert. Home is now redirected before collection, the sandbox owns a single knob so per-test isolation still wins, and session end asserts the real ledgers are byte-identical instead of merely checking that the redirect was installed ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), closes [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). Also: `xirr` and `money_weighted_return` raised `ZeroDivisionError` on horizons past ~51 years, where the discount factor underflows to zero — exactly the long, irregular streams XIRR exists for ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); and a backtest archived into an active run merged with the previous one's artifacts, so a single report could describe two different backtests while `/runs/{id}` listed the leftovers as its own ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). Thanks [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), and [@pengpengyi92](https://github.com/pengpengyi92)!- **2026-08-16** 🔧 **Anthropic runs no longer die on recovery, and symbol search stops reporting empty results as healthy**: Recovery paths appended mid-conversation `system` messages that the Anthropic API rejects, killing the run — recovery steering now travels as user messages with inline `<system>` tags ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), closes [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` returned zero candidates with both sources reporting `ok` for ticker+name queries, so identity never locked and every data tool refused; the Yahoo path now reports such queries `skipped` instead of a misleading `ok` ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), closes [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Also: `LANGCHAIN_REASONING_EFFORT` is now honored on the Anthropic branch through a model allowlist ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); the Tencent loader recovers from `CERTIFICATE_VERIFY_FAILED` via the certifi CA bundle ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); the `revenue - cogs` gross-profit fallback is no longer dead code ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); and swarm workers use the shared truncation helper, so sub-agents always see the cut notice ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). Thanks [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), and [@Shizoqua](https://github.com/Shizoqua)!<details>diff --git a/README_ar.md b/README_ar.mdindex 6739f0599..dcfe80a97 100644--- a/README_ar.md+++ b/README_ar.md@@ -52,7 +52,7 @@> ⚠️ **تحذير أمني:** حساب X باسم `VibeTrading_HKU`، ومشروع Virtuals رقم `101845`، وعقد التوكن `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` كلّها غير رسمية ولا تتبع Vibe-Trading. لم نُطلق أو نؤيد مطلقًا أي توكن أو عملة ميم. لا تشترِ هذا التوكن، ولا تربط محفظتك، ولا توقّع أي شيء. [التفاصيل](SECURITY.md#official-channels--impersonation).-- **2026-08-18** 🈶 **تقرير صحيح كان يُرفض لأن تاريخًا لامس نصًا صينيًا**: تُخفي بوابة grounding تواريخ التقويم قبل أن تقرأ بقية الأرقام بوصفها ادعاءات سعرية، لكن نمط التاريخ ISO كان مثبّتًا على `\b`، و`\b` يراعي Unicode، فيُحتسب `最` حرفًا ضمن الكلمة، ومن ثم لا توجد حدود بعد اليوم في `(2026-07-14最低)`. نجا التاريخ من الإخفاء وأسهم بـ `2026` و`7` و`14` كأسعار مرشّحة لا يطابق أيٌّ منها نطاق OHLC مرصودًا، فرُفض تقرير كانت اقتباساته الفعلية صحيحة ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)، يغلق [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). وأيضًا: كان `run_dcf` يُقيّم المدخلات غير المنتهية بدل رفضها — فمع `beta=inf` كان يعيد سعرًا للسهم قدره `-1.7`، لأن `math.isclose(inf, inf)` تساوي `True` فلم تعمل شبكة المطابقة قط ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)، يغلق [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120))؛ وأي وحدة أدوات يفشل استيرادها كانت تترك سجلًا أصغر بصمت خلف رسالة `Tool not found` عامة، فتبدو التبعية الاختيارية المفقودة وكأنها خطأ إملائي ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)، يغلق [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124))؛ كما كان توثيق `get_market_data` في MCP يطلب من العملاء قراءة `_provenance.volume_unit` بينما لم يمرّر الاستدعاء `include_provenance=True`، فلم يكن الحقل موجودًا أصلًا ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). **جديد:** **الألمانية هي لغة الواجهة السابعة**، وصارت مجموعة اختبارات تطابق اللغات تشتق قائمتها من مجلد locales، فلا يمكن إطلاق لغة جديدة بلا اختبار ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))؛ إضافة إلى تسوية حساب USD-M دون اتصال، تقارن حالة المخاطر المحلية برصدٍ من المنصة دون فتح أي اتصال ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). شكرًا [@Robin1987China](https://github.com/Robin1987China) و[@newgo](https://github.com/newgo) و[@er-s-an](https://github.com/er-s-an) و[@Shizoqua](https://github.com/Shizoqua) و[@1psconstructor](https://github.com/1psconstructor) و[@honginp](https://github.com/honginp)!+- **2026-08-18** 🈶 **لم تعد التقارير الصحيحة تُرفض، ولم تعد الاختبارات الرجعية تتداول الضجيج**: `\b` يراعي Unicode، فيُحتسب `最` حرفًا ضمن الكلمة، ومن ثم لا توجد حدود بعد اليوم في `(2026-07-14最低)`: نجا التاريخ من الإخفاء ووصلت `2026` و`7` و`14` إلى فحص OHLC كأسعار لا يمكن لأي نطاق مرصود أن يحتويها ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)، يغلق [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). ومعه عولجت أربع حالات رفض من العائلة نفسها: يوم تداول بصيغة الشرطة (`08-10(一)`)، ومستوى مكتوب كنطاق يترك `-20` خلفه، وسطر أمر GTC (`100 @ $3.50`) يُقرأ كتسعيرتين مرصودتين، وخلية تاريخ بصيغة التقارير لا تطابق أي صف أدلة. **الاختبارات الرجعية:** كان `position_adjustment="hold"` يُسقط بصمت أي تعديل مطلوب على الحجم، ولم يكن لدى `"rebalance"` أي نطاق انحراف على الإطلاق: بالقياس، حركة يومية بنسبة 0.01% أعادت تثبيت المركز في 19 شمعة من 30، أي أن استراتيجية لها `rebalance_freq` خاص بها كانت تتداول في كل شمعة رغم ذلك. صارت الطلبات المُسقطة تُبلَّغ، و`rebalance_tolerance` هو النطاق الذي يعنيه الممارسون بعبارة «أعد التوازن عندما تتحرك الأوزان أكثر من X»، وقيمته الافتراضية `0.0` فلا يتغير أي تشغيل قائم. كما كانت تسع عشرة صيغة alpha101 محايدة قطاعيًا تُتخطى في كل اختبار SP500 بسبب غياب وسم القطاع، وهو موجود أصلًا في الجدول الذي تأتي منه المكوّنات. **جديد:** يمكن لمراقب Market Watch إرسال ملخصه إلى قناة مراسلة فور انتهاء التشغيل، عبر صندوق صادر مُخزَّن لا تفقده إعادة التشغيل ولا يُكرِّره مسحٌ متزامن ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942))؛ **الألمانية هي لغة الواجهة السابعة** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))؛ و`run_dcf` يرفض المدخلات غير المنتهية بدل إعادة سعر سهم سالب يبدو معقولًا ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)، يغلق [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120))؛ وتحمل استجابة `get_market_data` في MCP حقل `_provenance` الذي وعد به توثيقها ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))؛ ووحدة أدوات يفشل استيرادها تُذكر بالاسم بدل تقليص السجل بصمت ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)، يغلق [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124))؛ وتسوية حساب USD-M دون اتصال تقارن حالة المخاطر المحلية برصدٍ من المنصة دون فتح أي اتصال ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **وأيضًا:** لم يعد استيراد `backtest.runner` يحمّل ملف `.env` إلى العملية، وهو ما كان يجعل تشغيل مجموعة الاختبارات محليًا غير جدير بالثقة على أي جهاز يملك واحدًا ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). شكرًا [@Robin1987China](https://github.com/Robin1987China) و[@newgo](https://github.com/newgo) و[@er-s-an](https://github.com/er-s-an) و[@Shizoqua](https://github.com/Shizoqua) و[@1psconstructor](https://github.com/1psconstructor) و[@honginp](https://github.com/honginp) و[@cgycorey](https://github.com/cgycorey) و[@alinv0](https://github.com/alinv0) و[@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **لم تعد مجموعة الاختبارات تكتب في جذر الإعدادات الحقيقي — بما فيه سجل التدقيق المباشر**: كان تشغيل مجموعة اختبارات المشروع يُلحق سجلات `order_rejected` مُصطنعة بـ `~/.vibe-trading/live/audit.jsonl`، وهو سجل للإضافة فقط ومترابط بالتجزئة وقيمته كلها في أن مدخلاته لا يمكن اصطناعها؛ وعلى Windows كان يترك ملف سلسلة تالفاً. لم يكن في `conftest.py` أي عزل لجذر الإعدادات، فكل وحدة تُثبّت `Path.home() / ".vibe-trading"` وقت الاستيراد كانت تحلّ إلى المنزل الحقيقي على **أي** نظام؛ وكان Windows أسوأ فقط لأن `Path.home()` هناك يقرأ `%USERPROFILE%` ويتجاهل `$HOME`، ما جعل أسلوب العزل الذي كانت المجموعة تستخدمه بلا أثر. صار المنزل يُحوَّل قبل الجمع، وتملك البيئة المعزولة مفتاحاً واحداً فقط ليبقى عزل كل اختبار هو الغالب، ويتحقق نهاية الجلسة من أن السجلات الحقيقية مطابقة بايت ببايت بدل الاكتفاء بفحص وجود التحويل ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118)، يغلق [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). كذلك: كان `xirr` و`money_weighted_return` يرفعان `ZeroDivisionError` على المدى الذي يتجاوز نحو 51 سنة حيث يهبط معامل الخصم إلى الصفر — وهي بالضبط التدفقات الطويلة غير المنتظمة التي وُجد XIRR من أجلها ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119))؛ وكانت نتائج الاختبار الخلفي المؤرشفة في تشغيل نشط تندمج مع مخرجات التشغيل السابق، فيصير تقرير واحد قادراً على وصف اختبارين مختلفين، ويعرض `/runs/{id}` البقايا وكأنها مخرجاته ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). شكراً [@lorenzozanee](https://github.com/lorenzozanee)، [@straun-repo](https://github.com/straun-repo)، و [@pengpengyi92](https://github.com/pengpengyi92)!- **2026-08-16** 🔧 **لم تعد عمليات Anthropic تموت في مسارات التعافي، ولم يعد بحث الرموز يبلّغ عن نتائج فارغة وكأنها سليمة**: رسائل `system` التي تُلحقها مسارات التعافي في منتصف المحادثة ترفضها واجهة Anthropic فتُنهي التشغيل؛ صار توجيه التعافي يسري الآن كرسائل مستخدم بوسوم `<system>` مضمّنة ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)، يغلق [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). وكان `search_symbol` يعيد صفر مرشحين لاستعلامات "رمز + اسم" بينما يبلّغ المصدران عن `ok`، فلا تنقفل الهوية وترفض كل أدوات البيانات الطلب؛ أصبح مسار Yahoo يعلّم هذه الاستعلامات بـ `skipped` بدل `ok` مضلل ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)، يغلق [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). كذلك: صار `LANGCHAIN_REASONING_EFFORT` يُفعَّل في فرع Anthropic عبر قائمة سماح للنماذج ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115))، ويتعافى محمّل Tencent من `CERTIFICATE_VERIFY_FAILED` بحزمة شهادات certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113))، ولم يعد اشتقاق `revenue - cogs` لإجمالي الربح كوداً ميتاً ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111))، ويقصّ عمال السرب النتائج بالمساعد المشترك فيرى الوكيل الفرعي إشعار القص دائماً ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). شكراً [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), و [@Shizoqua](https://github.com/Shizoqua)!<details>diff --git a/README_es.md b/README_es.mdindex dcdb50bc0..c9fb9018b 100644--- a/README_es.md+++ b/README_es.md@@ -52,7 +52,7 @@> ⚠️ **Advertencia de seguridad:** la cuenta de X `VibeTrading_HKU`, el proyecto de Virtuals `101845` y el contrato de token `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` no son activos oficiales de Vibe-Trading. Nunca hemos lanzado ni respaldado ningún token o memecoin. No compres, conectes una wallet ni firmes nada. [Detalles](SECURITY.md#official-channels--impersonation).-- **2026-08-18** 🈶 **Un informe correcto se rechazaba porque una fecha tocaba texto en chino**: la puerta de grounding enmascara las fechas de calendario antes de leer el resto de los números como afirmaciones de precio, pero su patrón ISO estaba anclado en `\b`, que reconoce Unicode: `最` cuenta como carácter de palabra, así que en `(2026-07-14最低)` no hay frontera después del día. La fecha sobrevivía al enmascarado y aportaba `2026`, `7` y `14` como precios candidatos, ninguno de los cuales coincide con un rango OHLC observado, de modo que se rechazaba un informe cuyas cotizaciones reales eran correctas ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), cierra [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Además: `run_dcf` valoraba entradas no finitas en lugar de rechazarlas — con `beta=inf` devolvía un precio por acción de `-1.7`, porque `math.isclose(inf, inf)` es `True` y la red de conciliación nunca se activaba ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), cierra [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); un módulo de herramientas que fallaba al importarse dejaba un registro silenciosamente más pequeño tras un `Tool not found` genérico, así que una dependencia opcional ausente parecía un error de escritura ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), cierra [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); y el docstring de `get_market_data` en MCP indicaba a los clientes leer `_provenance.volume_unit` mientras la llamada omitía `include_provenance=True`, así que el campo nunca estuvo ahí ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). **Novedades:** **el alemán es el séptimo idioma de la interfaz**, y la suite de paridad de locales deriva ahora su conjunto de idiomas del directorio locales, de modo que un idioma nuevo no puede publicarse sin pruebas ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); además, conciliación de cuenta USD-M sin conexión, que compara el estado de riesgo local con una observación del exchange sin abrir ninguna conexión ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). Gracias [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor) y [@honginp](https://github.com/honginp).+- **2026-08-18** 🈶 **Los informes correctos dejaron de rechazarse, y los backtests dejaron de operar ruido**: `\b` reconoce Unicode, así que `最` cuenta como carácter de palabra y `(2026-07-14最低)` no tenía frontera después del día: la fecha sobrevivía al enmascarado y `2026`, `7` y `14` llegaban a la verificación OHLC como precios que ningún rango observado puede contener ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), cierra [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Con él se fueron otros cuatro rechazos de la misma familia: una fecha de sesión con guion (`08-10(一)`), un nivel expresado como rango que dejaba `-20` detrás, una línea GTC (`100 @ $3.50`) leída como dos cotizaciones observadas, y una celda de fecha con formato de informe que no coincidía con ninguna fila de evidencia. **Backtests:** `position_adjustment="hold"` descartaba en silencio un cambio de tamaño solicitado, y `"rebalance"` no tenía banda de deriva alguna: medido, un movimiento diario del 0,01 % volvía a fijar la posición en 19 de 30 barras, de modo que una estrategia con su propio `rebalance_freq` operaba igualmente en cada barra. Las solicitudes descartadas ahora se informan, y `rebalance_tolerance` es la banda que los profesionales describen como "rebalancear cuando los pesos se muevan más de X"; su valor por defecto `0.0` deja intacta cualquier ejecución existente. Además, diecinueve alfas alpha101 neutralizadas por industria se omitían en cada bench de SP500 por falta de una etiqueta de sector que ya estaba en la tabla de la que provienen los constituyentes. **Novedades:** un monitor de Market Watch puede enviar su informe a un canal de mensajería cuando la ejecución termina, a través de un outbox persistido que un reinicio no puede perder y que un barrido concurrente no puede duplicar ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)); **el alemán es el séptimo idioma de la interfaz** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); `run_dcf` rechaza entradas no finitas en lugar de devolver un precio por acción negativo y verosímil ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), cierra [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); la respuesta de `get_market_data` en MCP incluye el `_provenance` que su propio docstring prometía ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)); un módulo de herramientas que falla al importarse se nombra en vez de reducir el registro en silencio ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), cierra [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); y la conciliación de cuenta USD-M sin conexión compara el estado de riesgo local con una observación del exchange sin abrir ninguna conexión ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **También:** importar `backtest.runner` ya no carga un `.env` en el proceso, algo que volvía poco fiable una ejecución local de toda la suite en cualquier máquina que tuviera uno ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). Gracias [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0) y [@jelech](https://github.com/jelech).- **2026-08-17** 🔒 **La suite de pruebas dejó de escribir en tu raíz de configuración real, incluido el libro de auditoría en vivo**: Ejecutar la propia suite del proyecto añadía registros `order_rejected` fabricados a `~/.vibe-trading/live/audit.jsonl`, un libro solo-de-adición encadenado por hash cuyo valor completo consiste en que sus entradas no se pueden fabricar; en Windows dejaba además un archivo de cadena corrupto. `conftest.py` no tenía ningún aislamiento de la raíz de configuración, así que cualquier módulo que fijara `Path.home() / ".vibe-trading"` en tiempo de importación resolvía contra el home real en **cualquier** plataforma: Windows era peor solo porque allí `Path.home()` lee `%USERPROFILE%` e ignora `$HOME`, dejando inerte el modismo de aislamiento que la suite venía usando. Ahora el home se redirige antes de la recolección, el sandbox posee una sola perilla para que el aislamiento por prueba siga ganando, y el final de la sesión afirma que los libros reales son idénticos byte a byte en lugar de solo comprobar que la redirección estaba instalada ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), cierra [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). Además: `xirr` y `money_weighted_return` lanzaban `ZeroDivisionError` en horizontes de más de ~51 años, donde el factor de descuento se desborda a cero — exactamente los flujos largos e irregulares para los que existe XIRR ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); y un backtest archivado en una ejecución activa se fusionaba con los artefactos del anterior, de modo que un solo informe podía describir dos backtests distintos mientras `/runs/{id}` listaba los restos como propios ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). Gracias a [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo) y [@pengpengyi92](https://github.com/pengpengyi92)!- **2026-08-16** 🔧 **Las ejecuciones con Anthropic ya no mueren en las rutas de recuperación, y la búsqueda de símbolos deja de reportar resultados vacíos como si fueran correctos**: Los mensajes `system` que las rutas de recuperación añadían a mitad de conversación los rechaza la API de Anthropic, matando la ejecución; el direccionamiento de recuperación viaja ahora como mensajes de usuario con etiquetas `<system>` en línea ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), cierra [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` devolvía cero candidatos para consultas ticker+nombre mientras ambas fuentes reportaban `ok`, así que la identidad nunca se bloqueaba y todas las herramientas de datos rechazaban la petición; la vía de Yahoo marca ahora esas consultas como `skipped` en vez de un `ok` engañoso ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), cierra [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Además: `LANGCHAIN_REASONING_EFFORT` ya se aplica en la rama de Anthropic mediante una lista de modelos permitida ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); el cargador de Tencent se recupera de `CERTIFICATE_VERIFY_FAILED` con el paquete CA de certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); la derivación `revenue - cogs` del beneficio bruto deja de ser código muerto ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); y los trabajadores del swarm recortan con el helper compartido, así que el subagente siempre ve el aviso de recorte ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). ¡Gracias a [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey) y [@Shizoqua](https://github.com/Shizoqua)!<details>diff --git a/README_ja.md b/README_ja.mdindex 17b5530de..9711c2f77 100644--- a/README_ja.md+++ b/README_ja.md@@ -52,7 +52,7 @@> ⚠️ **セキュリティ警告:** Xアカウント `VibeTrading_HKU`、Virtualsプロジェクト `101845`、およびトークンコントラクト `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` は、いずれもVibe-Trading公式のものではありません。Vibe-Tradingはこれまで、いかなるトークンやミームコインも発行・公認していません。購入、ウォレットの接続、署名は行わないでください。[詳細](SECURITY.md#official-channels--impersonation)-- **2026-08-18** 🈶 **日付が中国語に接していたせいで、正しいレポートが拒否されていました**:grounding ゲートは残りの数値を価格の主張として読む前にカレンダー日付をマスクしますが、その ISO 日付パターンは `\b` を境界に使っていました。`\b` は Unicode を認識するため `最` も語構成文字と見なされ、`(2026-07-14最低)` では「日」の直後に境界が存在しません。日付はマスクをすり抜けて `2026`・`7`・`14` を候補価格として持ち込み、いずれも観測済みの OHLC レンジと一致しないため、引用値そのものは正しいレポートが拒否されていました([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)、[#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) をクローズ)。同時に:`run_dcf` は非有限の入力を拒否せずそのまま評価していました。`beta=inf` で 1 株あたり `-1.7` を返していたのは、`math.isclose(inf, inf)` が `True` になり突合ネットが一度も作動しなかったためです([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)、[#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) をクローズ)。インポートに失敗したツールモジュールは、静かに小さくなったレジストリと一般的な `Tool not found` だけを残すため、欠けているオプション依存がタイプミスのように見えていました([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)、[#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) をクローズ)。MCP の `get_market_data` は docstring で `_provenance.volume_unit` を読むよう指示しながら、呼び出し側が `include_provenance=True` を渡しておらず、このフィールドは存在していませんでした([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))。**新機能:** **ドイツ語が 7 番目の UI 言語**になり、ロケール整合性スイートは言語一覧を locales ディレクトリから導出するようになったため、新しいロケールが未テストのまま出荷されることはありません([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))。さらに、接続を一切開かずにローカルのリスク状態と取引所の観測値を比較するオフライン USD-M 口座リコンサイル([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。[@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor)、[@honginp](https://github.com/honginp) に感謝します!+- **2026-08-18** 🈶 **正しいレポートが拒否されなくなり、バックテストがノイズを売買しなくなりました**:`\b` は Unicode を認識するため `最` も語構成文字と見なされ、`(2026-07-14最低)` は「日」の直後に境界がありません。日付がマスクをすり抜け、`2026`・`7`・`14` が価格として OHLC 照合に入り、観測済みのどのレンジにも収まりませんでした([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)、[#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) をクローズ)。同系統の拒否をさらに 4 件修正:ハイフン形式の取引日(`08-10(一)`)、レンジで示した水準が下限だけマスクされ `-20` が残る件、GTC の注文行(`100 @ $3.50`)が観測値 2 つとして読まれる件、レポート形式の日付セルがどの証跡行にも一致しない件。**バックテスト:**`position_adjustment="hold"` は要求されたサイズ変更を黙って捨て、`"rebalance"` にはドリフト許容幅がまったくありませんでした。実測では日次 0.01% の変動で 30 本中 19 本のバーでポジションを取り直しており、独自の `rebalance_freq` を持つ戦略でも毎バー取引していたことになります。捨てられた要求は報告されるようになり、新しい `rebalance_tolerance` は実務家が言う「ウェイトが X 以上動いたらリバランス」の許容幅です。既定は `0.0` なので既存の実行結果は変わりません。さらに、業種中立の alpha101 アルファ 19 本は SP500 ベンチのたびにスキップされていました。パネルにセクタータグが無かったためですが、その情報は構成銘柄を取得している表に元から含まれていました。**新機能:** Market Watch のモニターは、実行完了後にブリーフィングを IM チャンネルへ配信できます。永続化されたアウトボックス経由なので、再起動で失われることも、同時実行のスイープで二重送信されることもありません([#942](https://github.com/HKUDS/Vibe-Trading/issues/942))。**ドイツ語が 7 番目の UI 言語**になりました([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))。`run_dcf` は非有限の入力を、もっともらしい負の 1 株価格を返す代わりに拒否します([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)、[#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) をクローズ)。MCP の `get_market_data` 応答は docstring が約束していた `_provenance` を返すようになりました([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))。インポートに失敗したツールモジュールは名指しされ、レジストリが静かに縮むことはなくなりました([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)、[#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) をクローズ)。オフラインの USD-M 口座リコンサイルも追加され、接続を開かずにローカルのリスク状態と取引所の観測値を比較します([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。**その他:** `backtest.runner` のインポートがプロセスへ `.env` を読み込まなくなりました。`agent/.env` があるマシンでは、これがローカルの全テスト実行を信用できないものにしていました([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123))。[@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor)、[@honginp](https://github.com/honginp)、[@cgycorey](https://github.com/cgycorey)、[@alinv0](https://github.com/alinv0)、[@jelech](https://github.com/jelech) に感謝します!- **2026-08-17** 🔒 **テストスイートが実際の設定ルート(ライブ監査台帳を含む)へ書き込まなくなりました**:プロジェクト自身のスイートを実行すると `~/.vibe-trading/live/audit.jsonl` に捏造された `order_rejected` レコードが追記されていました。これは追記専用のハッシュ連鎖台帳で、エントリを作り出せないことがその価値のすべてです。Windows では壊れた連鎖ファイルも残していました。`conftest.py` には設定ルートのサンドボックスが一切なく、インポート時に `Path.home() / ".vibe-trading"` を固定するモジュールは**どのプラットフォームでも**実ホームを解決していました。Windows がより深刻だったのは、そこでは `Path.home()` が `%USERPROFILE%` を読み `$HOME` を無視するため、スイートが従来使ってきた分離手法が無効になっていたからです。ホームは収集前にリダイレクトされ、サンドボックスはノブを1つだけ持つのでテストごとの分離が引き続き優先され、セッション終了時にはリダイレクトの有無ではなく実台帳がバイト単位で不変であることを検証します([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118)、[#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116) をクローズ)。ほかにも:`xirr` と `money_weighted_return` は約51年を超える期間で `ZeroDivisionError` を出していました(割引係数がゼロにアンダーフローするため)——まさに XIRR が存在する理由である長期・不規則なキャッシュフローです([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119));アクティブな実行へアーカイブされたバックテストが前回の成果物とマージされ、1つのレポートが2つの異なるバックテストを記述しうる状態で、`/runs/{id}` は残存ファイルを自身の成果物として列挙していました([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094))。[@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@pengpengyi92](https://github.com/pengpengyi92) に感謝します!- **2026-08-16** 🔧 **Anthropic の実行がリカバリー経路で停止しなくなり、シンボル検索が空結果を正常と報告しなくなった**:リカバリー経路が途中で追加する `system` メッセージは Anthropic API に拒否されて実行ごと停止していましたが、リカバリー指示はインラインの `<system>` タグ付きユーザーメッセージで送られるようになりました([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)、[#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) をクローズ)。`search_symbol` はティッカー+企業名のクエリにゼロ候補を返しながら両ソースが `ok` を報告し、identity がロックされず全データツールが拒否されていました。Yahoo 経路はこのクエリ形状を `skipped` と報告するようになりました([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)、[#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) をクローズ)。ほかにも:`LANGCHAIN_REASONING_EFFORT` がモデル許可リスト経由で Anthropic ブランチに反映([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));Tencent ローダーが certifi CA バンドルで `CERTIFICATE_VERIFY_FAILED` から回復([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` の粗利益フォールバックが死にコードでなくなる([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker が共有ヘルパーで切り詰め、サブエージェントは常に切り詰め表示を見られる([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。[@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey)、[@Shizoqua](https://github.com/Shizoqua) に感謝します!<details>diff --git a/README_ko.md b/README_ko.mdindex ee0279e32..50e5fcf1e 100644--- a/README_ko.md+++ b/README_ko.md@@ -52,7 +52,7 @@> ⚠️ **보안 경고:** X 계정 `VibeTrading_HKU`, Virtuals 프로젝트 `101845`, 토큰 컨트랙트 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4`는 모두 Vibe-Trading 공식과 무관합니다. Vibe-Trading은 어떠한 토큰이나 밈코인도 발행하거나 공식적으로 지지한 적이 없습니다. 해당 토큰을 구매하거나 지갑을 연결하거나 어떠한 서명도 하지 마세요. [자세히 보기](SECURITY.md#official-channels--impersonation).-- **2026-08-18** 🈶 **날짜가 중국어에 붙어 있었다는 이유로 올바른 리포트가 거부됐습니다**: grounding 게이트는 남은 숫자를 가격 주장으로 읽기 전에 달력 날짜를 마스킹하지만, ISO 날짜 패턴이 `\b`에 고정돼 있었습니다. `\b`는 유니코드를 인식하므로 `最`도 단어 문자로 취급되고, 따라서 `(2026-07-14最低)`에는 '일' 뒤에 경계가 없습니다. 날짜가 마스킹을 빠져나가 `2026`, `7`, `14`를 후보 가격으로 넘겼고, 이 값들은 관측된 어떤 OHLC 범위와도 맞지 않아 인용값 자체는 정확한 리포트가 거부됐습니다([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) 종료). 함께: `run_dcf`는 비유한 입력을 거부하지 않고 그대로 평가해 `beta=inf`에서 주당 `-1.7`을 반환했습니다. `math.isclose(inf, inf)`가 `True`라 대조 안전망이 한 번도 작동하지 않았기 때문입니다([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) 종료). 임포트에 실패한 도구 모듈은 조용히 줄어든 레지스트리와 일반적인 `Tool not found`만 남겨서, 누락된 선택적 의존성이 오타처럼 보였습니다([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) 종료). MCP의 `get_market_data`는 docstring에서 `_provenance.volume_unit`을 읽으라고 안내하면서 호출부는 `include_provenance=True`를 넘기지 않아 그 필드가 아예 없었습니다([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). **새 기능:** **독일어가 7번째 UI 언어**가 됐고, 로케일 정합성 스위트가 언어 집합을 locales 디렉터리에서 도출하도록 바뀌어 새 로케일이 테스트 없이 출시될 수 없습니다([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)). 여기에 연결을 전혀 열지 않고 로컬 리스크 상태와 거래소 관측치를 비교하는 오프라인 USD-M 계정 대사가 추가됐습니다([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp) 님 감사합니다!+- **2026-08-18** 🈶 **정확한 리포트가 더 이상 거부되지 않고, 백테스트가 노이즈를 매매하지 않습니다**: `\b`는 유니코드를 인식하므로 `最`도 단어 문자로 취급되고, 따라서 `(2026-07-14最低)`에는 '일' 뒤에 경계가 없습니다. 날짜가 마스킹을 빠져나가 `2026`, `7`, `14`가 가격으로 OHLC 검증에 들어갔고, 관측된 어떤 범위도 이 값들을 담을 수 없었습니다([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) 종료). 같은 계열의 거부 네 가지도 함께 고쳤습니다: 하이픈 형식 거래일(`08-10(一)`), 범위로 적은 가격대에서 하한만 마스킹되어 `-20`이 남던 문제, GTC 주문 줄(`100 @ $3.50`)이 관측 호가 두 개로 읽히던 문제, 리포트 형식 날짜 셀이 어떤 증거 행과도 일치하지 않던 문제. **백테스트:** `position_adjustment="hold"`는 요청된 비중 변경을 조용히 버렸고, `"rebalance"`에는 드리프트 허용 범위가 아예 없었습니다. 실측 결과 일간 0.01% 변동만으로 30개 봉 중 19개에서 포지션을 다시 맞췄고, 자체 `rebalance_freq`를 가진 전략도 매 봉 거래한 셈입니다. 버려진 요청은 이제 보고되며, 새 `rebalance_tolerance`는 실무자들이 말하는 "비중이 X 이상 움직이면 리밸런싱"의 허용 범위입니다. 기본값 `0.0`이라 기존 실행 결과는 그대로입니다. 또한 산업 중립 alpha101 알파 19개가 SP500 벤치마다 건너뛰어졌는데, 패널에 섹터 태그가 없었기 때문이며 그 정보는 구성종목을 가져오는 표에 이미 있었습니다. **새 기능:** Market Watch 모니터는 실행이 끝나면 브리핑을 IM 채널로 보낼 수 있습니다. 영속 아웃박스를 거치므로 재시작으로 유실되지 않고, 동시 스윕으로 중복 발송되지도 않습니다([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)). **독일어가 7번째 UI 언어**가 됐습니다([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)). `run_dcf`는 비유한 입력에 대해 그럴듯한 음수 주가를 반환하는 대신 거부합니다([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) 종료). MCP `get_market_data` 응답은 자체 docstring이 약속한 `_provenance`를 담습니다([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). 임포트에 실패한 도구 모듈은 이름이 드러나며 레지스트리가 조용히 줄어들지 않습니다([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) 종료). 오프라인 USD-M 계정 대사도 추가되어 연결을 열지 않고 로컬 리스크 상태와 거래소 관측치를 비교합니다([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **그 밖에:** `backtest.runner`를 임포트해도 더 이상 `.env`가 프로세스에 로드되지 않습니다. `agent/.env`가 있는 머신에서는 이것 때문에 로컬 전체 테스트를 신뢰할 수 없었습니다([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0), [@jelech](https://github.com/jelech) 님 감사합니다!- **2026-08-17** 🔒 **테스트 스위트가 실제 설정 루트(라이브 감사 원장 포함)에 쓰지 않게 되었습니다**: 프로젝트 자체 스위트를 실행하면 `~/.vibe-trading/live/audit.jsonl`에 조작된 `order_rejected` 레코드가 추가됐습니다. 이 파일은 추가 전용 해시 체인 원장이며, 항목을 만들어낼 수 없다는 점이 그 가치의 전부입니다. Windows에서는 손상된 체인 파일까지 남았습니다. `conftest.py`에는 설정 루트 샌드박스가 전혀 없어서, 임포트 시점에 `Path.home() / ".vibe-trading"`를 고정하는 모든 모듈이 **어느 플랫폼에서든** 실제 홈을 해석했습니다. Windows가 더 나빴던 이유는 거기서 `Path.home()`이 `%USERPROFILE%`를 읽고 `$HOME`을 무시해, 스위트가 써온 격리 방식이 무효였기 때문입니다. 이제 홈은 수집 전에 리디렉션되고, 샌드박스는 노브를 하나만 소유해 테스트별 격리가 계속 우선하며, 세션 종료 시 리디렉션 설치 여부가 아니라 실제 원장이 바이트 단위로 동일한지 검증합니다 ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116) 종료). 그 밖에도: `xirr`와 `money_weighted_return`이 약 51년을 넘는 기간에서 `ZeroDivisionError`를 던졌습니다 — 할인 계수가 0으로 언더플로하기 때문이며, 이는 바로 XIRR이 존재하는 이유인 장기·불규칙 현금흐름입니다 ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); 활성 실행으로 아카이브된 백테스트가 이전 실행의 산출물과 병합돼 한 리포트가 서로 다른 두 백테스트를 설명할 수 있었고, `/runs/{id}`는 남은 파일을 자기 산출물로 나열했습니다 ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@pengpengyi92](https://github.com/pengpengyi92) 님께 감사드립니다!- **2026-08-16** 🔧 **Anthropic 실행이 복구 경로에서 죽지 않게 되고, 심볼 검색이 빈 결과를 정상으로 보고하지 않게 되었습니다**: 복구 경로가 중간에 추가한 `system` 메시지는 Anthropic API가 거부해 실행 전체가 중단됐지만, 이제 복구 지시는 인라인 `<system>` 태그가 붙은 사용자 메시지로 전달됩니다 ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) 종료). `search_symbol`은 티커+이름 쿼리에 후보 0개를 반환하면서 두 소스 모두 `ok`를 보고해 identity가 잠기지 않고 모든 데이터 도구가 거부됐습니다. Yahoo 경로는 이제 이 쿼리 형태를 `skipped`로 표시합니다 ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) 종료). 그 밖에도: `LANGCHAIN_REASONING_EFFORT`가 모델 허용 목록을 통해 Anthropic 브랜치에 반영되고 ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)), Tencent 로더는 certifi CA 번들로 `CERTIFICATE_VERIFY_FAILED`에서 복구하며 ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)), `revenue - cogs` 총이익 폴백이 죽은 코드에서 벗어나고 ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)), swarm worker가 공유 헬퍼로 잘라내어 하위 에이전트가 항상 잘림 표시를 보게 됩니다 ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua) 님께 감사드립니다!<details>diff --git a/README_zh.md b/README_zh.mdindex 7e834ba71..baaccd2fd 100644--- a/README_zh.md+++ b/README_zh.md@@ -52,7 +52,7 @@> ⚠️ **安全警告:** X 账号 `VibeTrading_HKU`、Virtuals 项目 `101845` 及代币合约 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` 均非 Vibe-Trading 官方。我们从未发行或背书任何代币或 meme 币。请勿购买、连接钱包或签名。[详细说明](SECURITY.md#official-channels--impersonation)。-- **2026-08-18** 🈶 **一份正确的报告,因为日期紧挨着中文而被拒答**:grounding 闸门会先屏蔽日历日期,再把剩下的数字当作价格声明去核对,但它的 ISO 日期模式用 `\b` 定界,而 `\b` 是 Unicode 感知的——`最` 也算词字符,于是 `(2026-07-14最低)` 在“日”之后根本没有边界。日期逃过屏蔽,把 `2026`、`7`、`14` 贡献成三个候选价格,它们与任何已观测的 OHLC 区间都对不上,于是一份报价本身完全正确的报告被拒绝([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132),关闭 [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122))。同批:`run_dcf` 会拿非有限输入照常估值而不是拒绝——`beta=inf` 时返回每股 `-1.7`,因为 `math.isclose(inf, inf)` 为 `True`,对账网从未触发([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121),关闭 [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120));某个工具模块导入失败,只会留下一个悄悄变小的注册表和一句笼统的 `Tool not found`,缺失的可选依赖看起来就像拼错了工具名([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129),关闭 [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124));MCP 的 `get_market_data` docstring 让客户端去读 `_provenance.volume_unit`,而调用处没传 `include_provenance=True`,这个字段从来就不存在([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))。**新增:** **德语成为第 7 种界面语言**,并且 locale 一致性测试改为从 locales 目录派生语言集合,新语言不可能再零覆盖上线([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117));另有离线 USD-M 账户对账,在不建立任何连接的前提下,把本地风险状态与一次交易所观测做比对([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。感谢 [@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor) 和 [@honginp](https://github.com/honginp)!+- **2026-08-18** 🈶 **正确的报告不再被拒答,回测不再交易噪声**:`\b` 是 Unicode 感知的,`最` 也算词字符,于是 `(2026-07-14最低)` 在「日」之后没有边界——日期逃过掩码,`2026`、`7`、`14` 作为价格进入 OHLC 核对,而任何已观测区间都容不下它们([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132),关闭 [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122))。同族的另外四种拒答一并修掉:短横线交易日(`08-10(一)`)、区间式点位只被吃掉下界留下 `-20`、GTC 挂单行(`100 @ $3.50`)被当成两个已观测报价、以及报告体日期单元格匹配不上任何证据行。**回测:**`position_adjustment="hold"` 会静默丢弃策略明确要求的调仓,而 `"rebalance"` 根本没有漂移容差——实测日涨幅仅 0.01% 就在 30 根 bar 里重新钉住 19 次,于是有自己 `rebalance_freq` 的策略照样每根 bar 都在交易。被丢弃的请求现在会报出来,新增的 `rebalance_tolerance` 就是从业者说的「偏离超过 X 才调仓」,默认 `0.0`,任何现有回测的数字都不变。另有 19 个行业中性的 alpha101 因子,此前在每次 SP500 bench 上都被跳过,只因面板缺一个 sector 标签——而它本来就在成分股所在的那张表里。**新增:** Market Watch 的监控可在运行结束后把简报推送到 IM 频道,走持久化 outbox,重启不会丢、并发扫描不会重发([#942](https://github.com/HKUDS/Vibe-Trading/issues/942));**德语成为第 7 种界面语言**([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117));`run_dcf` 拒绝非有限输入,而不是返回一个看起来合理的负股价([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121),关闭 [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120));MCP 的 `get_market_data` 响应终于带上它自己 docstring 承诺的 `_provenance`([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131));导入失败的工具模块会被指名,而不是悄悄缩小注册表([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129),关闭 [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124));以及离线 USD-M 账户对账,在不建立任何连接的前提下比对本地风险状态与一次交易所观测([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。**另外:** 导入 `backtest.runner` 不再把 `.env` 载入进程——在任何存在 `agent/.env` 的机器上,这曾让本地全量测试根本不可信([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123))。感谢 [@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor)、[@honginp](https://github.com/honginp)、[@cgycorey](https://github.com/cgycorey)、[@alinv0](https://github.com/alinv0) 和 [@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **测试套件不再写入你真实的配置根目录——包括实盘审计账本**:跑项目自己的测试套件会往 `~/.vibe-trading/live/audit.jsonl` 追加伪造的 `order_rejected` 记录,而这是一个只追加、哈希链式的账本,它的全部价值就在于条目无法被制造;Windows 上还会留下一个损坏的链文件。`conftest.py` 原本完全没有配置根沙箱,因此任何在导入时就固化 `Path.home() / ".vibe-trading"` 的模块,在**任何**平台上都会解析到真实主目录——Windows 更糟只是因为那里 `Path.home()` 读 `%USERPROFILE%` 而忽略 `$HOME`,使套件一直沿用的隔离写法形同虚设。现在主目录在收集测试前就被重定向,沙箱只保留一个旋钮以确保单测自身的隔离仍然优先,并在会话结束时断言真实账本逐字节未变,而不只是检查重定向已装上([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118),关闭 [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116))。此外:`xirr` 与 `money_weighted_return` 在超过约 51 年的跨度上会抛出 `ZeroDivisionError`,因为贴现因子下溢为零——而长期、不规则的现金流恰恰是 XIRR 存在的意义([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119));归档进活动运行的回测会与上一次的产物合并,导致一份报告可能描述两次不同的回测,而 `/runs/{id}` 还把残留文件列为本次运行的产物([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094))。感谢 [@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo) 和 [@pengpengyi92](https://github.com/pengpengyi92)!- **2026-08-16** 🔧 **Anthropic 运行不再死在恢复路径上,symbol 搜索不再把空结果报成正常**:恢复路径中途追加的 `system` 消息会被 Anthropic API 拒绝、直接杀死运行,恢复引导现改为带内联 `<system>` 标签的用户消息([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112),关闭 [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109))。`search_symbol` 对 ticker+名称组合查询返回零候选却双源报 `ok`,导致身份无法锁定、所有数据工具被拒;Yahoo 路径现在把这类查询标记为 `skipped` 而非误导性的 `ok`([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114),关闭 [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108))。此外:`LANGCHAIN_REASONING_EFFORT` 现经模型白名单在 Anthropic 分支生效([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));腾讯行情源用 certifi CA 包修复 `CERTIFICATE_VERIFY_FAILED`([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` 的 gross-profit fallback 不再是死代码([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker 改用共享截断助手,子代理始终能看到截断提示([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。感谢 [@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey) 和 [@Shizoqua](https://github.com/Shizoqua)!<details>