Expand description
A change to a pull request, as it reaches this install (the Kanban and GitHub spec, §5): the intake that trusts it or not, matches it to a card and writes the card’s list.
An event is a claim until its sender is proven. It is applied only when both hold: the signed sender is
the GitHub integration’s own service identity, and the signed text itself says "kind":"pr_event" (the
signature covers the text, not a row’s own kind). Anything else is dropped and counted, never applied. The
repository’s owner must be one the install already trusts for pull request notices. A proven event can still
carry a forged hint (any agent can write any agent tag), so a hint alone only ever shows (§10): a pull
request that is not already on the card, and was not opened by AgentMux’s own identity, is kept as an
unmatched line and never linked.
The relay delivers it as the field of a signed notice; wiring that in is the relay half’s seam. This is what
happens once an event is read from the verified text. The kinds of event it applies today are the pull
request’s own states (opened, reopened, closed, merged); review, checks and release are read
and set aside until the card shows them.
Structs§
- Intake
- The intake: remembers the deliveries it saw and what it dropped.
- PrEvent
- One change to a pull request. Ids, numbers and states only: no title, body, branch, diff or author.
- Trust
- What the install trusts the sender and the repository on.
Enums§
Functions§
- parse_
pr_ event - The
pr_eventa verified signed text carries, orNonewhen its kind is not that or it is malformed.