Skip to main content

Module review

Module review 

Source

Modules§

llm

Structs§

CachedReview
Disk-cached review entry. Only stores completed section content.
GroupReview
Aggregate review state for one semantic group.
ReviewCache
Cache of reviews keyed by group content hash. Bounded LRU.

Enums§

CachedSection
ReviewSection
Identifies a review section.
ReviewSource
Tracks which review source was used.
SectionState
Loading state for a single review section.

Functions§

delete_review_from_disk
Delete a disk cache entry (used for force-refresh).
detect_review_skill
Discover a review SKILL by scanning local then global paths. Returns the first match whose filename contains “review” (case-insensitive).
group_content_hash
Compute a stable hash for a group’s review identity. Includes label, file paths, and hunk indices so the cache invalidates when group membership or hunk assignment changes.
load_review_from_disk
Load a review from disk cache, validating against the current review source.
save_review_to_disk
Save a completed review to disk. Only saves if all sections succeeded (Ready or Skipped). Reviews with errors are not cached so they can be retried.