1. GitHub issue
A newly selected issue becomes a provider event that Rainrail can normalize instead of handing raw GitHub payloads to workflow code.
Examples
This first end-to-end example shows the intended path from a work item to an observable agent workflow while keeping provider details behind Rainrail contracts.
A newly selected issue becomes a provider event that Rainrail can normalize instead of handing raw GitHub payloads to workflow code.
The queue provider selects the next eligible issue, takes a starting lock, and keeps closed issues or already running work out of the dispatch path.
A workflow plugin requests an agent run through the runtime provider, passing deterministic issue, branch, and session inputs.
The agent pushes an implementation branch and opens a pull request that links back to the issue and records the checks that were run.
Review events can re-enter Rainrail as neutral events so follow-up work uses the same workflow and provider boundaries.
After review and CI pass, merge remains behind explicit workflow capability gates instead of being an implicit side effect of event ingestion.
The example intentionally stays implementation-neutral. The exact event envelope, Project queue claim semantics, and runtime capability gates are documented in the engineering specs.