Skip to content

Commit 4536367

Browse files
fix(hopper): satisfy codespell on think-tier keyword regex
Expand architect(?:ure|ural)? to explicit words so codespell does not flag "ure". Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 881c086 commit 4536367

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cecli/hopper/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def normalize_keep_alive_for_tier(tier: RouteTier | RouteRole, value: int | str)
9393
# Intent signals (case-insensitive word boundaries).
9494
_THINK_PATTERNS = re.compile(
9595
r"\b("
96-
r"architect(?:ure|ural)?|refactor|rewrite|migrate|migration|"
96+
r"architecture|architectural|architect|refactor|rewrite|migrate|migration|"
9797
r"race\s+condition|deadlock|concurrency|distributed|microservice|"
9898
r"security|vulnerability|root\s+cause|design\s+review|"
9999
r"performance|scalability|profil(?:e|ing)|"

0 commit comments

Comments
 (0)