fix: correct broken relative protocol file paths in P7/P9/P10 agents#154
Open
xiaolai wants to merge 1 commit intotanweai:mainfrom
Open
fix: correct broken relative protocol file paths in P7/P9/P10 agents#154xiaolai wants to merge 1 commit intotanweai:mainfrom
xiaolai wants to merge 1 commit intotanweai:mainfrom
Conversation
All three agents (tech-lead-p9, cto-p10, senior-engineer-p7) referenced
protocol files via "cat 同目录下的 references/p{7,9,10}-protocol.md",
which resolves to agents/references/ — a directory that does not exist.
The actual files are at skills/pua/references/. Replace with Glob pattern
consistent with the SKILL.md loading pattern already used by the agents.
Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Three agent files reference their protocol files using a relative path that resolves to the wrong directory:
The phrase "同目录下的" ("in the same directory") makes Claude look for these files relative to
agents/— i.e., atagents/references/. That directory does not exist. The actual protocol files live at:When Claude follows the broken instruction it silently fails to load the protocol, so the agent starts without its core methodology (四阶段工作流, Task Prompt 六要素, 失败模式 etc.).
Fix
Replace every broken reference with the Glob-based pattern that
senior-engineer-p7.mdalready uses correctly forSKILL.mdloading:This is a pure path correction — no logic or behaviour changes.
Files changed:
agents/tech-lead-p9.md,agents/cto-p10.md,agents/senior-engineer-p7.md