mirror of
https://github.com/fscotto/infra.git
synced 2026-11-25 21:29:51 +00:00
Configure Codex removal on WSL
This commit is contained in:
@@ -547,6 +547,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`.
|
- 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.
|
- 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.
|
- 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`) disables Codex installation and dotfile deployment and selects its managed npm package for removal through host overrides; existing Codex user state remains untouched.
|
||||||
- `dotfiles_common` deploys `ai_agents_dotfiles` and renders `ai_agents_templates` only when deployment is enabled.
|
- `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.
|
- 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.
|
- Keep `.config/ai/` as the common instruction source; update agent-specific entrypoints to reference it rather than duplicating instruction text.
|
||||||
|
|||||||
@@ -596,6 +596,10 @@ instructions, credentials, and user data. Installation and removal are mutually
|
|||||||
exclusive per agent: the playbook fails before making changes when both flags are
|
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.
|
true for the same agent. Servers set `ai_agents: {}` and therefore manage none.
|
||||||
|
|
||||||
|
On WSL (`deadalus`), Codex installation and dotfile deployment are disabled through
|
||||||
|
host overrides; the managed `@openai/codex` npm package is selected for removal.
|
||||||
|
Existing Codex configuration, credentials, and user data are left untouched.
|
||||||
|
|
||||||
OpenCode Mobile (`opencode-mobile`) is installed globally through the same npm
|
OpenCode Mobile (`opencode-mobile`) is installed globally through the same npm
|
||||||
lifecycle on Fedora, Void desktops, and WSL. Its plugin declaration and `/mobile`
|
lifecycle on Fedora, Void desktops, and WSL. Its plugin declaration and `/mobile`
|
||||||
command are deployed with the OpenCode dotfiles, so its `deploy_enabled` stays
|
command are deployed with the OpenCode dotfiles, so its `deploy_enabled` stays
|
||||||
|
|||||||
@@ -93,6 +93,9 @@ common_dotfiles:
|
|||||||
# AI coding-agent lifecycle controls are independent for every agent.
|
# AI coding-agent lifecycle controls are independent for every agent.
|
||||||
# Installation and removal are mutually exclusive per agent; the common
|
# Installation and removal are mutually exclusive per agent; the common
|
||||||
# pre-task enforces this before any changes are made.
|
# pre-task enforces this before any changes are made.
|
||||||
|
codex_install_enabled: true
|
||||||
|
codex_deploy_enabled: true
|
||||||
|
codex_uninstall_enabled: false
|
||||||
codex_relay_install_enabled: false
|
codex_relay_install_enabled: false
|
||||||
codex_relay_uninstall_enabled: false
|
codex_relay_uninstall_enabled: false
|
||||||
gemini_cli_install_enabled: true
|
gemini_cli_install_enabled: true
|
||||||
@@ -124,9 +127,9 @@ ai_agents:
|
|||||||
uninstall_enabled: "{{ claude_code_uninstall_enabled }}"
|
uninstall_enabled: "{{ claude_code_uninstall_enabled }}"
|
||||||
codex:
|
codex:
|
||||||
npm_package: "@openai/codex"
|
npm_package: "@openai/codex"
|
||||||
install_enabled: true
|
install_enabled: "{{ codex_install_enabled }}"
|
||||||
deploy_enabled: true
|
deploy_enabled: "{{ codex_deploy_enabled }}"
|
||||||
uninstall_enabled: false
|
uninstall_enabled: "{{ codex_uninstall_enabled }}"
|
||||||
codex_relay:
|
codex_relay:
|
||||||
npm_package: codex-relay
|
npm_package: codex-relay
|
||||||
install_enabled: "{{ codex_relay_install_enabled }}"
|
install_enabled: "{{ codex_relay_install_enabled }}"
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
hostname: deadalus
|
hostname: deadalus
|
||||||
workstation_wsl_windows_user_home: /mnt/c/Users/FABIOSCOTTODISANTOLO
|
workstation_wsl_windows_user_home: /mnt/c/Users/FABIOSCOTTODISANTOLO
|
||||||
|
|
||||||
|
# Codex is not installed or configured on WSL; remove the managed npm package.
|
||||||
|
codex_install_enabled: false
|
||||||
|
codex_deploy_enabled: false
|
||||||
|
codex_uninstall_enabled: true
|
||||||
|
|
||||||
host_packages: []
|
host_packages: []
|
||||||
host_enabled_services: []
|
host_enabled_services: []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user