-- 会话级计划模式:0 关闭 / 1 开启。 -- 计划模式改由聊天输入框开关控制,开启后每轮先进入只读计划阶段(plans/PLAN.md), -- 任务清单随计划能力默认启用;不再有独立的「计划模式与任务清单」配置页。 alter table ai_session add column if not exists plan_mode char(1) default '0'; comment on column ai_session.plan_mode is '计划模式(0关闭 1开启):开启后每轮先进入只读计划阶段,产出 plans/PLAN.md 并经确认后执行;任务清单随计划能力默认启用';