fix(plugins): respect PILOT_HOME paths#191
Conversation
|
Validation note: This PR fixes a real path consistency bug. The UI server already has a shared That broke This PR changes plugin-loader to derive both paths from
The regression test verifies this directly by setting Validation commands used by this PR: npm --workspace ui exec vitest run server/utils/plugin-loader.pilot-home.test.js
npm exec -- tsc --noEmit -p tsconfig.jsonThe scope is also clear: this PR fixes plugin-loader path resolution specifically. It does not claim that every UI/server path is now fully PILOT_HOME-clean. |
Summary
Verification
Notes
This is a real path consistency bug: plugin-loader hardcoded ~/.pilotdeck while ui/server/utils/pilotPaths.js already defines PILOT_HOME-aware home resolution.