This repository was archived by the owner on Jul 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Troubleshooting.zh
Z-M-Huang edited this page May 4, 2026
·
4 revisions
在项目根目录运行:
/vcp-init
Codex 使用 $vcp-init。
确认已安装 Bun,并启用 debug 日志:
/vcp-config global set debug true
然后查看 .vcp/vcp.log。
优先修复代码。如果该模式确实不适用,将 CWE 加入项目 ignore:
{ "ignore": ["CWE-798"] }确认仓库安装在:
~/.codex/plugins/vcp
在该目录运行 bun install 并重启 Codex。
运行 /mcp。如果缺少 server,按 docs/codex-install.md 在 ~/.codex/config.toml 加入绝对路径的 mcp_servers。
使用配对工具:
- VCP:
get_prompt、resolve_config - Dev Buddy:
get_run_state、get_stage_definition、list_presets - MCP Doc:
get_prompt、get_host_instructions
bun plugins/dev-buddy/scripts/pipeline-config.ts validate --cwd /path/to/project常见原因:
-
~/.vcp/ai-presets.json中缺少 preset - 未知
system_prompt - active pipeline stage 没有 executor
- 多 executor stage 最后一个 executor 设置了
parallel: true
Legacy stage-skill 状态在 .vcp/plan/ 下。归档或删除匹配的 plan slug:
.vcp/plan/ralph-{slug}.md
.vcp/plan/ralph/{slug}/
.vcp/plan/.state/ralph-{slug}/
不要删除无关 active run。
MCP 骨架状态在 .vcp/ralph/<run-id>/ 下。删除前先用 ralph_list 和 get_run_state 确认 run。
查看:
.vcp/plan/.state/ralph-{slug}/units/unit-N.json
检查重复机械上下文、review feedback 和 attempt count。当相同失败反复出现时,可能需要人工介入。
重新运行 /mcp-doc-init 或 $mcp-doc-init。它应创建 .mcp/manifest.yml、.mcp/actions/ 和 .mcp.json。
VCP Wiki
Guides
- First-Time Setup Guide
- How Configuration Works
- Configuration Recipes
- Web Portal Guide
- Daily VCP Workflow
- Troubleshooting
VCP Plugin
- Configuration
- Skills Reference
- Three‐Layer Enforcement Model
- Hooks Reference
- Security Gate Patterns
- Shared Modules
Dev Buddy Plugin
- Dev Buddy Quick Start
- Dev Buddy Configuration
- Stage Skills Guide
- AI Provider Presets
- System Prompts Reference
- Chatroom
MCP Doc Plugin
Standards
Project
VCP Wiki (中文)
指南
VCP 插件
Dev Buddy 插件
MCP Doc 插件
标准
项目