Repository navigation
fix(mcp): drop doctor --fix from soft solidify steers - #28
Merged
Merged
Conversation
Unfinished soft-gap doctor fixes and boot/status command lists no longer present evolver doctor --fix as the current step. The steer stays swarm_solidify. The command remains when no run is unfinished. Co-authored-by: Steper Lin <linker.lin@live.com>
This was referenced Nov 3, 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.
Summary
未完成 run 的软缺口固化引导不再把
evolver doctor --fix放进当前可执行清单。swarm_doctor的fixes,以及 boot / status 的commands与点名这条命令的next_steps,都改指向swarm_solidify。soft_continue与 boot/status 的gate_soft_continue仍为 true。What changed
blockers时,swarm_doctor.fixes去掉精确命令evolver doctor --fix。hint 写明它不是当前步骤,本工具不执行它。next_action、preserve 三元组、tick_again=false、soft_continue=true不动。不写gate_soft_continue,不写session_not_failed。swarm_boot/swarm_status在next_action=swarm_solidify时,commands去掉同一条;next_steps里推荐现在跑它的句子改成先swarm_solidify(next_action/preserve_pending/action_required)。gate_soft_continue仍为 true。fixes/commands仍列出evolver doctor --fix。固化之后同样可以再列。硬阻断的 doctor 不另给next_action,也不改它自己的清单。commands仍可能列出这条命令。How to test
uv run pytest tests/test_mcp_host_usability_pending_smoke.py tests/test_mcp_host_usability_p0.py tests/test_docs_consistency.py tests/test_swarm.py tests/test_swarm_status_boot.py tests/test_mcp_host_usability_p2.py tests/gep/test_compact_gate.py tests/test_usability_external_state_e2e.py tests/test_migrate_checklist.py tests/test_open_box_setup_doctor.py_checklist_runs_doctor_fix_now(doctor|boot|status) is False,同时next_action == swarm_solidify、action_required == swarm_solidify、doctor 的soft_continue is True、boot/status 的gate_soft_continue is True。改前同一断言是True is False(清单里仍有精确的evolver doctor --fix)。commands与 idle doctor 的fixes仍含这条命令。第一次软缺口 tick 的commands仍含它。uv run ruff check src tests、uv run ruff format --check src tests、uv run mypy src。本地:上述 pytest 150 passed;ruff 与 mypy 通过。
Risk
Low -- 只从软缺口固化引导的命令清单里拿掉一条当前不该跑的命令。不改固化门、不写 Parent、不把软缺口收硬、不执行
--fix。仍在的宿主摩擦
soft_continue=true或gate_soft_continue=true、完全不读tick_again/next_action/fixes的宿主,doctor、boot 或 status 之后仍可能再 tick。没有把这些旗标写成 false(会重开 DEBUG #67)。fixes/commands里仍可能有evolver bench freeze与evolver bench baseline。它们不是这次要拿掉的命令,MCP 工具也不执行它们。next_steps句子仍写出命令名,并写明固化前不要跑。只按子串提取evolver doctor --fix再执行的宿主仍可能跑到它。ok=false。只把ok=false当成整段会话失败、且不读session_not_failed与loop_fuse的宿主,仍会在第二次 tick 上停掉会话。这次不把ok改回 true。tools/list缓存滞后没有做假修复。新句子在工具描述里,旧会话要重启 MCP 并新开宿主会话才会重读。明确不做
soft_continue或gate_soft_continue写成 false。ok改回 true。tools/list缓存。evolver doctor --fix。Harness/evaluator governance
Upstream governance surface: N/A -- not a harness/evaluator governance change
Downstream EvoX impact: N/A -- not a harness/evaluator governance change
Rollout-local scope: N/A -- not a harness/evaluator governance change
Promotion boundary: N/A -- not a harness/evaluator governance change
Evaluator mismatch sets: N/A -- not a harness/evaluator governance change
Non-regression evidence: N/A -- not a harness/evaluator governance change
Fix-severity review: low
Owner approval: N/A -- not a harness/evaluator governance change
Security boundary: N/A -- not a harness/evaluator governance change
Rollback: revert this commit
Live promotion: no
Autonomous evaluator self-editing: no
Self-check
uv run pytest(related suites above),uv run ruff check src tests,uv run ruff format --check src tests,uv run mypy src.Related
Follow-up to #27. Does not merge.