Project
cortex
Description
cortex github install creates a workflow file named Cortex.yml (capital C), but cortex github uninstall and update look for cortex.yml (lowercase c). On case-sensitive filesystems (Linux), the uninstall/update commands cannot find the installed workflow.
The defaults are inconsistent in src/cortex-cli/src/github_cmd.rs:
- Line 66:
install → default_value = "Cortex" (capital C)
- Line 118:
uninstall → default_value = "cortex" (lowercase c)
- Line 134:
update → default_value = "cortex" (lowercase c)
Error Message
$ cortex github install --force
Location: .github/workflows/Cortex.yml
$ ls .github/workflows/
Cortex.yml
$ cortex github uninstall
Remove Cortex workflow './.github/workflows/cortex.yml'? [y/N]: y
# On Linux: error - file not found (cortex.yml ≠ Cortex.yml)
# On macOS: works because filesystem is case-insensitive
Debug Logs
System Information
macOS Darwin 25.3.0
cortex 0.0.7 (7954d02 2026-04-03)
Screenshots
Steps to Reproduce
- Run
cortex github install --force — creates Cortex.yml
- Run
cortex github uninstall — looks for cortex.yml
- On Linux (case-sensitive): uninstall fails with "workflow not found"
- Check the code: line 66 vs line 118 show the inconsistent defaults
Expected Behavior
All three commands (install, uninstall, update) should use the same default workflow name casing — either all "Cortex" or all "cortex".
Actual Behavior
install uses "Cortex" (capital C) while uninstall and update use "cortex" (lowercase). This breaks the install → uninstall lifecycle on case-sensitive filesystems.
Additional Context
Fix: Change lines 118 and 134 to match line 66:
#[arg(long, default_value = "Cortex")] // Match install's default
pub workflow_name: String,
Project
cortex
Description
cortex github installcreates a workflow file namedCortex.yml(capital C), butcortex github uninstallandupdatelook forcortex.yml(lowercase c). On case-sensitive filesystems (Linux), the uninstall/update commands cannot find the installed workflow.The defaults are inconsistent in
src/cortex-cli/src/github_cmd.rs:install→default_value = "Cortex"(capital C)uninstall→default_value = "cortex"(lowercase c)update→default_value = "cortex"(lowercase c)Error Message
Debug Logs
System Information
Screenshots
Steps to Reproduce
cortex github install --force— createsCortex.ymlcortex github uninstall— looks forcortex.ymlExpected Behavior
All three commands (
install,uninstall,update) should use the same default workflow name casing — either all"Cortex"or all"cortex".Actual Behavior
installuses"Cortex"(capital C) whileuninstallandupdateuse"cortex"(lowercase). This breaks the install → uninstall lifecycle on case-sensitive filesystems.Additional Context
Fix: Change lines 118 and 134 to match line 66: