fix(mcp): point move mismatch guidance at landing path#916
Conversation
Signed-off-by: phernandez <paul@basicmachines.co>
|
Claude finished @phernandez's task in 1m 17s —— View job PR Review: fix(mcp): point move mismatch guidance at landing path
SummaryThis is a small, focused, correct fix. When Both changed lines are correct:
Team ChecklistCode Quality & Standards
Testing & Documentation
Basic Memory Architecture
Security & Performance
Compatibility
One Minor ObservationThe test omits No issues found. The fix is minimal, the test is well-scoped, and the PR description is accurate. |
Summary
MOVE_OUTCOME_MISMATCHrecovery guidance to read and delete the actualresult.file_pathafter a divergent move result.The real move service currently stores the requested destination verbatim, so the regression lets the real move happen and then injects a divergent returned
file_pathat the MCP client boundary. That matches the defensive backstop this guidance belongs to.Testing
uv run pytest test-int/bughunt_fixes/test_move_note_edge_cases.py::test_move_outcome_mismatch_guidance_uses_actual_landing_path -q --no-covfailed before the fix on staleread_noteguidance.uv run pytest test-int/bughunt_fixes/test_move_note_edge_cases.py::test_move_outcome_mismatch_guidance_uses_actual_landing_path -q --no-covuv run pytest test-int/bughunt_fixes/test_move_note_edge_cases.py -q --no-covuv run pytest tests/mcp/test_tool_move_note.py -q --no-covjust fast-check— 3217 passed, 41 skipped, 117 warningsFollow-up to #904.