The thing usually called "review" is one slice of a larger problem: how does the system give feedback to anyone or anything that needs it about the state of changes flowing through?
This document reframes review as a special case of observability + feedback, and works out what changes when you stop privileging pre-merge human comments as a distinct mechanism.
The PR-as-page model conflates several distinct things:
| Concern | What it does | Failure mode today |
|---|---|---|
| Coordination | A place humans converge to discuss a change | Discussion thread is locked to the PR; orphaned at merge |
| Gating | Correctness checks must pass before merge | Slow, brittle, false negatives |
| Record | Persistent trace of why a change happened | Lives inside one vendor's database |
| Notification | Someone needs to look at this | Firehose; no useful prioritization |
Once these are unbundled:
Everything that today shows up in disparate UIs — build results, lint output, deploy state, runtime metrics, downstream-consumer complaints, security scans, trust-score updates, human comments, agent suggestions — has the same shape: an event referencing another event (or a change, which is itself an event).
commit C
├── attestation A1 (pure check passed)
├── attestation A2 (effectful check passed)
├── derivation D produced from C
│ ├── deploy event "D deployed to staging"
│ │ ├── metric event "latency regression in /api/x"
│ │ └── user-reported event "feature Y broke"
│ └── trust event "attester P confirmed by re-verifier"
├── comment event "this collides with refactor on branch B"
├── agent suggestion event "consider extracting helper from L123"
└── approval event "looks good for staging deploy"
All the same substrate. Subscribers — humans, controllers, agents — consume whichever subset they care about.
ref-updated event with prior attestations and approvals in its causal history. Pre-merge and post-merge feedback share the same machinery, and a regression observed three weeks later is mechanically indistinguishable from a pre-merge lint warning — only the latency differs.Humans still need a place to converge on a change. A thread is a named, persistent view over events scoped to a change or chain of changes. It is:
A thread is not stored separately from the log. It's a query with a name.
The hard new subsystem. Every event has potential audiences:
Routing must answer: for each event, who needs to know, how urgently? This is the part of GitHub's UX that fails most loudly today (notification firehose) and the part most worth getting right.
Possible shapes — none decided:
This subsystem deserves its own design document once the shape gets clearer.
The attestation trust controller from verification is itself a feedback subsystem: it consumes confirm/deny events from re-verifiers and emits trust-update events. Other controllers react to trust changes by tightening or loosening gating. Trust is feedback to the system about the system's own past decisions.
"How do humans review agent-authored code" was the wrong question. The right questions:
The default flow for a well-attested agent change becomes: events flow, controllers react, no human attention required. Humans engage when something is flagged for them by the priority layer — high-impact change, low-trust attester, attestations conflicting with later signals, explicit subscription. Pre-merge human review becomes the exception, not the rule.
regression-suspected event, controllers decide (auto-rollback for high-confidence runtime signals, agent-dispatched fix for code-level issues, human escalation for ambiguous cases). The mechanism exists; the policies are still to be designed.See openquestions.md — items raised here live under Attention, routing, and threads and Cross-repo coordination.