Skip to content

SignoffView

Defined in: src/signoff.ts:5

findings: string[]

Defined in: src/signoff.ts:16

The critic verdict’s discrete findings ([] = clean).


headSha: string | null

Defined in: src/signoff.ts:20

The PR’s current head sha, or null if unknown.


humanApproved: boolean

Defined in: src/signoff.ts:12

A human submitted an APPROVED review on the PR (forge data). NOTE: unlike the critic path, this is NOT head-matched — gh pr ... --json reviews exposes no per-review commit SHA, so head-matching a human approval would cost an extra per-poll API call. We instead rely on the forge dismissing stale approvals on a new push (GitHub’s “Dismiss stale pull request approvals” branch-protection setting): with it on, an approval on an old commit is withdrawn and never reaches latestReview. See humanSignedOff.


reviewDecision: ReviewDecision | null

Defined in: src/signoff.ts:14

The critic verdict’s decision for this session, or null if no verdict yet.


reviewHeadSha: string | null

Defined in: src/signoff.ts:18

The PR head the critic verdict applies to, or null.