Documentation
¶
Overview ¶
Package findings reads a review's findings file in the shape steps/review.md fixes: a `key: value` header, a categories list, and a block per finding with the verdict and reason resolve appends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoHeader = errors.New("findings: no header")
ErrNoHeader is a file without the header's task and round.
Functions ¶
Types ¶
type File ¶
type File struct {
Task string
Round string
Reviewed string // the sha, plus ` dirty` when the tree differed
Reviewer string // `local`, a remote identity, or both: `local, claude[bot]`
Verdict string // clean or findings
Categories map[string]int
Findings []Finding
}
File is one findings file.
type Finding ¶
type Finding struct {
ID string
Title string
Category string
Prior bool
Status string // prior round only: fixed, still open, ...
Source string // local or remote, in a file both halves wrote; empty: the header's reviewer
Verdict string // as written, attachments included: `skip +reply`
Reason string
}
Finding is one block. Prior-round blocks carry their round-one id and the status the second review gave them.
Click to show internal directories.
Click to hide internal directories.