ReviewCommentStore class final

Manages atomic persistence of <reviewDirectoryName>/comments.json and <reviewDirectoryName>/feedback.md inside a repository root.

Constructors

ReviewCommentStore(String repoRoot, {ReviewProjectConfig? config, String? reviewDirectoryName, String? cliResolveCommand})

Properties

cliResolveCommand → String
CLI command prefix rendered in feedback.md and prompt instructions.
no setter
commentsFilePath → String
Absolute path to comments.json on disk.
no setter
commentsRelativePath → String
Repository-relative POSIX path to comments.json.
no setter
config → ReviewProjectConfig
final
feedbackFilePath → String
Absolute path to feedback.md on disk.
no setter
feedbackRelativePath → String
Repository-relative POSIX path to feedback.md.
no setter
hashCode → int
The hash code for this object.
no setterinherited
repoRoot → String
final
reviewDirectoryPath → String
Absolute path to the review directory on disk.
no setter
reviewDirectoryRelativePath → String
Repository-relative POSIX path to the review directory (for example, '.review_comments' or '.dash_review').
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadComments() → List<ReviewComment>
Reads all stored comments from comments.json.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderAgentPrompt(List<ReviewComment> comments, {String? siteFilter}) → String
Formats a clean standalone prompt containing open comments for stdout or clipboard agent workflows.
renderFeedbackMarkdown(List<ReviewComment> comments, {String? updatedAt}) → String
Generates the full <reviewDirectoryName>/feedback.md document for coding agents.
saveComments(List<ReviewComment> comments, {DateTime? now}) → void
Atomically writes comments.json and regenerates feedback.md.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited