daily
Monitor and prioritize open pull requests by fetching CI status, reviews, and conflict data for efficient daily review workflows.
Instructions
Run daily PR monitoring check. Fetches all open PRs, enriches with CI status, reviews, and conflicts, then returns a prioritized summary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The `runDaily` function serves as the handler for the 'daily' tool, invoking `executeDailyCheck` after ensuring a GitHub token is present.
export async function runDaily(): Promise<DailyOutput> { // Token is guaranteed by the preAction hook in cli.ts for non-LOCAL_ONLY_COMMANDS. const token = requireGitHubToken(); return executeDailyCheck(token); } - packages/mcp-server/src/tools.ts:64-74 (registration)The 'daily' tool is registered in the MCP server using the `runDaily` function imported from `@oss-autopilot/core/commands`.
// 1. daily — Run daily PR check server.registerTool( 'daily', { description: 'Run daily PR monitoring check. Fetches all open PRs, enriches with CI status, reviews, and conflicts, then returns a prioritized summary.', inputSchema: {}, annotations: { readOnlyHint: false, destructiveHint: false }, }, wrapTool(runDaily), );