Skip to content
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
88c9c13
fix(integrations): dispatch kiro-cli through chat --no-interactive
kartsan03 Sep 30, 2026
86afed7
fix(integrations): install kiro-cli prompts with hyphenated names
kartsan03 Sep 30, 2026
cb898ce
test(integrations): restore the kiro prompt as bytes in the upgrade test
kartsan03 Sep 30, 2026
270f740
fix(integrations): remove dotted kiro extension prompts on upgrade
kartsan03 Sep 30, 2026
569a1bd
fix(integrations): only treat real renames as a Kiro filename migration
kartsan03 Sep 30, 2026
268a908
fix(integrations): keep disabled preset prompts and SKILL.md paths ou…
kartsan03 Sep 30, 2026
cc91560
fix(integrations): retire dotted Kiro prompts only after their replac…
kartsan03 Sep 30, 2026
f53b21f
fix(integrations): refuse the Kiro prompt rename while presets are in…
kartsan03 Sep 30, 2026
ec15335
fix(integrations): stop treating the Kiro IDE launcher as Kiro CLI
kartsan03 Oct 1, 2026
ed42004
test(workflows): pin the zip entry time in catalog release archives
kartsan03 Oct 1, 2026
a5334ea
Merge branch 'main' into fix/kiro-cli-dispatch
kartsan03 Oct 2, 2026
234bbd2
fix(integrations): retire dotted Kiro extension prompts on every regi…
kartsan03 Oct 2, 2026
3bcee7e
fix(integrations): keep Kiro prompts tracked when a command source is…
kartsan03 Oct 3, 2026
62732e8
fix(integrations): keep Kiro prompts that hyphenate to one file
kartsan03 Oct 5, 2026
7034726
Merge branch 'main' into fix/kiro-cli-dispatch
kartsan03 Oct 6, 2026
8570f0a
fix(integrations): skip Kiro prompts that share a file instead of rew…
kartsan03 Oct 6, 2026
fdb8d75
fix(extensions): count unreadable owners at install, remove skipped Q…
kartsan03 Oct 6, 2026
a80126f
fix(extensions): preserve shared migrated commands during removal
mnriem Oct 7, 2026
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
Prev Previous commit
Next Next commit
test(integrations): restore the kiro prompt as bytes in the upgrade test
test_upgrade_replaces_dotted_kiro_prompts restored the edited prompt
with write_text(), which writes CRLF on Windows. Integration files are
written as LF bytes, so the restored file no longer matched its
manifest hash and the second upgrade was still blocked as modified
(pytest on windows-latest). Read and write the prompt as bytes.

Refs #4797

Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
  • Loading branch information
kartsan03 committed Sep 30, 2026
commit cb898ce1c3d9340b46a515eb4b7ba2924e169741
10 changes: 6 additions & 4 deletions tests/specify_cli/integrations/test_command_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,15 +312,17 @@ def test_upgrade_replaces_dotted_kiro_prompts(self, tmp_path, monkeypatch):
project = _init_project(tmp_path, "kiro-cli")
prompts = project / ".kiro" / "prompts"
dotted_plan = prompts / "speckit.plan.md"
original = dotted_plan.read_text(encoding="utf-8")
# Bytes, not text: write_text() would turn "\n" into "\r\n" on
# Windows, so the restored file would no longer match the manifest.
original = dotted_plan.read_bytes()

dotted_plan.write_text(original + "my note\n", encoding="utf-8")
dotted_plan.write_bytes(original + b"my note\n")
blocked = _run_in_project(project, ["integration", "upgrade", "kiro-cli"])
assert blocked.exit_code != 0
assert "speckit.plan.md" in blocked.output
assert dotted_plan.read_text(encoding="utf-8") == original + "my note\n"
assert dotted_plan.read_bytes() == original + b"my note\n"

dotted_plan.write_text(original, encoding="utf-8")
dotted_plan.write_bytes(original)
result = _run_in_project(project, ["integration", "upgrade", "kiro-cli"])
assert result.exit_code == 0, result.output
assert sorted(prompts.glob("speckit.*.md")) == []
Expand Down
Loading