qwen-code/docs/design/web-shell
Heyang Wang 26f70c7151
fix(session): preserve source titles when branching (#9764)
* fix(session): preserve source titles when branching

Forked sessions could fall back to a UUID fragment when the source
name came from its first prompt rather than a custom title.

- Forward the active picker name through Web Shell branch requests
- Resolve prompt-backed display names and include them in collision scans
- Allocate the first free numeric suffix and normalize nested forks
- Preserve explicit side-task names and add regression coverage

* fix(session): align branch title behavior across clients

Review found that CLI and ACP still derived branch names differently,
while the Web Shell smoke test asserted the previous request body.

- Preserve explicit names while normalizing only derived title suffixes
- Reuse Core display-name and title helpers across branch entry points
- Cover legacy, fallback, and isolation paths and update the smoke E2E

* fix(session): harden branch title fallbacks

Round-two review found empty normalized titles could bypass fallbacks,
while client-echoed names made explicit-name semantics ambiguous.

- Treat empty derived titles as absent across branch entry points
- Stop Web Shell name echoing and align CLI fallback with the picker
- Pin missing-session, invalid-id, and bounded-scan behavior

* fix(session): pin branch title normalization and document fallback divergence

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix(session): fall back on empty branch-title bases

---------

Co-authored-by: heyang.why <heyang.why@alibaba-inc.com>
Co-authored-by: qwen-code-autofix <qwen-code-autofix@users.noreply.github.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: 易良 <1204183885@qq.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com>
2026-08-25 06:47:34 +00:00
..
web-shell-pane-header-actions docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
2026-07-16-web-shell-git-status-diff.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
2026-07-16-web-shell-transcript-batched-dispatch.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
2026-07-19-web-shell-git-log.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
2026-07-19-webshell-worktree-sessions.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
assistant-response-session-branching.md fix(session): preserve source titles when branching (#9764) 2026-08-25 06:47:34 +00:00
chat-transcript-contract-prevalidation.md feat(web-shell): add transcript contract prevalidation (#9388) 2026-08-19 14:13:12 +00:00
web-shell-advanced-table-controls.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-agent-tasks-change.md feat(web-shell): expose agent task changes (#9637) 2026-08-24 03:54:49 +00:00
web-shell-artifact-download.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-bounded-transcript-and-subagent-details.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-composer-performance.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-composer-workspace-selector.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-context-panels.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-custom-slash-command-actions.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-file-previews.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-github-prs.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-history-boundary-pagination.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-history-pagination.md fix(core): bound backward transcript pages in long single-turn sessions (#8553) 2026-08-07 04:21:45 +00:00
web-shell-image-drag-and-drop.md test(core): pin transport retry diagnostics and correct the replay-safety comment (#8861) 2026-08-25 04:50:30 +00:00
web-shell-markdown-chart.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-monitor-details.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-non-primary-session-archive-hardening.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-pane-header-actions.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-plugin-shadow-surfaces.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-prompt-send-failure-retry.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-secondary-workspace-voice.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-selective-shadow-dom.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-session-catalog-store.md feat(web-shell): Share session catalog scheduling (#8891) 2026-08-11 09:13:14 +00:00
web-shell-session-created-callback.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-session-source-filter.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-skill-manager-page.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-table-selection-statistics.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-voice-mode.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
web-shell-workspace-history-session-drafts.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
webshell-composer-placeholders.md feat(web-shell): decouple composer from catch-up and rebuild SSE on disconnected submit (#9323) 2026-08-17 06:39:23 +00:00
webshell-mention-icon-chips.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00
webshell-voice-button-visibility.md docs(web-shell): organize design documents by feature area (#8304) 2026-08-01 14:32:20 +00:00