Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/reference/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
| `pi` | `.pi/prompts` |
| `qodercli` | `.qoder/commands`, `QODER.md` |
| `qwen` | `.qwen/commands`, `QWEN.md` |
| `shai` | `.shai/commands`, `SHAI.md` |
Expand Down
1 change: 1 addition & 0 deletions src/specify_cli/integrations/pi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ class PiIntegration(MarkdownIntegration):
"args": "$ARGUMENTS",
"extension": ".md",
}
multi_install_safe = True
Comment thread
jawwad-ali marked this conversation as resolved.
8 changes: 8 additions & 0 deletions tests/integrations/test_integration_pi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Tests for PiIntegration."""

from specify_cli.integrations import get_integration

from .test_integration_base_markdown import MarkdownIntegrationTests


Expand All @@ -8,3 +10,9 @@ class TestPiIntegration(MarkdownIntegrationTests):
FOLDER = ".pi/"
COMMANDS_SUBDIR = "prompts"
REGISTRAR_DIR = ".pi/prompts"

def test_multi_install_safe(self):
# Pi writes only to its isolated, static root .pi/prompts, 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