Pick the latest non-PENDING gateResult from manifest.history[], falling back to PENDING if none is recorded. Mirrors the behaviour of readLatestResolvedGateResult in src/utils/file-utils.ts but operates on an in-memory manifest.
manifest.history[]
PENDING
src/utils/file-utils.ts
Parsed manifest object
The latest non-PENDING gate result, or "PENDING" when none found
"PENDING"
Pick the latest non-PENDING gateResult from
manifest.history[], falling back toPENDINGif none is recorded. Mirrors the behaviour of readLatestResolvedGateResult insrc/utils/file-utils.tsbut operates on an in-memory manifest.