qwen-code/docs/design/web-shell
Heyang Wang 5003ab3c7f
feat(web-shell): add transcript contract prevalidation (#9388)
* test(web-shell): add transcript contract prevalidation

Freeze reproducible evidence for current transcript paths before any
VS Code or HTML export production migration.

- Add versioned fixtures, closed export schema, and capability gates
- Probe direct-daemon and ACP identity under partial history prepend
- Preserve raw adapter semantics and full write_file Turn Output diffs
- Document the two-MR architecture, security constraints, and blockers

* fix(web-shell): harden transcript prevalidation gates

Make the evidence-only contract suite enforce the review assumptions it
documents while preserving the existing runtime transcript behavior.

- Run the contract suite in the required no-AK integration job
- Fail closed on ambiguous identity probes and deduplicate gate kinds
- Enforce manifest, hash, export safety, and renderer version boundaries
- Cover visible transcript text and stable Desktop packaging semantics
- Record the complete PR comment evaluation and verification outcome

* fix(web-shell): close transcript prevalidation gaps

* fix(web-shell): remove brittle Desktop wiring probe

Keep transcript contract prevalidation at the evidence level it can
actually prove. The previous source-text assertion could both reject
equivalent formatting and pass unreachable packaging code.

- Remove the Desktop script parser and its false behavioral claim
- Mark installed-artifact verification as deferred to Desktop smoke tests
- Clarify MR1 matrix, CI wiring, and provenance evidence boundaries
- Refresh the hash-locked capability matrix fixture

Note: This does not change Web Shell or Desktop production behavior.

---------

Co-authored-by: heyang.why <heyang.why@alibaba-inc.com>
2026-08-19 14:13:12 +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 feat: support fork from any conversation (#8817) 2026-08-15 10:01:49 +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-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 fix(web-shell): use backend-authoritative queue state (#9407) 2026-08-18 12:07:55 +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