ReviewContext
Defined in: _worktrees/docs-release/gaunt-sloth/packages/review/src/modules/reviewModule.ts:39
Extra context about the review, used to bind GitHub-only tools to the PR under review.
Properties
Section titled “Properties”changedPaths?
Section titled “changedPaths?”
optionalchangedPaths?:string[]
Defined in: _worktrees/docs-release/gaunt-sloth/packages/review/src/modules/reviewModule.ts:54
CFG-70 — the paths this run’s diff touches, for selecting prompts.paths entries.
Extracted from the content-source output alone, never from the whole message: review()
is handed requirements + the diff + --file contents + stdin + --message joined together,
and a requirements document that quotes a diff would otherwise inject paths no change went
near — attaching one module’s guidelines to another module’s review, silently.
An embedder populates it itself with extractChangedPathsFromDiff, exported from this
package’s barrel for exactly that. An empty array and an absent one are treated alike: both
mean no path was found, and both are worth saying out loud when entries are configured.
optionalprId?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/review/src/modules/reviewModule.ts:41
PR number under review; undefined in gth pr discovery mode (current branch’s PR).