Skip to content

feat(mcp): filter comment inbox to unanswered @agent mentions - #94

Merged
scott merged 1 commit into
mainfrom
feat/62-agent-comment-mentions
Sep 1, 2026
Merged

feat(mcp): filter comment inbox to unanswered @agent mentions#94
scott merged 1 commit into
mainfrom
feat/62-agent-comment-mentions

Conversation

@scott

@scott scott commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • MCP no-path inbox metadata uses agent_unresolved_count instead of all unresolved threads, so human-human comments do not look like agent work.
  • Path fetch sends ?for_agent=1 and only returns unanswered @agent threads.
  • gander_reply_comment replies as the agent; the server stamps the name.
  • MCP instructions: only act on comments that start with @agent; empty agent inbox stays silent even if humans are talking.
  • Desktop notify still fires on reviewer comments (skips author and agent replies).

Related Issue

Paired with https://github.com/gandermd/gandermd/pull/63 (#62).

Ship this CLI release with or after that server deploy.

Testing

go test ./...
go vet ./...
go build ./...

All green.

Notes

Human gander comments still lists every unresolved thread. Only the MCP inbox is gated.

MCP list/summary uses agent_unresolved_count and ?for_agent=1 so
human-human threads never reach the model. Replies are stamped agent
by the server. Desktop notify still fires on reviewer comments.

Paired with #62.
@scott
scott merged commit 1dbf21a into main Sep 1, 2026
1 check passed
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