Skip to content

fix(integrations): declare LingmaIntegration multi_install_safe#3654

Merged
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:fix/lingma-multi-install-safe
Jul 22, 2026
Merged

fix(integrations): declare LingmaIntegration multi_install_safe#3654
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:fix/lingma-multi-install-safe

Conversation

@jawwad-ali

Copy link
Copy Markdown
Contributor

What

LingmaIntegration writes only to its isolated, static root .lingma/skills — disjoint from every other integration — yet never declared multi_install_safe, so it inherited the IntegrationBase default False.

Why it matters

Like the merged kiro-cli fix #3471, an isolated-but-undeclared integration leaves specify integration status in a permanent unsafe-multi-install ERROR state when lingma is co-installed alongside another agent, with no acknowledgment path. trae and zcode — structurally identical SkillsIntegrations (IDE, install_url=None, requires_cli=False, only a --skills option) — both declare the flag.

Fix

Add multi_install_safe = True, mirroring trae/zcode and the kiro-cli #3471 precedent.

Tests

test_integration_lingma.py::TestLingmaIntegration::test_multi_install_safe (fails before the fix). The parametrized registry isolation contracts auto-include lingma once the flag is set and pass — .lingma/skills is isolated and its manifest disjoint. ruff clean.


AI-assisted: authored with Claude Code. Verified .lingma/ is unique across all integrations and the isolation contracts pass with the flag set.

LingmaIntegration writes only to its isolated, static root .lingma/skills,
disjoint from every other integration, yet never declared
multi_install_safe — inheriting the IntegrationBase default False and
leaving `specify integration status` in a permanent unsafe-multi-install
ERROR state when lingma is co-installed alongside another agent.

Add `multi_install_safe = True`, mirroring the structurally-identical
trae/zcode SkillsIntegrations and the kiro-cli github#3471 fix. The parametrized
registry isolation contracts auto-include lingma and pass.

🤖 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 Lingma safe for co-installation because it writes exclusively under .lingma/skills.

Changes:

  • Sets LingmaIntegration.multi_install_safe to True.
  • Adds a regression test for the declaration.
Show a summary per file
File Description
src/specify_cli/integrations/lingma/__init__.py Enables safe multi-install behavior.
tests/integrations/test_integration_lingma.py Guards the safety declaration.

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: 0
  • Review effort level: Medium

@mnriem
mnriem merged commit 9fb467f into github:main Jul 22, 2026
14 checks passed
@mnriem

mnriem commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

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