Skip to content

fix(mcp): plan and start refusals name doctor, not CLI - #1318

Merged
Birfy merged 1 commit into
mainfrom
fix/1317-mcp-plan-start-wording
Nov 29, 2026
Merged

Birfy merged 1 commit into
mainfrom
fix/1317-mcp-plan-start-wording

Conversation

@Birfy

@Birfy Birfy commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Closes #1317

Base: ca769cf
Tip SHA: e990f52

What changed

On tip ca769cfb (after #1316), MCP demo / plan (next after a probe) / algorithm_spec / diagnose / describe_algorithm / apply / show already rewrite host-facing next, recommendations, card run, and apply/show refusals into Path A tool language. MCP plan, start, resume, and algorithm_spec still returned the shared CLI wording in error when a worker CLI is missing or a spent-quota resume is refused, so a host was told a CLI verb or flag it may not have.

A missing-CLI MCP plan or start (and algorithm_spec when the written spec then fails plan, and resume when a plugin host is missing) now says call \doctor`, not see `agentdescent doctor`. MCP resumeof aQuotaExhaustedrun now sayspass force=true, not pass --force. A bare isolated opencodeplus a gateway key now namesalgorithm_specwithmodelandbase_url, not init/algorithms runwith--model/--base-url. A kind-guess refusal names kind, not --kind`.

The CLI plan / evolve / resume / algorithms run wording is unchanged. The plan, start, and resume tool descriptions mention this tool-language wording.

changelog.d/1317-mcp-plan-start-wording.md.

Verification

Tip SHA: e990f52

Ran:

  • pytest -q -o addopts='' tests/test_mcp_plan_start_wording.py tests/test_missing_cli_kind_remedy.py tests/test_resume_quota_exhausted.py tests/test_mcp_plan_probe.py tests/test_mcp.py → 72 passed
  • python -m tools.changelog_fragments check → 64 changelog fragment(s) OK
  • python -m tools.gen_api_docs --check → docs/api.md is up to date
    Not run:
  • Full offline suite locally — the CI test matrix is the line

When MCP plan, start, resume, or algorithm_spec returns a refusal,
error now names Path A tools and fields (doctor, algorithm_spec with
model and base_url, force=true), instead of CLI verbs or flags
(see `agentdescent doctor`, pass --force). The CLI wording is
unchanged.

Closes #1317
@Birfy

Birfy commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator Author

Self-review (Birfy)

Tip SHA: e990f52
Ran:

  • pytest -q -o addopts='' tests/test_mcp_plan_start_wording.py tests/test_missing_cli_kind_remedy.py tests/test_resume_quota_exhausted.py tests/test_mcp_plan_probe.py tests/test_mcp.py → pass (72 passed)
  • python -m tools.changelog_fragments check → pass (64 changelog fragment(s) OK)
  • python -m tools.gen_api_docs --check → pass (docs/api.md is up to date)
    Not run:
  • Full offline suite locally — the CI test matrix is the line
    Findings:
  • none
    Verdict: PASS

@github-actions github-actions Bot added the risk:T2 Risk tier T2 (package code or an unnamed path), set by the controller from the diff label Nov 29, 2026
@Birfy
Birfy enabled auto-merge (squash) November 29, 2026 22:31
@Birfy
Birfy merged commit fb519a6 into main Nov 29, 2026
12 checks passed
@Birfy
Birfy deleted the fix/1317-mcp-plan-start-wording branch November 29, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:T2 Risk tier T2 (package code or an unnamed path), set by the controller from the diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcp: plan and start refusals still say see agentdescent doctor

1 participant