Skip to content

fix(integrations): declare OmpIntegration multi_install_safe#3650

Open
jawwad-ali wants to merge 2 commits into
github:mainfrom
jawwad-ali:fix/omp-multi-install-safe
Open

fix(integrations): declare OmpIntegration multi_install_safe#3650
jawwad-ali wants to merge 2 commits into
github:mainfrom
jawwad-ali:fix/omp-multi-install-safe

Conversation

@jawwad-ali

Copy link
Copy Markdown
Contributor

What

OmpIntegration is a plain MarkdownIntegration whose files live only under its isolated, static root .omp/commands/ — disjoint from every other integration. But it never declared multi_install_safe, so it inherited the IntegrationBase default False.

Why it matters

Per the isolation policy (and the merged kiro-cli fix #3471), an integration that is fully isolated but not declared safe leaves specify integration status in a permanent unsafe-multi-install ERROR state whenever omp is co-installed alongside another agent — with no acknowledgment path. Omp meets none of the documented exclusion criteria (it doesn't share a command dir, needs no dynamic path, merges no shared settings).

Fix

Add multi_install_safe = True, mirroring the isolated MarkdownIntegration cohort (qwen, shai, qodercli, junie, kilocode) and the kiro-cli #3471 precedent. One-line class attribute.

Tests

tests/integrations/test_integration_omp.py::TestOmpIntegration::test_multi_install_safe — asserts the flag (fails before the fix). The parametrized registry isolation contracts (test_registry.py) auto-include omp once the flag is set and all pass — .omp/commands is isolated and its manifest disjoint from every other safe integration. ruff clean.


AI-assisted: authored with Claude Code. I verified .omp/ is unique across all integrations and that the full registry isolation contracts pass with the flag set.

OmpIntegration is a plain MarkdownIntegration whose files live only under
its isolated, static root .omp/commands/, disjoint from every other
integration. But it never declared multi_install_safe, so it inherited the
IntegrationBase default False — leaving `specify integration status` in a
permanent unsafe-multi-install ERROR state whenever omp is co-installed
alongside another agent, with no acknowledgment path.

Add `multi_install_safe = True`, mirroring the isolated MarkdownIntegration
cohort (qwen, shai, qodercli, junie, kilocode) and the kiro-cli github#3471 fix.
The parametrized registry isolation contracts auto-include omp once the flag
is set and pass (.omp/commands is isolated and its manifest disjoint).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Declares Omp safe for co-installation due to its isolated command directory.

Changes:

  • Enables multi_install_safe for Omp.
  • Adds a regression test for the declaration.
Show a summary per file
File Description
src/specify_cli/integrations/omp/__init__.py Marks Omp multi-install safe.
tests/integrations/test_integration_omp.py Verifies the safety flag.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread src/specify_cli/integrations/omp/__init__.py
@mnriem

mnriem commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Please address Copilot feedback

Declaring OmpIntegration multi_install_safe means the reference table in
docs/reference/integrations.md (which states it lists all currently
declared multi-install-safe integrations) should include it. Add the
alphabetized omp row with its .omp/commands isolation path.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jawwad-ali

Copy link
Copy Markdown
Contributor Author

Thanks! The Copilot feedback is addressed in a388787: added the alphabetized omp row (.omp/commands) to the multi-install-safe table in docs/reference/integrations.md, and resolved the thread. Should be ready for another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: kiro-cli integration should be declared multi_install_safe

3 participants