From 3d98ec35e7f7b9b59b20748142613790bed9582a Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 3 Jul 2026 20:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=9B=9E=E6=B5=8B=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E6=8E=A5=E5=85=A5=E5=8E=86=E5=8F=B2=E7=89=B9=E5=BE=81?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/verify-no-legacy-data-source.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/scripts/verify-no-legacy-data-source.sh b/scripts/verify-no-legacy-data-source.sh index f1ba2ae..2e7107c 100755 --- a/scripts/verify-no-legacy-data-source.sh +++ b/scripts/verify-no-legacy-data-source.sh @@ -79,6 +79,25 @@ if [[ -n "$fused_hits" ]]; then fail "exported fused tables are not allowed in fidc-backtest-engine runtime; use Strategy Factory Source Lake source rows directly" "$fused_hits" fi +feature_store_hits="$( + rg -n \ + --glob '!**/.git/**' \ + --glob '!**/target/**' \ + --glob '!**/docs/**' \ + --glob '!**/*.md' \ + --glob '!**/tests/**' \ + --glob '!**/*test*.rs' \ + --glob '!crates/fidc-core/src/strategy_ai.rs' \ + --glob '!scripts/verify-no-legacy-data-source.sh' \ + 'research_feature_store|feature_store|FEATURE_STORE|daily_minute_current|FIDC_STRATEGY_FACTORY_ENABLE_FEATURE_STORE_CACHE|ALPHA_FACTORY_ENABLE_FEATURE_STORE_CACHE|ENABLE_FEATURE_STORE_CACHE' \ + crates Cargo.toml \ + 2>/dev/null || true +)" + +if [[ -n "$feature_store_hits" ]]; then + fail "historical feature-store paths are not allowed in fidc-backtest-engine runtime; use Strategy Factory Source Lake raw/indicator/artifact partitions and discardable caches" "$feature_store_hits" +fi + truth_csv_hits="$( rg -n \ --glob '!**/.git/**' \