1 - It is possible to use a foreman-rake task to clean old tasks from the database. It's recommended to use 'NOOP=true' option first to see how many tasks would get cleaned and what exactly the search ...
缺点: CLI 仍需 proxy 一跳;需要 CLI 侧适配(不能直接 stdio,要走 socket);但 这是 P2 唯一真正的解法 Direction E: ACP Event Transformer 层裁剪 已排除 已排除原因 (@codex 代码审查确认): acp-event-transformer.ts 只处理 output events(tool_call / ...