Pipeline
A contribution moves through a fixed sequence of stages. Trusted code decides when each stage starts, authorizes every remote effect, and records the outcome in .state/. Models only judge: they plan, write patches, and review them. The Security Model explains the separation.
Overview
flowchart LR
request["Request<br/>issue with the form"] --> planning["Planning<br/>verified plan"]
planning --> worker
subgraph development["Development"]
direction LR
worker["Worker patch<br/>and its review loop"] --> ci["Development PR and CI"]
end
ci --> submit["/upstreaming submit-upstream"]
submit --> handoff["Handoff<br/>riscv64 branch and package"]
handoff --> pr["Human opens the upstream PR"]
pr --> upstream["Upstream review and release"]
| Stage | What happens | Page |
|---|---|---|
| Request | An issue labelled upstreaming-request is parsed and frozen. | Requests |
| Planning | The planner researches the project and returns a plan that trusted code verifies. | Planning, Contribution Guidelines |
| Development | The worker proposes a bounded patch on a fork, reproduced in the riscv64 image, and reviews it with fresh reviewers before trusted code publishes it. | Development |
| Reports and History | Each Work reports what it tried, and later Work reads that history. | Reports and History |
| Submission | A human requests submission; trusted workflows prepare the upstream branch and a package. | Submission and Handoff |
| Upstream review and release | The controller observes the upstream PR, its review, and its release. | Transition Engine |
Branches
Two branches of the fork matter, and each has one writer.
| Branch | Purpose | Written by |
|---|---|---|
riscv64-dev | Development. Fork provisioning creates it from the frozen base. Worker Work, the development PR, its CI, and head observation use it. Nothing changes it for upstreaming. | Fork provisioning and the worker’s publication |
riscv64 | The head of the upstream pull request. | The handoff workflow only |
Following a contribution
- The status page shows every contribution, its state, and its event log.
- The state machine defines every state and transition.
- Humans steer a contribution with
/upstreamingcommands on its tracking issue. The commands section lists them, and the tracking issue offers the next commands that apply. - A human wait is not forgotten: the controller posts reminders at a fixed cadence.