Files
reverse-engineering-anything/docs/getting-started
Saim Shafiqueandmorluto 2ce4471c9f fix(setup): honor KIRO_HOME for the Kiro user configuration (#15056)
* fix(setup): honor KIRO_HOME for the Kiro user configuration

* fix(setup): fall back when KIRO_HOME is any filesystem root

The ancestor check compared the selected root against home with
path.relative, which returns an absolute path across drives, so a
KIRO_HOME of D:\ or a UNC share root was accepted while Kiro itself
falls back to ~/.kiro. Check the selected path against its own root
separately, and document the override in the client configuration
guide.

* test(setup): clear KIRO_HOME from lifecycle test environments

The client-location scrubber omitted KIRO_HOME, so lifecycle tests
calling supportedClients/detectClients and systemUninstallHost with
the default process.env could resolve a runner-exported KIRO_HOME
outside their temporary home and touch the real Kiro registration.

* fix(setup): resolve Kiro home aliases before selecting a profile

* refactor(setup): use the captured host platform for Kiro path checks

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-29 22:01:03 -05:00
..