fix: remove legacy path from auto-claude source detection (#148)

Removes the legacy 'auto-claude' path from the possiblePaths array
in agent-process.ts. This path was from before the monorepo
restructure (v2.7.2) and is no longer needed.

The legacy path was causing spec_runner.py to be looked up at the
wrong location:
- OLD (wrong): /path/to/auto-claude/auto-claude/runners/spec_runner.py
- NEW (correct): /path/to/apps/backend/runners/spec_runner.py

This aligns with the new monorepo structure where all backend code
lives in apps/backend/.

Fixes #147

Co-authored-by: Joris Slagter <mail@jorisslagter.nl>
This commit is contained in:
Joris Slagter
2025-12-22 22:59:48 +01:00
committed by GitHub
parent ebd8340d82
commit f96c6301f4
@@ -63,9 +63,7 @@ export class AgentProcessManager {
// Alternative: from app root -> apps/backend
path.resolve(app.getAppPath(), '..', 'backend'),
// If running from repo root with apps structure
path.resolve(process.cwd(), 'apps', 'backend'),
// Legacy: auto-claude folder (for backwards compatibility)
path.resolve(process.cwd(), 'auto-claude')
path.resolve(process.cwd(), 'apps', 'backend')
];
for (const p of possiblePaths) {