External intake¶
External intake turns work items from GitHub, Jira and Slack into Crios
sessions automatically. Label a GitHub issue with crios, assign a Jira
ticket to Crios, or mention @Crios in Slack, and the work is captured,
dispatched, and reported back where it came from.
How tickets flow¶
- Capture. A trigger fires in a connected tool (GitHub, Jira or Slack) and Crios records a ticket with the original title, description, link and requester. The same issue or message is recorded once per organization, so webhook redeliveries do not duplicate work, and two organizations that receive the same Jira issue or GitHub issue each get their own ticket.
- Dispatch. A dispatcher picks up new tickets, resolves the target project, and starts a session with the ticket content as the prompt. Sessions run with automatic plan approval, so no one has to click through for routine tickets.
- Work. The session builds the change. When the project has a repository, the session is asked to put the change up as a pull request.
- Write-back. Status updates flow back to the source: a progress comment and labels on GitHub, comments on Jira, and thread replies in Slack. An update that fails is tried again, less often after repeated failures, until 7 days after the ticket's last status change. An update Slack refuses for good is skipped instead: the channel was archived or deleted, Crios's bot is no longer in it, or the channel or thread doesn't take replies. The ticket's next status change is tried as usual. A source that stops answering doesn't hold up the other updates: a call to GitHub or Slack that gets no answer within 10 seconds, or to Jira within 30, counts as a failed update.
Once a ticket has a project, it also emits an intake.ticket.received
signal, so a workflow can react to new tickets; see
Triggers.
Where tickets land¶
The project is chosen by the source:
- GitHub: the project in your organization whose repository URL matches the issue's repository.
- Jira: the Crios project mapped to the issue's Jira project key; see Mapping Jira projects for intake.
- Slack: the project the channel is linked to with
link.
A ticket that matches no project waits as Needs Project instead of being dropped.
Ticket statuses¶
| Status | Meaning |
|---|---|
| Received | Captured, waiting for dispatch |
| Dispatching | A session is being created |
| Working | A session is actively working on it |
| PR Ready | The session opened a pull request |
| Done | The session finished cleanly without a pull request |
| Failed | The session failed, was cancelled, or stopped on a blocker without opening a pull request, or dispatch gave up |
| Needs Project | Crios could not determine which project the ticket belongs to |
| Dismissed | Manually removed from the active queue |
Where to see tickets¶
- A project's Intake tab lists the tickets filed against that project. Every project member can see it; editors can act on its tickets.
- Organization → Intake is the organization-wide inbox. It shows every ticket, including those still in Needs Project, and it is the only place to assign a project. It is open to organization owners and admins.
The old /intake address redirects to the Organization page.
Both views filter by status and by source (All sources, GitHub, Jira or Slack). Each row shows the source, the requester, what triggered it (assigned to Crios, @mention, label trigger, command or keyword), and the number of dispatch attempts when there was more than one. Open session jumps to the session working on the ticket, and the source link opens the original issue or message. Click a row to read the full description.
The inbox is for visibility and recovery, not an approval gate: the normal path from Received to Done needs no operator action.
Actions¶
- Retry queues a settled ticket again (Failed, Done, PR Ready or Dismissed) and resets its attempt count. Received, Dispatching and Working tickets cannot be retried.
- Dismiss (the icon button at the end of the row) removes a ticket from the active queue. This is inbox hygiene: a session already running for the ticket keeps running.
- Assign (organization inbox only) opens Assign to project for a ticket without a project. Pick the project and click Assign & queue. You need editor access to the target project.
Acting on a ticket needs organization owner or admin rights, or editor access to the ticket's project. Tickets without a project belong to organization owners and admins. A ticket Crios could not tie to any organization, such as one captured before organizations were recorded on tickets, belongs to no one's inbox: only instance admins see it, and assigning it to a project moves it into that project's organization. That assignment is refused when the organization already has a ticket for the same issue or message.
Dispatch behavior¶
- Tickets are dispatched within seconds of capture; a background poller (every 15 seconds by default) also sweeps for anything missed, including tickets captured while Crios was down.
- A failed dispatch is retried up to three times, with a longer wait before each attempt, before the ticket is marked Failed.
- A dispatch cap protects against runaway automation: each organization
can dispatch 50 tickets in any 24 hours by default, so one organization's
volume never holds another's tickets. An organization's tickets beyond its
cap wait as Received until its rolling window frees up, and organizations
take turns within each dispatch round. Self-hosters set the cap with
CRIOS_INTAKE_DAILY_CAP. - While the deployment's license does not allow new work, tickets wait as Received and dispatch once a valid license is installed.
- Intake sessions run as the organization's earliest owner or admin, so they have access to the project and its repositories. The requester is named in the session's prompt and on its first message.
Routing tickets to the right project
Link Slack channels to projects with @Crios link <project-id>, map Jira
projects through the Jira mappings API, and point GitHub-backed projects
at the repositories their issues come from. Unroutable tickets land in
Needs Project instead of being dropped.