← All systems

Agent harness · Go

Chwal

A review desk that keeps a change, its revision and the agent session in view.

Chwal review deskInteractive prototype · Sample pull request

Review a pinned revision

This change opens the revision you selected. See what happens when a newer commit lands.

Revision in review
8de2af1
Branch head
8de2af1

Patch in review

review / selection.go
func revisionForReview(selected, latest Change) string { − return latest.Revision + return selected.Revision }
Read the surrounding code
package review

type Change struct {
    Revision string
}

func revisionForReview(selected, latest Change) string {
    return selected.Revision
}

Harness for the next run

A harness pairs a named setup with a model route. Choose one before starting an agent review.

Selected harness
Patch review
Model route
Local runtime
Browser mockup with sample revisions. Harness changes stay in this tab.

Select harness

Which change am I actually reviewing?

I can start from a Gitea pull request, a local commit or the edits in a working tree. The desk keeps that scope in view as I move between the patch and the whole file. Writing a review and posting it are separate decisions.

The harness also tracks agent sessions and local model processes. When a run finishes, its trace gives me somewhere to check what happened before I send a comment back.

Project evidence

At revision 6c9fef2efe the review tests distinguish pending edits from commits. TestGiteaPRScopeAndComments exercises the pull-request scope and its comments.