About Probe Kit
Probe Kit is an MCP server published by mybolide in the Developer Tools category: spec-driven dev workflow MCP for Cursor & AI agents — start_feature/bugfix orchestration, auto Skill+AGENTS bootstrap, memory, GitNexus. npx -y mcp-probe-kit@latest. Conduid read 35 tools from its source: add_feature, architecture, ask_user, check_spec, code_insight, code_review and 29 more. No package is published for it, so it installs from a source checkout.
The repository has 41 stars and 5 forks, is licensed MIT, and its last commit was on 15 Nov 2026. The latest release is v4.1.1 (13 Oct 2026): History Session: omitting session_key mints hs_<uuid> and opens a new archive instead of writing the shared project-active file, so parallel Agent chats cannot mix check… It follows v4.1.0 (8 Oct 2026), and the 5 most recent releases go back to v4.0.1 (20 Aug 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include development-tools and devtools.
Install
git clone https://github.com/mybolide/mcp-probe-kitTools (35)
add_feature原子规格生成工具:根据已经确定的 feature_name、description、spec_layout 和可选 subspecs,返回 flat 或 parent-child 规格模板与落盘计划。它不负责判断需求复杂度,也不是复杂功能的首个入口。新功能、跨模块升级或布局未确定时必须先调用 start_feature;通常仅按 start_feature 返回的 delegated plan 调用本工具。| Parameter | Type | Description |
|---|---|---|
| description | string | 已经收敛的功能描述。简单 flat 规格可使用简短描述;parent-child 必须包含完整范围、跨模块契约和边界,并同时提供 subspecs。复杂需求若尚未完成布局和子规格拆分,请先调用 start_feature。 |
| docs_dir | string | 文档输出目录,默认为 docs |
| feature_name | string | 功能名称(kebab-case 格式,如 user-auth)。可选,如果不提供会从 description 自动提取 |
| spec_layout | string | 规格布局:flat(默认)或 parent-child(由 Agent 落盘母/子规格) |
| subspecs | array | parent-child 的子规格定义;每项包含 id、title、fr 和可选 dependsOn |
| template_profile | string | 模板档位:auto(默认,自动选择 guided/strict)、guided(普通模型友好)或 strict(结构更紧凑) |
architecture独立架构领域能力,使用 ARC-8 完成架构评估、设计、校验和漂移检查。可直接调用,也可由功能、Bug 或重构流程按需组合;MCP 负责方法、门禁与结构化证据,不替 Agent 声称绝对最优架构。| Parameter | Type | Description |
|---|---|---|
| alternatives | array | |
| baseline | any | 已有 assess 结果、ADR、ArchitectureCandidate、Plan 或设计证据;可传对象或 JSON/文本 |
| collect_evidence | boolean | 是否自动调用 code_insight 并召回 Memory 证据,默认 true;测试或已提供完整证据时可设 false |
| constraints | array | 已确认的业务与技术约束 |
| current_facts | array | 当前架构事实,需标记 fact/inference/unknown |
| decision | object | |
| description * | string | 本次架构任务的完整目标,不能只传“继续”或“优化架构” |
| diff | string | validate/drift 使用的真实 Git diff、revision 摘要或实现证据 |
| mode | string | ARC-8 入口阶段:assess、design、validate 或 drift,默认 assess |
| non_goals | array | 本次明确不处理的内容 |
| observed_drift | array | Agent 已确认的架构偏移事实 |
| project_root | string | 目标项目根目录绝对路径 |
| protected_invariants | array | |
| runtime_evidence | array | 运行结果、图谱摘要、日志、指标或验收证据 |
| save_to_docs | boolean | 是否返回架构文档 delegated 落盘计划;工具本身不直接重写项目文档 |
| scope | array | 涉及模块、目录、服务或数据域 |
| structural_causes | array | |
| target_architecture | object | |
| transition_plan | object |
ask_user当 AI 需要更多信息、遇到不确定因素时使用。向用户提问工具,AI 可主动向用户提问;支持单个或多个问题、提供选项、标注重要性;可在任何时候使用| Parameter | Type | Description |
|---|---|---|
| context | string | 问题的背景信息或上下文 |
| question | string | 单个问题(如'你希望支持哪些支付方式?') |
| questions | array | 多个问题列表,每个问题可包含 question、context、options、required 字段 |
| reason | string | 为什么要问这个问题(提问原因) |
check_spec校验已落盘的功能规格(docs/specs/<feature_name>/requirements|design|tasks.md)是否完整:检测残留 [填写] 占位、缺失章节、缺 FR/验收标准、FR 未进覆盖矩阵。写完规格后、进入实现前调用;未通过按报告补全后重跑。| Parameter | Type | Description |
|---|---|---|
| docs_dir | string | 文档根目录,默认为 docs |
| feature_name | string | 要校验的规格目录名,对应 docs/specs/<feature_name>/ |
| project_root | string |
code_insight当用户需要基于代码图谱分析调用链、上下文和影响面时使用。默认桥接 GitNexus,支持 query/context/impact 模式;不可用时自动降级并返回原因| Parameter | Type | Description |
|---|---|---|
| direction | string | impact 方向:upstream / downstream |
| goal | string | 分析目标(可选) |
| include_tests | boolean | impact 是否包含测试文件(可选,默认 false) |
| max_depth | number | impact 最大深度(可选,默认 3) |
| mode | string | 分析模式:auto(默认)、query、context、impact |
| project_root | string | 项目根目录绝对路径。建议显式传入;当调用里还包含相对路径参数时,应统一相对该项目根目录解析,避免依赖客户端 cwd。 |
| query | string | 查询文本(query 模式推荐) |
| repo | string | 仓库名称(多仓库场景可选) |
| target | string | 目标符号(context/impact 模式推荐) |
| task_context | string | 任务上下文(可选) |
code_review当用户需要审查代码、真实 Git diff 或托管 Plan 的交付一致性时使用。MCP 可确定性收集 changed files、Plan 声明范围、产物、测试、公共契约、架构和 revision 证据;代码语义问题仍由 Agent 审查,不伪装成静态扫描器| Parameter | Type | Description |
|---|---|---|
| base_ref | string | diff_mode=range 时的基线 Git ref |
| code | string | 要审查的代码。可以是代码片段、完整文件或 git diff 输出 |
| diff_mode | string | Git diff 范围。auto 默认审查相对 HEAD 的 staged+unstaged 变更;working 仅未暂存;staged 仅已暂存;range 使用 base_ref/head_ref |
| file_path | string | 要审查的文件路径(相对 project_root 或绝对路径)。未传 code 时从磁盘读取 |
| focus | string | 审查重点:security(安全)、performance(性能)、quality(质量)、all(全部)。可选,默认 all |
| head_ref | string | diff_mode=range 时的目标 Git ref |
| max_diff_chars | number | 最大 diff 字符数,1000-500000,默认 120000。超出时明确标记 truncated |
| plan_id | string | 可选托管 Plan ID。提供后读取 Plan 状态并比较 declaredScope、产物、测试、架构证据和 revision |
| project_root | string | 项目根目录绝对路径。未传 code/file_path 时,可从该 Git 仓库自动收集真实 diff |
converge按 Delegated Plan 自己声明的证据和质量闸门关闭计划。任一未完成步骤、未决事项、必需证据或验收结果缺失都会拒绝收敛;除 requirements 外,证据只有摘要但没有 reference/revision 也不算可复核证据。调用参数只能增加证据要求,不能削弱 Plan。| Parameter | Type | Description |
|---|---|---|
| docs_dir | string | 规格目录,默认 docs |
| feature_name | string | 可选;提供后 converge 会真实调用 check_spec |
| plan_id * | string | |
| project_root | string | |
| required_evidence_kinds | array | 可选附加要求;与 Plan.requiredEvidenceKinds 合并,不能移除 Plan 已声明要求 |
delete_memory_assetDelete an asset by `asset_id` from the shared pool| Parameter | Type | Description |
|---|---|---|
| asset_id * | string | 要删除的记忆资产 ID(通常来自 search_memory 或 read_memory_asset) |
| confirm | boolean | 为 true 时执行删除;省略或 false 时仅返回预览并要求确认(软确认) |
estimate当用户需要估算开发工作量、评估任务时间时使用。估算开发工作量,输出故事点、时间范围(乐观/正常/悲观)、风险点| Parameter | Type | Description |
|---|---|---|
| code_context | string | 相关代码或文件上下文。可选,有助于更准确的估算 |
| experience_level | string | 经验水平:junior(初级)、mid(中级)、senior(高级)。可选,默认为 mid |
| task_description | string | 任务描述。可以是简短的自然语言(如'估算开发工作量')或详细的任务说明 |
| team_size | integer | 团队规模(人数)。可选,默认为 1 |
fix_bug当用户需要找问题、修 bug、排查异常时使用。指南型 SRC-8(TBP-inspired):注入真因工作表与门禁,由 Agent 完成 rootCauseAnalysis 并修复;MCP 不自动修 Bug| Parameter | Type | Description |
|---|---|---|
| actual_behavior | string | 实际行为。可选,用于 TBP-1 现象定义 |
| analysis_mode | string | 分析方法。默认 src8(Software Root-Cause 8-step,受丰田 TBP 启发);tbp8 为兼容别名 |
| code_context | string | 相关代码或图谱摘要。可选 |
| error_message | string | 错误信息 |
| expected_behavior | string | 期望行为。可选 |
| file_path | string | 相关代码文件路径(相对 project_root 或绝对路径)。未传 code_context 时从磁盘读取 |
| project_root | string | 项目根目录绝对路径。配合 file_path 解析相对路径 |
| stack_trace | string | 堆栈跟踪。可选 |
| steps_to_reproduce | string | 复现步骤。可选,用于 TBP-2 时间线 |
| success_sample | string | 成功/正常样本描述(Step 4 对比用)。无则 Agent 须标注对比样本不足 |
| verification_target | string | 验收目标(Step 3 SMART 目标),如:原复现步骤通过、特定测试绿 |
gencommit当用户需要生成 Git commit 消息时使用。返回 Conventional Commits 规范说明、步骤、输出模板和示例,供 AI 根据变更内容生成最终 commit message。它不直接代写最终消息,也不应被判定为空结果| Parameter | Type | Description |
|---|---|---|
| changes | string | 代码变更内容。可以是 git diff 输出、变更描述或自然语言。如果不提供,工具会提示执行 git diff |
| project_root | string | 可选,目标 Git 仓库根目录或其子目录。未提供 changes 时用于确认当前项目确实是 Git 仓库 |
| type | string | Commit 类型:fixed(修复)、feat(新功能)、docs(文档)、style(样式)、chore(杂项)、refactor(重构)、test(测试)。可选,会自动识别 |
gentest当用户需要为代码生成单元测试时使用。指南型工具:注入 code/file_path 与测试清单,由 Agent 生成完整测试代码;MCP 不自动生成或运行测试| Parameter | Type | Description |
|---|---|---|
| code | string | 要生成测试的代码。可以是函数、类或模块 |
| file_path | string | 要生成测试的源文件路径(相对 project_root 或绝对路径)。未传 code 时从磁盘读取 |
| framework | string | 测试框架:jest、vitest、mocha。可选,会自动识别项目使用的框架 |
| project_root | string | 项目根目录绝对路径。配合 file_path 解析相对路径 |
git_work_report基于 Git diff 分析生成工作报告(日报/周期报) 核心功能: - 支持日报模式(单个日期)和周期报模式(日期范围) - 自动读取指定日期的所有 Git 提交 - 对每个提交执行 git show 获取完整 diff - 使用 AI 分析 diff 内容提取实际工作内容 输出格式: - 只输出「工作内容」部分 - 每条以 - 开头,中文,简洁专业 - 格式:做了什么 + 改了哪里/达到什么效果 - 不输出:提交哈希、文件列表、统计数据、风险总结 使用示例: - 日报:git_work_report --date 2026-1-27 - 周期报:git_work_report --start_date 2026-2-1 --end_date 2026-2-6| Parameter | Type | Description |
|---|---|---|
| date | string | 单个日期,格式 YYYY-MM-DD(日报模式) |
| end_date | string | 结束日期,格式 YYYY-MM-DD(周期报模式) |
| output_file | string | 可选,输出文件路径 |
| project_root | string | 目标 Git 仓库根目录或其子目录;省略时按当前 MCP 工作区解析 |
| start_date | string | 起始日期,格式 YYYY-MM-DD(周期报模式) |
history_session_bootstrapInitialize or resume a lossless project history archive (docs/history-session/). Call once near the start of a conversation with the user's verbatim first request as initial_user_input. Echo the returned session_key on later calls in this chat. Without host/explicit session_key, the server mints a new hs_<uuid> handle and opens a new archive (does not merge into a shared project-active file). Never invent a key. Returns bounded state (≤64 KiB). Disable with MCP_HISTORY_SESSION=0|false|off.| Parameter | Type | Description |
|---|---|---|
| create_if_missing | boolean | Create archive when missing; default true |
| history_dir | string | Relative history directory; default docs/history-session |
| initial_user_input | string | Verbatim first user request for this conversation |
| mode | string | resume (default) reuses the archive for this session_key; fresh always creates a new archive |
| project_root | string | Project root; omit to use workspace resolution |
| session_key | string | Echo the server-minted handle from a previous bootstrap in this conversation. Omit only on the first call; omitting later opens a new archive instead of merging. |
| title | string | Archive title when creating a new session |
| workspace_root | string | Alias of project_root |
history_session_checkpointAppend an idempotent, redacted development checkpoint. Pass session_key and expected_path exactly as returned by history_session_bootstrap, plus the user's verbatim raw_user_input. Archives that exceed MCP_HISTORY_MAX_LINES/BYTES soft-rotate to the next N.md before append.| Parameter | Type | Description |
|---|---|---|
| decisions | array | |
| expected_path * | string | |
| files_changed | array | |
| findings | array | |
| history_dir | string | |
| next_actions | array | |
| notes | string | |
| project_root | string | |
| raw_user_input | string | |
| remaining_issues | array | |
| runtime_state | array | |
| session_key * | string | |
| tests | array | |
| timestamp | string | |
| turn_id | string | |
| user_intent | string | |
| workspace_root | string |
history_session_readRead one lossless numeric Markdown archive by number or a path returned from history_session_search. Responses are UTF-8-safe pages: max_bytes defaults to 32 KiB and is capped at 64 KiB; follow next_cursor to recover the complete source.| Parameter | Type | Description |
|---|---|---|
| cursor | integer | |
| expected_hash | string | |
| history_dir | string | |
| max_bytes | integer | |
| number | integer | |
| path | string | |
| project_root | string | |
| workspace_root | string |
history_session_searchSearch lossless history archives by deterministic keywords and return a bounded page of ranked locations and snippets. Use history_session_read to retrieve exact source text.| Parameter | Type | Description |
|---|---|---|
| cursor | integer | |
| history_dir | string | |
| limit | integer | |
| project_root | string | |
| query | string | Keyword query; empty returns recent archives |
| workspace_root | string |
history_session_validateValidate history-session numbering, duplicates, and derived state/manifest. Optional repair rebuilds state and manifest from Markdown archives.| Parameter | Type | Description |
|---|---|---|
| history_dir | string | |
| project_root | string | |
| repair | boolean | Rebuild state/manifest from archives; default false |
| workspace_root | string |
init_project当用户提供一句话需求时使用。基于 Spec-Driven Development 理念,分析需求并生成完整的项目规格文档(需求分析/技术设计/任务拆解)。适合项目初期的需求澄清和规划| Parameter | Type | Description |
|---|---|---|
| input | string | 项目需求描述。可以是一句话需求(如'创建电商网站')或简短的功能描述,工具会自动分析并生成详细的规格文档 |
| project_name | string | 项目名称。可选,默认为'新项目' |
| project_root | string |
init_project_context生成/更新项目上下文写作计划(delegated):MCP 写入 AGENTS.md 与 layout.json;project-context 分类文档与 graph-insights 由 Agent 按返回的 plan 落盘。新功能请先 start_feature,修 bug 请先 start_bugfix。| Parameter | Type | Description |
|---|---|---|
| docs_dir | string | 附属文档根目录(project-context、graph-insights)。默认 docs |
| filename | string | 高级:与 output_dir 合用,默认 project-context.md |
| index_style | string | 索引风格:auto(默认 AGENTS.md)、agents、legacy(docs/project-context.md) |
| locale | string | AGENTS.md 语言;默认根据 README 探测 |
| output | string | 高级:索引文件相对路径,如 AGENTS.md |
| output_dir | string | 高级:索引所在目录,如 .claude/rules |
interview当用户需求不明确、需要澄清需求时使用。需求访谈工具,在开发前通过结构化提问澄清需求,避免理解偏差和返工;生成访谈记录文件供后续 start_feature/add_feature 使用;仅支持 feature 类型| Parameter | Type | Description |
|---|---|---|
| answers | object | 访谈问题的回答(JSON 对象,key 为问题 ID,value 为回答内容)。用于提交访谈结果 |
| description | string | 功能描述(如'实现用户登录功能'),用于开始访谈。可以是简短的自然语言描述 |
| feature_name | string | 功能名称(kebab-case 格式,如 user-login)。可选,会自动从描述中提取 |
list_memory_assetsMemory Center 专用浏览动作。按更新时间列出记忆摘要,支持类型、状态、项目、标签和分页过滤;仅供 MCP App 调用。| Parameter | Type | Description |
|---|---|---|
| include_inactive | boolean | 是否包含非 active 记忆,默认 true |
| limit | number | 每页数量,默认 50,最大 200 |
| offset | number | 分页偏移量,默认 0 |
| source_project | string | 按来源项目过滤 |
| status | string | 按记忆状态过滤 |
| tags | array | 必须同时包含的标签 |
| type | string | 按记忆类型过滤 |
memorize_assetPersist an already validated `MemoryCandidate` into vector memory; for delegated workflows, call it only after `converge` passes| Parameter | Type | Description |
|---|---|---|
| applicability | string | 适用条件、边界和不适用场景 |
| code_snippet | string | 代码片段,content 的别名 |
| confidence | number | 置信度,0-1 |
| conflict_policy | string | 同一 type/name/source_project 已有 active 资产但内容不同时的处理:reject(默认)/ supersede / allow_parallel |
| content | string | 完整抽象内容(bugfix 建议【现象】【根因】【修复】【验证】;可选末尾【来源参考】一行) |
| description * | string | 抽象化描述(现象/模式/问题,勿以项目路径为主) |
| evidence | array | 验证证据、失败日志、反例或回归用例;负面记忆必填 |
| expires_at | string | 自动失效时间,ISO 日期时间 |
| file_path | string | Agent 沉淀共享知识时禁止传;路径写入 content 末尾【来源参考】 |
| name * | string | 抽象化资产名称(勿用文件路径或仓库名) |
| source_path | string | Agent 沉淀共享知识时禁止传;追溯信息写入 content【来源参考】 |
| source_project | string | Agent 沉淀共享知识时禁止传;仅 Memory Center browse 过滤用 |
| status | string | 生命周期状态,默认 active |
| summary * | string | 检索用一句话摘要(关键词 + 根因/要点;不含仓库名/路径) |
| superseded_by | string | 兼容字段;新建资产不接受该参数。请先创建 successor,再用 update_memory_asset 更新旧资产 |
| supersedes | array | 本资产替代的旧资产 ID |
| tags | array | 标签列表,如 bugfix, root-cause |
| type | string | 资产类型:bugfix / pattern / component / code / failed_approach / false_root_cause / regression_case |
| usage | string | 适用场景/使用方式 |
plan_heartbeat由 Agent 在 Delegated Plan 执行过程中记录轻量检查点。首次调用必须提供完整 plan;后续合并步骤、证据、产物、候选经验、验收结果、运行证据和 revision。除 requirements 外,每条用于收敛的 evidence 必须至少提供 reference 或 revision,否则 converge 会明确拒绝。只记录状态,不代替 Agent 执行。| Parameter | Type | Description |
|---|---|---|
| acceptance_results | array | |
| architecture_candidates | array | |
| artifacts | array | |
| completed_step_ids | array | |
| current_step_id | string | |
| declared_scope | object | 本次 Plan 已确认的目录、模块、契约、排除项等作用域;省略时保留原值 |
| evidence | array | |
| last_verified_revision | string | |
| memory_candidates | array | |
| plan | object | 首次 heartbeat 必填的完整 Delegated Plan Contract |
| plan_id * | string | Delegated Plan 的稳定 planId |
| project_root | string | 项目根目录;省略时按工作区解析 |
| runtime_evidence | array | |
| skipped_steps | array | |
| status | string | |
| unresolved_items | array |
read_memory_assetRead full asset content by `asset_id` (text output includes the full `content` body)| Parameter | Type | Description |
|---|---|---|
| asset_id * | string | 记忆资产 ID |
refactor当用户需要重构代码、改善代码结构时使用。指南型工具:注入 code/file_path 与重构清单,由 Agent 分析后输出重构计划 JSON;MCP 不自动修改源文件| Parameter | Type | Description |
|---|---|---|
| code | string | 要重构的代码 |
| file_path | string | 要重构的文件路径(相对 project_root 或绝对路径)。未传 code 时从磁盘读取 |
| goal | string | 重构目标:improve_readability(可读性)、reduce_complexity(复杂度)、performance(性能)。可选 |
| project_root | string | 项目根目录绝对路径。配合 file_path 解析相对路径 |
resume_plan从 .mcp-probe-kit/plans/ 读取 Delegated Plan 检查点,按依赖计算下一可执行步骤、阻塞步骤和 resumeContext。plan_id 可选;省略时自动恢复当前项目最近更新的 active/blocked Plan。本工具只读取状态,不替 Agent 执行;返回 mustContinue=true 后 Agent 必须立即执行 nextStep/nextTool,逐步调用 plan_heartbeat,禁止只汇报恢复结果后停止。| Parameter | Type | Description |
|---|---|---|
| plan_id | string | 可选;省略时选择当前项目最近更新的 active/blocked Plan |
| project_root | string |
scan_and_extract_patternsExtract reusable patterns from code/file/directory before deciding whether to persist| Parameter | Type | Description |
|---|---|---|
| content | string | 待分析的代码或文本内容。传入该字段时走单段分析模式 |
| directory_path | string | 要扫描的目录路径。最佳实践是传相对 `project_root` 的路径,例如 `app/utils`;如果拿不到 `project_root`,才传目录绝对路径。不要传带项目名的半相对路径,例如 `font-miniapp-api/app/utils`。 |
| file_path | string | 来源文件路径。单段分析时作为来源路径使用 |
| include_extensions | array | 允许扫描的文件扩展名列表,例如 [".ts", ".tsx", ".py"] |
| max_files | number | 最多扫描多少个文件,默认 30,最大 200 |
| max_patterns | number | 最多返回多少个候选模式,默认 20,最大 100 |
| project_name | string | 已废弃,扫描结果不再写入 source_project |
| project_root | string | 项目根目录绝对路径。目录扫描时建议始终传入;传入后,`directory_path` 应写成相对项目根的路径。 |
search_memorySemantic search across the shared memory pool (optionally prefer `type` / `tags`); text output includes `id`, `score`, summary, description, and a `--- content ---` body (default up to 1500 chars via `MEMORY_SEARCH_CONTENT_MAX_CHARS`)| Parameter | Type | Description |
|---|---|---|
| include_inactive | boolean | 维护/审计时设为 true,可返回 expired、superseded、retracted 资产;正常研发不要开启 |
| limit | integer | 返回条数;semantic 最大 50,browse 最大 200 |
| mode | string | semantic=语义检索(默认,query 必填);browse=按更新时间分页浏览(query 可省略) |
| offset | integer | browse 分页偏移量,默认 0 |
| query | string | 语义检索 query;mode=semantic 时必填 |
| source_project | string | browse 模式按来源项目过滤 |
| status | string | browse 模式按生命周期状态过滤 |
| tags | array | 优先匹配的标签 |
| type | string | 优先匹配的资产类型,如 bugfix、pattern、component |
start_bugfix当用户需要找问题、修 bug、排查异常时使用。默认按 SRC-8(TBP-inspired)编排:收敛边界→真因工作表→修复→测试→记忆沉淀。| Parameter | Type | Description |
|---|---|---|
| analysis_mode | string | 分析方法。默认 src8;tbp8 为兼容别名 |
| code_context | string | 相关代码。可选 |
| description | string | Bug 描述(与 error_message 同义;仅传 description 时自动作为错误信息) |
| docs_dir | string | 文档目录。可选,默认 docs |
| error_message | string | 错误信息(可与 description 二选一) |
| feature_name | string | 关联功能规格名(对应 docs/specs/<feature_name>/)。提供后或能自动识别时,修复闭环会插入 check_spec 闸门 |
| loop_assumption_cap | number | 每轮假设上限(默认 3) |
| loop_max_rounds | number | 需求 loop 最大轮次(默认 2) |
| loop_question_budget | number | 每轮最多提问数量(默认 5) |
| project_root | string | 项目根目录绝对路径。建议显式传入;docs_dir 等相对路径参数应统一相对该项目根目录解析,避免依赖客户端 cwd。 |
| requirements_mode | string | 需求模式:steady(默认,直接修复)或 loop(需求澄清与补全) |
| stack_trace | string | 堆栈跟踪。可选 |
| template_profile | string | 模板档位:auto(默认,自动选择 guided/strict)、guided(普通模型友好)或 strict(结构更紧凑) |
start_feature新功能、功能增强、大版本升级或跨模块研发的首选入口。Agent 必须把当前对话已确认的完整目标、范围、模块、阶段和约束汇总到 description;用户只说“继续/开始/往下做”时不得原样透传。默认 spec_layout=auto,复杂多模块或多阶段需求会先生成 parent-child 子规格拆分计划,再进入 add_feature→check_spec→实现。仅在规格布局和子规格已明确、且只需渲染规格模板时才直接用 add_feature。| Parameter | Type | Description |
|---|---|---|
| description | string | 功能详细描述。应汇总当前对话已经确认的完整范围、模块、阶段和约束,不要只传最后一句简短确认;该字段也用于自动判断 flat / parent-child。 |
| docs_dir | string | 文档输出目录,默认为 docs |
| feature_name | string | 功能名称(kebab-case 格式,如 user-auth)。可选,如果不提供会从 description 自动提取 |
| loop_assumption_cap | number | 每轮假设上限(默认 3) |
| loop_max_rounds | number | 需求 loop 最大轮次(默认 2) |
| loop_question_budget | number | 每轮最多提问数量(默认 5) |
| project_root | string | 项目根目录绝对路径。建议显式传入;docs_dir 等相对路径参数应统一相对该项目根目录解析,避免依赖客户端 cwd。 |
| requirements_mode | string | 需求模式:steady(默认,直接生成规格)或 loop(需求澄清与补全) |
| spec_layout | string | 规格布局:auto(默认,复杂多模块需求自动选择 parent-child)、flat 或 parent-child。显式值优先于自动判断。 |
| subspecs | array | parent-child 的子规格定义;每项包含 id、title、fr 和可选 dependsOn |
| template_profile | string | 模板档位:auto(默认,自动选择 guided/strict)、guided(普通模型友好)或 strict(结构更紧凑) |
start_onboard当用户需要快速上手新项目时使用。编排:生成上下文文档。| Parameter | Type | Description |
|---|---|---|
| docs_dir | string | 文档目录。可选,默认 docs |
| project_path | string | 项目根目录绝对路径。建议显式传入;如果还传 docs_dir 等相对路径,应统一相对该项目根目录解析。 |
start_ralph用于需要多轮小步实现、每轮真实验证和正式收敛的长任务。返回有界 Delegated Plan、每轮 Heartbeat 证据契约和可选前台辅助脚本;不自动运行循环、不创建后台进程。安全停止不等于成功| Parameter | Type | Description |
|---|---|---|
| cli_command | string | Claude Code CLI 命令名。默认:'claude-code'(可能需要改为 'claude') |
| completion_promise | string | 完成条件描述。默认:'tests passing + requirements met' |
| confirm_every | number | 每几轮要求人工确认。safe 模式默认:1(每轮都确认) |
| confirm_timeout | number | 确认等待秒数,超时自动停止。safe 模式默认:20 |
| cooldown_seconds | number | 每轮后冷却秒数。safe 模式默认:8 |
| goal | string | 本次要完成的目标/需求描述。例如:'实现用户认证功能'、'修复登录 bug' |
| max_diff_lines | number | git diff 变更行数超过此值停止(防失控)。safe 模式默认:300 |
| max_iterations | number | 最大迭代轮数。safe 模式默认:8 |
| max_minutes | number | 最大运行分钟数。safe 模式默认:25 |
| max_rounds | number | max_iterations 的兼容别名;建议新调用统一使用 max_iterations |
| max_same_output | number | 输出重复多少次停止(防卡死)。safe 模式默认:2 |
| mode | string | 运行模式:safe(安全模式,默认)、normal(普通模式)。安全模式包含多重保护机制 |
| project_root | string | 目标项目根目录绝对路径。省略时从当前已确认工作区解析 |
| test_command | string | 每轮执行的测试命令。默认:'npm test'(会在首轮由 agent 识别正确命令) |
update_memory_assetUpdate an existing asset by `asset_id` (preserves ID; `content` changes re-embed)| Parameter | Type | Description |
|---|---|---|
| applicability | string | 适用条件、边界和不适用场景 |
| asset_id * | string | 要更新的记忆资产 ID |
| code_snippet | string | 代码片段,content 的别名 |
| confidence | number | 置信度,0-1 |
| conflict_policy | string | 更新后与同身份 active 资产冲突时的处理:reject(默认)/ supersede / allow_parallel |
| content | string | 完整内容 |
| description | string | 资产描述 |
| evidence | array | 验证证据、失败日志、反例或回归用例 |
| expires_at | string | 自动失效时间,ISO 日期时间;空字符串可清除 |
| file_path | string | Agent 更新共享知识时禁止传;路径写入 content 末尾【来源参考】 |
| name | string | 资产名称 |
| source_path | string | Agent 更新共享知识时禁止传;追溯信息写入 content【来源参考】 |
| source_project | string | Agent 更新共享知识时禁止传;仅 Memory Center browse 过滤用 |
| status | string | 生命周期状态 |
| summary | string | 检索用一句话摘要 |
| superseded_by | string | 替代本资产的新资产 ID |
| supersedes | array | 本资产替代的旧资产 ID |
| tags | array | 标签列表 |
| type | string | 资产类型,支持 failed_approach / false_root_cause / regression_case |
| usage | string | 适用场景/使用方式 |
workflow仅当 Agent 阅读 Skill 和各工具 description 后仍不确定该调用哪个 MCP 时使用的兜底选择指南。workflow 不做自然语言意图识别:scenario=auto(默认)只返回工具选择规则与速查表,不从 intent 猜 firstTool;Agent 根据完整对话自行判断或澄清。若 Agent 已明确场景,可传显式 scenario 获取该场景的确定性 firstTool、phases 和参数提示。同时确保用户项目已存在 .agents/skills/mcp-probe-kit/SKILL.md 与 AGENTS.md 中的 Skill 引用(缺失则自动创建/更新)。| Parameter | Type | Description |
|---|---|---|
| intent | string | 可选上下文摘要。scenario=auto 时仅供指南展示,不参与自动分类;显式 scenario 时用于生成该场景的参数提示和阶段说明。 |
| project_root | string | |
| scenario | string | 可选:显式场景。默认 auto 只返回 Agent 工具选择指南,不从 intent 推断场景;Agent 已确定场景时传 feature/bugfix/ui/... 获取确定性流程说明 |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 223 source files and found 1 call to eval or shell execution, in src/resources/generated/mcp-app-bundle.ts:2. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:5
- Starts other programs
- 3 callssrc/lib/git-diff-evidence.ts:54, src/lib/gitnexus-bridge.ts:490, src/lib/gitnexus-bridge.ts:979
- Outbound network calls
- 8 callssrc/lib/memory-client.ts:103, src/lib/memory-client.ts:120, src/lib/memory-client.ts:283
- Writes or deletes files
- 67 callssrc/lib/cli-fallback-installer.ts:194, src/lib/cli-fallback-installer.ts:207, src/lib/cli-fallback-installer.ts:210
- Lockfile
- package-lock.json
Pattern matches on the source text of 223 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 6.2K words, fetched a month ago. The original in the repository is authoritative.
Read full README