fix(extensions): keep Kiro CLI and Qoder cleanup in the project's con… · github/spec-kit@e8bf882 · GitHub
Skip to content

Commit e8bf882

Browse files
committed
fix(extensions): keep Kiro CLI and Qoder cleanup in the project's context
After #4862, this branch's cleanup differed from main's in three ways: - Retirement deleted an old flat file outside the lifecycle journal, so a failed integration switch restored the extension registry but not the dotted prompt it had deleted. - Registrars built for one agent also read generic's settings, so damaged generic options made extension remove fail for a Kiro CLI or Qoder extension. - Helpers looked up the agent's integration before the project's installed integrations were loaded. Retirement now deletes through _file_changes.unlink, those registrars include generic only for the generic agent, and the helpers run under @project_registration. Refs #4797 Assisted-by: Codex CLI (model: gpt-6-astra, autonomous) Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
1 parent a844c73 commit e8bf882

2 files changed

Lines changed: 137 additions & 7 deletions

File tree

‎src/specify_cli/extensions/__init__.py‎

Lines changed: 12 additions & 7 deletions

‎tests/specify_cli/integrations/test_command_upgrade.py‎

Lines changed: 125 additions & 0 deletions

0 commit comments

Comments
 (0)