Install Codex and Cline CLI on WSL workstation

Enable Codex and the Cline CLI on deadalus alongside Claude Code, and
stop selecting Codex for removal. Cline's cross-tool instructions and
shared context remain deployed for the devcontainer bind mounts.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Fabio Scotto di Santolo
2026-11-24 15:47:41 +01:00
parent 012cb3534b
commit 1a9ecffecf
3 changed files with 13 additions and 14 deletions

View File

@@ -564,7 +564,7 @@ validated exports of older historical data will use a dedicated Atlas NFS datase
- Shared agent dotfiles live in `ai_agents_dotfiles`; rendered configs live in `ai_agents_templates`.
- Every `ai_agents.<agent>` entry has independent `install_enabled`, `deploy_enabled`, and `uninstall_enabled` flags. Installation and removal must not both be true for the same agent; the common pre-task fails before changes when they conflict.
- Fedora, Void desktop, and WSL workstation profiles consume the shared agent definitions; do not duplicate package entries in profile-specific vars. IBM Bob on the workstation follows its own flags.
- WSL (`deadalus`) keeps only Claude Code installed; every other managed agent (including IBM Bob) is disabled and selected for removal through host overrides. Cline remains deploy-only on WSL: `cline_deploy_enabled: true` keeps its cross-tool AGENTS pointer, global rules, and shared `~/.config/ai` context deployed on the host for the ecaas/cdp devcontainer bind mounts, while the cline CLI package stays absent. Existing user state remains untouched.
- WSL (`deadalus`) installs Claude Code, Codex and the Cline CLI; every other managed agent (including IBM Bob) is disabled and selected for removal through host overrides. `cline_deploy_enabled: true` also keeps Cline's cross-tool AGENTS pointer, global rules, and shared `~/.config/ai` context deployed on the host for the ecaas/cdp devcontainer bind mounts. Existing user state remains untouched.
- `dotfiles_common` deploys `ai_agents_dotfiles` and renders `ai_agents_templates` only when deployment is enabled.
- Removal is limited to the managed npm packages and `/usr/local/bin/bob`; never remove agent dotfiles, instructions, credentials, or user data.
- Keep `.config/ai/` as the common instruction source; update agent-specific entrypoints to reference it rather than duplicating instruction text.

View File

@@ -598,11 +598,11 @@ instructions, credentials, and user data. Installation and removal are mutually
exclusive per agent: the playbook fails before making changes when both flags are
true for the same agent. Servers set `ai_agents: {}` and therefore manage none.
On WSL (`deadalus`), every managed coding agent except Claude Code is disabled through
On WSL (`deadalus`), Claude Code, Codex and the Cline CLI are installed through
`profile_workstation_dev_common`. Every other managed coding agent is disabled through
host overrides and its managed npm package or `bob` binary is selected for removal.
Cline is the deploy-only exception: `cline_deploy_enabled: true` keeps its cross-tool
AGENTS pointer, global rules, and shared `~/.config/ai` context deployed on the WSL
host so the ecaas/cdp devcontainers bind-mount them, while the CLI package stays absent.
`cline_deploy_enabled: true` also keeps Cline's cross-tool AGENTS pointer, global rules,
and shared `~/.config/ai` context deployed on the WSL host for the ecaas/cdp devcontainers.
Existing configuration, credentials, and user data are left untouched.
The shared agent context is centralized in `dotfiles/common/.config/ai/` and

View File

@@ -5,25 +5,24 @@ workstation_ecaas_workspace: "{{ user_home }}/Work/sipo/ecaas"
workstation_cdp_workspace: "{{ user_home }}/Work/sipo/cdp"
workstation_ecaas_git_required_ca: ecaas.datacenter.comune.roma.crt
# Claude Code is the only coding agent installed on WSL; every other managed agent
# is disabled. Cline is the deploy-only exception: its cross-tool instructions
# (.agents/AGENTS.md, .cline/rules/) and the shared ~/.config/ai context stay
# deployed on this host so the ecaas/cdp devcontainers bind-mount them, while the
# cline CLI package stays absent (the npm agent tasks skip workstation_dev_fedora).
# Claude Code, Codex and the Cline CLI are the coding agents installed on WSL; every
# other managed agent is disabled. Cline's cross-tool instructions (.agents/AGENTS.md,
# .cline/rules/) and the shared ~/.config/ai context are deployed for the ecaas/cdp
# devcontainers, and the cline npm package is installed by profile_workstation_dev_common.
claude_code_install_enabled: true
claude_code_uninstall_enabled: false
opencode_install_enabled: false
opencode_deploy_enabled: false
opencode_uninstall_enabled: true
codex_install_enabled: false
codex_install_enabled: true
codex_deploy_enabled: false
codex_uninstall_enabled: true
codex_uninstall_enabled: false
gemini_cli_install_enabled: false
gemini_cli_deploy_enabled: false
gemini_cli_uninstall_enabled: true
cline_install_enabled: false
cline_install_enabled: true
cline_deploy_enabled: true
cline_uninstall_enabled: true
cline_uninstall_enabled: false
ibm_bob_install_enabled: false
ibm_bob_uninstall_enabled: true