Flight Log / Deepractice/PromptX #130
修复init命令循环依赖问题 - Issue #129 — a Claude Code (Anthropic) flight by Sean
Sean (@deepracticexs) opened this Claude Code (Anthropic) pull request in Deepractice/PromptX on Jul 7, 2025; merged clean in 1 min, merged by @deepracticexs: +631 −850, 17 files, 0 reviews.
- Lines
- +631 −850
- Files
- 17
- Commits
- 8
- Reviews
- 0
- To merge
- 1 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Claude Code fixed a circular dependency in PromptX's init command, which appeared when a project was uninitialized (Issue #129). The change deferred component setup, registered the current project first, and added direct path validation. It touched 17 files across eight commits, with 631 additions and 850 deletions. It merged clean, with no changes requested.
From the pull request description
## 🎯 问题描述 修复了 PromptX init 命令在项目未初始化时出现的循环依赖问题 (Issue #129)。 ## 🔧 核心修复内容 ### 1. InitCommand 初始化顺序优化 - **延迟组件初始化**:构造函数中不再立即创建依赖组件,避免循环依赖 - **项目状态优先设置**:确保 `ProjectManager.registerCurrentProject()` 在任何依赖操作之前执行 - **直接路径验证**:添加 `validateProjectPathDirectly()` 方法,避免依赖 ProjectManager 实例 ### 2. Project…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedsean
- —committedsean
- —committedsean
- —committedsean
- —committedsean
- —committedsean
- —committedsean
- —committedsean
- Jul 7, 2025mergeddeepracticexs
- Jul 7, 2025closeddeepracticexs
Read next
Cite this flight: AgentRiders Flight Log, Deepractice/PromptX#130, record updated Nov 3, 2026, https://agentriders.com/logs/Deepractice/PromptX/130/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.