Skip to content

Commit 2737616

Browse files
mnriemCopilot
andcommitted
docs: scrub stale context-file mentions from CLI docstrings
Update the multi_install_safe docstring (drop the removed "context file" invariant), the RovoDev setup docstring (no longer upserts a context section), the Copilot module docstring (drop the context-file line), and tighten the _update_init_options_for_integration note. Pure docstring changes — no behavioral impact. Resolves PR review #4548237085. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f64dc36 commit 2737616

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/specify_cli/integrations/_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def _update_init_options_for_integration(
256256
"""Update init-options.json to reflect *integration* as the active one.
257257
258258
Agent context/instruction files are owned entirely by the opt-in
259-
agent-context extension, so this function does not touch the extension
260-
config or any context-file metadata.
259+
agent-context extension, so this function never touches the extension
260+
or its config.
261261
"""
262262
from .. import (
263263
load_init_options,

src/specify_cli/integrations/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ class IntegrationBase(ABC):
112112
multi_install_safe: bool = False
113113
"""Whether this integration is declared safe to install alongside others.
114114
115-
Safe integrations must use a static, unique agent root, command directory,
116-
and context file. Registry tests enforce those invariants for every
115+
Safe integrations must use a static, unique agent root and command
116+
directory. Registry tests enforce those invariants for every
117117
integration that sets this flag.
118118
"""
119119

src/specify_cli/integrations/copilot/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
- Commands use ``.agent.md`` extension (not ``.md``)
55
- Each command gets a companion ``.prompt.md`` file in ``.github/prompts/``
66
- Installs ``.vscode/settings.json`` with prompt file recommendations
7-
- Context file lives at ``.github/copilot-instructions.md``
87
98
When ``--skills`` is passed via ``--integration-options``, Copilot scaffolds
109
commands as ``speckit-<name>/SKILL.md`` directories under ``.github/skills/``

src/specify_cli/integrations/rovodev/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,7 @@ def setup(
227227
) -> list[Path]:
228228
"""Install RovoDev skills, then generate prompt wrappers and manifest.
229229
230-
1. ``SkillsIntegration.setup()`` generates skill files and
231-
upserts the context section.
230+
1. ``SkillsIntegration.setup()`` generates the skill files.
232231
2. Generates prompt wrappers and ``prompts.yml`` for each skill
233232
created in step 1.
234233
"""

0 commit comments

Comments
 (0)