You are starting a fresh task in a new worktree on branch `{branch}`.

**Source**: Trello card {url}

**Step 1 (REQUIRED)** — Read the card via the Trello MCP:
- Use the Trello MCP to read the card at {url} (name, description, checklists, and comments). The card short link is the `<shortLink>` segment in `trello.com/c/<shortLink>`.
- If the tool call fails because the MCP server is still connecting (tools show as unavailable or return a connection error), the in-session connector is still completing its handshake — common when several worktrees spawn at once. Immediately retry the SAME MCP tool call up to three times (do not switch tools, do not insert shell `sleep` waits — they are blocked in some environments and do not help); the connector usually finishes within a couple of attempts.
- If the MCP is still unavailable after all retries, STOP. Report that the Trello connector did not finish connecting and that running `/mcp` to reconnect, then re-invoking this session, will resolve it. Exit without writing a plan; do not guess the task from the URL alone.

**Step 2 (REQUIRED)** — Derive a topic slug and rename the branch:
- From the card's title/ask, derive `<slug>`: lowercase, non-alphanumerics → `-`, trim leading/trailing `-`, cap at 30 chars. Use the SAME `<slug>` in step 3.
- Read the current branch: `CUR=$(git branch --show-current)`.
- Run: `git branch -m "$CUR" "$CUR-<slug>"` (append `-<slug>` to whatever the current branch is — cockpit may have bumped the codename to `-2`/`-3` to avoid a collision). The codename prefix stays; the slug adds context.
- Verify with `git branch --show-current` — it should now end with `-<slug>`.
- If the rename fails (target already exists, etc.), keep the original branch and note it in your plan.

**Step 3 (REQUIRED)** — Rename the cmux workspace to match:
- Replace the codename-only workspace name with `<codename>-<slug>` (the branch's name after the `branch_prefix`, i.e. the same value the branch now ends with).
- Run: `cmux workspace-action --action rename --title "<codename>-<slug>"`. Defaults to the current workspace via `$CMUX_WORKSPACE_ID` (always set inside a cmux-spawned shell).
- If `$CMUX_WORKSPACE_ID` is unset for any reason, run `cmux identify` first to discover the workspace ref, then pass `--workspace <ref>` explicitly.
- Cockpit's next reconcile cycle reads the workspace list, so the rename surfaces in the `cockpit watch` table automatically. Do not push or change anything else in this step.

{plan_tail}
