From 32760348ae537f28d7ccb49cf9604018c11c3ced Mon Sep 17 00:00:00 2001 From: AndyMik90 Date: Wed, 17 Dec 2025 21:42:53 +0100 Subject: [PATCH] Fix to linux path issue --- auto-claude/spec/discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-claude/spec/discovery.py b/auto-claude/spec/discovery.py index 15297213..06dd4e84 100644 --- a/auto-claude/spec/discovery.py +++ b/auto-claude/spec/discovery.py @@ -33,8 +33,8 @@ def run_discovery_script( if spec_index.exists(): return True, "project_index.json already exists" - # Run analyzer - script_path = project_dir / "auto-claude" / "analyzer.py" + # Run analyzer - use framework-relative path instead of project_dir + script_path = Path(__file__).parent.parent / "analyzer.py" if not script_path.exists(): return False, f"Script not found: {script_path}"