docs/design/experimental-session-plan-review.md
Make ordinary-session Workflow visualization opt-in and let users review the exact Todo dependency graph before execution. Reuse Plan Mode, Todo snapshots, and the existing permission lifecycle.
experimental.sessionWorkflow is disabled by default. When disabled, Core,
the ACP session, and the Web Shell do not create Workflow markers, revision
context, approval gates, or visualization surfaces. Todo updates preserve an
active item's dependencies when blockedBy is omitted in every mode; this
shared update behavior is not gated by the setting.
When enabled, the existing plan mode is presented as Plan & Review. Plan
Mode remains the execution gate: read-only investigation is allowed, mutating
tools remain blocked, rejecting exit_plan_mode stays in Plan Mode, and
approving exits Plan Mode.
exit_plan_mode approval request.todo_id from the
approved revision. Nested Agents and ordinary sessions keep existing rules.exit_plan_mode approval in Chat. After approval, the user
can open Workflow for observation at any time.blockedBy; an explicit empty array removes dependencies.The Workflow remains observational. It does not schedule dependencies, retry
Agents, propagate completion, or add a Workflow store. blockedBy and
todo_id remain optional for sessions outside Plan & Review. Skill versions
and a durable decision ledger are not claimed because the current transcript
does not provide them.
The standalone cockpit mock remains a product reference rather than a second application embedded through an iframe. The Web Shell uses a context-preserving inspector for routine checks and reserves the full-page surface for the DAG. DataWorks-specific scheduling, retry, and approval queues remain with their owning product.