@codyswann/lisa 4.23.26 → 4.23.28

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 (73) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +12 -3
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +3 -3
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  9. package/plugins/lisa/.codex-plugin/skills/lisa-github-sync/SKILL.md +54 -6
  10. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-sync/SKILL.md +53 -1
  11. package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  12. package/plugins/lisa/skills/lisa-github-sync/SKILL.md +54 -6
  13. package/plugins/lisa/skills/lisa-tracker-sync/SKILL.md +53 -1
  14. package/plugins/lisa-agy/plugin.json +1 -1
  15. package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  16. package/plugins/lisa-agy/skills/lisa-github-sync/SKILL.md +54 -6
  17. package/plugins/lisa-agy/skills/lisa-tracker-sync/SKILL.md +53 -1
  18. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  20. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  21. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  25. package/plugins/lisa-copilot/skills/lisa-github-sync/SKILL.md +54 -6
  26. package/plugins/lisa-copilot/skills/lisa-tracker-sync/SKILL.md +53 -1
  27. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  29. package/plugins/lisa-cursor/skills/lisa-github-sync/SKILL.md +54 -6
  30. package/plugins/lisa-cursor/skills/lisa-tracker-sync/SKILL.md +53 -1
  31. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  33. package/plugins/lisa-expo-agy/plugin.json +1 -1
  34. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  38. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  39. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  43. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  44. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  49. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  53. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  54. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  58. package/plugins/lisa-rails-agy/plugin.json +1 -1
  59. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  64. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  69. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +9 -3
  72. package/plugins/src/base/skills/lisa-github-sync/SKILL.md +54 -6
  73. package/plugins/src/base/skills/lisa-tracker-sync/SKILL.md +53 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.23.26",
3
+ "version": "4.23.28",
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.23.26",
3
+ "version": "4.23.28",
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.23.26",
3
+ "version": "4.23.28",
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.23.26",
3
+ "version": "4.23.28",
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"
@@ -398,11 +398,17 @@ auto-merge — dismissing the stale review after resolving all threads is what
398
398
  unblocks it.
399
399
 
400
400
  When reading review history, derive the current review set rather than counting
401
- the whole array. One reproducible REST shape is:
401
+ the whole array. Exclude each identity-less review before ordering and keyed
402
+ reduction: only a stable non-empty reviewer login may identify the current
403
+ review. Keep the raw review payload and account details out of diagnostics.
404
+ One reproducible REST shape is:
402
405
 
403
406
  ```bash
404
- gh api --paginate repos/<owner>/<repo>/pulls/<pr>/reviews --slurp \
405
- --jq 'add | map(select(.state != "DISMISSED")) | sort_by(.submitted_at, .id) | reduce .[] as $review ({}; .[$review.user.login] = $review) | [.[]]'
407
+ (
408
+ reviews_json="$(gh api --paginate repos/<owner>/<repo>/pulls/<pr>/reviews --slurp)" &&
409
+ printf '%s\n' "$reviews_json" |
410
+ jq -c 'add | map(select(.state != "DISMISSED") | select(.user.login? | strings | test("\\S"))) | sort_by(.submitted_at, .id) | reduce .[] as $review ({}; .[$review.user.login] = $review) | [.[]]'
411
+ )
406
412
  ```
407
413
 
408
414
  ### f. Pending auto-fix PR into this branch
@@ -114,14 +114,62 @@ If the `subIssues` field is unavailable (older GHES), fall back to body parentag
114
114
  - **Run the shared classifier for every derived rollup state before writing the label or comment**, not only for `status:blocked`. Include the exact rendered state and child tally in the classifier input alongside the resolved child graph, so its fingerprint and `change.summary` deduplicate the complete rollup note for `status:in-progress`, every env-keyed `done`, and `status:blocked` alike:
115
115
 
116
116
  ```bash
117
- CLASSIFIER_ROOT="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-plugins/lisa}}"
118
- node "${CLASSIFIER_ROOT}/scripts/rollup-blocker-classification.mjs" --input=<graph.json>
117
+ run_rollup_classifier() {
118
+ local input_path="$1"
119
+ local attempted_paths=""
120
+ local seen_root=""
121
+ local candidate_suffix="scripts/rollup-blocker-classification.mjs"
122
+ local root root_real candidate candidate_real expected_candidate
123
+ local classifier_output
124
+
125
+ for root in "${CLAUDE_PLUGIN_ROOT:-}" "${PLUGIN_ROOT:-}"; do
126
+ [ -n "$root" ] || continue
127
+ [ "$root" != "$seen_root" ] || continue
128
+ seen_root="$root"
129
+ case "$root" in
130
+ /*) ;;
131
+ *) continue ;;
132
+ esac
133
+ case "$root" in
134
+ */../*|*/..|*/./*|*/.) continue ;;
135
+ esac
136
+
137
+ candidate="${root%/}/$candidate_suffix"
138
+ if [ -z "$attempted_paths" ]; then
139
+ attempted_paths="$candidate"
140
+ else
141
+ attempted_paths="$attempted_paths, $candidate"
142
+ fi
143
+
144
+ root_real="$(realpath "$root" 2>/dev/null)" || continue
145
+ [ -f "$candidate" ] && [ -r "$candidate" ] || continue
146
+ candidate_real="$(realpath "$candidate" 2>/dev/null)" || continue
147
+ expected_candidate="${root_real%/}/$candidate_suffix"
148
+ [ "$candidate_real" = "$expected_candidate" ] || continue
149
+
150
+ if classifier_output="$(
151
+ node "$candidate" --input="$input_path" 2>/dev/null
152
+ )"; then
153
+ printf '%s\n' "$classifier_output"
154
+ return 0
155
+ fi
156
+
157
+ printf 'Rollup classifier failed at trusted path: %.4000s\n' \
158
+ "$candidate" >&2
159
+ return 1
160
+ done
161
+
162
+ printf 'No usable rollup classifier; attempted paths: %.4032s\n' \
163
+ "$attempted_paths" >&2
164
+ return 1
165
+ }
166
+
167
+ if ! CLASSIFIER_REPORT="$(run_rollup_classifier "<graph.json>")"; then
168
+ echo "Rollup classifier failed before any lifecycle or comment write." >&2
169
+ exit 1
170
+ fi
119
171
  ```
120
172
 
121
- The current-directory `plugins/lisa` fallback is for a Lisa checkout where no
122
- plugin-root variable is injected; it must be tried before declaring the shared
123
- classifier absent.
124
-
125
173
  When the derived state is blocked, its report names, per class, the blocking leaf, the path to it (`#1495 -> #1515 -> #1547`) and **who must act** — that text goes in the rollup comment verbatim. It exits non-zero when it classified nothing (unreadable graph, no children, no readable child): that is a strict **no-write** result. Do not change a label and do not post/update a rollup comment; report the classifier failure to the caller. Never fall through to "no blocked children", infer a class from prose, or apply the `spec_defect` marker from a flow — see `leaf-only-lifecycle` → **Classifying a hold**.
126
174
  - **Least-advanced env wins** — the parent reaches an env only when every required child has reached at least that env; it never sits ahead of its laggard child. Native closure (`gh issue close --reason completed`) fires only when the resolved env is the production `status:done`, never at `status:on-dev`/`status:on-stg`.
127
175
  - **"Required" children only** — a child labelled won't-do / optional does not hold the parent open; only leaves that must ship count toward the env-rollup check.
@@ -58,7 +58,59 @@ The state machine (first match wins, evaluated over the **required** leaves only
58
58
  | else any leaf has **started** (claimed or in review, or shipped while a sibling has not) | active / in-progress | `claimed` (or `review` where supported) |
59
59
  | else (leaves exist, none started) | unchanged | — |
60
60
 
61
- - **Blocked dominates** — one blocked leaf surfaces blocked on the parent even while others progress. It never says *which* child or *which kind* of hold. Resolve the shared classifier from `${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-plugins/lisa}}/scripts/rollup-blocker-classification.mjs` (the current-directory fallback supports a Lisa checkout), run it over the resolved child graph, and carry its per-class report — blocking leaf, path, and who must act — into the rollup note. A missing classifier or non-zero exit is a strict **no-write** result for every vendor: no lifecycle mutation and no rollup-comment mutation. Report the failure, never an all-clear. See `leaf-only-lifecycle` → **Classifying a hold**.
61
+ - **Blocked dominates** — one blocked leaf surfaces blocked on the parent even while others progress. It never says *which* child or *which kind* of hold. Resolve the shared classifier with the trusted-root ladder below, run it over the resolved child graph, and carry its per-class report — blocking leaf, path, and who must act — into the rollup note. A missing, unusable, or non-zero classifier is a strict **no-write** result: no lifecycle mutation and no rollup comment. Its bounded diagnostic names attempted paths only; it never prints environment values or child payloads. Report the failure, never an all-clear. See `leaf-only-lifecycle` → **Classifying a hold**.
62
+
63
+ ```bash
64
+ run_rollup_classifier() {
65
+ local input_path="$1"
66
+ local attempted_paths=""
67
+ local seen_root=""
68
+ local candidate_suffix="scripts/rollup-blocker-classification.mjs"
69
+ local root root_real candidate candidate_real expected_candidate
70
+ local classifier_output
71
+
72
+ for root in "${CLAUDE_PLUGIN_ROOT:-}" "${PLUGIN_ROOT:-}"; do
73
+ [ -n "$root" ] || continue
74
+ [ "$root" != "$seen_root" ] || continue
75
+ seen_root="$root"
76
+ case "$root" in
77
+ /*) ;;
78
+ *) continue ;;
79
+ esac
80
+ case "$root" in
81
+ */../*|*/..|*/./*|*/.) continue ;;
82
+ esac
83
+
84
+ candidate="${root%/}/$candidate_suffix"
85
+ if [ -z "$attempted_paths" ]; then
86
+ attempted_paths="$candidate"
87
+ else
88
+ attempted_paths="$attempted_paths, $candidate"
89
+ fi
90
+
91
+ root_real="$(realpath "$root" 2>/dev/null)" || continue
92
+ [ -f "$candidate" ] && [ -r "$candidate" ] || continue
93
+ candidate_real="$(realpath "$candidate" 2>/dev/null)" || continue
94
+ expected_candidate="${root_real%/}/$candidate_suffix"
95
+ [ "$candidate_real" = "$expected_candidate" ] || continue
96
+
97
+ if classifier_output="$(
98
+ node "$candidate" --input="$input_path" 2>/dev/null
99
+ )"; then
100
+ printf '%s\n' "$classifier_output"
101
+ return 0
102
+ fi
103
+
104
+ printf 'Rollup classifier failed at trusted path: %.4000s\n' \
105
+ "$candidate" >&2
106
+ return 1
107
+ done
108
+
109
+ printf 'No usable rollup classifier; attempted paths: %.4032s\n' \
110
+ "$attempted_paths" >&2
111
+ return 1
112
+ }
113
+ ```
62
114
  - **Least-advanced env wins** — a parent reaches an env only once all required leaves have reached at least that env (all `On Stg` → `On Stg`; mixed dev/staging → the dev value). Native terminal closure fires only at the production `done`, never at an intermediate env.
63
115
  - **The parent never carries `ready`** — `ready` is a human "claim this leaf" signal; rollup only moves a parent between non-ready container states.
64
116
  - **Rollup is recursive** — an Epic rolls up from its Stories, each of which rolls up from its own leaves. Evaluate bottom-up.