Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in Arabic
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, typescript
- Domain
- frontend, internationalization
Research direction
Start in src/gaia/apps/webui/src/stores/notificationStore.ts at alwaysScopeText and trace how bash_execute:exact: and bash_execute:cmd: scopes are handled. Then read src/gaia/apps/webui/src/components/PermissionPrompt.tsx around the fallback label and the cited sidecar.cpp label. Done means the Arabic approval button is translated, has no literal backticks, and displays the command left-to-right.
Written by the indexing model from the issue text.
Description
When gaiacpp ("Fast and light") asks permission to run a shell command in Arabic, the "Always allow" button injects untranslated Run `...` with literal backticks and scrambles command punctuation in RTL, making an approval decision harder to read accurately.
Steps
- Switch GAIA to Arabic in Settings › General while Fast and light (
gaiacpp) is active. - Ask GAIA to run an exact shell command such as
python3 -c "print(42)". - Inspect the dashed "Always allow" button on the shell approval card.
Expected: The button translates the action into Arabic, omits literal markdown backticks, and keeps the command text isolated left-to-right.
Actual: The button shows untranslated Run with literal backticks and RTL-reordered command quotes.
GAIA version: main at 2529a7fc1, browser preview of the built Agent UI on macOS.
🔍 Technical details
src/gaia/apps/webui/src/stores/notificationStore.ts:138-148(alwaysScopeText) only recognizes Pythonfile_changeand<tool> on ...scopes, returningnullforgaiacpp'sbash_execute:exact:andbash_execute:cmd:scopes.src/gaia/apps/webui/src/components/PermissionPrompt.tsx:309-310,481falls back to rawnotification.alwaysLabel(Run `...`fromcpp/agents/gaiacpp/sidecar.cpp:241-249) without LTR isolation around the command.
Fix: #9235
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 169
- Avg merge
- 15h 4m
- Merged PRs (30d)
- 847
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from amd/gaia
-
agent-ui bug p3
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug needs-human p3
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
agent-ui bug p3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
ci enhancement p2 security tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
bug ci devops needs-human p2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
documentation good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100