qwen-code/docs/plans
易良 20b3087aca
feat(browser-ext): add alpha readiness diagnostics (#6739)
* feat(browser-ext): add alpha readiness diagnostics

* test(browser-ext): automate readiness verification

* fix(browser-ext): support current devtools adapter

* test(browser-ext): verify restored page after reconnect

* fix(browser-ext): harden release and acceptance checks

* test(browser-ext): cover onboarding transitions

* fix(browser-ext): harden alpha diagnostics

* test(cli): sync serve capabilities baseline

* feat(browser-ext): add alpha readiness diagnostics

* test(browser-ext): automate readiness verification

* fix(browser-ext): support current devtools adapter

* test(browser-ext): verify restored page after reconnect

* fix(browser-ext): harden release and acceptance checks

* test(browser-ext): cover onboarding transitions

* fix(browser-ext): finalize Chrome Web Store package

* fix(browser-ext): harden CDP diagnostics per review feedback (#6739)

* fix(browser-ext): harden CDP diagnostics per review feedback (#6739)

Distinguish the ACP child's idle placeholder (initialized: false,
discoveryState: 'not_started') from a genuinely empty server list so
the panel no longer shows a false "adapter is not connected" warning
before the first session or after the child is reaped.

Compare the tunnel endpoint's host+port against the daemon baseUrl to
detect cross-daemon shadowing (a chrome-devtools entry pointing at a
different daemon's /cdp was previously reported as connected).

Guard package-extension and symlink tests with
skipIf(process.platform === 'win32') so the Windows merge-queue gate
does not fail on missing zip.exe or privilege-dependent symlinkSync.

Also: destructure QwenCapabilityStatus lazily inside probeState so a
missing capability-status.js no longer throws before the welcome
screen renders; add the missing license header to manifest-version.js;
replace the leftover #welcome height:100vh with flex sizing; add
cross-reference comments for the shared /cdp path pattern.

Note: probeJson intentionally drops the .catch(() => ({})) fallback so
a 200 with a non-JSON body reads as unreachable; this also makes
/health stricter than before.

* fix(browser-ext): resolve CDP diagnostics review findings (#6739)

* fix(browser-ext): mirror nightly build number in manifest test oracle (#6739)

* fix(browser-ext): address alpha diagnostics review feedback (#6739)

- declare the semver dependency used by manifest-version.js so an isolated
  workspace install no longer relies on root hoisting
- make artifact-scan skip the root CLI bundle metafile with a warning when it
  is absent (it only exists after `cross-env DEV=true npm run bundle`), keeping
  the extension metafile required, so package-level test:release no longer fails
- throttle the side panel /workspace/mcp probe to every 5th tick and reuse the
  cached snapshot in between, avoiding a cross-process RPC on every 2s poll
- document the per-session CDP event fan-out and pin single-path event counts;
  note that Target.getDevToolsTarget is deliberately unsupported
- guard the nightly build-number git lookup and the zip end handler
- disclose the daemon-to-model-provider page-content flow in PRIVACY.md
- drop brittle source-substring panel tests and add coverage for a
  chrome-devtools server with no config args

* fix(browser-ext): improve acceptance diagnostics and honest phase naming (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(cli): stabilize flaky orphan-session transport tests (#6739)

Replace hardcoded setTimeout(40ms) + assertion with vi.waitFor() in the
session/new and session/load orphan tests. The 40ms budget is too tight
under CI parallelism, causing intermittent removeSession-not-called
failures. vi.waitFor polls until the assertion holds (default 1s timeout),
matching the pattern already used elsewhere in this file.

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(cli): restore PAGE_SESSION_ID forwarding for lazy-attach path (#6739)

The autoAttachActive gate on PAGE_SESSION_ID command forwarding broke
the cdp-ws lazy-attach path, which sends commands with PAGE_SESSION_ID
without a Target.setAutoAttach handshake. Revert the forwarding gate
to unconditional PAGE_SESSION_ID acceptance while keeping the gated
Target.attachedToTarget emission (the Critical fix).

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): make survivor tests load-bearing with log assertions (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): address review feedback on diagnostics PR (#6739)

* fix(browser-ext): resolve review findings on diagnostics tests (#6739)

- reject preview-range QWEN_CHROME_EXTENSION_BUILD_NUMBER values at the
  env var boundary with a message naming the variable, value, and range
- assert the package-extension symlink test observably ran main() instead
  of passing on equality alone when both runs fail identically
- add CLI-level tests proving explicit positional roots are scanned and a
  clean scan exits 0, covering paths the symlink-only tests skip on Windows

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

---------

Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
Co-authored-by: qwen-code-ci-bot <qwen-code-ci-bot@users.noreply.github.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com>
Co-authored-by: Qwen Code Bot <qwen-code-bot@users.noreply.github.com>
Co-authored-by: Qwen Code Autofix <qwen-code-autofix@users.noreply.github.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 03:23:47 +00:00
..
2025-06-03-stats-dashboard-redesign.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-03-22-agent-tool-display-design.md feat(vscode-ide-companion): add agent execution tool display (#2590) 2026-04-18 23:39:26 +08:00
2026-05-14-auto-compaction-threshold-redesign.md feat(core)!: redesign auto-compaction thresholds with three-tier ladder (#4345) 2026-05-25 21:11:08 +08:00
2026-05-15-worktree-phase-c.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-05-18-qwen-runtime-memory-investigation.md fix(core): replace structuredClone with shallow copy to prevent OOM in long sessions (#4286) 2026-05-21 10:28:59 +08:00
2026-05-26-daemon-logger.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-05-27-daemon-workspace-service.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-05-28-computer-use-built-in.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-06-30-channel-loop.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-07-01-channel-lifecycle-status-adapters.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-07-01-channel-lifecycle-status-umbrella.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-07-01-channel-p0-identity-task-lifecycle.md docs: consolidate design docs and plans under docs/ (#6417) 2026-07-07 06:05:05 +00:00
2026-07-01-extension-runtime-refresh-implementation.md refactor(core): centralize extension runtime refresh (#6152) 2026-07-05 07:47:48 +00:00
2026-07-10-pr-6635-remaining-comments.md feat(cli): group daemon channel workers by workspace (phase 4b) (#6635) 2026-07-11 13:08:02 +00:00
2026-07-10-pr-6635-review-followups.md feat(cli): group daemon channel workers by workspace (phase 4b) (#6635) 2026-07-11 13:08:02 +00:00
2026-07-10-workspace-qualified-acp-hardening.md feat(cli): workspace-qualified ACP transport (daemon multi-workspace phase 4) (#6621) 2026-07-11 00:24:01 +00:00
2026-07-11-chrome-extension-alpha-diagnostics.md feat(browser-ext): add alpha readiness diagnostics (#6739) 2026-08-04 03:23:47 +00:00
2026-07-11-managed-memory-microcompaction.md fix(core): preserve managed memory during microcompaction (#6714) 2026-07-11 15:58:54 +00:00
2026-07-14-dingtalk-webhook-direct-message.md feat(channels): support DingTalk webhook delivery to direct messages (#6891) 2026-07-15 03:07:30 +00:00
2026-07-16-default-background-subagents.md feat(core): improve subagent delegation defaults and guardrails (#7048) 2026-07-18 08:52:48 +00:00
2026-07-16-webshell-git-integration.md feat(web-shell): git status chip, visual working-tree diff, and sidebar git status (#7054) 2026-07-18 10:06:07 +00:00
2026-07-17-observed-channel-delivery-targets.md feat(channels): expose workspace-scoped observed contacts (#7109) 2026-07-18 07:35:45 +00:00
2026-07-18-observed-channel-group-names.md feat(channels): observe group names from inbound messages (#7155) 2026-07-18 09:26:12 +00:00
2026-07-21-channel-delivery-review-fixes.md feat(daemon): add explicit channel delivery (#7388) 2026-07-23 17:44:23 +00:00
2026-07-22-channel-delivery-final-only.md feat(daemon): add explicit channel delivery (#7388) 2026-07-23 17:44:23 +00:00
2026-07-23-session-workflow-approval.md feat: visualize ordinary-session plan execution (#7580) 2026-08-01 10:48:30 +00:00
2026-07-24-webshell-git-status-fast-path.md perf(web-shell): paint the composer git chip before git status completes (#7680) 2026-07-25 07:05:52 +00:00
2026-07-31-daemon-memory-budget-pr1.md feat(serve): resolve and report the daemon memory budget (#8245) 2026-08-02 04:19:31 +00:00
extension-management-v2.md feat(serve): add extension management v2 (#6825) 2026-07-14 03:30:47 +00:00
final-tool-response-budget-implementation.md fix(core): Enforce final tool response budgets (#7323) 2026-07-21 16:09:46 +00:00
memory-diagnostics-reference-design.md feat(cli): add structured memory diagnostics JSON (#3785) 2026-05-17 19:52:46 +08:00