diff --git a/docs/reference/integrations.md b/docs/reference/integrations.md index 662c0b5e5c..559cbb3248 100644 --- a/docs/reference/integrations.md +++ b/docs/reference/integrations.md @@ -276,6 +276,7 @@ The currently declared multi-install safe integrations are: | `grok` | `.grok/skills` | | `junie` | `.junie/commands`, `.junie/AGENTS.md` | | `kilocode` | `.kilocode/workflows`, `.kilocode/rules/specify-rules.md` | +| `omp` | `.omp/commands` | | `qodercli` | `.qoder/commands`, `QODER.md` | | `qwen` | `.qwen/commands`, `QWEN.md` | | `shai` | `.shai/commands`, `SHAI.md` | diff --git a/src/specify_cli/integrations/omp/__init__.py b/src/specify_cli/integrations/omp/__init__.py index 1565832989..0a93237d4f 100644 --- a/src/specify_cli/integrations/omp/__init__.py +++ b/src/specify_cli/integrations/omp/__init__.py @@ -20,6 +20,7 @@ class OmpIntegration(MarkdownIntegration): "args": "$ARGUMENTS", "extension": ".md", } + multi_install_safe = True def build_exec_args( self, diff --git a/tests/integrations/test_integration_omp.py b/tests/integrations/test_integration_omp.py index 5b30b76075..07dd57336b 100644 --- a/tests/integrations/test_integration_omp.py +++ b/tests/integrations/test_integration_omp.py @@ -11,6 +11,12 @@ class TestOmpIntegration(MarkdownIntegrationTests): COMMANDS_SUBDIR = "commands" REGISTRAR_DIR = ".omp/commands" + def test_multi_install_safe(self): + # Omp writes only to its isolated, static root .omp/commands, disjoint + # from every other integration, so it must be co-install safe (mirrors + # qwen/shai/qodercli and the kiro-cli #3471 precedent). + assert get_integration(self.KEY).multi_install_safe is True + def test_build_exec_args_uses_omp_json_mode(self): i = get_integration(self.KEY)