fix: detect $ prefix as shell mode trigger in InputModeRouter #10752

Merged
HAL9000 merged 2 commits from fix/10412-dollar-prefix-shell-mode into master 2026-04-24 03:17:34 +00:00

2 Commits

Author SHA1 Message Date
HAL9000 c539143ef2 ci: retrigger CI pipeline
CI / lint (pull_request) Successful in 1m10s
CI / quality (pull_request) Successful in 1m20s
CI / typecheck (pull_request) Successful in 1m37s
CI / security (pull_request) Successful in 1m40s
CI / helm (pull_request) Successful in 35s
CI / build (pull_request) Successful in 44s
CI / push-validation (pull_request) Successful in 39s
CI / integration_tests (pull_request) Successful in 4m30s
CI / e2e_tests (pull_request) Successful in 5m26s
CI / unit_tests (pull_request) Successful in 9m1s
CI / docker (pull_request) Successful in 1m38s
CI / coverage (pull_request) Successful in 13m3s
CI / status-check (pull_request) Successful in 4s
CI / lint (push) Successful in 1m12s
CI / quality (push) Successful in 1m11s
CI / push-validation (push) Successful in 25s
CI / build (push) Successful in 44s
CI / helm (push) Successful in 42s
CI / security (push) Successful in 2m9s
CI / typecheck (push) Successful in 2m14s
CI / integration_tests (push) Successful in 4m18s
CI / e2e_tests (push) Successful in 3m56s
CI / unit_tests (push) Successful in 6m7s
CI / docker (push) Successful in 1m36s
CI / benchmark-publish (pull_request) Has been skipped
CI / coverage (push) Successful in 12m36s
CI / status-check (push) Successful in 5s
CI / benchmark-regression (push) Has been skipped
CI / benchmark-publish (push) Has started running
CI / benchmark-regression (pull_request) Successful in 1h12m29s
2026-04-24 03:01:13 +00:00
HAL9000 0050a0ed50 fix: detect dollar prefix as shell mode trigger in InputModeRouter
The spec requires both ! and dollar sign to activate shell mode, but
detect_mode() only recognised ! as the shell mode trigger. This caused
dollar-prefixed inputs like dollar-sign-echo-hello to be routed to NORMAL
mode instead of SHELL mode.

- Add dollar sign to detect_mode() shell prefix check alongside !
- Add BDD tests for dollar prefix shell mode detection
- Add step definitions for detect_mode() direct testing

Closes #10412
2026-04-24 03:01:13 +00:00