From 4cfe49fd94c3db91202192f8d601edf19337e940 Mon Sep 17 00:00:00 2001 From: arlophoenix Date: Mon, 19 Oct 2026 09:50:31 +1300 Subject: [PATCH] fix(result-codes): POLICY_SOURCE_UNAVAILABLE names an unreadable committed pin file Co-Authored-By: Claude Opus 5.5 --- lib/result-codes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/result-codes.ts b/lib/result-codes.ts index 23a3e1ddb..9b168aa71 100644 --- a/lib/result-codes.ts +++ b/lib/result-codes.ts @@ -165,7 +165,7 @@ export const RESULT_CODES = { // C-stamp (plan C1, C2, C3, C5, C7): ship policy, restamp, tree receipt, ship receipt. POLICY_SOURCE_UNAVAILABLE: { anchor: 'policy-source-unavailable', - summary: 'policy source unavailable: origin/ is not a resolvable commit, so the reviewed .gstack/ship-policy.json cannot be read', + summary: 'policy source unavailable: origin/ is not a resolvable commit, or a pin file committed on it cannot be read, so the reviewed .gstack/ship-policy.json (or .gstack/pregate.json) cannot be read', fix: 'git fetch origin --depth=1 (the working-tree copy is never used silently)', }, POLICY_INVALID: {