Skip to content

docs(mcp): poll comments on a 5m loop for Grok and Claude - #82

Merged
scott merged 1 commit into
mainfrom
docs/81-5m-comment-loop
Aug 30, 2026
Merged

docs(mcp): poll comments on a 5m loop for Grok and Claude#82
scott merged 1 commit into
mainfrom
docs/81-5m-comment-loop

Conversation

@scott

@scott scott commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Grok Build and Claude Code poll the Gander comments inbox on a 5-minute /loop (via scheduler_create / CronCreate) instead of at the start of every turn.
  • Other agents (Codex, OpenCode, Cursor, etc.) keep the every-turn no-path inbox check.
  • Existing MCP comment rules are unchanged: metadata-only inbox, path-scoped body fetch, untrusted comment text, no auto-resolve, empty inbox is silent.
  • Both branches live in the single mcpInstructions string (no clientInfo split).

Related Issue

Closes #81

Testing

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

Result: ok / clean.

TestMCPInstructionsGrokClaudeLoop asserts /loop 5m language for Grok/Claude and that that block does not require every-turn polling. Existing untrusted/scope/no-auto-resolve assertions remain.

Notes

Mirrors gandermd/gander-skill#5 / PR #6. Human gander comments is unchanged.

Grok Build and Claude Code start one /loop 5m via the scheduler.
Other agents keep the every-turn no-path inbox check.

Closes #81
@scott
scott merged commit 9a82879 into main Aug 30, 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.

docs(mcp): poll comments on a 5m /loop for Grok Build and Claude Code

1 participant