Changes
PR #2173 by OdinKral and ksylvan: fix: clearer error when binary name used as pattern fallback
- Added a clearer error hint when a pattern is derived from the binary name, explaining that the executable name was used as a fallback and how to specify a pattern explicitly with
-p. - Introduced a
patternFromBinaryName()helper and explicit tracking of binary-derived pattern names during flag initialization, so fallback hints appear only when a pattern truly came from the binary name. - Prevented
fabric-aifrom automatically selecting a pattern by binary name by centralizing the list of executable names that do not trigger pattern selection. - Added the
pattern_from_binary_name_hintkey with localized text across all ten non-English locale files for a consistent i18n bundle. - Simplified error wrapping, removed obsolete detection tests, and added coverage for default executable exclusion and extension-stripped pattern selection.
Direct commits
- Merge branch 'main' into docs/sync-chinese-readme