agent-pane-policy: allow acp.session.fork's live param (base red from d6c70e66)

TE
6d ago
+1-1

Fixes a base red: cmux-tui/crates/cmux-agent-pane-policy/tests/swift.rs:68, the_known_params_are_the_macos_hosts, fails on feat-cmux-next. Every PR's agent-pane-policy cargo run inherits it.

Cause: d6c70e66f94b ("Fork Conversation: the host lets a working chat's live fork through") added live to acp.session.fork's params in Packages/macOS/CmuxNext/Sources/CmuxNextAgentPane/AcpmuxPaneMethods+Params.swift:113, but not to cmux-tui/crates/cmux-agent-pane-policy/policy.json, which still lists ["sessionId", "throughSeq"]. This PR adds live there, a one-line change.

Proof, cargo test -p cmux-agent-pane-policy on Linux cmux-ci:

the_known_params_are_the_macos_hosts
base 668fd81fedc6FAILED (panicked at tests/swift.rs:68:5)
this head 40506dbfb250ok (all suites pass)

No capture: policy table change, no UI.

Agent session: agent session

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the_known_params_are_the_macos_hosts failure on feat-cmux-next by adding live to acp.session.fork's allowed params in cmux-tui/crates/cmux-agent-pane-policy/policy.json. The Swift host already sends live when forking a working chat, but the policy only allowed sessionId and throughSeq, so the cmux-agent-pane-policy test panicked. This one-line alignment lets tests pass without changing behavior.