Skip to content

Commit e754fe0

Browse files
jawwad-aliclaude
andcommitted
fix(integrations): declare LingmaIntegration multi_install_safe
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 #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>
1 parent 8db7228 commit e754fe0

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/specify_cli/integrations/lingma/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class LingmaIntegration(SkillsIntegration):
2727
"args": "$ARGUMENTS",
2828
"extension": "/SKILL.md",
2929
}
30+
multi_install_safe = True
3031

3132
@classmethod
3233
def options(cls) -> list[IntegrationOption]:

tests/integrations/test_integration_lingma.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Tests for LingmaIntegration."""
22

3+
from specify_cli.integrations import get_integration
4+
35
from .test_integration_base_skills import SkillsIntegrationTests
46

57

@@ -8,3 +10,9 @@ class TestLingmaIntegration(SkillsIntegrationTests):
810
FOLDER = ".lingma/"
911
COMMANDS_SUBDIR = "skills"
1012
REGISTRAR_DIR = ".lingma/skills"
13+
14+
def test_multi_install_safe(self):
15+
# Lingma writes only to its isolated, static root .lingma/skills,
16+
# disjoint from every other integration, so it must be co-install safe
17+
# (mirrors trae/zcode and the kiro-cli #3471 precedent).
18+
assert get_integration(self.KEY).multi_install_safe is True

0 commit comments

Comments
 (0)