@codyswann/lisa 4.87.13 → 4.87.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/all/copy-overwrite/scripts/check-third-party-review-evidence.mjs +40 -12
  2. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  3. package/dist/core/lisa-owned-hash-ledger.js +4 -0
  4. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  5. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  6. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  7. package/dist/core/upstream-evidence-manifest.js +5 -4
  8. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  9. package/package.json +4 -4
  10. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  11. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  12. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  13. package/plugins/lisa/.codex-plugin/skills/lisa-pull-request-review/SKILL.md +18 -3
  14. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  15. package/plugins/lisa/skills/lisa-pull-request-review/SKILL.md +18 -3
  16. package/plugins/lisa-agy/plugin.json +1 -1
  17. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  18. package/plugins/lisa-agy/skills/lisa-pull-request-review/SKILL.md +18 -3
  19. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  21. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  22. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  26. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  28. package/plugins/lisa-copilot/skills/lisa-pull-request-review/SKILL.md +18 -3
  29. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  31. package/plugins/lisa-cursor/skills/lisa-pull-request-review/SKILL.md +18 -3
  32. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  34. package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  35. package/plugins/lisa-devin/skills/lisa-pull-request-review/SKILL.md +18 -3
  36. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  38. package/plugins/lisa-expo-agy/plugin.json +1 -1
  39. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  43. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  46. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  50. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  52. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  53. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  57. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  59. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  60. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  64. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  67. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  71. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  73. package/plugins/lisa-rails-agy/plugin.json +1 -1
  74. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  78. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  80. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  81. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  85. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  87. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  88. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  92. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
  93. package/plugins/src/base/skills/lisa-pull-request-review/SKILL.md +18 -3
  94. package/typescript/create-only/.github/workflows/third-party-review-evidence.yml +2 -0
package/package.json CHANGED
@@ -189,7 +189,7 @@
189
189
  "qs": "^6.16.0"
190
190
  },
191
191
  "name": "@codyswann/lisa",
192
- "version": "4.87.13",
192
+ "version": "4.87.14",
193
193
  "description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
194
194
  "main": "dist/index.js",
195
195
  "exports": {
@@ -347,7 +347,7 @@
347
347
  "test": "tests"
348
348
  },
349
349
  "types": "./dist/index.d.ts",
350
- "lisaReleaseCommit": "9d6b53e94f89e7a014407ae9f6cfef87636af644",
351
- "gitHead": "9d6b53e94f89e7a014407ae9f6cfef87636af644",
352
- "lisaReleaseTag": "v4.87.13"
350
+ "lisaReleaseCommit": "f200685b372467c8769ad62113760e9542e597d5",
351
+ "gitHead": "f200685b372467c8769ad62113760e9542e597d5",
352
+ "lisaReleaseTag": "v4.87.14"
353
353
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1006,10 +1006,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1006
1006
  above:
1007
1007
 
1008
1008
  ```bash
1009
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1009
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1010
1010
  ```
1011
1011
 
1012
- Three cases, and each is handled differently:
1012
+ Pass the owning PR's repository explicitly in local checkouts. Without
1013
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1014
+ before reading GitHub; this is not a review verdict.
1015
+
1016
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1017
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1018
+ not a reviewer saying it did no work. Report the failed pull-request read and
1019
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1020
+ Do not post a reviewer-specific substitute or make a merge decision from this
1021
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1022
+ this instruction adds no automatic retry loop.
1023
+
1024
+ For the remaining outcomes, three cases are handled differently:
1013
1025
 
1014
1026
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1015
1027
  evidence: a status whose description is the phrase, or a check run that
@@ -1019,7 +1031,8 @@ Three cases, and each is handled differently:
1019
1031
  state, **not** a pass: say so explicitly in the report ("no third-party
1020
1032
  reviewer configured; nothing read this diff on that path"), and do not
1021
1033
  invent a substitute for a reviewer the project never asked for.
1022
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1034
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1035
+ evidence after successful PR discovery, a check
1023
1036
  run that did not succeed, or words in no configured list. **Treat every one
1024
1037
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1025
1038
  credit; a denylist of known-bad phrases fails open, and the vocabulary is
@@ -66,10 +66,21 @@ can also report through a **check run** instead, and then this command cannot
66
66
  tell you anything: the description column is empty for a check run, which
67
67
  reads `SUCCESS` when it reviewed and `NEUTRAL` — still passing a required
68
68
  check — when it was throttled. The run's result is the first line of its
69
- summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json`,
69
+ summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json`,
70
70
  which reads both representations. Never read `gh pr view --json statusCheckRollup`
71
71
  for this: it returns a commit status *without* its description.
72
72
 
73
+ Use the owning PR's repository. A missing or invalid repository is a usage
74
+ error before any GitHub read; it establishes no review verdict.
75
+
76
+ **Stop on `pull-requests-unreadable`: review status is unknown.** Report
77
+ `unknown — PR discovery unreadable (<reason>)` and stop under
78
+ `tool-access-gate`, keeping the PR open and every check enabled. Do not report
79
+ `reviewed` or `NOT REVIEWED`, post a reviewer-specific substitute, or make a
80
+ merge decision from this outcome. Restore the configured GitHub read access
81
+ before rerunning the prover; this adds no automatic retry loop. Return the
82
+ unknown report before continuing to Steps 2–4.
83
+
73
84
  Where the project ships Lisa's guard, prefer its machine-readable form, which
74
85
  also says whether the check is ruleset-required (so whether branch protection
75
86
  recorded a satisfied review gate for a review that did not happen):
@@ -93,6 +104,7 @@ Carry the finding into your Step 4 report. **Do not write "no unresolved review
93
104
  threads" on its own** — it is true of an unreviewed PR too. Say which you
94
105
  observed:
95
106
 
107
+ - `unknown — PR discovery unreadable (the open pull requests could not be read); review verdict deferred until access is restored`
96
108
  - `reviewed — CodeRabbit "Review approved", 0 unresolved threads`
97
109
  - `NOT REVIEWED — CodeRabbit success but "Review rate limited" (vacuous); 0 threads means nobody looked`
98
110
  - `NOT REVIEWED — no review check reported on this PR at all`
@@ -134,8 +146,11 @@ owns those.
134
146
 
135
147
  **Open the report with the Step 1b verdict, before the thread counts.** A thread
136
148
  summary describes what was done about review findings; it says nothing about
137
- whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first,
138
- then the counts. A caller that records "reviews addressed" in evidence must
149
+ whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first
150
+ when discovery succeeded, then the counts. Failed discovery returns the
151
+ `unknown — PR discovery unreadable (<reason>)` report in Step 1b instead;
152
+ never turn an unknown read into a reviewer doing no work.
153
+ A caller that records "reviews addressed" in evidence must
139
154
  carry that verdict through verbatim — a PR whose only review check was vacuous
140
155
  has not been reviewed, no matter how clean its thread list is.
141
156
 
@@ -1004,10 +1004,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1004
1004
  above:
1005
1005
 
1006
1006
  ```bash
1007
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1007
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1008
1008
  ```
1009
1009
 
1010
- Three cases, and each is handled differently:
1010
+ Pass the owning PR's repository explicitly in local checkouts. Without
1011
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1012
+ before reading GitHub; this is not a review verdict.
1013
+
1014
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1015
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1016
+ not a reviewer saying it did no work. Report the failed pull-request read and
1017
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1018
+ Do not post a reviewer-specific substitute or make a merge decision from this
1019
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1020
+ this instruction adds no automatic retry loop.
1021
+
1022
+ For the remaining outcomes, three cases are handled differently:
1011
1023
 
1012
1024
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1013
1025
  evidence: a status whose description is the phrase, or a check run that
@@ -1017,7 +1029,8 @@ Three cases, and each is handled differently:
1017
1029
  state, **not** a pass: say so explicitly in the report ("no third-party
1018
1030
  reviewer configured; nothing read this diff on that path"), and do not
1019
1031
  invent a substitute for a reviewer the project never asked for.
1020
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1032
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1033
+ evidence after successful PR discovery, a check
1021
1034
  run that did not succeed, or words in no configured list. **Treat every one
1022
1035
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1023
1036
  credit; a denylist of known-bad phrases fails open, and the vocabulary is
@@ -64,10 +64,21 @@ can also report through a **check run** instead, and then this command cannot
64
64
  tell you anything: the description column is empty for a check run, which
65
65
  reads `SUCCESS` when it reviewed and `NEUTRAL` — still passing a required
66
66
  check — when it was throttled. The run's result is the first line of its
67
- summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json`,
67
+ summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json`,
68
68
  which reads both representations. Never read `gh pr view --json statusCheckRollup`
69
69
  for this: it returns a commit status *without* its description.
70
70
 
71
+ Use the owning PR's repository. A missing or invalid repository is a usage
72
+ error before any GitHub read; it establishes no review verdict.
73
+
74
+ **Stop on `pull-requests-unreadable`: review status is unknown.** Report
75
+ `unknown — PR discovery unreadable (<reason>)` and stop under
76
+ `tool-access-gate`, keeping the PR open and every check enabled. Do not report
77
+ `reviewed` or `NOT REVIEWED`, post a reviewer-specific substitute, or make a
78
+ merge decision from this outcome. Restore the configured GitHub read access
79
+ before rerunning the prover; this adds no automatic retry loop. Return the
80
+ unknown report before continuing to Steps 2–4.
81
+
71
82
  Where the project ships Lisa's guard, prefer its machine-readable form, which
72
83
  also says whether the check is ruleset-required (so whether branch protection
73
84
  recorded a satisfied review gate for a review that did not happen):
@@ -91,6 +102,7 @@ Carry the finding into your Step 4 report. **Do not write "no unresolved review
91
102
  threads" on its own** — it is true of an unreviewed PR too. Say which you
92
103
  observed:
93
104
 
105
+ - `unknown — PR discovery unreadable (the open pull requests could not be read); review verdict deferred until access is restored`
94
106
  - `reviewed — CodeRabbit "Review approved", 0 unresolved threads`
95
107
  - `NOT REVIEWED — CodeRabbit success but "Review rate limited" (vacuous); 0 threads means nobody looked`
96
108
  - `NOT REVIEWED — no review check reported on this PR at all`
@@ -132,8 +144,11 @@ owns those.
132
144
 
133
145
  **Open the report with the Step 1b verdict, before the thread counts.** A thread
134
146
  summary describes what was done about review findings; it says nothing about
135
- whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first,
136
- then the counts. A caller that records "reviews addressed" in evidence must
147
+ whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first
148
+ when discovery succeeded, then the counts. Failed discovery returns the
149
+ `unknown — PR discovery unreadable (<reason>)` report in Step 1b instead;
150
+ never turn an unknown read into a reviewer doing no work.
151
+ A caller that records "reviews addressed" in evidence must
137
152
  carry that verdict through verbatim — a PR whose only review check was vacuous
138
153
  has not been reviewed, no matter how clean its thread list is.
139
154
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1004,10 +1004,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1004
1004
  above:
1005
1005
 
1006
1006
  ```bash
1007
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1007
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1008
1008
  ```
1009
1009
 
1010
- Three cases, and each is handled differently:
1010
+ Pass the owning PR's repository explicitly in local checkouts. Without
1011
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1012
+ before reading GitHub; this is not a review verdict.
1013
+
1014
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1015
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1016
+ not a reviewer saying it did no work. Report the failed pull-request read and
1017
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1018
+ Do not post a reviewer-specific substitute or make a merge decision from this
1019
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1020
+ this instruction adds no automatic retry loop.
1021
+
1022
+ For the remaining outcomes, three cases are handled differently:
1011
1023
 
1012
1024
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1013
1025
  evidence: a status whose description is the phrase, or a check run that
@@ -1017,7 +1029,8 @@ Three cases, and each is handled differently:
1017
1029
  state, **not** a pass: say so explicitly in the report ("no third-party
1018
1030
  reviewer configured; nothing read this diff on that path"), and do not
1019
1031
  invent a substitute for a reviewer the project never asked for.
1020
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1032
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1033
+ evidence after successful PR discovery, a check
1021
1034
  run that did not succeed, or words in no configured list. **Treat every one
1022
1035
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1023
1036
  credit; a denylist of known-bad phrases fails open, and the vocabulary is
@@ -64,10 +64,21 @@ can also report through a **check run** instead, and then this command cannot
64
64
  tell you anything: the description column is empty for a check run, which
65
65
  reads `SUCCESS` when it reviewed and `NEUTRAL` — still passing a required
66
66
  check — when it was throttled. The run's result is the first line of its
67
- summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json`,
67
+ summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json`,
68
68
  which reads both representations. Never read `gh pr view --json statusCheckRollup`
69
69
  for this: it returns a commit status *without* its description.
70
70
 
71
+ Use the owning PR's repository. A missing or invalid repository is a usage
72
+ error before any GitHub read; it establishes no review verdict.
73
+
74
+ **Stop on `pull-requests-unreadable`: review status is unknown.** Report
75
+ `unknown — PR discovery unreadable (<reason>)` and stop under
76
+ `tool-access-gate`, keeping the PR open and every check enabled. Do not report
77
+ `reviewed` or `NOT REVIEWED`, post a reviewer-specific substitute, or make a
78
+ merge decision from this outcome. Restore the configured GitHub read access
79
+ before rerunning the prover; this adds no automatic retry loop. Return the
80
+ unknown report before continuing to Steps 2–4.
81
+
71
82
  Where the project ships Lisa's guard, prefer its machine-readable form, which
72
83
  also says whether the check is ruleset-required (so whether branch protection
73
84
  recorded a satisfied review gate for a review that did not happen):
@@ -91,6 +102,7 @@ Carry the finding into your Step 4 report. **Do not write "no unresolved review
91
102
  threads" on its own** — it is true of an unreviewed PR too. Say which you
92
103
  observed:
93
104
 
105
+ - `unknown — PR discovery unreadable (the open pull requests could not be read); review verdict deferred until access is restored`
94
106
  - `reviewed — CodeRabbit "Review approved", 0 unresolved threads`
95
107
  - `NOT REVIEWED — CodeRabbit success but "Review rate limited" (vacuous); 0 threads means nobody looked`
96
108
  - `NOT REVIEWED — no review check reported on this PR at all`
@@ -132,8 +144,11 @@ owns those.
132
144
 
133
145
  **Open the report with the Step 1b verdict, before the thread counts.** A thread
134
146
  summary describes what was done about review findings; it says nothing about
135
- whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first,
136
- then the counts. A caller that records "reviews addressed" in evidence must
147
+ whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first
148
+ when discovery succeeded, then the counts. Failed discovery returns the
149
+ `unknown — PR discovery unreadable (<reason>)` report in Step 1b instead;
150
+ never turn an unknown read into a reviewer doing no work.
151
+ A caller that records "reviews addressed" in evidence must
137
152
  carry that verdict through verbatim — a PR whose only review check was vacuous
138
153
  has not been reviewed, no matter how clean its thread list is.
139
154
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1004,10 +1004,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1004
1004
  above:
1005
1005
 
1006
1006
  ```bash
1007
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1007
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1008
1008
  ```
1009
1009
 
1010
- Three cases, and each is handled differently:
1010
+ Pass the owning PR's repository explicitly in local checkouts. Without
1011
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1012
+ before reading GitHub; this is not a review verdict.
1013
+
1014
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1015
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1016
+ not a reviewer saying it did no work. Report the failed pull-request read and
1017
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1018
+ Do not post a reviewer-specific substitute or make a merge decision from this
1019
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1020
+ this instruction adds no automatic retry loop.
1021
+
1022
+ For the remaining outcomes, three cases are handled differently:
1011
1023
 
1012
1024
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1013
1025
  evidence: a status whose description is the phrase, or a check run that
@@ -1017,7 +1029,8 @@ Three cases, and each is handled differently:
1017
1029
  state, **not** a pass: say so explicitly in the report ("no third-party
1018
1030
  reviewer configured; nothing read this diff on that path"), and do not
1019
1031
  invent a substitute for a reviewer the project never asked for.
1020
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1032
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1033
+ evidence after successful PR discovery, a check
1021
1034
  run that did not succeed, or words in no configured list. **Treat every one
1022
1035
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1023
1036
  credit; a denylist of known-bad phrases fails open, and the vocabulary is
@@ -64,10 +64,21 @@ can also report through a **check run** instead, and then this command cannot
64
64
  tell you anything: the description column is empty for a check run, which
65
65
  reads `SUCCESS` when it reviewed and `NEUTRAL` — still passing a required
66
66
  check — when it was throttled. The run's result is the first line of its
67
- summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json`,
67
+ summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json`,
68
68
  which reads both representations. Never read `gh pr view --json statusCheckRollup`
69
69
  for this: it returns a commit status *without* its description.
70
70
 
71
+ Use the owning PR's repository. A missing or invalid repository is a usage
72
+ error before any GitHub read; it establishes no review verdict.
73
+
74
+ **Stop on `pull-requests-unreadable`: review status is unknown.** Report
75
+ `unknown — PR discovery unreadable (<reason>)` and stop under
76
+ `tool-access-gate`, keeping the PR open and every check enabled. Do not report
77
+ `reviewed` or `NOT REVIEWED`, post a reviewer-specific substitute, or make a
78
+ merge decision from this outcome. Restore the configured GitHub read access
79
+ before rerunning the prover; this adds no automatic retry loop. Return the
80
+ unknown report before continuing to Steps 2–4.
81
+
71
82
  Where the project ships Lisa's guard, prefer its machine-readable form, which
72
83
  also says whether the check is ruleset-required (so whether branch protection
73
84
  recorded a satisfied review gate for a review that did not happen):
@@ -91,6 +102,7 @@ Carry the finding into your Step 4 report. **Do not write "no unresolved review
91
102
  threads" on its own** — it is true of an unreviewed PR too. Say which you
92
103
  observed:
93
104
 
105
+ - `unknown — PR discovery unreadable (the open pull requests could not be read); review verdict deferred until access is restored`
94
106
  - `reviewed — CodeRabbit "Review approved", 0 unresolved threads`
95
107
  - `NOT REVIEWED — CodeRabbit success but "Review rate limited" (vacuous); 0 threads means nobody looked`
96
108
  - `NOT REVIEWED — no review check reported on this PR at all`
@@ -132,8 +144,11 @@ owns those.
132
144
 
133
145
  **Open the report with the Step 1b verdict, before the thread counts.** A thread
134
146
  summary describes what was done about review findings; it says nothing about
135
- whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first,
136
- then the counts. A caller that records "reviews addressed" in evidence must
147
+ whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first
148
+ when discovery succeeded, then the counts. Failed discovery returns the
149
+ `unknown — PR discovery unreadable (<reason>)` report in Step 1b instead;
150
+ never turn an unknown read into a reviewer doing no work.
151
+ A caller that records "reviews addressed" in evidence must
137
152
  carry that verdict through verbatim — a PR whose only review check was vacuous
138
153
  has not been reviewed, no matter how clean its thread list is.
139
154
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1004,10 +1004,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1004
1004
  above:
1005
1005
 
1006
1006
  ```bash
1007
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1007
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1008
1008
  ```
1009
1009
 
1010
- Three cases, and each is handled differently:
1010
+ Pass the owning PR's repository explicitly in local checkouts. Without
1011
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1012
+ before reading GitHub; this is not a review verdict.
1013
+
1014
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1015
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1016
+ not a reviewer saying it did no work. Report the failed pull-request read and
1017
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1018
+ Do not post a reviewer-specific substitute or make a merge decision from this
1019
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1020
+ this instruction adds no automatic retry loop.
1021
+
1022
+ For the remaining outcomes, three cases are handled differently:
1011
1023
 
1012
1024
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1013
1025
  evidence: a status whose description is the phrase, or a check run that
@@ -1017,7 +1029,8 @@ Three cases, and each is handled differently:
1017
1029
  state, **not** a pass: say so explicitly in the report ("no third-party
1018
1030
  reviewer configured; nothing read this diff on that path"), and do not
1019
1031
  invent a substitute for a reviewer the project never asked for.
1020
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1032
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1033
+ evidence after successful PR discovery, a check
1021
1034
  run that did not succeed, or words in no configured list. **Treat every one
1022
1035
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1023
1036
  credit; a denylist of known-bad phrases fails open, and the vocabulary is
@@ -64,10 +64,21 @@ can also report through a **check run** instead, and then this command cannot
64
64
  tell you anything: the description column is empty for a check run, which
65
65
  reads `SUCCESS` when it reviewed and `NEUTRAL` — still passing a required
66
66
  check — when it was throttled. The run's result is the first line of its
67
- summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json`,
67
+ summary, so use `node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json`,
68
68
  which reads both representations. Never read `gh pr view --json statusCheckRollup`
69
69
  for this: it returns a commit status *without* its description.
70
70
 
71
+ Use the owning PR's repository. A missing or invalid repository is a usage
72
+ error before any GitHub read; it establishes no review verdict.
73
+
74
+ **Stop on `pull-requests-unreadable`: review status is unknown.** Report
75
+ `unknown — PR discovery unreadable (<reason>)` and stop under
76
+ `tool-access-gate`, keeping the PR open and every check enabled. Do not report
77
+ `reviewed` or `NOT REVIEWED`, post a reviewer-specific substitute, or make a
78
+ merge decision from this outcome. Restore the configured GitHub read access
79
+ before rerunning the prover; this adds no automatic retry loop. Return the
80
+ unknown report before continuing to Steps 2–4.
81
+
71
82
  Where the project ships Lisa's guard, prefer its machine-readable form, which
72
83
  also says whether the check is ruleset-required (so whether branch protection
73
84
  recorded a satisfied review gate for a review that did not happen):
@@ -91,6 +102,7 @@ Carry the finding into your Step 4 report. **Do not write "no unresolved review
91
102
  threads" on its own** — it is true of an unreviewed PR too. Say which you
92
103
  observed:
93
104
 
105
+ - `unknown — PR discovery unreadable (the open pull requests could not be read); review verdict deferred until access is restored`
94
106
  - `reviewed — CodeRabbit "Review approved", 0 unresolved threads`
95
107
  - `NOT REVIEWED — CodeRabbit success but "Review rate limited" (vacuous); 0 threads means nobody looked`
96
108
  - `NOT REVIEWED — no review check reported on this PR at all`
@@ -132,8 +144,11 @@ owns those.
132
144
 
133
145
  **Open the report with the Step 1b verdict, before the thread counts.** A thread
134
146
  summary describes what was done about review findings; it says nothing about
135
- whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first,
136
- then the counts. A caller that records "reviews addressed" in evidence must
147
+ whether a review produced any. State `reviewed` or `NOT REVIEWED (<why>)` first
148
+ when discovery succeeded, then the counts. Failed discovery returns the
149
+ `unknown — PR discovery unreadable (<reason>)` report in Step 1b instead;
150
+ never turn an unknown read into a reviewer doing no work.
151
+ A caller that records "reviews addressed" in evidence must
137
152
  carry that verdict through verbatim — a PR whose only review check was vacuous
138
153
  has not been reviewed, no matter how clean its thread list is.
139
154
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.87.13",
3
+ "version": "4.87.14",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1004,10 +1004,22 @@ verdict. Take the verdict from it, not from your own reading of the payloads
1004
1004
  above:
1005
1005
 
1006
1006
  ```bash
1007
- node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --json
1007
+ node scripts/check-third-party-review-evidence.mjs --sha <head-sha> --repo <owner>/<repo> --json
1008
1008
  ```
1009
1009
 
1010
- Three cases, and each is handled differently:
1010
+ Pass the owning PR's repository explicitly in local checkouts. Without
1011
+ `--repo` or a valid `GITHUB_REPOSITORY`, the prover exits with a usage error
1012
+ before reading GitHub; this is not a review verdict.
1013
+
1014
+ **First, stop on `pull-requests-unreadable`.** The PR discovery read failed,
1015
+ so the head's review status is **unknown**. `readings: []` in this outcome is
1016
+ not a reviewer saying it did no work. Report the failed pull-request read and
1017
+ stop under `tool-access-gate`, keeping the PR open and every check enabled.
1018
+ Do not post a reviewer-specific substitute or make a merge decision from this
1019
+ outcome. Restore the configured GitHub read access before rerunning the prover;
1020
+ this instruction adds no automatic retry loop.
1021
+
1022
+ For the remaining outcomes, three cases are handled differently:
1011
1023
 
1012
1024
  1. **`satisfied`** — every configured reviewer showed its reviewed-when
1013
1025
  evidence: a status whose description is the phrase, or a check run that
@@ -1017,7 +1029,8 @@ Three cases, and each is handled differently:
1017
1029
  state, **not** a pass: say so explicitly in the report ("no third-party
1018
1030
  reviewer configured; nothing read this diff on that path"), and do not
1019
1031
  invent a substitute for a reviewer the project never asked for.
1020
- 3. **anything else** — throttled, skipped, absent, empty, unreadable, a check
1032
+ 3. **anything else** — throttled, skipped, absent, empty, unreadable reviewer
1033
+ evidence after successful PR discovery, a check
1021
1034
  run that did not succeed, or words in no configured list. **Treat every one
1022
1035
  of these as NOT REVIEWED.** The allowlist is the only thing that grants
1023
1036
  credit; a denylist of known-bad phrases fails open, and the vocabulary is