Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.18 KB

File metadata and controls

42 lines (31 loc) · 1.18 KB

Work Items

Work-item integrations import real tasks into SharpClaw sessions and export session summaries without posting back automatically.

GitHub

sharpclaw work import https://github.com/owner/repo/issues/123
sharpclaw work import https://github.com/owner/repo/pull/123

Public issues and PRs work unauthenticated. Set GITHUB_TOKEN for private repositories or higher rate limits. You can change the token environment variable with WorkItems:GitHubTokenEnvironmentVariable.

Generic JSON

sharpclaw work import ./task.json --provider generic

Expected JSON fields: provider, id, title, description, url, status, labels, assignee, and metadata.

{
  "provider": "generic",
  "id": "task-123",
  "title": "Investigate flaky test",
  "description": "Repro and fix intermittent timeout in CI",
  "url": "https://tracker.example.com/tasks/task-123",
  "status": "open",
  "labels": ["ci", "tests"],
  "assignee": "alice",
  "metadata": { "priority": "high" }
}

Export

sharpclaw work export-summary --session session_123

Export creates Markdown or JSON text in command output. It does not post comments to GitHub or Jira.