@codyswann/lisa 4.101.10 → 4.102.0

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 (99) hide show
  1. package/all/copy-overwrite/scripts/check-third-party-review-evidence.mjs +124 -28
  2. package/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +5 -2
  3. package/all/copy-overwrite/scripts/lib/evidence-prune-apply.mjs +227 -0
  4. package/all/copy-overwrite/scripts/lib/evidence-prune-config.mjs +165 -0
  5. package/all/copy-overwrite/scripts/lib/evidence-prune-gh.mjs +256 -0
  6. package/all/copy-overwrite/scripts/lib/evidence-prune-records.mjs +101 -0
  7. package/all/copy-overwrite/scripts/lib/evidence-prune.mjs +243 -0
  8. package/all/copy-overwrite/scripts/lisa-evidence-prune.mjs +226 -0
  9. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +1 -1
  10. package/dist/cli/doctor-third-party-evidence-seed.d.ts +9 -2
  11. package/dist/cli/doctor-third-party-evidence-seed.d.ts.map +1 -1
  12. package/dist/cli/doctor-third-party-evidence-seed.js +64 -4
  13. package/dist/cli/doctor-third-party-evidence-seed.js.map +1 -1
  14. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  15. package/dist/core/lisa-owned-hash-ledger.js +76 -0
  16. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  17. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  18. package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
  19. package/dist/core/third-party-evidence-seed.d.ts +9 -1
  20. package/dist/core/third-party-evidence-seed.d.ts.map +1 -1
  21. package/dist/core/third-party-evidence-seed.js +41 -9
  22. package/dist/core/third-party-evidence-seed.js.map +1 -1
  23. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  24. package/dist/core/upstream-evidence-manifest.js +34 -6
  25. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  26. package/package.json +4 -4
  27. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  29. package/plugins/lisa-agy/plugin.json +1 -1
  30. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  32. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  33. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  37. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  41. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  43. package/plugins/lisa-expo-agy/plugin.json +1 -1
  44. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  51. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  55. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  57. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  58. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  62. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  64. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  65. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  69. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  71. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  72. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  76. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-rails-agy/plugin.json +1 -1
  79. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  83. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  85. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  86. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  90. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  92. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  93. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  95. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  97. package/scripts/two-channel-couplings.json +1 -1
  98. package/typescript/copy-overwrite/.prettierignore +6 -0
  99. package/typescript/create-only/.github/workflows/third-party-review-evidence.yml +34 -12
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.101.10",
3
+ "version": "4.102.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -122,7 +122,7 @@
122
122
  "workflows": 26,
123
123
  "steps": 835,
124
124
  "couplings": 40,
125
- "inventory": 213
125
+ "inventory": 219
126
126
  },
127
127
  "counts": {
128
128
  "package-backed": 11,
@@ -87,6 +87,7 @@ scripts/lisa-cross-worktree-guard.mjs
87
87
  scripts/lisa-destructive-guard.mjs
88
88
  scripts/lisa-enforcement-freshness.mjs
89
89
  scripts/lisa-environment-prepare.mjs
90
+ scripts/lisa-evidence-prune.mjs
90
91
  scripts/lisa-floor-collisions.mjs
91
92
  scripts/lisa-gates.mjs
92
93
  scripts/lisa-history-secrets.mjs
@@ -151,6 +152,11 @@ scripts/lib/completion-proof-publisher.mjs
151
152
  scripts/lib/completion-proof-reader.mjs
152
153
  scripts/lib/completion-proof-shape.mjs
153
154
  scripts/lib/completion-proof-source.mjs
155
+ scripts/lib/evidence-prune-apply.mjs
156
+ scripts/lib/evidence-prune-config.mjs
157
+ scripts/lib/evidence-prune-gh.mjs
158
+ scripts/lib/evidence-prune-records.mjs
159
+ scripts/lib/evidence-prune.mjs
154
160
  scripts/lib/gate-failure-diagnosis.mjs
155
161
  scripts/lib/github-attestation-provider.mjs
156
162
  scripts/lib/github-attestation-recovery.mjs
@@ -40,18 +40,34 @@
40
40
  # `check_run` run belongs to the default branch's latest commit, so the job's
41
41
  # own check run lands there — never on the pull request head it judged, where
42
42
  # nobody reading the pull request would see it. The prover's verdict is saved
43
- # as JSON instead of ending the job, and the publish step creates ONE check
44
- # run on `EVIDENCE_SHA`: `🕵️ Third-party review evidence (<reviewer>)`, or
45
- # without the reviewer on the manual path, concluding `success` for SATISFIED
46
- # and SUBSTITUTED (the title says which) and `failure` for UNSATISFIED and for
47
- # a pull-request read that failed. The job itself concludes `success` once the
48
- # verdict is published, so default-branch commits stop collecting other pull
49
- # requests' verdicts. It FAILS when the prover crashed or gave no verdict, or
50
- # when GitHub refused the check run, so broken machinery still shows.
43
+ # as JSON instead of ending the job, and the publish step creates check runs
44
+ # on `EVIDENCE_SHA` named `🕵️ Third-party review evidence (<reviewer>)`: one
45
+ # for the reviewer that woke the run and one for every other declared
46
+ # reviewer, because the verdict covers them all (#4738), plus the bare name
47
+ # on the manual path. Each concludes `success` for SATISFIED and SUBSTITUTED
48
+ # (the title says which) and `failure` for UNSATISFIED and for a pull-request
49
+ # read that failed. The job itself concludes `success` once the verdict is
50
+ # published, so default-branch commits stop collecting other pull requests'
51
+ # verdicts. It FAILS when the prover crashed or gave no verdict, or when
52
+ # GitHub refused a check run, so broken machinery still shows.
51
53
  # Events caused by the Actions token start no workflow run, so the published
52
54
  # check run never wakes this workflow again; neither does the job's own,
53
55
  # which belongs to a suite GitHub Actions created.
54
56
  #
57
+ # CLEARING A STALE CHECK BY HAND (#4738). A writer's substitute posted after a
58
+ # red verdict wakes nothing here: an `issue_comment` trigger would start a run
59
+ # on every comment, so there is none. Dispatch this workflow with `sha` alone
60
+ # and the verdict is republished under every declared reviewer's name and the
61
+ # bare name. Add `context` — exactly a declared reviewer's status or check-run
62
+ # name; anything else publishes nothing — to target that one reviewer's check
63
+ # without adding a bare-name check. A run that names a context never publishes
64
+ # the bare name, so a stale bare-name check is cleared by a `sha`-only run.
65
+ #
66
+ # TWO REVIEWERS CAN RACE. Every publishing run now writes every declared
67
+ # reviewer's name, so two reviewers' runs on the same head each write both,
68
+ # and whichever finishes last wins, even if it judged an earlier state. A later
69
+ # `sha`-only manual run judges the head afresh and settles every name.
70
+ #
55
71
  # WHAT MAKES IT RED. Neither real third-party review evidence at the head, nor a
56
72
  # posted adversarial-review substitute for that same head. A merge path that
57
73
  # substitutes a local review leaves a marked comment behind, and this reads it.
@@ -93,6 +109,10 @@ on:
93
109
  description: 'Commit SHA to inspect'
94
110
  required: true
95
111
  type: string
112
+ context:
113
+ description: 'Optional. One reviewer context (its status or check-run name, matched exactly against a declared reviewer; anything else publishes nothing) whose check run to bring up to date. Empty republishes every declared reviewer and the bare name'
114
+ required: false
115
+ type: string
96
116
 
97
117
  # A reviewer's words arrive by two routes: a status's description needs
98
118
  # `statuses: read` (the status rollup drops it entirely), and a check run's
@@ -110,7 +130,7 @@ permissions:
110
130
  # pending status settling on the same head can cancel the run that is judging
111
131
  # the reviewer's answer.
112
132
  concurrency:
113
- group: third-party-review-evidence-${{ github.event_name }}-${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}-${{ github.event.check_run.name || github.event.context }}
133
+ group: third-party-review-evidence-${{ github.event_name }}-${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}-${{ github.event.check_run.name || github.event.context || inputs.context }}
114
134
  cancel-in-progress: true
115
135
 
116
136
  jobs:
@@ -129,9 +149,11 @@ jobs:
129
149
  # The commit and the reviewer come from whichever event woke the
130
150
  # run: a check run's head and name, or a status's commit and context.
131
151
  EVIDENCE_SHA: ${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}
132
- # Empty on the manual path, where nothing woke the run and every
133
- # declared reviewer is evaluated.
134
- EVIDENCE_CONTEXT: ${{ github.event.check_run.name || github.event.context }}
152
+ # On the manual path it is the optional `context` input: empty
153
+ # publishes under the bare name, and a reviewer's context publishes
154
+ # under that reviewer's name too, overwriting a stale check run there
155
+ # (#4738). Every declared reviewer is evaluated either way.
156
+ EVIDENCE_CONTEXT: ${{ github.event.check_run.name || github.event.context || inputs.context }}
135
157
 
136
158
  steps:
137
159
  # No `ref:`. This checks out the default branch on `status` and