planreview

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineComment

type LineComment struct {
	Line    int
	Comment string
}

LineComment is feedback attached to a single 1-indexed source line.

type Review

type Review struct {
	Submission    Submission
	Approved      bool
	GlobalComment string
	LineComments  []LineComment
}

Review captures the user's review decision and feedback.

func (Review) HasFeedback

func (r Review) HasFeedback() bool

HasFeedback reports whether the review includes any non-empty change request feedback.

func (Review) SortedLineComments

func (r Review) SortedLineComments() []LineComment

SortedLineComments returns a sorted copy of the attached line comments.

type Submission

type Submission struct {
	SessionID string
	PlanID    string
	Slug      string
	Filename  string
	Status    string
	Version   int
	Content   string
}

Submission is the frontend-facing plan review payload emitted when the runtime submits a plan for user review.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL