Repository navigation
fix(mcp): algorithm_spec worker notes name agent, not --agent - #1326
Merged
Merged
Conversation
algorithm_spec auto-picked-worker notes and no-worker-CLI warnings now name Path A fields (re-call algorithm_spec with agent, doctor) instead of CLI --agent / agentdescent doctor. The CLI init / algorithms run wording is unchanged. Closes #1325
Collaborator
Author
|
Self-review (Birfy) Tip SHA: 497d785
|
Birfy
enabled auto-merge (squash)
December 1, 2026 04:21
This was referenced Dec 1, 2026
Birfy
added a commit
that referenced
this pull request
Dec 1, 2026
Closes #1327 Base: 32a92cd Tip SHA: 1c0c80f ## What changed On tip `32a92cd698` (after #1326), MCP `show` / `status` / `diagnose` / `apply` / `cancel` / `resume` already rewrite many shared CLI hints into Path A tools. The leftover a host actually reads is the shared `resolve_run_id` empty-store refusal, which still named CLI `agentdescent demo` / `agentdescent evolve`. MCP empty-store `latest` / `last` refusals now name Path A tools (`demo`, and `start` with a spec). `status` / `diagnose` / `cancel` error paths run the rewrite; `_mcp_apply_wording` and `_mcp_gate_wording` also apply it so `show` / `apply` / `resume` are covered. The CLI wording is unchanged. `changelog.d/1327-mcp-empty-store-latest-wording.md`. ## Verification Tip SHA: 1c0c80f Ran: - `pytest -q -o addopts='' tests/test_latest_run_alias.py tests/test_mcp_apply_wording.py tests/test_mcp_diagnose.py tests/test_mcp_plan_start_wording.py tests/test_mcp.py tests/test_mcp_resume_ticket_label.py` → 77 passed - `python -m tools.changelog_fragments check` → 69 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
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.
Closes #1325
Base: 500cdc9
Tip SHA: 497d785
What changed
On tip
500cdc9b83(after #1324), MCPalgorithm_specalready rewriteserror,warnings, andnextthrough_mcp_gate_wordingfor placeholders, kind flags, andsee \agentdescent doctor`. The leftover a host actually reads is the shared init reporter's worker-selection copy, which still named CLI--agent/agentdescent doctor`.algorithm_specnow runs_mcp_gate_wordingovernotes, and_mcp_gate_wordingrewrites the auto-picked-worker note and the no-worker-CLI warning into Path A fields (agent,doctor, re-callalgorithm_specwithagent). The CLIinit/algorithms runwording is unchanged.changelog.d/1325-mcp-algorithm-spec-agent-wording.md.Verification
Tip SHA: 497d785
Ran:
pytest -q -o addopts='' tests/test_mcp_algorithm_spec_agent_wording.py tests/test_mcp_algorithm_spec_placeholder_wording.py tests/test_mcp_kind_flag_wording.py tests/test_mcp_plan_start_wording.py tests/test_mcp_algorithm_error_wording.py tests/test_mcp_algorithm_spec.py tests/test_init_default_agent.py tests/test_mcp.py tests/test_missing_cli_kind_remedy.py→ 99 passedpython -m tools.changelog_fragments check→ 68 changelog fragment(s) OKpython -m tools.gen_api_docs --check→ docs/api.md is up to dateNot run: