From 7f569976a3abd89f626521331af0b1d1342bea34 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 20:00:46 +0800 Subject: [PATCH] chore(#465): drop the last stale PowerShell mentions in live comments Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018bnC1Tos5MvBbFEj5zzi51 --- .sentrux/rules.toml | 4 ++-- Run-ScopedRepowiseDocs.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.sentrux/rules.toml b/.sentrux/rules.toml index 4a3b1078..2b50ea74 100644 --- a/.sentrux/rules.toml +++ b/.sentrux/rules.toml @@ -10,8 +10,8 @@ # Complexity counting change (sentrux-native 2.2.0, 2026-07-31): # `complexity_terms` now strips comments and string bodies before tokenising, # and only counts the words `and`/`or` for languages where they really are -# operators (Python). PowerShell's `-and`/`-or` are counted; its bare English -# `and`/`or` are not. +# operators (Python); elsewhere bare English `and`/`or` are not counted. +# (PowerShell's `-and`/`-or` were counted until #465 removed PowerShell analysis.) # # This is where max_cc = 162 came from. The number was produced by # legacy/scripts/tests/test-code-intel-pipeline.ps1: 465 lines, one recognised diff --git a/Run-ScopedRepowiseDocs.py b/Run-ScopedRepowiseDocs.py index 1e8eacaf..b52e2309 100644 --- a/Run-ScopedRepowiseDocs.py +++ b/Run-ScopedRepowiseDocs.py @@ -53,8 +53,7 @@ def resolve_provider_settings(default_provider: str = "", default_model: str = " CODE_INTEL_BASE_URL generic endpoint override Backward compat: for provider=anthropic, missing generic vars fall back to - the process-scoped ANTHROPIC_API_KEY / ANTHROPIC_BASE_URL that the calling - PowerShell wrapper injects from user-scoped CODE_INTEL_ANTHROPIC_*. + the process-scoped ANTHROPIC_API_KEY / ANTHROPIC_BASE_URL set by the caller. default_provider/default_model come from the explicitly routed --provider/--model CLI args and are pinned. Model selection never falls