fix(cli): use resolved project path in doctor command#667
fix(cli): use resolved project path in doctor command#667phernandez wants to merge 1 commit intomainfrom
Conversation
When project_root is configured (e.g., Docker), the project service creates the project under project_root/<sanitized-name> instead of the requested temp_path. Doctor was checking for files under the original temp_path, causing false failures. Now uses status.new_project.path (the actual resolved path) for all file checks after project creation. Fixes #665 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
|
Claude finished @phernandez's task in 1m 44s —— View job PR Review
SummaryThis is a correct and minimal fix. When Code Review ChecklistCode Quality & Standards
Testing & Documentation
Basic Memory Architecture
Security & Performance
Compatibility
One Potential Follow-up: Cleanup Under
|
Summary
project_rootis configured (e.g., Docker),bm doctorwould falsely fail because it checked for files under the originaltemp_pathinstead of the resolved path underproject_rootstatus.new_project.path(the actual resolved path) for all file existence checks after project creationFixes #665
Test plan
just fast-checkpasses (lint, typecheck, impacted tests)just doctorpasses locally (withoutproject_rootset)project_rootconfigured that doctor no longer false-fails🤖 Generated with Claude Code