Add retry logic to the webhook handler and cover the 429 path in tests.
/code-runs/{ticketKey} where you stream turns, review plans, accept edits, and open draft pull requests on connected GitHub repos.
One ticket maps to one org-wide chat thread. Repos you select are cloned into a shared workspace (up to six per run) so Claude can work across them; when you use Edits with Auto open draft PR enabled, Janet opens draft PRs via the GitHub App for repos that have changes.
Prerequisite
- GitHub: Connect the GitHub App, enable repositories for your organization, and link repos to projects when you want them pre-selected. See GitHub integration.
Start a code run
Submit from any of these entry points; Janet stashes your repo, model, mode, and instructions, then opens the ticket conversation.| Entry point | What happens |
|---|---|
| Code Runs (sidebar) | Home composer — pick or create a ticket, configure repos and mode, submit. Subtitle: Send tickets to Claude Code. |
| Ticket details | Create PR in the Code Runs section opens Quick Input in code-run mode (same composer). |
| Edit ticket modal | Footer Send to Claude Code opens Quick Input in code-run mode (Kanban: right-click a card → edit). |
Composer options
The composer appears on the Code Runs home page, in Quick Input code-run mode, and when starting from a ticket. On the home page it uses the same large rounded chat-style input as Janet Chat: Add ticket and Add repos pills on top, instructions in the middle, and Edits / model controls plus a send arrow in the footer.- Ticket: On the home page, use the dashed Add ticket pill (or create a ticket from the picker). When you start from a ticket surface, the ticket is already set.
- Repositories: Add repos to choose one or more targets and set each branch (draft PR base). Repos linked to the ticket’s project are pre-selected when possible. At most six repositories per run.
- Model: Sonnet 4.6 (default) or Opus 4.8. Your default can be set under Account → AI settings (coding model).
- Mode:
- Ask — Read-only Q&A about the code; no edits and no plan artifact.
- Edits — Claude may change files in the container. Open the mode menu to toggle Auto open draft PR (off by default). When enabled, Janet opens draft PR(s) after a successful implement turn when there are changes.
- Plan — Exploration and a written implementation plan only; plan turns do not edit repos or open PRs.
- Instructions: Optional text up to 8000 characters. Before you pick a ticket, the field shows Add additional instructions…; after a ticket is selected, Add instructions for Claude Code (optional).
Run statuses
| Status | Meaning |
|---|---|
| Queued | Turn accepted, waiting to start (legacy rows). |
| Running | Claude is actively working. |
| Needs input | Waiting for your answer in the chat. |
| Failed | Turn or setup failed; error details appear in the thread. Retry from Create PR / Send to Claude Code on the ticket. |
| PR opened | A draft PR link is available. |
| Idle | Last turn finished with no PR; the session stays open for more messages. |