Generated by mbx session restore-script generate.
These scripts are registry-aware wrappers around MB-X CLI. They intentionally do not hardcode provider_session_id/thread_id. Runtime session ids are read from the current MB-X workspace/project configuration when the script runs.
App-server URL: ws://127.0.0.1:4570
Targets:
laoan -> open-laoan.bat / restore-laoan.bat (alias of case_analysis.analyst)xiaoshen -> open-xiaoshen.bat / restore-xiaoshen.bat (alias of case_analysis.reviewer)case_analysis.analyst -> open-case-analysis-analyst.bat / restore-case-analysis-analyst.batcase_analysis.reviewer -> open-case-analysis-reviewer.bat / restore-case-analysis-reviewer.batdev.developer.ana -> open-dev-developer-ana.bat / restore-dev-developer-ana.batdev.reviewer.ana -> open-dev-reviewer-ana.bat / restore-dev-reviewer-ana.batexperiment.experimenter -> open-experiment-experimenter.bat / restore-experiment-experimenter.batexperiment.reviewer -> open-experiment-reviewer.bat / restore-experiment-reviewer.batdev.developer.exp -> open-dev-developer-exp.bat / restore-dev-developer-exp.batdev.reviewer.exp -> open-dev-reviewer-exp.bat / restore-dev-reviewer-exp.batMultiple role ids can intentionally point to the same managed Codex window. Running any role wrapper in the same group opens or restores that same registered thread.
project-wuji.laoan: case_analysis.analyst, dev.developer.ana, experiment.experimenter, dev.developer.expproject-wuji.xiaoshen: case_analysis.reviewer, dev.reviewer.ana, experiment.reviewer, dev.reviewer.exp00-start-codex-app-server-4570.bat if the Codex app-server is not running.python and Codex CLI (codex.cmd / codex.exe / codex) in the same cmd/BAT PATH used to launch the wrapper. If Codex is missing, fix PATH or set the workspace provider command to an absolute executable path before retrying.open-laoan.bat / open-xiaoshen.bat first for non-destructive open/reuse. It can recover stale/missing PID cases by resuming the existing thread, but it will not terminate an alive recorded PID.restore-laoan.bat / restore-xiaoshen.bat; it asks for REOPEN before calling mbx session reopen --terminate-existing.MBX_CONFIRM=REOPEN before running a restore script to skip the interactive prompt. Do not use this for casual double-click operation.session history --contains is useful evidence, but it is not a substitute for visible-window proof.python -m mbx.cli session restore-script generate --project project-wuji
restore-*.bat may terminate the recorded old remote TUI process. For management.admin and management.observer, real destructive close/reopen validation is a management high-risk action and must be recorded by the management/project workflow.
Formal manual recovery guide: doc/operation/MB-X会话窗口手动恢复指南.md
Workspace root used by generated wrappers: D:\manage_system