[Bug] Android sessions never get auto titles on 1.0.7+ hosts: legacy APK placeholder "Remote Code Session" is persisted as user-edited
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 49/100
Direzione di ricerca
Start with create_agent_session_from_runtime_request and update_session_title_if_current in coordinator.rs, then check the legacy SessionNaming.wireSessionName behavior in SessionListPolicy.kt. Reproduce the Android session title flow and add a focused unit test for the three legacy placeholders; done when those sessions receive automatic titles and the existing explicit-title behavior remains intact. The logging request and unverified rename hypothesis may need separate investigation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Sessions created from the published Android APK never get an automatic title: they stay named Remote Code Session forever. Host: OpenBitFun CLI 1.0.9 daemon (Linux x86_64). Client: OpenBitFun-Mobile-1.0.0-android-debug.apk (release mobile-v1.0.0, the latest Android build published).
Root cause (source-verified)
- The
mobile-v1.0.0APK sends a literal placeholder when the user typed no title:SessionNaming.wireSessionNamereturns"Remote Code Session"/"Remote Cowork Session"/"Remote Assistant Session"(src/apps/mobile/shared/core-domain/.../SessionListPolicy.ktat tagmobile-v1.0.0). - Since v1.0.7 the host treats any non-empty
session_namefromremote_relay/botas an explicit user title and persists{"titleSource":"text","titleUserEdited":true}(create_agent_session_from_runtime_requestincoordinator.rs, still present onmain). update_session_title_if_currentthen returns early ontitleUserEdited, so the first-turn auto title is never applied.
The client side was fixed in 6f931e418 (#3406, 2026-10-16: blank wire name, host picks the default), but no Android build containing it has been published, so every current Android user hits this with any 1.0.7+ host.
Evidence on my host
- Every session whose first turn id starts with
mobile-hassessionName: "Remote Code Session",titleSource: "text",titleUserEdited: true; locally created sessions get generated titles normally (re-tested on 1.0.9:Session title updated: ... title=Reply With OK). - Daemon log for the Android sessions:
Skipped auto session title update because title changed. This wording is misleading: the same message is logged for thetitleUserEditedearly return, not only for a real title race.
Requests
- Publish an Android build that includes 6f931e418, or
- Host-side compatibility: treat exactly these three legacy placeholders from
remote_relay/botas the default-title path. I have a small patch with a unit test against v1.0.9 (built and tested locally) and can open a PR if that approach is acceptable. - Log a distinct message when the skip is caused by
titleUserEdited.
Possibly related, not reproduced yet
In remote_surface/table.rs, update_session_title is CLI_NOT_IMPLEMENTED for the CLI peer host (only rename_session is handled), while the desktop LocalSessionDriver.renameSession invokes update_session_title. If the desktop uses that path when controlling a CLI peer host, rename would be refused. I could not capture the desktop request, so please treat this as a hypothesis.
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 236
- Merge medio
- 12h 20m
- PR unite (30g)
- 373
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GCWing/OpenBitFun
-
[Feature]: 模型服务表单缺少「图像生成」分类入口 —— 后端已支持 default_models.image_generationForse già presa @skyfireitdiy l’ha presa 23 giorni fa. Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 74/100
GCWing/OpenBitFun#3279 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: 输出文字应该支持自然换行Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 57/100
GCWing/OpenBitFun#3796 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: 优化skill 市场的设计Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
GCWing/OpenBitFun#3791 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: 不能archive 错误使用的acpForse già presa @Raing5Days l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
GCWing/OpenBitFun#3788 ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: 增加窗口化的侧边提问Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
GCWing/OpenBitFun#3784 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di GCWing/OpenBitFun
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Non-`main` default branchesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
max-sixty/worktrunk#4727 · 7 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
carrick-sh/carrick#1859 ·
I maintainer di solito rispondono entro 1 giorno
-
crate: spate-kafka documentation priority: medium
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno