Documentation
¶
Index ¶
- Variables
- func DiscoverRounds(prdDir string) ([]int, error)
- func ExtractIssueNumber(filename string) int
- func ExtractLegacyReviewBody(content string) (string, error)
- func FinalizeIssueStatuses(reviewDir string, entries []model.IssueEntry) error
- func IsReviewResolved(content string) (bool, error)
- func LatestRound(prdDir string) (int, error)
- func LooksLikeLegacyReviewFile(content string) bool
- func MetaPath(reviewDir string) string
- func NextRound(prdDir string) (int, error)
- func ParseLegacyReviewContext(content string) (model.ReviewContext, error)
- func ParseReviewContext(content string) (model.ReviewContext, error)
- func ReadLegacyRoundMeta(reviewDir string) (model.RoundMeta, error)
- func ReadReviewEntries(reviewDir string) ([]model.IssueEntry, error)
- func ReadRoundMeta(reviewDir string) (model.RoundMeta, error)
- func RefreshRoundMeta(reviewDir string) (model.RoundMeta, error)
- func ReviewDirectory(prdDir string, round int) string
- func RoundDirName(round int) string
- func SnapshotRoundMeta(reviewDir string) (model.RoundMeta, error)
- func TaskDirectory(name string) string
- func TaskDirectoryForWorkspace(workspaceRoot, name string) string
- func UnknownCodeFile(issueFileName string) string
- func WrapParseError(path string, err error) error
- func WriteRound(reviewDir string, meta model.RoundMeta, items []provider.ReviewItem) error
- func WriteRoundMeta(reviewDir string, meta model.RoundMeta) error
- type ArtifactParseError
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrLegacyReviewMetadata = errors.New("legacy XML review metadata detected")
)
View Source
var ErrNoReviewRounds = errors.New("no review rounds found")
Functions ¶
func DiscoverRounds ¶
func ExtractIssueNumber ¶ added in v0.1.10
func ExtractLegacyReviewBody ¶ added in v0.1.10
func FinalizeIssueStatuses ¶ added in v0.1.1
func FinalizeIssueStatuses(reviewDir string, entries []model.IssueEntry) error
func IsReviewResolved ¶ added in v0.1.10
func LatestRound ¶
func LooksLikeLegacyReviewFile ¶ added in v0.1.10
func ParseLegacyReviewContext ¶ added in v0.1.10
func ParseLegacyReviewContext(content string) (model.ReviewContext, error)
func ParseReviewContext ¶ added in v0.1.10
func ParseReviewContext(content string) (model.ReviewContext, error)
func ReadLegacyRoundMeta ¶ added in v0.2.0
ReadLegacyRoundMeta reads the historical reviews-NNN/_meta.md file. It exists for migration and compatibility fallback only.
func ReadReviewEntries ¶
func ReadReviewEntries(reviewDir string) ([]model.IssueEntry, error)
func ReviewDirectory ¶
func RoundDirName ¶
func SnapshotRoundMeta ¶ added in v0.2.0
func TaskDirectory ¶
func TaskDirectoryForWorkspace ¶ added in v0.1.5
func UnknownCodeFile ¶
func WrapParseError ¶ added in v0.1.10
func WriteRound ¶
Types ¶
type ArtifactParseError ¶ added in v0.2.0
ArtifactParseError preserves the review artifact path and underlying parse failure so callers can classify invalid review content without losing context.
func (*ArtifactParseError) Error ¶ added in v0.2.0
func (e *ArtifactParseError) Error() string
func (*ArtifactParseError) Unwrap ¶ added in v0.2.0
func (e *ArtifactParseError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.