# Fix tmux Mouse Mode Configuration in Pi Agent Images — Tasks - [x] Identify the literal `\n` bug in `.tmux.conf` creation commands across Pi Agent dockerfiles and migrations. - [x] Update `tool-images/pi-agent.dockerfile` to use `printf '%s\n'` for `.tmux.conf` and ranger `rc.conf`. - [x] Update `apps/api/alembic/versions/20260527160017_add_pi_agent_tool_type.py` dockerfile string with the same fix. - [x] Update `apps/api/alembic/versions/2026_05_28_add_tool_definition_manifests.py` dockerfile string with the same fix. - [x] Verify resulting Dockerfile commands produce valid multi-line config files. - [x] Run `npm run typecheck` and `npm run lint` in `apps/web`. - [x] Run `npm test -- --run` in `apps/web` (87 passed). - [x] Verify Python migration files compile with `py_compile`. - [x] Update project maps for changed files.