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:
project.admin -> open-project-admin.bat / restore-project-admin.batcase_analysis.analyst -> open-case-analysis-analyst.bat / restore-case-analysis-analyst.batexperiment.reviewer -> open-experiment-reviewer.bat / restore-experiment-reviewer.batcase_analysis.reviewer -> open-case-analysis-reviewer.bat / restore-case-analysis-reviewer.batexperiment.experimenter -> open-experiment-experimenter.bat / restore-experiment-experimenter.batdev.developer.ana -> open-dev-developer-ana.bat / restore-dev-developer-ana.batdev.reviewer.ana -> open-dev-reviewer-ana.bat / restore-dev-reviewer-ana.batdev.developer.exp -> open-dev-developer-exp.bat / restore-dev-developer-exp.batdev.reviewer.exp -> open-dev-reviewer-exp.bat / restore-dev-reviewer-exp.batcase_analysis.analyst.cai -> open-case-analysis-analyst-cai.bat / restore-case-analysis-analyst-cai.batexperiment.experimenter.cai -> open-experiment-experimenter-cai.bat / restore-experiment-experimenter-cai.batcase_analysis.reviewer.cai -> open-case-analysis-reviewer-cai.bat / restore-case-analysis-reviewer-cai.batexperiment.reviewer.cai -> open-experiment-reviewer-cai.bat / restore-experiment-reviewer-cai.batdev.developer.ana.cai -> open-dev-developer-ana-cai.bat / restore-dev-developer-ana-cai.batdev.developer.exp.cai -> open-dev-developer-exp-cai.bat / restore-dev-developer-exp-cai.batdev.reviewer.ana.cai -> open-dev-reviewer-ana-cai.bat / restore-dev-reviewer-ana-cai.batdev.reviewer.exp.cai -> open-dev-reviewer-exp-cai.bat / restore-dev-reviewer-exp-cai.batcase_analysis.report_collector -> open-case-analysis-report-collector.bat / restore-case-analysis-report-collector.batdev.developer.project -> open-dev-developer-project.bat / restore-dev-developer-project.batdev.reviewer.project -> open-dev-reviewer-project.bat / restore-dev-reviewer-project.batcase_analysis.media_processor -> open-case-analysis-media-processor.bat / restore-case-analysis-media-processor.batcase_analysis.analyst.defense -> open-case-analysis-analyst-defense.bat / restore-case-analysis-analyst-defense.batcase_analysis.reviewer.defense -> open-case-analysis-reviewer-defense.bat / restore-case-analysis-reviewer-defense.batcase_analysis.meeting_minutes_processor -> open-case-analysis-meeting-minutes-processor.bat / restore-case-analysis-meeting-minutes-processor.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-info.infoadmin: project.adminproject-info.laoyan: case_analysis.analyst, experiment.experimenter, dev.developer.ana, dev.developer.expproject-info.laoshen: experiment.reviewer, case_analysis.reviewer, dev.reviewer.ana, dev.reviewer.expproject-info.laoyan-cai: case_analysis.analyst.cai, experiment.experimenter.cai, dev.developer.ana.cai, dev.developer.exp.caiproject-info.laoshen-cai: case_analysis.reviewer.cai, experiment.reviewer.cai, dev.reviewer.ana.cai, dev.reviewer.exp.caiproject-info.yanbao-collector: case_analysis.report_collectorproject-info.infodev: dev.developer.projectproject-info.inforev: dev.reviewer.projectproject-info.media-processor: case_analysis.media_processorproject-info.junyan: case_analysis.analyst.defenseproject-info.junshen: case_analysis.reviewer.defenseproject-info.meeting-minutes: case_analysis.meeting_minutes_processor00-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.mbx session terminal-diagnose before open/restore. If a window freezes or disappears after pressing Enter, use that read-only output to distinguish terminal-layer crashes from MB-X thread/inbox/queue problems.mbx codex-server restart marks affected app-server remote TUI sessions as window_restart_required; visible dispatch remains queued until the role window is reopened/restored and verified.open-<role>.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-<role>.bat; it asks for REOPEN before calling mbx session reopen --terminate-existing.remote_tui_command=resume_remote, thread readability/deliverability, preserved inbox/queue, and visible old chat/history marker before accepting dispatch. session history --contains is useful evidence, but it is not a substitute for visible-window proof.python -m mbx.cli session terminal-rendering status
python -m mbx.cli session terminal-rendering apply --confirm APPLY_TERMINAL_RENDERING
python -m mbx.cli session terminal-rendering rollback --backup <settings.json.bak-mbx-...> --confirm ROLLBACK_TERMINAL_RENDERING
Do not apply or roll back user-level Windows Terminal settings without project/admin or management authorization.
python -m mbx.cli session restore-script generate --project project-info --role project.admin --role case_analysis.analyst --role experiment.reviewer --role case_analysis.reviewer --role experiment.experimenter --role dev.developer.ana --role dev.reviewer.ana --role dev.developer.exp --role dev.reviewer.exp --role case_analysis.analyst.cai --role experiment.experimenter.cai --role case_analysis.reviewer.cai --role experiment.reviewer.cai --role dev.developer.ana.cai --role dev.developer.exp.cai --role dev.reviewer.ana.cai --role dev.reviewer.exp.cai --role case_analysis.report_collector --role dev.developer.project --role dev.reviewer.project --role case_analysis.media_processor --role case_analysis.analyst.defense --role case_analysis.reviewer.defense --role case_analysis.meeting_minutes_processor
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: E:\mb-ms-doc