Skip to content

feat: merge PR #196 — unified task management across GitHub & Linear #198

@rubenmarcus

Description

@rubenmarcus

Summary

Review, test, and merge PR #196 which adds unified task management across GitHub and Linear.

What PR #196 adds

  • WritableIntegration interface: createTask, updateTask, closeTask, addComment, listTasks
  • ralph-starter task CLI command: list, create, update, close, comment across GitHub Issues and Linear
  • ralph_task MCP tool for Claude Desktop
  • Smart ID routing: #123 → GitHub, ENG-42 → Linear
  • Linear assignee resolution (display name, email prefix)
  • Batch-fetcher refactored to use WritableIntegration (removes Linear CLI dependency)

Verification steps

  • pnpm build passes
  • pnpm test passes
  • ralph-starter task list --source github works
  • ralph-starter task list --source linear works (with API key)
  • ralph-starter task create --source github --title "test" works
  • ralph-starter task update ENG-42 --status "Done" works
  • MCP tool ralph_task loads in Claude Desktop

Files changed (1,530 additions)

  • src/commands/task.ts — CLI command (356 lines)
  • src/integrations/base.ts — WritableIntegration interface
  • src/integrations/linear/source.ts — Linear GraphQL mutations
  • src/integrations/github/source.ts — GitHub bidirectional task management
  • src/loop/batch-fetcher.ts — Refactored to use WritableIntegration
  • src/mcp/tools.ts — ralph_task MCP tool
  • src/loop/agents.ts — OpenClaw agent support
  • src/cli.ts — task command registered

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions