Skip to content

fix(mcp-server): include task repo_root in task_claim_file rejection hint#556

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/task-claim-file-error-message-with-repo-2026-05-15-14-53
May 15, 2026
Merged

fix(mcp-server): include task repo_root in task_claim_file rejection hint#556
NagyVikt merged 1 commit into
mainfrom
agent/claude/task-claim-file-error-message-with-repo-2026-05-15-14-53

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

…hint

INVALID_CLAIM_PATH messages now name the task's repo_root so agents can
tell when their path is anchored to the wrong task vs malformed. The
outside_repo and unknown branches of claimPathRejectionMessage gain an
optional context.repo_root arg, threaded through the task_claim_file MCP
handler and both TaskThread claim normalizers. Live data showed 21+
calls/24h rejected with the terse "claim path is not claimable" message,
all from a session whose task repo_root didn't match the path layout —
the new wording points the agent at the exact anchor mismatch.

Backward compatible: the context arg is optional; existing callers keep
the original message text.
@NagyVikt NagyVikt merged commit a87921e into main May 15, 2026
@NagyVikt NagyVikt deleted the agent/claude/task-claim-file-error-message-with-repo-2026-05-15-14-53 branch May 15, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant