Proposal 75 — Post-rename cleanup issues (task_ -> plan_, TaskItem -> PlanItem)
Status
Implemented
Context
Proposal 73 renamed public MCP tools from task_* to plan_*.
Proposal 74 renamed the internal model class from TaskItem to PlanItem.
This document tracks remaining cleanup issues found after those renames.
Scope note:
- Included: active code paths, tests, AGENTS docs, and user-facing docs.
- Excluded: historical proposal files in docs/proposals/ that intentionally preserve old names for historical accuracy.
Findings
1) User-facing MCP doc still references old tool name
docs/mcp/lm_studio.md still tells users to invoke task_status instead of plan_status.
- File:
docs/mcp/lm_studio.md - Line: 47
- Impact: user confusion; wrong tool name in current interface docs.
- Fix: replace
task_statuswithplan_status.
2) mcp_local user-facing text still uses old names
Two descriptions still reference legacy names.
- File:
mcp_local/planexe_mcp_local.py - Lines: 6, 439
- Current text:
- "Downloads artifacts to disk for task_download."
- "Example prompts to copy or adapt when calling task_create."
- Impact: stale wording in tool metadata/documentation text.
- Fix:
task_download->plan_downloadtask_create->plan_create
3) AGENTS / ops docs still use TaskItem / TaskState wording
These docs still mention pre-rename class names.
- File:
AGENTS.md - Line: 31
-
Current text:
TaskItem.run_track_activity_jsonl -
File:
docker-compose.md - Line: 89
-
Current text: worker polls
TaskItemrows -
File:
mcp_local/AGENTS.md - Line: 24
-
Current text: example
TaskState.pending -
Impact: contributor-facing documentation drift.
- Fix:
TaskItem->PlanItemTaskState.pendingexample ->PlanState.pending(or plain public state strings).
4) Compatibility aliases still expose legacy task_* internals
Legacy alias support still exists in MCP server internals.
- File:
mcp_cloud/app.py -
Lines: 777, 791, 1820-1825
-
File:
mcp_local/planexe_mcp_local.py -
Lines: 1055-1060
-
Impact: not incorrect if backward compatibility is intentional, but rename is not fully clean.
- Decision needed:
- Keep aliases for compatibility window, or
- Remove aliases for strict post-rename surface.
5) MCP cloud tests still use task_* naming conventions
Test file names/classes/helpers still use old naming (while calling new handlers).
- Files:
mcp_cloud/tests/test_task_create_tool.pymcp_cloud/tests/test_task_status_tool.pymcp_cloud/tests/test_task_retry_tool.pymcp_cloud/tests/test_task_file_info_tool.py
Also one assertion payload string still references old model profile guidance text:
- File:
mcp_cloud/tests/test_model_profiles_tool.py - Lines: 33, 48
-
Current text:
"Use one of these profile values in task_create.model_profile." -
Impact: test naming/docs drift; no runtime break.
- Fix:
- Rename tests and symbols to
plan_*naming where desired. - Update expected string to
plan_create.model_profile.
Verified non-issues
PlanItem class and DB table mapping are correct and intentionally preserved:
- File:
database_api/model_planitem.py - Line: 42
__tablename__ = "task_item"
This is expected for backward-compatible DB schema usage.
Suggested cleanup order
- Fix user-facing docs/tool descriptions (Findings 1-2).
- Fix AGENTS/docs wording (Finding 3).
- Decide alias policy, then keep/remove legacy aliases (Finding 4).
- Normalize test naming and assertion strings (Finding 5).
Re-scan command
Use this after fixes (excluding historical proposals):