Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLIPublic
AssigneesNone

Relationships

#1763 repo upgrade --tool kiro reports wrong changedFiles paths

Opened by stack72 · 8/21/2026

Summary

In repo_service.ts applyToolScaffolding() (around lines 718-720), the Kiro case pushes stale file paths into the changedFiles array:

Reported path Actual file written
.kiro/hooks.json .kiro/hooks/swamp-audit.kiro.hook
.kiro/agents/swamp.agent.md .kiro/agents/swamp.json
.kiro/config.json .kiro/settings/cli.json

These appear in the repo upgrade output's changedFiles array (both log and JSON modes), so users see incorrect file paths.

Steps to reproduce

swamp repo init -t kiro <tmpdir>
swamp repo upgrade --json <tmpdir>
# changedFiles array shows .kiro/hooks.json instead of .kiro/hooks/swamp-audit.kiro.hook

Expected behavior

changedFiles should report the actual file paths that were written/updated.

Actual behavior

Three out of four Kiro entries report paths that no longer match the actual files since the hooks/agent-config formats were changed.


Automoved by swampadmin from https://github.com/swamp-club/swamp/issues/2203

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

8/21/2026, 12:40:29 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.