feat: unified task management across GitHub & Linear#196
Merged
rubenmarcus merged 2 commits intomainfrom Feb 23, 2026
Merged
Conversation
…support Add `ralph-starter task` command for bidirectional issue management: - list/create/update/close/comment across both platforms - Smart ID routing (#123 → GitHub, ENG-42 → Linear) - --assignee flag with Linear user resolution (name/email matching) - WritableIntegration interface extending read-only integrations - OpenClaw agent support in the agent adapter pattern - MCP ralph_task tool for Claude Desktop/Code integration - Refactored batch-fetcher to use WritableIntegration - Fix: Linear resolveIssueId now uses issue(id:) which accepts identifiers - Docs: CLI reference page, README, sidebar, source docs updated Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
|
| Metric | Value |
|---|---|
| Base | 1848.54 KB |
| PR | 1920.48 KB |
| Diff | 71.94 KB (3.00%) |
Bundle breakdown
156K dist/auth
28K dist/automation
4.0K dist/cli.d.ts
4.0K dist/cli.d.ts.map
16K dist/cli.js
12K dist/cli.js.map
492K dist/commands
28K dist/config
4.0K dist/index.d.ts
4.0K dist/index.d.ts.map
4.0K dist/index.js
4.0K dist/index.js.map
560K dist/integrations
84K dist/llm
732K dist/loop
188K dist/mcp
32K dist/presets
92K dist/setup
36K dist/skills
392K dist/sources
76K dist/ui
84K dist/utils
336K dist/wizard
Contributor
🔗 Docs PreviewPreview URL: https://feat-unified-task-management.ralph-starter-docs.pages.dev This preview was deployed from the latest commit on this PR. |
Contributor
Greptile SummaryThis PR adds a unified
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant CLI as ralph-starter task
participant TC as TaskCommand
participant WI as WritableIntegration
participant GH as GitHubIntegration
participant LI as LinearIntegration
participant GHA as GitHub API (gh CLI)
participant LIA as Linear GraphQL API
CLI->>TC: taskCommand(action, args, options)
TC->>TC: detectSource(id) — #123→GitHub, ENG-42→Linear
alt list tasks
TC->>WI: getIntegrations(source)
WI-->>TC: [GitHub, Linear]
TC->>GH: listTasks(options)
GH->>GHA: gh issue list --json
GHA-->>GH: issues[]
GH-->>TC: TaskReference[]
TC->>LI: listTasks(options)
LI->>LIA: query GetIssues
LIA-->>LI: issues[]
LI-->>TC: TaskReference[]
TC->>CLI: printTaskTable(allTasks)
end
alt create/update/close
TC->>WI: getIntegrations(detected source)
WI-->>TC: [integration]
TC->>WI: createTask / updateTask / closeTask
alt GitHub
WI->>GHA: gh issue create/edit/close
GHA-->>WI: result
else Linear
WI->>LIA: mutation (IssueCreate/Update)
LIA-->>WI: result
end
WI-->>TC: TaskReference
TC->>CLI: display result
end
Last reviewed commit: 190cd26 |
This was referenced Feb 18, 2026
Address reviewer feedback: - Greptile: use issue.url from Linear API instead of constructing incorrect URL - Greptile: handle input.status in GitHub updateTask (was silently dropped) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ralph-starter taskcommand — unified CLI for managing issues across GitHub and Linear (list, create, update, close, comment)#123routes to GitHub,ENG-42routes to Linear automatically--assigneeflag — assign tasks with user resolution (Linear matches by name/displayName/email)WritableIntegrationinterface — extends read-only integrations with bidirectional task managementralph_tasktool — task management available in Claude Desktop/CoderesolveIssueIdnow usesissue(id:)which accepts both UUIDs and identifiersDocumentation
docs/docs/cli/task.mdtaskto commands tablecli/taskto CLI Reference sectionTest plan
pnpm buildpassespnpm test— 171 tests passpnpm lint— no new warningsralph-starter task updateralph-starter task list --source linearshows issuesralph-starter task create --source linear --title "Test" --priority P1creates issuecd docs && pnpm build🤖 Generated with Claude Code